Browse Source

Why should pushal/popal put the registers on the stack in a logical

order?
tags/v0.9.3
Michael Brown 18 years ago
parent
commit
3bd3c13c7b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/arch/i386/firmware/pcbios/e820mangler.S

+ 1
- 1
src/arch/i386/firmware/pcbios/e820mangler.S View File

@@ -238,7 +238,7 @@ patch_16m:
238 238
 	shrl	$16, %ebx
239 239
 	popfw
240 240
 	movw	%sp, %bp
241
-	movw	%bx, 24(%bp)
241
+	movw	%bx, 16(%bp)
242 242
 	popal
243 243
 	ret
244 244
 	.size patch_16m, . - patch_16m

Loading…
Cancel
Save