projects
/
riscv-isa-sim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add rd field to JAL; drop J
[riscv-isa-sim.git]
/
riscv
/
pcr.h
diff --git
a/riscv/pcr.h
b/riscv/pcr.h
index 8c9617da9d287136d78e5ad3bd216962f475f9bf..8780cdd99a6bf3b0df9b2c6987c935f10003a0cc 100644
(file)
--- a/
riscv/pcr.h
+++ b/
riscv/pcr.h
@@
-45,6
+45,9
@@
#define IRQ_HOST 6
#define IRQ_TIMER 7
+#define IMPL_SPIKE 1
+#define IMPL_ROCKET 2
+
#define CAUSE_MISALIGNED_FETCH 0
#define CAUSE_FAULT_FETCH 1
#define CAUSE_ILLEGAL_INSTRUCTION 2