aboutsummaryrefslogtreecommitdiff
path: root/src/kernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel.c')
-rw-r--r--src/kernel.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/kernel.c b/src/kernel.c
index 5305b12..a9c54fe 100644
--- a/src/kernel.c
+++ b/src/kernel.c
@@ -7,7 +7,7 @@
#include "devices/keyboard.h"
#include "devices/mouse.h"
#include "devices/pic.h"
-#include "devices/ps2_ctrl.h"
+#include "devices/ps2_controller.h"
#include "devices/uart_16550.h"
#include "devices/vga.h"
#include "mem.h"
@@ -30,13 +30,14 @@ void kmain() {
}
pic_init();
- pic_enable();
- printf("interrupts enabled\n");
ps2_ctrl_init();
ps2_keyboard_init();
// mouse_init();
+ pic_enable();
+ printf("interrupts enabled\n");
+
/*
alloc4M();
char *c = (char *)0xc0700000;