aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/arch/i386/boot.asm
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/i386/boot.asm')
-rw-r--r--kernel/arch/i386/boot.asm6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/arch/i386/boot.asm b/kernel/arch/i386/boot.asm
index a2dccce..b5dfe11 100644
--- a/kernel/arch/i386/boot.asm
+++ b/kernel/arch/i386/boot.asm
@@ -30,6 +30,12 @@ _start:
; setup stack
mov esp, stack_top
+ ; get multiboot header data (for memory map)
+ extern multiboot_main
+ push eax
+ push ebx
+ call multiboot_main
+
extern _init
call _init