Commit 1ea22d49 authored by Florent Kermarrec's avatar Florent Kermarrec
Browse files

software/include/base/csr-defs.h: add specific CSR_IRQ_MASK/PENDING for Minerva

parent f2570701
......@@ -3,8 +3,15 @@
#define CSR_MSTATUS_MIE 0x8
#if defined (__vexriscv__)
#define CSR_IRQ_MASK 0xBC0
#define CSR_IRQ_PENDING 0xFC0
#endif
#if defined (__minerva__)
#define CSR_IRQ_MASK 0x330
#define CSR_IRQ_PENDING 0x360
#endif
#define CSR_DCACHE_INFO 0xCC0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment