mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-28 21:28:21 +00:00
x86_64 mmu: cache flags
This commit is contained in:
@@ -16,6 +16,10 @@
|
||||
#define ARCH_MMU_FLAGS_USER (uint64_t)4
|
||||
#define ARCH_MMU_FLAGS_NOEXEC ((uint64_t)1 << 63)
|
||||
|
||||
#define ARCH_MMU_FLAGS_WB 0
|
||||
#define ARCH_MMU_FLAGS_WT (1 << 3)
|
||||
#define ARCH_MMU_FLAGS_UC (1 << 4)
|
||||
|
||||
typedef uint64_t mmuflags_t;
|
||||
typedef uint64_t * pagetableptr_t; // physical address
|
||||
|
||||
|
||||
Reference in New Issue
Block a user