summaryrefslogtreecommitdiff
path: root/kernel/src/arch/i686/memory.c
diff options
context:
space:
mode:
authorTyler Murphy <=>2023-07-22 11:05:30 -0400
committerTyler Murphy <=>2023-07-22 11:05:30 -0400
commitda094d011f52a8f1ce879810cd1a4bbbe34f08d4 (patch)
tree4649b04705b49c2eb5f8691a5d9951351f65df04 /kernel/src/arch/i686/memory.c
parentrefactoring (diff)
downloadfinix-main.tar.gz
finix-main.tar.bz2
finix-main.zip
paging is not very funHEADmain
Diffstat (limited to 'kernel/src/arch/i686/memory.c')
-rw-r--r--kernel/src/arch/i686/memory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/src/arch/i686/memory.c b/kernel/src/arch/i686/memory.c
index 29f1f56..ec4c43c 100644
--- a/kernel/src/arch/i686/memory.c
+++ b/kernel/src/arch/i686/memory.c
@@ -1,7 +1,7 @@
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
-#include <sys.h>
+#include <arch.h>
#include <panic.h>
#include <arch/i686/memory.h>
#include <arch/i686/mboot.h>
@@ -126,7 +126,7 @@ void memory_init(void) {
kernel_end_addr = (uintptr_t) &kernel_end;
struct BootTag *tag;
- if (!get_boot_tag(iD_MEMORYMAP, &tag)) {
+ if (!get_boot_tag(ID_MEMORYMAP, &tag)) {
panic("No multiboot memory map found");
}