esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa
Darian Leung 57eb41ce83 refactor(freertos): Call TLSP deletion callback from portCLEAN_UP_TCB()
Previously, TLSP deletion callbacks were...

- Stored in a seprate TCB member "pvThreadLocalStoragePointersDelCallback"
- Called separately via multipole prvDeleteTLS() insertions in tasks.c

This commit refactors how TLSP deletion callbacks are stored and called:

- TLSP deletion callbacks are now stored in "pvThreadLocalStoragePointers"
directly. configNUM_THREAD_LOCAL_STORAGE_POINTERS is doubled in size so that
the deletion callbacks are stored in the latter half of the array

- The callbacks are now called via "portCLEAN_UP_TCB()". As such, the
prvDeleteTLS() additions are no longer needed and the function can be removed

- Removed some legacy TLSP tests using the old method of storing the callback
pointers.

This commit reduces the source code diff between IDF FreeRTOS and upstream
vanilla FreeRTOS, in preparation for v10.5.1 upgrade.
2023-08-24 19:32:06 +08:00
..
include/freertos refactor(freertos): Remove portCLEAN_UP_COPROC() 2023-08-24 19:32:06 +08:00
port.c refactor(freertos): Call TLSP deletion callback from portCLEAN_UP_TCB() 2023-08-24 19:32:06 +08:00
portasm.S freertos(IDF): Remove dependency on portUSING_MPU_WRAPPERS 2022-12-23 15:29:17 +08:00
readme_xtensa.txt freertos: Add SPDX license identifiers and update xtensa port files 2022-02-03 17:08:14 +08:00
xtensa_init.c freertos: Add SPDX license identifiers and update xtensa port files 2022-02-03 17:08:14 +08:00
xtensa_overlay_os_hook.c freertos: Refactor configuration files 2022-02-10 21:23:46 +08:00