summaryrefslogtreecommitdiff
path: root/kernel/arch/x86/include/kernel/vmem.h
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2025-05-03 13:01:25 -0500
committerDanny Holman <dholman@gymli.org>2025-05-03 13:01:25 -0500
commit1cfbd25dc9eb39467406686c8ae1efbfd5517865 (patch)
treee676e0f7aa3768806d195ac762c2c9a3bbb835bd /kernel/arch/x86/include/kernel/vmem.h
parentREADME: update required compiler and description (diff)
downloadbox-1cfbd25dc9eb39467406686c8ae1efbfd5517865.tar.gz
box-1cfbd25dc9eb39467406686c8ae1efbfd5517865.tar.zst
box-1cfbd25dc9eb39467406686c8ae1efbfd5517865.zip
kernel: x86_64: rename x86
Rename the x86 arch-specific directory to x86_64, reflecting clang's architecture selector flags. Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to '')
-rw-r--r--kernel/arch/x86/include/kernel/vmem.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/kernel/arch/x86/include/kernel/vmem.h b/kernel/arch/x86/include/kernel/vmem.h
deleted file mode 100644
index 94aa32d..0000000
--- a/kernel/arch/x86/include/kernel/vmem.h
+++ /dev/null
@@ -1,17 +0,0 @@
-#ifndef I386_VMEM_H
-#define I386_VMEM_H
-
-extern uintptr_t _kernel_start;
-extern uintptr_t _kernel_end;
-
-#define KSTART ((uintptr_t)&_kernel_start)
-#define KEND ((uintptr_t)&_kernel_end - 0xC0000000)
-
-#define KHEAP_START (GET_VADDR(KEND) + 0x2000)
-#define KHEAP_STOP 0xFF7FF000
-
-#define PAGE_DIR_MAP 0xFFFFF000
-#define PAGE_TAB_MAP 0xFFC00000
-#define PAGE_TMP_MAP 0xFFBFF000
-
-#endif