aboutsummaryrefslogtreecommitdiff
path: root/encoding.h
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2016-03-03 17:02:09 -0800
committerAndrew Waterman <waterman@cs.berkeley.edu>2016-03-03 17:02:09 -0800
commit080ec44b4482d38e34394d45c95862f5cba5777e (patch)
tree6b37a9bd163cce4743f570ea70c19f3914e8a1c3 /encoding.h
parent53d732e4ddb0b3ff2be7a5c127ddf71ecdd2d721 (diff)
downloadriscv-opcodes-080ec44b4482d38e34394d45c95862f5cba5777e.zip
riscv-opcodes-080ec44b4482d38e34394d45c95862f5cba5777e.tar.gz
riscv-opcodes-080ec44b4482d38e34394d45c95862f5cba5777e.tar.bz2
Update CSR encoding
Diffstat (limited to 'encoding.h')
-rw-r--r--encoding.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/encoding.h b/encoding.h
index 3960252..35f5876 100644
--- a/encoding.h
+++ b/encoding.h
@@ -61,8 +61,11 @@
#define IRQ_S_TIMER 5
#define IRQ_H_TIMER 6
#define IRQ_M_TIMER 7
-#define IRQ_COP 8
-#define IRQ_HOST 9
+#define IRQ_S_DEV 9
+#define IRQ_H_DEV 10
+#define IRQ_M_DEV 11
+#define IRQ_COP 12
+#define IRQ_HOST 13
#define DEFAULT_RSTVEC 0x0
#define DEFAULT_NMIVEC 0x4