mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 07:45:16 +08:00
Attach the software interrupt handler when interrupts are intialized.
This commit is contained in:
@@ -69,6 +69,10 @@ void lm32_irq_initialize(void)
|
|||||||
|
|
||||||
g_current_regs = NULL;
|
g_current_regs = NULL;
|
||||||
|
|
||||||
|
/* Attach the software interrupt */
|
||||||
|
|
||||||
|
(void)irq_attach(MISOC_IRQ_SWINT, lm32_swint);
|
||||||
|
|
||||||
/* Enable interrupts */
|
/* Enable interrupts */
|
||||||
|
|
||||||
irq_setie(1);
|
irq_setie(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user