diff options
author | Marvin Borner | 2019-09-15 15:11:17 +0200 |
---|---|---|
committer | Marvin Borner | 2019-09-15 15:11:17 +0200 |
commit | d3bb62c3b99b3b7108de0c2aa4d1d1ead0bd3fb8 (patch) | |
tree | 7cb8f5b8d099448ec7f518085e261eda67caf202 /src/kernel.c | |
parent | 4292369d5c80afe71479228e79969855f449f1c3 (diff) |
Added system clock support
Diffstat (limited to 'src/kernel.c')
-rw-r--r-- | src/kernel.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/kernel.c b/src/kernel.c index 4f1281a..73bed6f 100644 --- a/src/kernel.c +++ b/src/kernel.c @@ -1,12 +1,18 @@ #include "graphics/vga.h" #include "gdt/gdt.h" #include "interrupts/interrupts.h" +#include "input/input.h" +#include "timer/timer.h" void kernel_main(void) { + terminal_initialize(); gdt_install(); idt_install(); isrs_install(); - terminal_initialize(); - terminal_write_string("Melvix loaded successfully!\nTest"); + irq_install(); + timer_install(); + mouse_install(); + + terminal_write_string("Melvix loaded successfully!\n"); // __asm__ ("div %0" :: "r"(0)); Exception testing x/0 }
\ No newline at end of file |