summaryrefslogtreecommitdiff
path: root/kernel/main.c
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-04-19 16:36:51 -0400
committerFreya Murphy <freya@freyacat.org>2025-04-20 20:54:31 -0400
commitdf899527e67c6c02fd317eeae25a9e7d7f6b3e8a (patch)
tree51af0845215fea734295c126e47665f0a1ffc615 /kernel/main.c
parentset mmap limit (diff)
downloadcomus-df899527e67c6c02fd317eeae25a9e7d7f6b3e8a.tar.gz
comus-df899527e67c6c02fd317eeae25a9e7d7f6b3e8a.tar.bz2
comus-df899527e67c6c02fd317eeae25a9e7d7f6b3e8a.zip
UEFI and republicans
Diffstat (limited to '')
-rw-r--r--kernel/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/main.c b/kernel/main.c
index 7ea47ad..8666511 100644
--- a/kernel/main.c
+++ b/kernel/main.c
@@ -1,6 +1,7 @@
#include <comus/cpu.h>
#include <comus/memory.h>
#include <comus/mboot.h>
+#include <comus/efi.h>
#include <comus/drivers.h>
#include <comus/drivers/acpi.h>
#include <comus/drivers/pci.h>
@@ -25,6 +26,9 @@ void main(long magic, volatile void *mboot)
// load multiboot information
mboot_init(magic, mboot);
+ // load efi structures
+ efi_init(mboot_get_efi_hdl(), mboot_get_efi_st());
+
// initalize memory
memory_init();