mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-12 00:57:44 -04:00
Add top and end of stack to task info report
This commit is contained in:
parent
464695a4f2
commit
154c889bb8
1 changed files with 2 additions and 0 deletions
2
tasks.c
2
tasks.c
|
@ -3684,6 +3684,8 @@ static void prvCheckTasksWaitingTermination( void )
|
|||
pxTaskStatus->pcTaskName = ( const char * ) &( pxTCB->pcTaskName [ 0 ] );
|
||||
pxTaskStatus->uxCurrentPriority = pxTCB->uxPriority;
|
||||
pxTaskStatus->pxStackBase = pxTCB->pxStack;
|
||||
pxTaskStatus->pxTopOfStack = (StackType_t *)pxTCB->pxTopOfStack;
|
||||
pxTaskStatus->pxEndOfStack = pxTCB->pxEndOfStack;
|
||||
pxTaskStatus->xTaskNumber = pxTCB->uxTCBNumber;
|
||||
|
||||
#if ( configUSE_MUTEXES == 1 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue