summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/interr.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-11-07 12:33:48 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-11-13 09:20:57 +0100
commitecf98585043294323daad5dd5ac4b344a7c39856 (patch)
tree817798c28df1f621bf6bac44ac6cb2df7935b3a3 /cpukit/score/src/interr.c
parentscore: Statically initialize user extensions (diff)
downloadrtems-ecf98585043294323daad5dd5ac4b344a7c39856.tar.bz2
score: Move global variables definition
Define _System_state_Current and _Internal_errors_What_happened in interr.c to make _Internal_error_Occurred() more independent.
Diffstat (limited to 'cpukit/score/src/interr.c')
-rw-r--r--cpukit/score/src/interr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/score/src/interr.c b/cpukit/score/src/interr.c
index 3679511189..a9f1efc8b9 100644
--- a/cpukit/score/src/interr.c
+++ b/cpukit/score/src/interr.c
@@ -18,6 +18,10 @@
#include <rtems/score/sysstate.h>
#include <rtems/score/userext.h>
+System_state_Codes _System_state_Current;
+
+Internal_errors_Information _Internal_errors_What_happened;
+
/*
* _Internal_error_Occurred
*