aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/boot/boot.asm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/boot/boot.asm')
-rw-r--r--arch/x86_64/boot/boot.asm3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86_64/boot/boot.asm b/arch/x86_64/boot/boot.asm
index 1abda41..3f85423 100644
--- a/arch/x86_64/boot/boot.asm
+++ b/arch/x86_64/boot/boot.asm
@@ -5,6 +5,7 @@ section .text
bits 32
start:
mov esp, stack_top
+ mov edi, ebx ;Move Multiboot info pointer to edi
call check_multiboot
call check_cpuid
@@ -150,7 +151,7 @@ p3_table:
p2_table:
resb 4096
stack_bottom:
- resb 4096
+ resb 4096 * 4
stack_top:
section .rodata