Changeset 63f871f in rtems


Ignore:
Timestamp:
09/02/11 13:41:55 (12 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
67518231
Parents:
0690fb28
Message:

2011-09-02 Sebastian Huber <sebastian.huber@…>

  • stackchk/init.c, stackchk/system.h, stackchk/stackchk.scn: Print end of test message.
Location:
testsuites/libtests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • testsuites/libtests/ChangeLog

    r0690fb28 r63f871f  
     12011-09-02      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * stackchk/init.c, stackchk/system.h, stackchk/stackchk.scn: Print end
     4        of test message.
     5
    162011-07-29      Pawel Zagorski <pzagor@agh.edu.pl>
    27
  • testsuites/libtests/stackchk/init.c

    r0690fb28 r63f871f  
    8888  directive_failed( status, "rtems_task_delete of RTEMS_SELF" );
    8989}
     90
     91void Fatal_extension( uint32_t source, bool is_internal, uint32_t error )
     92{
     93  if ( source != INTERNAL_ERROR_RTEMS_API ) {
     94    printk( "unexpected fatal source\n" );
     95  } else if ( is_internal ) {
     96    printk( "unexpected fatal is internal\n" );
     97  } else if ( error != 0x81 ) {
     98    printk( "unexpected fatal error\n" );
     99  } else {
     100    printk( "*** END OF TEST STACK CHECKER ***\n" );
     101  }
     102
     103  if ( _System_state_Is_up( _System_state_Get() ) )
     104    _Thread_Stop_multitasking();
     105}
  • testsuites/libtests/stackchk/stackchk.scn

    r0690fb28 r63f871f  
    2121task stack area (????? Bytes): 0x???????? .. 0x????????
    2222damaged pattern area (16 Bytes): 0x???????? .. 0x????????
     23*** END OF TEST STACK CHECKER ***
  • testsuites/libtests/stackchk/system.h

    r0690fb28 r63f871f  
    4444#define CONFIGURE_STACK_CHECKER_ENABLED
    4545
     46void Fatal_extension( uint32_t source, bool is_internal, uint32_t error );
     47
     48#define CONFIGURE_INITIAL_EXTENSIONS \
     49  { NULL, NULL, NULL, NULL, NULL, NULL, NULL, Fatal_extension }
     50
    4651#include <rtems/confdefs.h>
    4752
Note: See TracChangeset for help on using the changeset viewer.