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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/kernel.c b/src/kernel/kernel.c
index ec98a88..9ce1e14 100644
--- a/src/kernel/kernel.c
+++ b/src/kernel/kernel.c
@@ -34,13 +34,13 @@ void kernel_main(uint32_t initial_stack)
set_optimal_resolution();
// Install drivers
- asm ("cli");
+ cli();
timer_install();
mouse_install();
keyboard_install();
pci_remap();
network_install();
- asm ("sti");
+ sti();
// tasking_install();
@@ -67,4 +67,4 @@ void kernel_main(uint32_t initial_stack)
panic("This should NOT happen!");
// asm ("div %0" :: "r"(0)); // Exception testing x/0
-} \ No newline at end of file
+}