summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/scripts
diff options
context:
space:
mode:
authorMichael Brown2010-04-24 23:22:54 +0200
committerMichael Brown2010-04-25 02:50:46 +0200
commitf0ae1d58e81d8e03010defdf4833cfec31034dc5 (patch)
tree0a6f3fba6102cfa18b469717064267cc0470dfea /src/arch/i386/scripts
parent[pcbios] Always show INT 15,88 result under DEBUG=memmap (diff)
downloadipxe-f0ae1d58e81d8e03010defdf4833cfec31034dc5.tar.gz
ipxe-f0ae1d58e81d8e03010defdf4833cfec31034dc5.tar.xz
ipxe-f0ae1d58e81d8e03010defdf4833cfec31034dc5.zip
[prefix] Use area at top of INT 15,88 memory map for temporary decompression
Use INT 15,88 to find a suitable temporary decompression area, rather than a fixed address. This hopefully gives us a better chance of not treading on any PMM-allocated areas, in BIOSes where PMM support exists but tends not to give us the large blocks that we ask for. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/i386/scripts')
-rw-r--r--src/arch/i386/scripts/i386.lds2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/i386/scripts/i386.lds b/src/arch/i386/scripts/i386.lds
index 7c55c2f69..278a397ec 100644
--- a/src/arch/i386/scripts/i386.lds
+++ b/src/arch/i386/scripts/i386.lds
@@ -208,4 +208,6 @@ SECTIONS {
*/
_text16_memsz_pgh = ( ( _text16_memsz + 15 ) / 16 );
_data16_memsz_pgh = ( ( _data16_memsz + 15 ) / 16 );
+ _textdata_memsz_pgh = ( ( _textdata_memsz + 15 ) / 16 );
+ _textdata_memsz_kb = ( ( _textdata_memsz + 1023 ) / 1024 );
}