aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/x86_64/src/boot/boot.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86_64/src/boot/boot.s b/arch/x86_64/src/boot/boot.s
index e0cff7c..ba5c6f0 100644
--- a/arch/x86_64/src/boot/boot.s
+++ b/arch/x86_64/src/boot/boot.s
@@ -195,9 +195,9 @@ _start:
call .Lstart_get_ip
.Lstart_get_ip:
pop %esi
- lea (stack_top - .Lstart_get_ip)(%esi), %ebx
+ lea (stack_top - .Lstart_get_ip)(%esi), %ecx
- mov %ebx, %esp
+ mov %ecx, %esp
mov %esp, %ebp
call assert_loaded_by_multiboot2_loader