forked from Imagelibrary/rtems
2007-03-08 Joel Sherrill <joel@OARcorp.com>
* libmisc/stackchk/check.c, libmisc/stackchk/internal.h, libmisc/stackchk/stackchk.h: Change dump usage to report usage.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2007-03-08 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* libmisc/stackchk/check.c, libmisc/stackchk/internal.h,
|
||||
libmisc/stackchk/stackchk.h: Change dump usage to report usage.
|
||||
|
||||
2007-03-08 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* rtems/Makefile.am, rtems/src/msgqsend.c, rtems/src/msgqurgent.c:
|
||||
|
||||
@@ -119,12 +119,6 @@ Stack_check_Control Stack_check_Pattern;
|
||||
|
||||
Stack_Control stack_check_interrupt_stack;
|
||||
|
||||
/*
|
||||
* Prototypes necessary for forward references
|
||||
*/
|
||||
|
||||
void rtems_stack_checker_dump_usage( void );
|
||||
|
||||
/*
|
||||
* Fill an entire stack area with BYTE_PATTERN.
|
||||
* This will be used by a Fatal extension to check for
|
||||
@@ -247,7 +241,7 @@ void rtems_stack_checker_initialize( void )
|
||||
* handler, but we don't run fatal extensions unless
|
||||
* we fatal error.
|
||||
*/
|
||||
atexit(rtems_stack_checker_dump_usage);
|
||||
atexit(rtems_stack_checker_report_usage);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -508,17 +502,17 @@ void rtems_stack_checker_fatal_extension(
|
||||
{
|
||||
#ifndef DONT_USE_FATAL_EXTENSION
|
||||
if (status == 0)
|
||||
rtems_stack_checker_dump_usage();
|
||||
rtems_stack_checker_report_usage();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
/*PAGE
|
||||
*
|
||||
* rtems_stack_checker_dump_usage
|
||||
* rtems_stack_checker_report_usage
|
||||
*/
|
||||
|
||||
void rtems_stack_checker_dump_usage( void )
|
||||
void rtems_stack_checker_report_usage( void )
|
||||
{
|
||||
uint32_t i;
|
||||
uint32_t api_index;
|
||||
|
||||
@@ -82,10 +82,10 @@ void rtems_stack_checker_fatal_extension(
|
||||
);
|
||||
|
||||
/*
|
||||
* rtems_stack_checker_dump_usage
|
||||
* rtems_stack_checker_report_usage
|
||||
*/
|
||||
|
||||
void rtems_stack_checker_dump_usage( void );
|
||||
void rtems_stack_checker_report_usage( void );
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ void rtems_stack_checker_initialize( void );
|
||||
* rtems_stack_checker_Dump_usage
|
||||
*/
|
||||
|
||||
void rtems_stack_checker_dump_usage( void );
|
||||
void rtems_stack_checker_report_usage( void );
|
||||
|
||||
/*
|
||||
* rtems_stack_checker_create_extension
|
||||
|
||||
Reference in New Issue
Block a user