Verified macro taskCHECK_FOR_STACK_OVERFLOW.

This commit is contained in:
Tobias Reinhard 2022-11-17 09:20:21 -05:00
parent 2f0b8bc82f
commit d3bda01f16
5 changed files with 81 additions and 8 deletions

View file

@ -1863,6 +1863,12 @@ configSTACK_DEPTH_TYPE uxTaskGetStackHighWaterMark2( TaskHandle_t xTask ) PRIVIL
*/
void vApplicationStackOverflowHook( TaskHandle_t xTask,
char * pcTaskName );
/*@ requires prvTCB_p(xTask, ?ulFreeBytesOnStack) &*&
pubTCB_p(xTask, ?uxCriticalNesting);
@*/
/*@ ensures prvTCB_p(xTask, ulFreeBytesOnStack) &*&
pubTCB_p(xTask, uxCriticalNesting);
@*/
#endif