aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/boot.asm
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/boot.asm')
-rw-r--r--src/kernel/boot.asm7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/kernel/boot.asm b/src/kernel/boot.asm
index d533307..fad05ff 100644
--- a/src/kernel/boot.asm
+++ b/src/kernel/boot.asm
@@ -30,8 +30,13 @@ mboot:
dd start
; Endless loop
+extern kernel_main
stublet:
- extern kernel_main
+ ; Load multiboot information
+ push esp
+ push ebx
+
+ cli
call kernel_main
jmp $