esp-idf/components/freertos/FreeRTOS-Kernel/include/freertos
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
..
atomic.h freertos: Uncrustify IDF FreeRTOS 2022-11-02 19:49:40 +08:00
croutine.h freertos: Uncrustify IDF FreeRTOS 2022-11-02 19:49:40 +08:00
deprecated_definitions.h freertos: Uncrustify IDF FreeRTOS 2022-11-02 19:49:40 +08:00
event_groups.h freertos: Add GetStaticBuffer functions 2023-04-12 11:45:06 +08:00
FreeRTOS.h refactor(freertos): Call TLSP deletion callback from portCLEAN_UP_TCB() 2023-08-24 19:32:06 +08:00
list.h freertos: Uncrustify IDF FreeRTOS 2022-11-02 19:49:40 +08:00
message_buffer.h freertos: Add GetStaticBuffer functions 2023-04-12 11:45:06 +08:00
mpu_prototypes.h freertos: Uncrustify IDF FreeRTOS 2022-11-02 19:49:40 +08:00
mpu_wrappers.h freertos(IDF): Sync cosmetic differences to v10.4.3 2022-11-10 18:37:42 +08:00
portable.h freertos(IDF): Refactor port heap functions 2023-03-06 16:00:29 +08:00
projdefs.h freertos: Uncrustify IDF FreeRTOS 2022-11-02 19:49:40 +08:00
queue.h freertos: Add GetStaticBuffer functions 2023-04-12 11:45:06 +08:00
semphr.h freertos: Add GetStaticBuffer functions 2023-04-12 11:45:06 +08:00
stack_macros.h freertos: Uncrustify IDF FreeRTOS 2022-11-02 19:49:40 +08:00
StackMacros.h freertos: Uncrustify IDF FreeRTOS 2022-11-02 19:49:40 +08:00
stdint.readme freertos: Add SPDX license identifiers and update xtensa port files 2022-02-03 17:08:14 +08:00
stream_buffer.h freertos: Add GetStaticBuffer functions 2023-04-12 11:45:06 +08:00
task.h freertos: Add GetStaticBuffer functions 2023-04-12 11:45:06 +08:00
timers.h freertos: Add GetStaticBuffer functions 2023-04-12 11:45:06 +08:00