aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/kernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/kernel.c')
-rw-r--r--src/kernel/kernel.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/kernel/kernel.c b/src/kernel/kernel.c
index fb180ae..4ef53c0 100644
--- a/src/kernel/kernel.c
+++ b/src/kernel/kernel.c
@@ -6,13 +6,12 @@
#include "sound/sound.h"
void kernel_main(void) {
+ asm volatile ("sti");
gdt_install();
idt_install();
isrs_install();
irq_install();
- __asm__ __volatile__ ("sti");
-
terminal_initialize();
vesa_init();
terminal_write_string("Melvix loaded successfully!\n");