summaryrefslogtreecommitdiffhomepage
path: root/src/loader/main.c
diff options
context:
space:
mode:
authorMarvin Borner2021-07-10 18:36:50 +0200
committerMarvin Borner2021-07-10 18:36:50 +0200
commit4f1ae4fa4250369919a975f5568425f6791b2489 (patch)
treeaec903e642561edbf6a6cccf513abccff882426f /src/loader/main.c
parentad56eb28f0614db4b7656ade390f1c79b446cbc9 (diff)
Fixed interrupts and added keyboard handler
Diffstat (limited to 'src/loader/main.c')
-rw-r--r--src/loader/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/loader/main.c b/src/loader/main.c
index 54f35be..97fc8ef 100644
--- a/src/loader/main.c
+++ b/src/loader/main.c
@@ -40,6 +40,7 @@ int start(u8 disk)
sel_draw();
// Sleep and wait for interrupts
+ __asm__ volatile("sti");
while (1)
__asm__ volatile("hlt");