diff options
author | Michael Brown | 2016-02-17 16:26:31 +0100 |
---|---|---|
committer | Michael Brown | 2016-02-18 14:27:47 +0100 |
commit | a4f5c4647e5c3381dcb942d7e84c4f159e963580 (patch) | |
tree | 7efa9d18dc7779e1c943c1bc4b17604809a60845 /src/arch/x86/prefix | |
parent | [librm] Discard argument as part of return from real_call() (diff) | |
download | ipxe-a4f5c4647e5c3381dcb942d7e84c4f159e963580.tar.gz ipxe-a4f5c4647e5c3381dcb942d7e84c4f159e963580.tar.xz ipxe-a4f5c4647e5c3381dcb942d7e84c4f159e963580.zip |
[prefix] Align INT 15,88 temporary decompression area to a page boundary
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/x86/prefix')
-rw-r--r-- | src/arch/x86/prefix/libprefix.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/x86/prefix/libprefix.S b/src/arch/x86/prefix/libprefix.S index 897a6656..0c833282 100644 --- a/src/arch/x86/prefix/libprefix.S +++ b/src/arch/x86/prefix/libprefix.S @@ -827,6 +827,7 @@ payload_death_message: movw %ax, %di addl $0x400, %edi subl $_textdata_memsz_kb, %edi + andw $~0x03, %di shll $10, %edi /* Sanity check: if we have ended up below 1MB, use 1MB */ cmpl $0x100000, %edi |