提交 87f2ceb7 创建 作者: Silas Boyd-Wickizer's avatar Silas Boyd-Wickizer

Fix naming typo in boot.S

上级 709c2160
...@@ -120,7 +120,7 @@ start32: ...@@ -120,7 +120,7 @@ start32:
movl $PADDR(start64), %edi movl $PADDR(start64), %edi
# Enter 64-bit mode. # Enter 64-bit mode.
ljmp $KCSEG, $PADDR(trap64) // code64 segment selector ljmp $KCSEG, $PADDR(tramp64) // code64 segment selector
.code64 .code64
start64: start64:
...@@ -148,7 +148,7 @@ apstart: ...@@ -148,7 +148,7 @@ apstart:
apstart32: apstart32:
call init32e call init32e
movl $PADDR(apstart64), %edi movl $PADDR(apstart64), %edi
ljmp $KCSEG, $PADDR(trap64) // code64 segment selector ljmp $KCSEG, $PADDR(tramp64) // code64 segment selector
.code64 .code64
apstart64: apstart64:
...@@ -161,9 +161,9 @@ apstart64: ...@@ -161,9 +161,9 @@ apstart64:
1: jmp 1b 1: jmp 1b
.code64 .code64
trap64: tramp64:
# The linker thinks we are running at trap64, but we're actually # The linker thinks we are running at tramp64, but we're actually
# running at PADDR(trap64), so use an explicit calculation to # running at PADDR(tramp64), so use an explicit calculation to
# load and jump to the correct address. %rdi should hold the # load and jump to the correct address. %rdi should hold the
# physical address of the jmp target. # physical address of the jmp target.
addq $KBASE, %rdi addq $KBASE, %rdi
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论