Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions kernel.asm
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ start:
cli ;block interrupts
mov esp, stack_space
call kmain
forever:
hlt ;halt the CPU
jmp forever

section .bss
resb 8192; 8KB for stack
Expand Down
2 changes: 0 additions & 2 deletions kernel.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,4 @@ void kmain(void)

idt_init();
kb_init();

while(1);
}