vmm: some work towards page locking

This commit is contained in:
Matheus
2026-02-12 16:25:35 -03:00
parent 3e2a64be5d
commit b3d5bf5586
6 changed files with 56 additions and 7 deletions
+2
View File
@@ -24,6 +24,8 @@
#define ARCH_MMU_FLAGS_UC (1 << 4)
#define ARCH_MMU_FLAGS_WC ((1 << 12) | (1 << 3)) // PAT5 (limine sets up the 5th PAT entry as WC)
#define PAGE_MASK 0xfffffffffffff000lu
#define ARCH_MMU_REQUIRED_FLAGS ARCH_MMU_FLAGS_READ
typedef uint64_t mmuflags_t;