mirror of
https://github.com/cfenollosa/os-tutorial.git
synced 2025-12-18 04:44:35 +03:00
Lesson 23, section 6
This commit is contained in:
@@ -9,6 +9,9 @@ void kernel_main() {
|
||||
isr_install();
|
||||
irq_install();
|
||||
|
||||
asm("int $2");
|
||||
asm("int $3");
|
||||
|
||||
kprint("Type something, it will go through the kernel\n"
|
||||
"Type END to halt the CPU or PAGE to request a kmalloc()\n> ");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user