mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
refactor(freertos): Remove portCLEAN_UP_COPROC()
portCLEAN_UP_COPROC() was an IDF specific addition to FreeRTOS, where the macro was called from prvDeleteTCB() to clean up the coprocessor context of a deleted task. This commit removes portCLEAN_UP_COPROC(). The coprocessor cleanup routine (i.e., vPortCleanUpCoprocArea()) is now called via portCLEAN_UP_TCB()-> vPortTCBPreDeleteHook(). This removes a minor code difference between IDF FreeRTOS and upstream.
This commit is contained in:
@@ -4951,10 +4951,6 @@ BaseType_t xTaskGetAffinity( TaskHandle_t xTask )
|
||||
vPortReleaseTaskMPUSettings( &( pxTCB->xMPUSettings ) );
|
||||
#endif
|
||||
|
||||
#ifdef portCLEAN_UP_COPROC
|
||||
portCLEAN_UP_COPROC( ( void * ) pxTCB );
|
||||
#endif
|
||||
|
||||
#if ( ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) && ( configSUPPORT_STATIC_ALLOCATION == 0 ) && ( portUSING_MPU_WRAPPERS == 0 ) )
|
||||
{
|
||||
/* The task can only have been allocated dynamically - free both
|
||||
|
Reference in New Issue
Block a user