diff options
author | Michael Brown | 2008-03-09 23:13:07 +0100 |
---|---|---|
committer | Michael Brown | 2008-03-09 23:13:07 +0100 |
commit | 12f203c606422979f46a0fb4bea66a00612a317c (patch) | |
tree | 1723cbcd287a208d15cee5eba4ab488cc8e78f2a /src/arch/i386/scripts | |
parent | [Makefile] Use bin/VVVVDDDD.rom instead of bin/pci_VVVV_DDDD.rom (diff) | |
download | ipxe-12f203c606422979f46a0fb4bea66a00612a317c.tar.gz ipxe-12f203c606422979f46a0fb4bea66a00612a317c.tar.xz ipxe-12f203c606422979f46a0fb4bea66a00612a317c.zip |
[PXE] Add PMM support to romprefix.S (untested)
ROM initialisation vector now attempts to allocate a 2MB block using
PMM. If successful, it copies the ROM image to this block, then
shrinks the ROM image to allow for more option ROMs. If unsuccessful,
it leaves the ROM as-is.
ROM BEV now attempts to return to the BIOS, resorting to INT 18 only
if the BIOS stack has been corrupted.
Diffstat (limited to 'src/arch/i386/scripts')
-rw-r--r-- | src/arch/i386/scripts/i386.lds | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/i386/scripts/i386.lds b/src/arch/i386/scripts/i386.lds index d481db0f..a5a01056 100644 --- a/src/arch/i386/scripts/i386.lds +++ b/src/arch/i386/scripts/i386.lds @@ -257,6 +257,8 @@ SECTIONS { /* * Values calculated to save code from doing it */ + _prefix_size_pgh = ( ( _prefix_size + 15 ) / 16 ); + _prefix_size_sect = ( ( _prefix_size + 511 ) / 512 ); _text16_size_pgh = ( ( _text16_size + 15 ) / 16 ); _data16_size_pgh = ( ( _data16_size + 15 ) / 16 ); |