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.asm9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/kernel/boot.asm b/src/kernel/boot.asm
index 85d4254..58ee8d6 100644
--- a/src/kernel/boot.asm
+++ b/src/kernel/boot.asm
@@ -15,16 +15,11 @@ section .text
global _start
extern kernel_main
_start:
- mov esp, STACK_TOP
- push ebx
- push eax
+ push esp
cli
call kernel_main
cli
-
- hlt_L:
- hlt
- jmp hlt_L
+ jmp $
global jump_userspace
jump_userspace: