aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/kernel.c
diff options
context:
space:
mode:
authorMarvin Borner2020-04-18 17:45:30 +0200
committerMarvin Borner2020-04-18 17:45:30 +0200
commit54d848127e2026b710463508b1e6ca89c2b4b068 (patch)
tree73929602c8824bc6fa06236840b6cac664448241 /src/kernel/kernel.c
parent8d78616a2b80c7625c1aa9ca4733e48a8bf8bf22 (diff)
I don't know HOW I did it, but it works!
I finally fixed the acpi tables with some memory mapping magic and paging allocations, which seems to do the trick. YAY.
Diffstat (limited to 'src/kernel/kernel.c')
-rw-r--r--src/kernel/kernel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/kernel.c b/src/kernel/kernel.c
index 40d11b9..d3806fa 100644
--- a/src/kernel/kernel.c
+++ b/src/kernel/kernel.c
@@ -41,8 +41,8 @@ void kernel_main(uint32_t magic, uint32_t multiboot_address)
isrs_install();
irq_install();
+ paging_install(multiboot_address);
multiboot_parse(multiboot_address);
- paging_install();
// Install drivers
cli();
@@ -54,7 +54,7 @@ void kernel_main(uint32_t magic, uint32_t multiboot_address)
sti();
memory_print();
- //rtc_print(); // TODO: Fix ACPI memory mapping!
+ rtc_print();
vfs_init();
ata_init();