Ignore:
Timestamp:
Nov 14, 2012, 2:10:46 PM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
d3b0fe08
Parents:
a0c7aa55
git-author:
Sebastian Huber <sebastian.huber@…> (11/14/12 14:10:46)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/15/12 14:33:13)
Message:

score: Add RTEMS_FATAL_SOURCE_STACK_CHECKER

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/libtests/stackchk/init.c

    ra0c7aa55 ra12f7e9  
    8989void Fatal_extension( uint32_t source, bool is_internal, uint32_t error )
    9090{
    91   if ( source != INTERNAL_ERROR_RTEMS_API ) {
     91  if ( source != RTEMS_FATAL_SOURCE_STACK_CHECKER ) {
    9292    printk( "unexpected fatal source\n" );
    9393  } else if ( is_internal ) {
    9494    printk( "unexpected fatal is internal\n" );
    95   } else if ( error != 0x81 ) {
     95  } else if ( error != rtems_build_name( 'T', 'A', '1', ' ' ) ) {
    9696    printk( "unexpected fatal error\n" );
    9797  } else {
    9898    printk( "*** END OF TEST STACK CHECKER ***\n" );
    9999  }
    100 
    101   if ( _System_state_Is_up( _System_state_Get() ) )
    102     _Thread_Stop_multitasking();
    103100}
Note: See TracChangeset for help on using the changeset viewer.