diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-05-13 15:50:56 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-05-13 15:50:56 +0000 |
commit | 43136ea02ba83b185207d9615c781c698930b4c8 (patch) | |
tree | edcd30c1283a0fb04841c9cfbc08c6027acc035c /tools/schedsim/rtems/interr.c | |
parent | 2011-05-13 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-43136ea02ba83b185207d9615c781c698930b4c8.tar.bz2 |
2011-05-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/interr.c: Minimize diffs to cpukit/score/src/interr.c.
* rtems/sched_cpu/rtems/score/cpu.h:
Incorporate parts of former posix BSP.
Diffstat (limited to 'tools/schedsim/rtems/interr.c')
-rw-r--r-- | tools/schedsim/rtems/interr.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/schedsim/rtems/interr.c b/tools/schedsim/rtems/interr.c index b708f41df6..526dbe033c 100644 --- a/tools/schedsim/rtems/interr.c +++ b/tools/schedsim/rtems/interr.c @@ -22,9 +22,6 @@ #include <rtems/score/sysstate.h> #include <rtems/score/userext.h> -#include <stdlib.h> -#include <stdio.h> - /*PAGE * * _Internal_error_Occurred @@ -63,8 +60,7 @@ void _Internal_error_Occurred( _System_state_Set( SYSTEM_STATE_FAILED ); - fprintf( stderr, "FATAL ERROR!!\n" ); - exit( -1 ); + _CPU_Fatal_halt( the_error ); /* will not return from this routine */ while (true); |