summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/interr.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-02-17 09:47:12 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-02-19 09:59:38 +0100
commit92f50c3b2916d52c26d74fe1d61354d342e148af (patch)
tree6ba9fa06071d98ac169891decaaeba8ebf56c89b /cpukit/score/src/interr.c
parentpowerpc: Change interrupt disable implemetation (diff)
downloadrtems-92f50c3b2916d52c26d74fe1d61354d342e148af.tar.bz2
score: Add SYSTEM_STATE_TERMINATED
Merge systems states SYSTEM_STATE_SHUTDOWN and SYSTEM_STATE_FAILED into new system state SYSTEM_STATE_TERMINATED. This reflects that all system termination paths end up in _Internal_error_Occurred().
Diffstat (limited to 'cpukit/score/src/interr.c')
-rw-r--r--cpukit/score/src/interr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/interr.c b/cpukit/score/src/interr.c
index 1b895d6fac..f3a3127aa7 100644
--- a/cpukit/score/src/interr.c
+++ b/cpukit/score/src/interr.c
@@ -38,7 +38,7 @@ void _Internal_error_Occurred(
_Internal_errors_What_happened.is_internal = is_internal;
_Internal_errors_What_happened.the_error = the_error;
- _System_state_Set( SYSTEM_STATE_FAILED );
+ _System_state_Set( SYSTEM_STATE_TERMINATED );
_CPU_Fatal_halt( the_error );