diff options
author | Andrew Waterman <andrew@sifive.com> | 2021-07-19 18:16:14 -0700 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2021-07-19 18:16:14 -0700 |
commit | 0666378f353599d01fc48562b431b1dd049faab5 (patch) | |
tree | 0ff080f1548197cd8d2f76944ed1f475a612bf38 | |
parent | eb1fba5d790eca34fc3f556cb3eca22b8f5b7f30 (diff) | |
download | env-0666378f353599d01fc48562b431b1dd049faab5.zip env-0666378f353599d01fc48562b431b1dd049faab5.tar.gz env-0666378f353599d01fc48562b431b1dd049faab5.tar.bz2 |
Update encoding.h to add new PTE_ macros
-rw-r--r-- | encoding.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -176,6 +176,10 @@ #define PTE_A 0x040 /* Accessed */ #define PTE_D 0x080 /* Dirty */ #define PTE_SOFT 0x300 /* Reserved for Software */ +#define PTE_RSVD 0x1FC0000000000000 /* Reserved for future standard use */ +#define PTE_PBMT 0x6000000000000000 /* Svpbmt: Page-based memory types */ +#define PTE_N 0x8000000000000000 /* Svnapot: NAPOT translation contiguity */ +#define PTE_ATTR 0xFFC0000000000000 /* All attributes and reserved bits */ #define PTE_PPN_SHIFT 10 |