From d3bb62c3b99b3b7108de0c2aa4d1d1ead0bd3fb8 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 15 Sep 2019 15:11:17 +0200 Subject: Added system clock support --- src/kernel.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/kernel.c') 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 -- cgit v1.2.3