summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/hal/paging.h
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2026-09-19 09:50:25 -0400
committerJon Santmyer <jon@jonsantmyer.com>2026-09-19 09:50:25 -0400
commit50a05d7e173f1d610297219925b146f7ef50eef5 (patch)
treed332aba6c2323e5ab7e695ae7e6ad6ff2960dc1b /arch/x86_64/hal/paging.h
parent6da70f16c584ee897a4ac4f51d016a615c84042b (diff)
downloadjove-kernel-50a05d7e173f1d610297219925b146f7ef50eef5.tar.gz
jove-kernel-50a05d7e173f1d610297219925b146f7ef50eef5.tar.bz2
jove-kernel-50a05d7e173f1d610297219925b146f7ef50eef5.zip
working on real hardware
Diffstat (limited to 'arch/x86_64/hal/paging.h')
-rw-r--r--arch/x86_64/hal/paging.h4
1 files changed, 2 insertions, 2 deletions
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;