From: Michael Brown Date: Thu, 25 May 2006 00:01:46 +0000 (+0000) Subject: Why should pushal/popal put the registers on the stack in a logical X-Git-Tag: v0.9.3~1345 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3bd3c13c7bfafca3a4eaa277db2948d3c647ac79;p=thirdparty%2Fipxe.git Why should pushal/popal put the registers on the stack in a logical order? --- diff --git a/src/arch/i386/firmware/pcbios/e820mangler.S b/src/arch/i386/firmware/pcbios/e820mangler.S index 4e6ec4781..9464a5c9a 100644 --- a/src/arch/i386/firmware/pcbios/e820mangler.S +++ b/src/arch/i386/firmware/pcbios/e820mangler.S @@ -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