Merge branch 'misoc' of bitbucket.org:nuttx/nuttx into misoc
This commit is contained in:
commit
bb5cd37409
@ -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.
|
||||||
@ -120,13 +120,13 @@ _interrupt_handler:
|
|||||||
|
|
||||||
_syscall_handler:
|
_syscall_handler:
|
||||||
sw (sp+0), ra
|
sw (sp+0), ra
|
||||||
|
addi ea, ea, 4
|
||||||
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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user