summaryrefslogtreecommitdiff
path: root/stage3/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'stage3/main.c')
-rw-r--r--stage3/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/stage3/main.c b/stage3/main.c
index a03dc5d..a30c3b9 100644
--- a/stage3/main.c
+++ b/stage3/main.c
@@ -14,6 +14,7 @@
#include "shell.h"
#include "fs.h"
#include "gfx.h"
+#include "clock.h"
char keymap[256] = { '\0' };
@@ -142,6 +143,9 @@ void kmain()
irq_services[1] = keyboard_thread;
unmask_irq(1);
+ unmask_irq(2);
+ clock_init();
+ thread_resume(nil, keyboard_thread);
enable_irqs();
thread_sched(nil, nil);