summaryrefslogtreecommitdiff
path: root/kernel/entry_efi.c
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2021-04-28 15:35:03 +0000
committerAda Christine <adachristine18@gmail.com>2021-04-28 15:35:03 +0000
commit4fffc7eb44a6d85fdc5627a71cff4f392068f5e7 (patch)
tree97f938e816d6aec5a3befdf425dc42b997d67760 /kernel/entry_efi.c
parenta2e3cd1932263b3b8084803beaa16669bf88f504 (diff)
changed loader allocation, preparing for boot data revamp
Diffstat (limited to 'kernel/entry_efi.c')
-rw-r--r--kernel/entry_efi.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/kernel/entry_efi.c b/kernel/entry_efi.c
index f4eeb9c..5eecaf2 100644
--- a/kernel/entry_efi.c
+++ b/kernel/entry_efi.c
@@ -1,4 +1,11 @@
-#include <loader/data.h>
+#include "cpu.h"
+#include "serial.h"
+#include "kprint.h"
+#include "memory.h"
+#include "panic.h"
+
+#include <loader/data_efi.h>
+
#include <kernel/entry.h>
#include <stdbool.h>
@@ -6,12 +13,6 @@
#include <stdint.h>
#include <stdnoreturn.h>
-#include "cpu.h"
-#include "serial.h"
-#include "kprint.h"
-#include "memory.h"
-#include "panic.h"
-
static void efi_memory_init(struct efi_memory_map_data *map)
{
// FIXME: bad girl shit: overwriting on aliased pointers.