drivers: interrupt-controller: add Nuclei ECLIC driver
Add support for the ECLIC interrupt controller which is used with the Nuclei processor core. Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
This commit is contained in:
parent
949d4b91d9
commit
5c7a0ef888
13 changed files with 270 additions and 7 deletions
|
@ -291,6 +291,13 @@ void z_irq_spurious(const void *unused);
|
|||
Z_ISR_DECLARE(irq_p, 0, isr_p, isr_param_p); \
|
||||
arch_irq_priority_set(irq_p, priority_p); \
|
||||
}
|
||||
#elif defined(CONFIG_NUCLEI_ECLIC)
|
||||
void nuclei_eclic_irq_priority_set(unsigned int irq, unsigned int prio, unsigned int flags);
|
||||
#define ARCH_IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p) \
|
||||
{ \
|
||||
Z_ISR_DECLARE(irq_p, 0, isr_p, isr_param_p); \
|
||||
nuclei_eclic_irq_priority_set(irq_p, priority_p, flags_p); \
|
||||
}
|
||||
#else
|
||||
#define ARCH_IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p) \
|
||||
{ \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue