瀏覽代碼

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

order?
tags/v0.9.3
Michael Brown 18 年之前
父節點
當前提交
3bd3c13c7b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/arch/i386/firmware/pcbios/e820mangler.S

+ 1
- 1
src/arch/i386/firmware/pcbios/e820mangler.S 查看文件

@@ -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…
取消
儲存