Skip to content
Commit 0a137736 authored by H. Peter Anvin's avatar H. Peter Anvin
Browse files

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: default avatarH. Peter Anvin <hpa@zytor.com>
parent 5b11f1ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment