alex
f3dc14193c
Checked RISC-V SMP assembly offsets at build time
2026-11-27 10:49:31 +01:00
alex
d404e17e5a
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.
2026-11-26 18:56:36 +01:00
alex
fa665fcc2e
corrects saving of floating point registers
...
The previous implementation always made space for XLEN sized registers, in RV32D this leads to overlaps
2026-09-16 08:01:11 +02:00
alex
86c9d25b5f
adds markers to scheduler for identification for plugins
2026-07-06 12:31:15 +02:00
alex
ba39d23a18
adds hooks in bootup do move smp booting into the smp port lib
2026-04-10 14:40:21 +02:00
alex
ffc49bc6a9
small formatting
2026-04-02 14:25:58 +02:00
alex
a6a6a034d6
removes convoluted generation of offsets
...
Ass ULONG is now 8 bytes on RV64, the SMP offset is the only one left, harcoding it as a magic number is simpler
2026-04-02 11:35:37 +02:00
alex
c16e6b0446
adjust SMP port to also use ULONG = 8 bytes
2026-04-02 10:48:43 +02:00
alex
dd0c837930
corrects stack alignment
2026-03-30 19:48:09 +02:00
alex
8a41f3e0fa
small cleanuo to smp asm files
2026-03-26 15:55:32 +01:00
alex
c11f68d20c
initial test harness for smp regression
2026-03-24 18:00:50 +01:00
alex
9947ce8d52
corrects naming of TX_INTERRUPT_SAVE_AREA to meet test expectations
...
Also corrects the sizes, as ULONG is XLEN bits
2026-03-22 15:56:00 +01:00
alex
083565251e
cleans up moonlight dir
2026-03-21 15:40:54 +01:00
alex
2433b66dc0
corrects port files, enables wakeups in port
2026-03-16 08:08:49 +01:00
alex
3ba7cdda9e
fortifies regex for asm offset parsing
2026-03-12 20:17:42 +01:00
alex
239cd26a5c
adds stub for dynamic core discovery in port
2026-03-12 16:31:51 +01:00
alex
ebe891dad6
adds smp tx_timer_interrupt
2026-03-12 16:15:57 +01:00
alex
1da9671197
adds trap_entry to smp lib
2026-03-12 15:57:02 +01:00
alex
28aaf8fd96
makes smp a lib only
2026-03-12 15:56:48 +01:00
alex
3fc721d6f2
moves spm_offset functionality into its own cmake file
2026-03-12 15:38:15 +01:00
alex
5ebcce634a
small cleanup
2026-03-12 15:29:41 +01:00
alex
cca56f89c6
adds other files necessary to build smp library
2026-03-12 15:21:18 +01:00
alex
1117527a02
changes so that cmake builds for now
2026-03-11 19:13:10 +01:00
alex
a75db78425
adds ipi functionality
2026-03-10 21:02:29 +01:00
alex
744773848c
adds initial smp tx_port
2026-03-10 21:02:16 +01:00
alex
f83e96fbcd
adds initial low_level_init
2026-03-10 21:01:01 +01:00
alex
2e955b9342
adds the generation of the offsetof defines to CMakeLists.txt
...
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
2026-03-10 20:59:58 +01:00
alex
70bbde8502
adds initial smp scheduler
2026-03-10 20:57:47 +01:00
alex
e5020b78de
WIP: build system
2026-03-09 19:37:34 +01:00