RTEMS Logo

RTEMS 4.9.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:

bool 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-2008 OAR Corporation