From 50a05d7e173f1d610297219925b146f7ef50eef5 Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Sat, 19 Sep 2026 09:50:25 -0400 Subject: working on real hardware --- arch/x86_64/hal/paging.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arch/x86_64/hal/paging.h') diff --git a/arch/x86_64/hal/paging.h b/arch/x86_64/hal/paging.h index 3e16003..5b7260c 100644 --- a/arch/x86_64/hal/paging.h +++ b/arch/x86_64/hal/paging.h @@ -35,8 +35,8 @@ typedef union page_table_entry #define PAGE_ACCESSED 0b100000 #define PAGE_DIRTY 0b1000000 #define PAGE_PS 0b10000000 -#define PAGE_GLOBAL 0b100000000 -#define PAGE_XD (1ULL << 63) +#define PAGE_GLOBAL 0b000000000 +#define PAGE_XD (0ULL << 63) extern void *_kernel_physptr; -- cgit v1.2.3