From c31d465a62fbc0ec3194838db4745585471c1050 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 21 Sep 2019 18:07:07 +0200 Subject: Added ACPI based shutdown command --- src/kernel/kernel.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/kernel/kernel.c') 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"); -- cgit v1.2.3