summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/page_directory.c
diff options
context:
space:
mode:
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
};
}