LM32: lm32_vectors.S needs to call lm32_doirq(), passing two parameters

This commit is contained in:
Gregory Nutt 2016-11-04 19:29:54 -06:00
parent 0b83e8afaa
commit 1c05eb651c
1 changed files with 4 additions and 5 deletions

View File

@ -38,7 +38,7 @@
* Included Files * Included Files
****************************************************************************/ ****************************************************************************/
#include <arch/lm32/irq.h> #include <arch/irq.h>
/**************************************************************************** /****************************************************************************
* Exception handlers - Must be 32 bytes long. * Exception handlers - Must be 32 bytes long.
@ -121,12 +121,11 @@ _interrupt_handler:
_syscall_handler: _syscall_handler:
sw (sp+0), ra sw (sp+0), ra
calli .save_all calli .save_all
rcsr r1, IP mvi r1, MISOC_IRQ_SWINT
calli lm32_swint rcsr r2, IP
calli lm32_doirq
bi .restore_all_and_eret bi .restore_all_and_eret
nop nop
nop
nop
_do_reset: _do_reset:
/* Setup stack and global pointer */ /* Setup stack and global pointer */