aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVed Shanbhogue <91900059+ved-rivos@users.noreply.github.com>2023-12-26 00:43:44 -0700
committerGitHub <noreply@github.com>2023-12-25 23:43:44 -0800
commita014979d6067642315c629a25504f94f7f2917f6 (patch)
tree5524b5abb303f48fcbc0e2f0868c44ad57e6db10
parentfb622f2c35257d5615a6b6ff3a9bb674eb45d27d (diff)
downloadriscv-opcodes-a014979d6067642315c629a25504f94f7f2917f6.zip
riscv-opcodes-a014979d6067642315c629a25504f94f7f2917f6.tar.gz
riscv-opcodes-a014979d6067642315c629a25504f94f7f2917f6.tar.bz2
update mstateen0 fields (#218)
-rw-r--r--encoding.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/encoding.h b/encoding.h
index c799395..b1859a6 100644
--- a/encoding.h
+++ b/encoding.h
@@ -168,11 +168,14 @@
#define MSTATEEN0_CS 0x00000001
#define MSTATEEN0_FCSR 0x00000002
#define MSTATEEN0_JVT 0x00000004
+#define MSTATEEN0_PRIV114 0x0080000000000000
+#define MSTATEEN0_HENVCFGH 0x0100000000000000
#define MSTATEEN0_HCONTEXT 0x0200000000000000
-#define MSTATEEN0_CD 0x0100000000000000
#define MSTATEEN0_HENVCFG 0x4000000000000000
#define MSTATEEN_HSTATEEN 0x8000000000000000
+#define MSTATEEN0H_PRIV114 0x00800000
+#define MSTATEEN0H_HENVCFGH 0x01000000
#define MSTATEEN0H_HCONTEXT 0x02000000
#define MSTATEEN0H_HENVCFG 0x40000000
#define MSTATEENH_HSTATEEN 0x80000000