RTEMS Logo

RTEMS 4.6.2 On-Line Library


Stack Bounds Checker Initializing the Stack Bounds Checker

PREV UP NEXT Bookshelf New Chapters

5.3.1: Initializing the Stack Bounds Checker

The stack checker is initialized automatically when its task create extension runs for the first time. When this occurs, the Stack_check_Initialize is invoked.

The application must include the stack bounds checker extension set in its set of Initial Extensions. This set of extensions is defined as STACK_CHECKER_EXTENSION. If using <confdefs.h> for Configuration Table generation, then all that is necessary is to define the macro STACK_CHECKER_ON before including <confdefs.h> as shown below:

#define STACK_CHECKER_ON
  ...
#include <confdefs.h>


PREV UP NEXT Bookshelf New Chapters

Copyright © 1988-2004 OAR Corporation