Migrates plain ThreadX to the upstream RISC-V ports

Keeps the Moonlight startup objects local to the board. Updates the plain and SMP VP regression harnesses for the new ThreadX revision and replaces generated ISR hooks with direct callbacks.
This commit is contained in:
alex committed 2026-11-26 18:56:36 +01:00
1 parent 26fd407a1e
commit d404e17e5a
22 files changed
+148 -2311

No files matched your search

@@ -17,9 +17,17 @@ extern ULONG* _tx_thread_system_stack_ptr;
extern ULONG* _tx_initialize_unused_memory;
extern void _tx_thread_smp_initialize_wait(void) __attribute__((noreturn));
#ifdef TX_REGRESSION_TEST
extern void test_interrupt_dispatch(void) __attribute__((weak));
#endif
void handle_RISCV_INT_MTI(void)
{
hwtimer_handler();
#ifdef TX_REGRESSION_TEST
if (test_interrupt_dispatch)
test_interrupt_dispatch();
#endif
_tx_timer_interrupt();
}