summaryrefslogtreecommitdiffstats
path: root/kernel/boot.s
diff options
context:
space:
mode:
authorAlexey Gavrilov <90127298+rebovas@users.noreply.github.com>2024-03-31 14:40:50 +0700
committerGitHub <noreply@github.com>2024-03-31 14:40:50 +0700
commit18b4f9d1bff908fd91a48c1953ebcb8363855a59 (patch)
treed309b630a161823c79dab9a48f67a41a40d76b24 /kernel/boot.s
parenta276644952ed018e77ca64181059434a6bc4ee62 (diff)
parent49cfee4e370892df8404e56d53b04dde196f82f2 (diff)
Merge pull request #6 from rebovas/idt
IDT + uintptr update
Diffstat (limited to 'kernel/boot.s')
-rw-r--r--kernel/boot.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/boot.s b/kernel/boot.s
index 987cb48..710bb7b 100644
--- a/kernel/boot.s
+++ b/kernel/boot.s
@@ -10,6 +10,7 @@ align 4
section .bss
align 16
+resb 160
stack_bottom:
resb 16384
stack_top:
@@ -20,6 +21,7 @@ global _start:function (_start.end - _start)
_start:
mov esp, stack_top
call main
+ int 0x20
cli
.hang: hlt
jmp .hang