Skip to content

Commit 1ffa76d

Browse files
committed
doc: update changelog with ThreadX SMP memory barrier fix for Nuclei 1000 series
Signed-off-by: Huaqi Fang <578567190@qq.com>
1 parent f89a083 commit 1ffa76d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

doc/source/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ This is release version of ``0.9.0`` of Nuclei SDK.
134134
- Upgrade FreeRTOS to v11.2.0 and update porting layer to match new API requirements (critical nesting macros and recursive lock functions now accept core ID parameter for SMP systems)
135135
- Fix ThreadX ``tx_port.h`` interrupt disable/restore macros (``TX_DISABLE``/``TX_RESTORE``) by adding ``volatile`` keyword and ``memory`` clobber to inline assembly to prevent compiler reordering and ensure proper memory barrier semantics
136136
- Add memory barriers to ThreadX UP and SMP ports after interrupt control operations (such as ``__enable_irq()`` and ``CSR_MSTATUS`` access) to ensure proper synchronization and prevent potential compiler/CPU reordering issues
137+
- Fix ThreadX SMP port ``PortThreadSwitch`` function by adding memory barriers (``__RWMB()``) around ECLIC IRQ priority changes and stack pointer swaps to ensure proper ordering of memory operations on Nuclei 1000 series out-of-order processors, preventing potential race conditions in multi-core task switching
137138

138139
* Build System
139140

0 commit comments

Comments
 (0)