mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-22 14:31:59 -04:00
Additional commentary
This commit is contained in:
parent
50958c1659
commit
da14835687
3
portable/ThirdParty/xClang/XCOREAI/port.c
vendored
3
portable/ThirdParty/xClang/XCOREAI/port.c
vendored
|
@ -18,7 +18,8 @@ uint32_t ulPortYieldRequired[ portMAX_CORE_COUNT ] = { pdFALSE };
|
||||||
case in v11 - in single-core FreeRTOS the symbol pxCurrentTCB is defined
|
case in v11 - in single-core FreeRTOS the symbol pxCurrentTCB is defined
|
||||||
instead. This breaks this port in a number of ways. A quick solution is to
|
instead. This breaks this port in a number of ways. A quick solution is to
|
||||||
define pxCurrentTCBs here - it simply needs to be a pointer to pxCurrentTCB.
|
define pxCurrentTCBs here - it simply needs to be a pointer to pxCurrentTCB.
|
||||||
We will actually populate this pointer in the RTOS kernel entry function.
|
We will actually populate this pointer in the RTOS kernel entry function,
|
||||||
|
which in a single-core FreeRTOS instance only runs once.
|
||||||
*/
|
*/
|
||||||
void * pxCurrentTCBs;
|
void * pxCurrentTCBs;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue