aboutsummaryrefslogtreecommitdiff
path: root/src/kernel.c
diff options
context:
space:
mode:
authorMarvin Borner2019-09-15 18:53:25 +0200
committerMarvin Borner2019-09-15 18:53:25 +0200
commit9e802f11a673c63d3fac395f151c80d6cfc4caf4 (patch)
treee757cfd5953765043a41beb99bc4ea9aaf3a9aa2 /src/kernel.c
parentd7acec1be838230f3188b3887977ca185e38f1a4 (diff)
Fixed keyboard and added terminal overflow scrolling
Diffstat (limited to 'src/kernel.c')
-rw-r--r--src/kernel.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/kernel.c b/src/kernel.c
index e4b8a37..0e1b020 100644
--- a/src/kernel.c
+++ b/src/kernel.c
@@ -5,11 +5,14 @@
#include "timer/timer.h"
void kernel_main(void) {
- terminal_initialize();
gdt_install();
idt_install();
isrs_install();
irq_install();
+
+ __asm__ __volatile__ ("sti");
+
+ terminal_initialize();
timer_install();
keyboard_install();
mouse_install();