RTEMS Logo

RTEMS 4.10.2 On-Line Library


Stack Bounds Checker Initializing the Stack Bounds Checker

PREV UP NEXT Bookshelf RTEMS Ada User's Guide

25.3.1: Initializing the Stack Bounds Checker

The stack checker is initialized automatically when its task create extension runs for the first time.

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 <rtems/confdefs.h> for Configuration Table generation, then all that is necessary is to define the macro CONFIGURE_STACK_CHECKER_ENABLED before including <rtems/confdefs.h> as shown below:

#define CONFIGURE_STACK_CHECKER_ENABLED
  ...
#include <rtems/confdefs.h>


PREV UP NEXT Bookshelf RTEMS Ada User's Guide

Copyright © 1988-2008 OAR Corporation