summaryrefslogtreecommitdiff
path: root/src/asm
diff options
context:
space:
mode:
authorAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2024-06-06 16:52:44 +0200
committerAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2024-06-06 16:52:44 +0200
commit24098b6f4b67de965afc6b359571bbfd0cc988af (patch)
treee4ded438bb5a7f4853a1267e71d03df0cec356e9 /src/asm
parent21fbb5720e4be2887b2faab5728e69c92fbb1a5b (diff)
reserver space at the end, and cli by defaultHEADmain
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
Diffstat (limited to 'src/asm')
-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