diff options
-rw-r--r-- | sys/arch/amd64/amd64/pmap.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/arch/amd64/amd64/pmap.c b/sys/arch/amd64/amd64/pmap.c index 3cae745..cc9c2e8 100644 --- a/sys/arch/amd64/amd64/pmap.c +++ b/sys/arch/amd64/amd64/pmap.c @@ -33,6 +33,11 @@ #include <machine/asm/tlb.h> #include <assert.h> +/* + * Page-Table Entry (PTE) flags + * + * See Intel SDM Vol 3A, Section 4.5, Table 4-19 + */ #define PTE_ADDR_MASK 0x000FFFFFFFFFF000 #define PTE_P __BIT(0) /* Present */ #define PTE_RW __BIT(1) /* Writable */ |