mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-24 13:47:47 -04:00
Add stack check macros.
This commit is contained in:
parent
71ef3153ea
commit
39f6b0b5de
3 changed files with 108 additions and 199 deletions
|
|
@ -868,9 +868,9 @@ unsigned portLONG ulTaskEndTrace( void );
|
|||
|
||||
/**
|
||||
* task.h
|
||||
* <PRE>unsigned portBASE_TYPE uxGetStackHighWaterMark( void );</PRE>
|
||||
* <PRE>unsigned portBASE_TYPE uxTaskGetStackHighWaterMark( void );</PRE>
|
||||
*
|
||||
* INCLUDE_uxGetStackHighWaterMark must be set to 1 in FreeRTOSConfig.h for
|
||||
* INCLUDE_uxTaskGetStackHighWaterMark must be set to 1 in FreeRTOSConfig.h for
|
||||
* this function to be available.
|
||||
*
|
||||
* Returns the high water mark for the stack of the calling task. That is,
|
||||
|
|
@ -878,7 +878,7 @@ unsigned portLONG ulTaskEndTrace( void );
|
|||
* started. The small the returned number the closer the task has come
|
||||
* to overflowing its stack.
|
||||
*/
|
||||
unsigned portBASE_TYPE uxGetStackHighWaterMark( void );
|
||||
unsigned portBASE_TYPE uxTaskGetStackHighWaterMark( void );
|
||||
|
||||
/*-----------------------------------------------------------
|
||||
* SCHEDULER INTERNALS AVAILABLE FOR PORTING PURPOSES
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue