aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYenHaoChen <39526191+YenHaoChen@users.noreply.github.com>2024-04-11 05:06:51 +0800
committerGitHub <noreply@github.com>2024-04-10 14:06:51 -0700
commite981086f9c407d4441538b89052877c57eec8d2a (patch)
tree82b32f05d7bdc7dce66d1fbbde5f871cd7c2708f
parentd3fcce5c25ab2ed5343516175182de8357c57f07 (diff)
downloadriscv-opcodes-e981086f9c407d4441538b89052877c57eec8d2a.zip
riscv-opcodes-e981086f9c407d4441538b89052877c57eec8d2a.tar.gz
riscv-opcodes-e981086f9c407d4441538b89052877c57eec8d2a.tar.bz2
Add stateen0[59] for AIA (#242)
-rw-r--r--encoding.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/encoding.h b/encoding.h
index 1f48c06..def8508 100644
--- a/encoding.h
+++ b/encoding.h
@@ -172,11 +172,13 @@
#define MSTATEEN0_JVT 0x00000004
#define MSTATEEN0_PRIV114 0x0080000000000000
#define MSTATEEN0_HCONTEXT 0x0200000000000000
+#define MSTATEEN0_AIA 0x0800000000000000
#define MSTATEEN0_HENVCFG 0x4000000000000000
#define MSTATEEN_HSTATEEN 0x8000000000000000
#define MSTATEEN0H_PRIV114 0x00800000
#define MSTATEEN0H_HCONTEXT 0x02000000
+#define MSTATEEN0H_AIA 0x08000000
#define MSTATEEN0H_HENVCFG 0x40000000
#define MSTATEENH_HSTATEEN 0x80000000
@@ -224,10 +226,12 @@
#define HSTATEEN0_FCSR 0x00000002
#define HSTATEEN0_JVT 0x00000004
#define HSTATEEN0_SCONTEXT 0x0200000000000000
+#define HSTATEEN0_AIA 0x0800000000000000
#define HSTATEEN0_SENVCFG 0x4000000000000000
#define HSTATEEN_SSTATEEN 0x8000000000000000
#define HSTATEEN0H_SCONTEXT 0x02000000
+#define HSTATEEN0H_AIA 0x08000000
#define HSTATEEN0H_SENVCFG 0x40000000
#define HSTATEENH_SSTATEEN 0x80000000