diff options
author | Marvin Borner | 2019-09-15 12:52:02 +0200 |
---|---|---|
committer | Marvin Borner | 2019-09-15 12:52:02 +0200 |
commit | 46fb7adb706bd92c04ea1d578a167cf5dd3f0f16 (patch) | |
tree | 16b87c4875b727c55159994670f074dd0329a45a /src/kernel.c | |
parent | 16913b711ad5e21392669cc65eb5eebdcc31e14c (diff) |
Added interrupt service routines and interrupt requests
Diffstat (limited to 'src/kernel.c')
-rw-r--r-- | src/kernel.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/kernel.c b/src/kernel.c index 8e2f534..4f1281a 100644 --- a/src/kernel.c +++ b/src/kernel.c @@ -1,10 +1,12 @@ #include "graphics/vga.h" #include "gdt/gdt.h" -#include "idt/idt.h" +#include "interrupts/interrupts.h" void kernel_main(void) { gdt_install(); idt_install(); + isrs_install(); terminal_initialize(); terminal_write_string("Melvix loaded successfully!\nTest"); + // __asm__ ("div %0" :: "r"(0)); Exception testing x/0 }
\ No newline at end of file |