Allow rom to grow beyond 64K.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 20 Sep 2009 23:47:45 +0000 (19:47 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 20 Sep 2009 23:47:45 +0000 (19:47 -0400)
commit5b8f80992019371e640b9957f3e5d1a2fb570776
treead2b21c521d5dbe3e65dff30a00e379536e9ae7d
parent31ae638cda019e9098127dba7a2f3f150fb65c0c
Allow rom to grow beyond 64K.

If rom is over 64K then use part of e-segment for 32bit code.
Push 32bit code as high as it can go in the f-segment.
Do version building before layoutrom.py - this way layoutrom knows
    full size of rom.
Make layoutrom.py build the full ld script - remove now unused ld
    scripts that just imported the output of layoutrom.py.
Also, use "objdump" instead of "nm" - reduce toolchain requirements.
Enhance tools/checkrom.py so that it can pad bios.bin to size qemu is
    happy with.
Also, add dependencies to build rules for local tools - if tool
    changes automatically rerun it.
Make sure option roms don't overwrite the 32bit code (should the 32bit
    code be in the e-segment).
Make sure shadow code works even if part of the code is in the
    e-segment.
Makefile
src/layout16.lds.S [deleted file]
src/optionroms.c
src/rombios.lds.S
src/rombios16.lds.S
src/rombios32.lds.S [deleted file]
src/shadow.c
tools/checkrom.py
tools/layoutrom.py