Nucleus
Barry Interrupt handlers b33d632 (3 years, 3 months ago)
diff --git a/kernel/main.c b/kernel/main.c
index 5a10a59..e797bbc 100644
--- a/kernel/main.c
+++ b/kernel/main.c
@@ -6,8 +6,10 @@
#include <stdint.h>
#include <string.h>
+#include <nucleus/memory.h>
+#include <nucleus/panic.h>
#include "multiboot.h"
-#include "../memory/memory.h"
+#include "idt.h"
extern char _bss[], _end[];
@@ -21,5 +23,8 @@ kmain(uint32_t esp, struct MultibootInfo *mbinfo)
/* Setup frame allocator */
init_frames(mbinfo->mmapLen, (void *) mbinfo->mmapAddr);
- while (1);
+ /* Processor startup */
+ init_idt();
+
+ panic("End of kernel!");
}