diff options
author | Daniel Lustig <dlustig@nvidia.com> | 2021-07-19 19:15:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-19 16:15:58 -0700 |
commit | 65af4131c26fb4743fee4c4efbdff8a59eb4e48a (patch) | |
tree | 2a74f0d7e94ae3af3a63f2d3d0d5cd466af49385 /encoding.h | |
parent | e46f324eec2f783803fa776f589b9ef047db3af7 (diff) | |
download | riscv-opcodes-65af4131c26fb4743fee4c4efbdff8a59eb4e48a.zip riscv-opcodes-65af4131c26fb4743fee4c4efbdff8a59eb4e48a.tar.gz riscv-opcodes-65af4131c26fb4743fee4c4efbdff8a59eb4e48a.tar.bz2 |
Virtual memory updates (#76)
* Add Svinval instructions
* Add PTE defines for Priv 1.12 and Svpbmt
Diffstat (limited to 'encoding.h')
-rw-r--r-- | encoding.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -216,7 +216,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 |