summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/asm/long.asm4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/asm/long.asm b/src/asm/long.asm
index 829d582..2323009 100644
--- a/src/asm/long.asm
+++ b/src/asm/long.asm
@@ -94,7 +94,7 @@ toggle_interrupts:
je .disable
sti
ret
-.disable
+.disable:
cli
ret
@@ -148,6 +148,7 @@ start:
mov cr4, rax
.no_sse:
+ cli
extern kernel_main
call kernel_main
@@ -169,3 +170,4 @@ start:
section .end
global kernel_end
kernel_end:
+resb 0x100000