RTEMS Logo

RTEMS 4.9.5 On-Line Library


Stack Bounds Checker STACK_CHECKER_IS_BLOWN - Has Current Task Blown Its Stack

PREV UP NEXT Bookshelf RTEMS Ada User's Guide

25.4.1: STACK_CHECKER_IS_BLOWN - Has Current Task Blown Its Stack

CALLING SEQUENCE:

function Stack_Checker_Is_Blown return RTEMS.Boolean;

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 Ada User's Guide

Copyright © 1988-2008 OAR Corporation