10#define PLIC pa_va(0x0c000000L)
11#define PLIC_PRIORITY (PLIC + 0x0)
12#define PLIC_PENDING (PLIC + 0x1000)
13#define PLIC_MENABLE(hart) (PLIC + 0x2000 + (hart) * 0x100)
14#define PLIC_SENABLE(hart) (PLIC + 0x2080 + (hart) * 0x100)
15#define PLIC_MPRIORITY(hart) (PLIC + 0x200000 + (hart) * 0x2000)
16#define PLIC_SPRIORITY(hart) (PLIC + 0x201000 + (hart) * 0x2000)
17#define PLIC_MCLAIM(hart) (PLIC + 0x200004 + (hart) * 0x2000)
18#define PLIC_SCLAIM(hart) (PLIC + 0x201004 + (hart) * 0x2000)
20#define PLIC_IRQPRIO(irq) (PLIC + irq * 4)
#define PLIC_IRQPRIO(irq)
#define PLIC_SENABLE(hart)
void plic_complete(u32 irq)
void plic_enable_irq(u32 irq)
#define PLIC_SPRIORITY(hart)
#define PLIC_SCLAIM(hart)