Remove pxCurrentTCB define in SMP

This commit is contained in:
Ching-Hsin,Lee 2024-05-20 18:13:17 +08:00
parent 1c9130fbfa
commit 8200e590f1
2 changed files with 38 additions and 34 deletions

View file

@ -463,7 +463,6 @@ typedef tskTCB TCB_t;
/* More details at: https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/main/MISRA.md#rule-84 */
/* coverity[misra_c_2012_rule_8_4_violation] */
portDONT_DISCARD PRIVILEGED_DATA TCB_t * volatile pxCurrentTCBs[ configNUMBER_OF_CORES ];
#define pxCurrentTCB prvGetCurrentTaskTCBUnsafe()
#endif
/* Lists for ready and blocked tasks. --------------------