BarryServer : Git

All the code for all my projects
// BarryServer : Git / Nucleus / commit / b33d632d85a31b49ca4a764fe3b644a60459387b / kernel / main.c

// Related

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!");
 }