summaryrefslogtreecommitdiffstats
path: root/sys/riscv/include/riscvreg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/riscv/include/riscvreg.h')
-rw-r--r--sys/riscv/include/riscvreg.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/riscv/include/riscvreg.h b/sys/riscv/include/riscvreg.h
index 76cba49..b411e18 100644
--- a/sys/riscv/include/riscvreg.h
+++ b/sys/riscv/include/riscvreg.h
@@ -117,9 +117,10 @@
#define SIP_SSIP (1 << 1)
#define SIP_STIP (1 << 5)
-#define NCSRS 4096
-#define CSR_IPI 0x783
-#define XLEN 8
+#define NCSRS 4096
+#define CSR_IPI 0x783
+#define XLEN 8
+#define INSN_SIZE 4
#define CSR_ZIMM(val) \
(__builtin_constant_p(val) && ((u_long)(val) < 32))
OpenPOWER on IntegriCloud