aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/boot.asm
diff options
context:
space:
mode:
authorMarvin Borner2020-01-26 18:38:36 +0100
committerMarvin Borner2020-01-26 18:38:36 +0100
commitbb2a6b4d93512e8afc1b1999eb58f1f506cc27ae (patch)
treeea30b53ac6043faddd1cdb2fdea17f37178b1cc7 /src/kernel/boot.asm
parentb8630d78a15a69f50dac747e41e84b143dd99b08 (diff)
Magic commit
Some things work, others don't.
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: