Introduces Regression for 32 and 64 bit threadx and smp kernel in Debug, MinSizeRel and Release configuration #4
@@ -18,6 +18,9 @@
|
|||||||
|
|
||||||
extern void _tx_timer_interrupt(void);
|
extern void _tx_timer_interrupt(void);
|
||||||
extern uintptr_t exception(uintptr_t mcause, uintptr_t mepc, uintptr_t mtval);
|
extern uintptr_t exception(uintptr_t mcause, uintptr_t mepc, uintptr_t mtval);
|
||||||
|
#ifdef TX_REGRESSION_TEST
|
||||||
|
extern void test_interrupt_dispatch(void);
|
||||||
|
#endif
|
||||||
|
|
||||||
void (*irq_handler[__riscv_xlen])();
|
void (*irq_handler[__riscv_xlen])();
|
||||||
|
|
||||||
@@ -38,6 +41,9 @@ void trap_handler(uintptr_t mcause, uintptr_t mepc, uintptr_t mtval) {
|
|||||||
printf("Timer interrupt being handled (pc=%lx)\n", mepc);
|
printf("Timer interrupt being handled (pc=%lx)\n", mepc);
|
||||||
#endif
|
#endif
|
||||||
hwtimer_handler();
|
hwtimer_handler();
|
||||||
|
#ifdef TX_REGRESSION_TEST
|
||||||
|
test_interrupt_dispatch();
|
||||||
|
#endif
|
||||||
_tx_timer_interrupt();
|
_tx_timer_interrupt();
|
||||||
break;
|
break;
|
||||||
#ifdef TX_THREAD_SMP_INTER_CORE_INTERRUPT
|
#ifdef TX_THREAD_SMP_INTER_CORE_INTERRUPT
|
||||||
|
|||||||
Reference in New Issue
Block a user