Attach the software interrupt handler when interrupts are intialized.

This commit is contained in:
Gregory Nutt 2016-11-04 11:23:33 -06:00
parent 50efe4a906
commit 8fe916e133

View File

@ -69,6 +69,10 @@ void lm32_irq_initialize(void)
g_current_regs = NULL;
/* Attach the software interrupt */
(void)irq_attach(MISOC_IRQ_SWINT, lm32_swint);
/* Enable interrupts */
irq_setie(1);