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, 4 insertions, 2 deletions
diff --git a/src/kernel/kernel.c b/src/kernel/kernel.c
index 94d1c20..20a7199 100644
--- a/src/kernel/kernel.c
+++ b/src/kernel/kernel.c
@@ -19,8 +19,8 @@ void kernel_main() {
memory_init();
gdt_install();
init_serial();
+ acpi_install();
paging_install();
- // acpi_install();
idt_install();
isrs_install();
irq_install();
@@ -62,5 +62,7 @@ void kernel_main() {
*/
// asm volatile ("div %0" :: "r"(0)); // Exception testing x/0
- halt_loop();
+ loop:
+ asm volatile ("hlt");
+ goto loop;
}