RTEMS Logo

RTEMS 4.9.3 On-Line Library


Stack Bounds Checker Initializing the Stack Bounds Checker

PREV UP NEXT Bookshelf RTEMS C 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 STACK_CHECKER_ON before including <rtems/confdefs.h> as shown below:

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


PREV UP NEXT Bookshelf RTEMS C User's Guide

Copyright © 1988-2008 OAR Corporation