Introduces Regression for 32 and 64 bit threadx and smp kernel in Debug, MinSizeRel and Release configuration #4

Merged
alex merged 79 commits from feature/test into main 2026-04-02 14:09:29 +01:00
Owner
No description provided.
alex added 79 commits 2026-04-02 14:08:29 +01:00
As the offsets into the TX_THREAD are needed to access certain fields and the members for smp are quite difficult to obtain this was the safest option
This was just never used in the demos and thus not noticed
this change went unnoticed when moving the file into moonlight/inc
This reverts commit 014cf9f8ee.
This approach patches the existing trap handler to call the test routine
Also corrects the sizes, as ULONG is XLEN bits
Turns out the port was really that shitty
As higher optimization might actually schedule a jump to self while waiting for timer interrupts this is a more robust implementation in that sense
This will not build, as atp threadx is still checked in clean
ATP Debug32 passes all tx and smp regression tests
regression tx and smp now works for Debug32 and Release32
also addresses latest error
Ass ULONG is now 8 bytes on RV64, the SMP offset is the only one left, harcoding it as a magic number is simpler
alex merged commit f58aa42abd into main 2026-04-02 14:09:29 +01:00
alex deleted branch feature/test 2026-04-02 14:09:29 +01:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Firmware/ThreadX4TGFS#4