aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVed Shanbhogue <91900059+ved-rivos@users.noreply.github.com>2024-06-04 17:02:36 -0500
committerGitHub <noreply@github.com>2024-06-04 15:02:36 -0700
commit5ce8977a5961a6bbfc1638e6676e60489665d882 (patch)
treeece8c1d3a0b721b9b191633cae13641957e79818
parentea2fec121a59136b0dada11743bf6c545c996c65 (diff)
downloadriscv-opcodes-master.zip
riscv-opcodes-master.tar.gz
riscv-opcodes-master.tar.bz2
Fix typo in CTR bitfield definition (#253)HEADmaster
-rw-r--r--encoding.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/encoding.h b/encoding.h
index 6de74b3..a85f5a3 100644
--- a/encoding.h
+++ b/encoding.h
@@ -240,14 +240,14 @@
#define HSTATEEN0_CS 0x00000001
#define HSTATEEN0_FCSR 0x00000002
#define HSTATEEN0_JVT 0x00000004
-#define MSTATEEN0_CTR 0x0040000000000000
+#define HSTATEEN0_CTR 0x0040000000000000
#define HSTATEEN0_SCONTEXT 0x0200000000000000
#define HSTATEEN0_AIA 0x0800000000000000
#define HSTATEEN0_CSRIND 0x1000000000000000
#define HSTATEEN0_SENVCFG 0x4000000000000000
#define HSTATEEN_SSTATEEN 0x8000000000000000
-#define MSTATEEN0H_CTR 0x00400000
+#define HSTATEEN0H_CTR 0x00400000
#define HSTATEEN0H_SCONTEXT 0x02000000
#define HSTATEEN0H_AIA 0x08000000
#define HSTATEEN0H_CSRIND 0x10000000