aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv64/kernel/csr.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv64/kernel/csr.h')
-rw-r--r--arch/riscv64/kernel/csr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/riscv64/kernel/csr.h b/arch/riscv64/kernel/csr.h
index 9b7b78a..bc48464 100644
--- a/arch/riscv64/kernel/csr.h
+++ b/arch/riscv64/kernel/csr.h
@@ -40,6 +40,8 @@
/** Address of \c sstatus CSR. */
#define CSR_SSTATUS 0x100
+#define SR_SPIE 0b10
+
/** Address of \c sie CSR. */
#define CSR_SIE 0x104