]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86, boot: set up the decompression stack as early as possible
authorH. Peter Anvin <hpa@zytor.com>
Fri, 8 May 2009 23:27:41 +0000 (16:27 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sat, 9 May 2009 00:18:47 +0000 (17:18 -0700)
commit0a137736704ef9af719409933b3c33e138461786
treeb6ca7c13de5db34de9eda7bfa7549121f4c6a855
parent5b11f1cee5797b38d16b94d8745b12b6727a8373
x86, boot: set up the decompression stack as early as possible

Set up the decompression stack as soon as we know where it needs to
go.  That way we have a full-service stack as soon as possible, rather
than relying on the BP_scratch field.

Note that the stack does need to be empty during bss zeroing (or
else the stack needs to be moved out of the bss segment, which is also
an option.)

[ Impact: cleanup, minor paranoia ]

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/boot/compressed/head_32.S
arch/x86/boot/compressed/head_64.S