From bb2a6b4d93512e8afc1b1999eb58f1f506cc27ae Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 26 Jan 2020 18:38:36 +0100 Subject: Magic commit Some things work, others don't. --- src/kernel/boot.asm | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/kernel/boot.asm') 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: -- cgit v1.2.3