aboutsummaryrefslogtreecommitdiff
path: root/encoding.h
diff options
context:
space:
mode:
Diffstat (limited to 'encoding.h')
-rw-r--r--encoding.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/encoding.h b/encoding.h
index 1b4e8d4..b1bb384 100644
--- a/encoding.h
+++ b/encoding.h
@@ -164,6 +164,20 @@
#define MSTATEEN0H_HENVCFG 0x40000000
#define MSTATEENH_HSTATEEN 0x80000000
+#define MHPMEVENT_VUINH 0x0400000000000000
+#define MHPMEVENT_VSINH 0x0800000000000000
+#define MHPMEVENT_UINH 0x1000000000000000
+#define MHPMEVENT_SINH 0x2000000000000000
+#define MHPMEVENT_MINH 0x4000000000000000
+#define MHPMEVENT_OF 0x8000000000000000
+
+#define MHPMEVENTH_VUINH 0x04000000
+#define MHPMEVENTH_VSINH 0x08000000
+#define MHPMEVENTH_UINH 0x10000000
+#define MHPMEVENTH_SINH 0x20000000
+#define MHPMEVENTH_MINH 0x40000000
+#define MHPMEVENTH_OF 0x80000000
+
#define HENVCFG_FIOM 0x00000001
#define HENVCFG_CBIE 0x00000030
#define HENVCFG_CBCFE 0x00000040