summaryrefslogtreecommitdiff
path: root/kernel/src/boot/multiboot2.c
diff options
context:
space:
mode:
authorAleksa Vuckovic <aleksav013@gmail.com>2022-09-08 14:37:47 +0200
committerAleksa Vuckovic <aleksav013@gmail.com>2022-09-08 14:38:29 +0200
commit82e9f02aef1ea1a6588234ee58e3625e3561005f (patch)
tree80214489336fa2cc1c615bd63b133934832a5ba4 /kernel/src/boot/multiboot2.c
parent1effe3b9ac0bb1a819f6ae5ebb8438e60b77f9a2 (diff)
higher half in x86_64
kernel is now located at -2GB heap blocks are aligned on block size paging will allocate new page tables on heap
Diffstat (limited to 'kernel/src/boot/multiboot2.c')
-rw-r--r--kernel/src/boot/multiboot2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/src/boot/multiboot2.c b/kernel/src/boot/multiboot2.c
index 1bb9aac..12f3c38 100644
--- a/kernel/src/boot/multiboot2.c
+++ b/kernel/src/boot/multiboot2.c
@@ -8,8 +8,7 @@
#include <libk/string.h>
#include <libk/list.h>
#include <heap.h>
-
-#define KERNEL_VMA 0xc0000000
+#include <kernel_vma.h>
/* https://www.gnu.org/software/grub/manual/multiboot2/html_node/Boot-information-format.html */