]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[prefix] Align INT 15,88 temporary decompression area to a page boundary
authorMichael Brown <mcb30@ipxe.org>
Wed, 17 Feb 2016 15:26:31 +0000 (15:26 +0000)
committerMichael Brown <mcb30@ipxe.org>
Thu, 18 Feb 2016 13:27:47 +0000 (13:27 +0000)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/x86/prefix/libprefix.S

index 897a6656f8bdc3fff27d545bac9ad7ffe10fdd0f..0c8332825582e9f46983d4c3e0e154f57380e604 100644 (file)
@@ -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