software/include/base/csr-defs.h: add specific CSR_IRQ_MASK/PENDING for Minerva
This commit is contained in:
parent
f25707012f
commit
1ea22d49b7
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue