aboutsummaryrefslogtreecommitdiff
path: root/riscv/encoding.h
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2022-03-28 14:56:36 -0700
committerAndrew Waterman <andrew@sifive.com>2022-03-30 01:41:17 -0700
commit1e159e462720f043b0c2ff9c0cd2541fed88f1a9 (patch)
tree56f3251c9fec423e6e3cc9fa7856b8b400837888 /riscv/encoding.h
parent3bbaab01762f0b5bac1fd816370c270ffe28fd6b (diff)
downloadspike-1e159e462720f043b0c2ff9c0cd2541fed88f1a9.zip
spike-1e159e462720f043b0c2ff9c0cd2541fed88f1a9.tar.gz
spike-1e159e462720f043b0c2ff9c0cd2541fed88f1a9.tar.bz2
Implement Sv57 and Sv57x4 translation modes
Diffstat (limited to 'riscv/encoding.h')
-rw-r--r--riscv/encoding.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/riscv/encoding.h b/riscv/encoding.h
index 916edea..e6dbd7c 100644
--- a/riscv/encoding.h
+++ b/riscv/encoding.h
@@ -212,6 +212,7 @@
#define HGATP_MODE_SV32X4 1
#define HGATP_MODE_SV39X4 8
#define HGATP_MODE_SV48X4 9
+#define HGATP_MODE_SV57X4 10
#define PMP_R 0x01
#define PMP_W 0x02