mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-11-07 12:12:30 -05:00
Add a layer of indirection to cope with singlecore
This commit is contained in:
parent
da14835687
commit
01b64f524b
2 changed files with 23 additions and 15 deletions
2
portable/ThirdParty/xClang/XCOREAI/portasm.S
vendored
2
portable/ThirdParty/xClang/XCOREAI/portasm.S
vendored
|
|
@ -119,7 +119,7 @@ _yield_continue:
|
|||
ldaw r11, sp[37]}
|
||||
vstc r11[0]
|
||||
#endif
|
||||
ldaw r5, dp[pxCurrentTCBs] /* Get the current TCB array into r5. */
|
||||
ldw r5, dp[xcorePvtTCBContainer]
|
||||
ldw r1, r5[r0] /* Get this core's current TCB pointer into r1. */
|
||||
stw r4, r1[0x0] /* Save the current task's SP to the first */
|
||||
/* word (top of stack) in the current TCB. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue