diff cos/kernel/kernel.c @ 14:a58904747019

Added asm interrupt handler things, not yet working
author windel
date Mon, 14 Nov 2011 22:45:55 +0100
parents 92ace1ca50a8
children f3e3e0e9c4bc
line wrap: on
line diff
--- a/cos/kernel/kernel.c	Mon Nov 14 21:44:35 2011 +0100
+++ b/cos/kernel/kernel.c	Mon Nov 14 22:45:55 2011 +0100
@@ -129,6 +129,9 @@
   clear_screen();
   printf("Welcome!\n");
   printf("sizeof(uint32_t)=%u, sizeof(uint64_t)=%u\n", sizeof(uint32_t), sizeof(uint64_t));
+
+  printf("Enabling interrupts\n");
+  setupIDT();
   printf("Entering mainloop!\n");
 
   while (1==1)