aboutsummaryrefslogtreecommitdiff
path: root/encoding.h
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2021-01-08 16:27:37 -0800
committerAndrew Waterman <andrew@sifive.com>2021-01-08 16:27:37 -0800
commit0eaeaa7554a8666e810abb978a7891467ab77343 (patch)
tree1519d0cb73a3adf57a922025c99fb44de643c5f4 /encoding.h
parentf7f2b33f9757e8f5180f49852793905ddba625d9 (diff)
downloadriscv-opcodes-0eaeaa7554a8666e810abb978a7891467ab77343.zip
riscv-opcodes-0eaeaa7554a8666e810abb978a7891467ab77343.tar.gz
riscv-opcodes-0eaeaa7554a8666e810abb978a7891467ab77343.tar.bz2
Add Zsn to encoding.h
Diffstat (limited to 'encoding.h')
-rw-r--r--encoding.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/encoding.h b/encoding.h
index fc8a8c0..d571a2f 100644
--- a/encoding.h
+++ b/encoding.h
@@ -222,6 +222,7 @@
#define PTE_A 0x040 /* Accessed */
#define PTE_D 0x080 /* Dirty */
#define PTE_SOFT 0x300 /* Reserved for Software */
+#define PTE_N 0x4000000000000000 /* Zsn: NAPOT translation contiguity */
#define PTE_PPN_SHIFT 10