summaryrefslogtreecommitdiffhomepage
path: root/src/loader/main.c
diff options
context:
space:
mode:
authorMarvin Borner2021-07-05 23:22:24 +0200
committerMarvin Borner2021-07-05 23:27:40 +0200
commit23aa6f84539ba320a91235fb81681d0754178f62 (patch)
tree972b0a4abc41900538bda23f4ac2145abf94e369 /src/loader/main.c
parentd1476974cd612412eefc40c6dc72ba66191136fd (diff)
ACPI and config parsing
Diffstat (limited to 'src/loader/main.c')
-rw-r--r--src/loader/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/loader/main.c b/src/loader/main.c
index 7c50e62..f01a93b 100644
--- a/src/loader/main.c
+++ b/src/loader/main.c
@@ -1,5 +1,7 @@
// MIT License, Copyright (c) 2021 Marvin Borner
+#include <acpi.h>
+#include <cfg.h>
#include <def.h>
#include <dev.h>
#include <ide.h>
@@ -21,9 +23,13 @@ int start(void)
pic_install();
idt_install();
+ acpi_probe();
pci_probe();
dev_print();
+ cfg_exec();
+ cfg_print();
+
// Sleep and wait for interrupts
while (1)
__asm__ volatile("hlt");