bumblebee use eclic_mtip_handler as systick handler

This commit is contained in:
acevest
2019-10-16 18:16:42 +08:00
parent f41e287c2a
commit f4d5ff70b2
3 changed files with 6 additions and 18 deletions

View File

@@ -19,22 +19,6 @@
.global irq_entry
.global trap_entry
.extern SysTick_IRQHandler
.align 2
eclic_mtip_handler:
/* normal code */
// add sp, sp, -4
// sw ra, (sp)
// call SysTick_IRQHandler
// lw ra, (sp)
// add sp, sp, 4
// ret
/* the most efficient code */
j SysTick_IRQHandler
// the code will return to caller directly from SysTick_IRQHandler
.align 2
irq_entry:
j irq_entry