diff options
author | Anna (navi) Figueiredo Gomes <navi@vlhl.dev> | 2024-06-06 16:52:44 +0200 |
---|---|---|
committer | Anna (navi) Figueiredo Gomes <navi@vlhl.dev> | 2024-06-06 16:52:44 +0200 |
commit | 24098b6f4b67de965afc6b359571bbfd0cc988af (patch) | |
tree | e4ded438bb5a7f4853a1267e71d03df0cec356e9 /src/asm | |
parent | 21fbb5720e4be2887b2faab5728e69c92fbb1a5b (diff) |
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
Diffstat (limited to 'src/asm')
-rw-r--r-- | src/asm/long.asm | 4 |
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 |