diff options
| author | EmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com> | 2023-12-29 01:38:34 -0500 |
|---|---|---|
| committer | EmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com> | 2023-12-29 01:38:34 -0500 |
| commit | b7b97d32cbb6fbc928078ebe3a00714cbbebea86 (patch) | |
| tree | c6546748ec5b32345319c54993a8a00b6fef7546 /kernel/arch/i386/boot.asm | |
| parent | d3774de3691a90d7bc2eddce6581c89968c65895 (diff) | |
got grub memory map and added to kernel printf
Diffstat (limited to 'kernel/arch/i386/boot.asm')
| -rw-r--r-- | kernel/arch/i386/boot.asm | 6 |
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
|
