forked from Imagelibrary/rtems
2008-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* shell/rtems.t, user/conf.t, user/stackchk.t: Rename STACK_CHECKER_ON to more appropriate CONFIGURE_STACK_CHECKER_ENABLED.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2008-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
|
* shell/rtems.t, user/conf.t, user/stackchk.t: Rename STACK_CHECKER_ON
|
||||||
|
to more appropriate CONFIGURE_STACK_CHECKER_ENABLED.
|
||||||
|
|
||||||
2008-09-17 Joel Sherrill <joel.sherrill@OARcorp.com>
|
2008-09-17 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
* user/conf.t: Fix typo.
|
* user/conf.t: Fix typo.
|
||||||
|
|||||||
@@ -166,7 +166,7 @@ This command always succeeds and returns 0.
|
|||||||
|
|
||||||
@subheading NOTES:
|
@subheading NOTES:
|
||||||
|
|
||||||
The @code{STACK_CHECKER_ON} @code{confdefs.h} constant
|
The @code{CONFIGURE_STACK_CHECKER_ENABLED} @code{confdefs.h} constant
|
||||||
must be defined when the application is configured for this
|
must be defined when the application is configured for this
|
||||||
command to have any information to report.
|
command to have any information to report.
|
||||||
|
|
||||||
|
|||||||
@@ -184,12 +184,13 @@ before RTEMS release 4.5.0. The miniIMFS supports
|
|||||||
only directories and device nodes and is smaller in executable
|
only directories and device nodes and is smaller in executable
|
||||||
code size than the full IMFS.
|
code size than the full IMFS.
|
||||||
|
|
||||||
@findex STACK_CHECKER_ON
|
@findex CONFIGURE_STACK_CHECKER_ENABLED
|
||||||
@item @code{STACK_CHECKER_ON} is defined when the application
|
@item @code{CONFIGURED_STACK_CHECKER_ENABLED} is defined when
|
||||||
wishes to enable run-time stack bounds checking. This increases
|
the application wishes to enable run-time stack bounds checking.
|
||||||
the time required to create tasks as well as adding overhead
|
This increases the time required to create tasks as well as adding
|
||||||
to each context switch. By default, this is not defined and
|
overhead to each context switch. By default, this is not defined and
|
||||||
thus stack checking is disabled.
|
thus stack checking is disabled. NOTE: In 4.9 and older, this was named
|
||||||
|
@code{STACK_CHECKER_ON}
|
||||||
|
|
||||||
@end itemize
|
@end itemize
|
||||||
|
|
||||||
|
|||||||
@@ -86,12 +86,12 @@ The application must include the stack bounds checker extension set
|
|||||||
in its set of Initial Extensions. This set of extensions is
|
in its set of Initial Extensions. This set of extensions is
|
||||||
defined as @code{STACK_CHECKER_EXTENSION}. If using @code{<rtems/confdefs.h>}
|
defined as @code{STACK_CHECKER_EXTENSION}. If using @code{<rtems/confdefs.h>}
|
||||||
for Configuration Table generation, then all that is necessary is
|
for Configuration Table generation, then all that is necessary is
|
||||||
to define the macro @code{STACK_CHECKER_ON} before including
|
to define the macro @code{CONFIGURE_STACK_CHECKER_ENABLED} before including
|
||||||
@code{<rtems/confdefs.h>} as shown below:
|
@code{<rtems/confdefs.h>} as shown below:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
@group
|
@group
|
||||||
#define STACK_CHECKER_ON
|
#define CONFIGURE_STACK_CHECKER_ENABLED
|
||||||
...
|
...
|
||||||
#include <rtems/confdefs.h>
|
#include <rtems/confdefs.h>
|
||||||
@end group
|
@end group
|
||||||
|
|||||||
Reference in New Issue
Block a user