aboutsummaryrefslogtreecommitdiff
path: root/src/kernel.c
diff options
context:
space:
mode:
authorMarvin Borner2019-09-15 01:13:31 +0200
committerMarvin Borner2019-09-15 01:13:31 +0200
commit41a2a86fd07134668263cf901706d6c0380173a1 (patch)
treeb878dfb6c7c716fb1cc9f69b812a2598ac012b94 /src/kernel.c
parentb84a680c7fd9c461ac00633ceae3ef41b9d287e3 (diff)
Added interrupt descriptor table and memory setter
Diffstat (limited to 'src/kernel.c')
-rw-r--r--src/kernel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kernel.c b/src/kernel.c
index e8ee10e..8e2f534 100644
--- a/src/kernel.c
+++ b/src/kernel.c
@@ -1,6 +1,10 @@
#include "graphics/vga.h"
+#include "gdt/gdt.h"
+#include "idt/idt.h"
void kernel_main(void) {
+ gdt_install();
+ idt_install();
terminal_initialize();
terminal_write_string("Melvix loaded successfully!\nTest");
} \ No newline at end of file