summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/page_directory.c
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2025-08-19 15:03:42 -0400
committerJon Santmyer <jon@jonsantmyer.com>2025-08-19 15:03:42 -0400
commit772717dc22e04b4d168d0f77bee6b6357118768c (patch)
tree9da95703c3376091904e295930104b51c280008d /arch/x86_64/page_directory.c
parent7ee9347560768641096df68c545ac085a20233e4 (diff)
downloadjove-kernel-772717dc22e04b4d168d0f77bee6b6357118768c.tar.gz
jove-kernel-772717dc22e04b4d168d0f77bee6b6357118768c.tar.bz2
jove-kernel-772717dc22e04b4d168d0f77bee6b6357118768c.zip
refactor KO_MEMORY_MAPPING invokemain
Diffstat (limited to 'arch/x86_64/page_directory.c')
-rw-r--r--arch/x86_64/page_directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/page_directory.c b/arch/x86_64/page_directory.c
index 494cab5..7030b05 100644
--- a/arch/x86_64/page_directory.c
+++ b/arch/x86_64/page_directory.c
@@ -114,6 +114,6 @@ vmem_setup(void)
//Add page mapping object to init directory.
_initDirectory.entries[INIT_OBJECT_PAGEMAP] = (objdir_entry_t) {
.type = KO_MEMORY_MAPPING,
- .data = kernel_pml4_base | 3
+ .data = kernel_pml4_base
};
}