RTEMS Logo

RTEMS 4.8.0 On-Line Library


Stack Bounds Checker stack_checker_is_blown - Has Current Task Blown Its Stack

PREV UP NEXT Bookshelf RTEMS C User's Guide

25.4.1: stack_checker_is_blown - Has Current Task Blown Its Stack

CALLING SEQUENCE:

boolean rtems_stack_checker_is_blown( void );

STATUS CODES:

TRUE - Stack is operating within its stack limits
FALSE - Current stack pointer is outside allocated area

DESCRIPTION:

This method is used to determine if the current stack pointer of the currently executing task is within bounds.

NOTES:

This method checks the current stack pointer against the high and low addresses of the stack memory allocated when the task was created and it looks for damage to the high water mark pattern for the worst case usage of the task being called.


PREV UP NEXT Bookshelf RTEMS C User's Guide

Copyright © 1988-2007OAR Corporation