diff options
| author | Freya Murphy <freya@freyacat.org> | 2025-04-19 16:36:51 -0400 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2025-04-20 20:54:31 -0400 |
| commit | df899527e67c6c02fd317eeae25a9e7d7f6b3e8a (patch) | |
| tree | 51af0845215fea734295c126e47665f0a1ffc615 /kernel/main.c | |
| parent | set mmap limit (diff) | |
| download | comus-df899527e67c6c02fd317eeae25a9e7d7f6b3e8a.tar.gz comus-df899527e67c6c02fd317eeae25a9e7d7f6b3e8a.tar.bz2 comus-df899527e67c6c02fd317eeae25a9e7d7f6b3e8a.zip | |
UEFI and republicans
Diffstat (limited to '')
| -rw-r--r-- | kernel/main.c | 4 |
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(); |