mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-11 08:37:44 -04:00
Minor changes to the TriCore port made during test/validation.
This commit is contained in:
parent
dd10b91fc4
commit
70cfbda2e8
4 changed files with 60 additions and 38 deletions
|
@ -2347,6 +2347,10 @@ tskTCB *pxNewTCB;
|
|||
|
||||
static void prvDeleteTCB( tskTCB *pxTCB )
|
||||
{
|
||||
/* This call is required specifically for the TriCore port. It must be
|
||||
above the vPortFree() calls. */
|
||||
portCLEAN_UP_TCB( pxTCB );
|
||||
|
||||
/* Free up the memory allocated by the scheduler for the task. It is up to
|
||||
the task to free any memory allocated at the application level. */
|
||||
vPortFreeAligned( pxTCB->pxStack );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue