From 3bd3c13c7bfafca3a4eaa277db2948d3c647ac79 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 25 May 2006 00:01:46 +0000 Subject: [PATCH] Why should pushal/popal put the registers on the stack in a logical order? --- src/arch/i386/firmware/pcbios/e820mangler.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/i386/firmware/pcbios/e820mangler.S b/src/arch/i386/firmware/pcbios/e820mangler.S index 4e6ec478..9464a5c9 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