]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[prefix] Use .bss16 as temporary stack space for calls to install_block
authorMichael Brown <mcb30@ipxe.org>
Tue, 24 Feb 2015 16:13:55 +0000 (16:13 +0000)
committerMichael Brown <mcb30@ipxe.org>
Tue, 24 Feb 2015 16:33:14 +0000 (16:33 +0000)
commit3e04f0791e614772f3ffe3663e4c8da71e2bc981
tree541275eaab72461b99f646c2e1876595199dad3e
parentb6889eaa1ea5685a06b13a03337c0e0d7e3bd251
[prefix] Use .bss16 as temporary stack space for calls to install_block

Some decompression algorithms (e.g. LZMA) require large amounts of
temporary stack space, which may not be made available by all
prefixes.  Use .bss16 as a temporary stack for the duration of the
calls to install_block (switching back to the external stack before we
start making calls into code which might access variables in .bss16),
and allow the decompressor to define a global symbol to force a
minimum value on the size of .bss16.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/i386/prefix/libprefix.S
src/arch/i386/scripts/i386.lds