Changeset 43136ea in rtems


Ignore:
Timestamp:
May 13, 2011, 3:50:56 PM (9 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
f6015bd
Parents:
3bab08d
Message:

2011-05-13 Ralf Corsépius <ralf.corsepius@…>

  • rtems/interr.c: Minimize diffs to cpukit/score/src/interr.c.
  • rtems/sched_cpu/rtems/score/cpu.h: Incorporate parts of former posix BSP.
Location:
tools/schedsim
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tools/schedsim/ChangeLog

    r3bab08d r43136ea  
     12011-05-13      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * rtems/interr.c: Minimize diffs to cpukit/score/src/interr.c.
     4        * rtems/sched_cpu/rtems/score/cpu.h:
     5        Incorporate parts of former posix BSP.
     6
    172011-04-07      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • tools/schedsim/rtems/interr.c

    r3bab08d r43136ea  
    2222#include <rtems/score/sysstate.h>
    2323#include <rtems/score/userext.h>
    24 
    25 #include <stdlib.h>
    26 #include <stdio.h>
    2724
    2825/*PAGE
     
    6461  _System_state_Set( SYSTEM_STATE_FAILED );
    6562
    66   fprintf( stderr, "FATAL ERROR!!\n" );
    67   exit( -1 );
     63  _CPU_Fatal_halt( the_error );
    6864
    6965  /* will not return from this routine */
  • tools/schedsim/rtems/sched_cpu/rtems/score/cpu.h

    r3bab08d r43136ea  
    3939extern "C" {
    4040#endif
     41
     42#include <stdio.h>  /* fprintf */
     43#include <stdlib.h> /* exit */
    4144
    4245#include <rtems/score/no_cpu.h>            /* pick up machine definitions */
     
    920923#define _CPU_Fatal_halt( _error ) \
    921924  { \
     925    fprintf( stderr, "FATAL ERROR!!\n" ); \
     926    exit( -1 ); \
    922927  }
    923928
Note: See TracChangeset for help on using the changeset viewer.