Why should pushal/popal put the registers on the stack in a logical
authorMichael Brown <mcb30@etherboot.org>
Thu, 25 May 2006 00:01:46 +0000 (00:01 +0000)
committerMichael Brown <mcb30@etherboot.org>
Thu, 25 May 2006 00:01:46 +0000 (00:01 +0000)
order?

src/arch/i386/firmware/pcbios/e820mangler.S

index 4e6ec47..9464a5c 100644 (file)
@@ -238,7 +238,7 @@ patch_16m:
        shrl    $16, %ebx
        popfw
        movw    %sp, %bp
-       movw    %bx, 24(%bp)
+       movw    %bx, 16(%bp)
        popal
        ret
        .size patch_16m, . - patch_16m