mirror of https://github.com/ipxe/ipxe.git
[prefix] Align INT 15,88 temporary decompression area to a page boundary
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/45/head
parent
079b98b63a
commit
a4f5c4647e
|
@ -827,6 +827,7 @@ payload_death_message:
|
||||||
movw %ax, %di
|
movw %ax, %di
|
||||||
addl $0x400, %edi
|
addl $0x400, %edi
|
||||||
subl $_textdata_memsz_kb, %edi
|
subl $_textdata_memsz_kb, %edi
|
||||||
|
andw $~0x03, %di
|
||||||
shll $10, %edi
|
shll $10, %edi
|
||||||
/* Sanity check: if we have ended up below 1MB, use 1MB */
|
/* Sanity check: if we have ended up below 1MB, use 1MB */
|
||||||
cmpl $0x100000, %edi
|
cmpl $0x100000, %edi
|
||||||
|
|
Loading…
Reference in New Issue