From 772717dc22e04b4d168d0f77bee6b6357118768c Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Tue, 19 Aug 2025 15:03:42 -0400 Subject: refactor KO_MEMORY_MAPPING invoke --- arch/x86_64/page_directory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/x86_64/page_directory.c') 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 }; } -- cgit v1.2.1