aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/kernel.c
diff options
context:
space:
mode:
authorMarvin Borner2020-05-09 23:50:24 +0200
committerMarvin Borner2020-05-09 23:50:24 +0200
commitc5b0305b3a6e7e6ec6742b99ceb6a1a0b3c6e286 (patch)
tree173965f614435bb9740d05bbc365aba7b76d7e45 /src/kernel/kernel.c
parente350804dc78ab01aaca6aba33792a652535028d9 (diff)
Interrupt analysis - removed many useless cli/sti
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 6010716..d28987b 100644
--- a/src/kernel/kernel.c
+++ b/src/kernel/kernel.c
@@ -49,13 +49,11 @@ void kernel_main(u32 magic, u32 multiboot_address, u32 esp)
paging_install();
// Install drivers
- cli();
timer_install();
mouse_install();
keyboard_install();
pci_remap();
network_install();
- sti();
memory_print();
rtc_print();
@@ -67,6 +65,7 @@ void kernel_main(u32 magic, u32 multiboot_address, u32 esp)
set_optimal_resolution();
log("Content of /etc/test: %s", read_file("/etc/test"));
+ sti(); // Disabled until now
syscalls_install();
kexec("/bin/init");