diff options
author | Marvin Borner | 2019-09-21 18:07:07 +0200 |
---|---|---|
committer | Marvin Borner | 2019-09-21 18:07:07 +0200 |
commit | c31d465a62fbc0ec3194838db4745585471c1050 (patch) | |
tree | 10e544bc856ea1898e39d6c9304f746aa1d74670 /src/kernel/kernel.c | |
parent | d91024fb750356bad65cce5bdef206e530b37c53 (diff) |
Added ACPI based shutdown command
Diffstat (limited to 'src/kernel/kernel.c')
-rw-r--r-- | src/kernel/kernel.c | 3 |
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"); |