summaryrefslogtreecommitdiffstats
path: root/riscv.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv.h')
-rw-r--r--riscv.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/riscv.h b/riscv.h
index 04e99a7..b5c880b 100644
--- a/riscv.h
+++ b/riscv.h
@@ -155,7 +155,8 @@
#define MSTATUS_MPIE 0x80
#define MSTATUS_MPP 0x1800
-#define MIP_MTI 0x080
+#define MIP_MSIP 0x008
+#define MIP_MTIP 0x080
#define MIP_MEIP 0x800
#define MIE_MTIE 0x080
#define MIE_MEIE 0x800