aboutsummaryrefslogtreecommitdiff
path: root/src/kernel.c
diff options
context:
space:
mode:
authorMarvin Borner2019-09-15 15:11:17 +0200
committerMarvin Borner2019-09-15 15:11:17 +0200
commitd3bb62c3b99b3b7108de0c2aa4d1d1ead0bd3fb8 (patch)
tree7cb8f5b8d099448ec7f518085e261eda67caf202 /src/kernel.c
parent4292369d5c80afe71479228e79969855f449f1c3 (diff)
Added system clock support
Diffstat (limited to 'src/kernel.c')
-rw-r--r--src/kernel.c10
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