summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-02-17 13:46:11 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-02-19 09:59:40 +0100
commit9eec2f33e983d466f7677bc0769eafbc448f7cf6 (patch)
treef968675f2d6d64e50c02e8b9751e23ac4eac57d0 /cpukit/sapi
parentbsp/leon3: Add and use fatal codes (diff)
downloadrtems-9eec2f33e983d466f7677bc0769eafbc448f7cf6.tar.bz2
score: Add RTEMS_FATAL_SOURCE_SMP
Use rtems_fatal() instead of _CPU_Fatal_halt() to shutdown processors in SMP configurations since this allows intervention of BSP or application specific fatal extensions.
Diffstat (limited to 'cpukit/sapi')
-rw-r--r--cpukit/sapi/src/fatalsrctext.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/sapi/src/fatalsrctext.c b/cpukit/sapi/src/fatalsrctext.c
index 7f7bccc195..f2116ece35 100644
--- a/cpukit/sapi/src/fatalsrctext.c
+++ b/cpukit/sapi/src/fatalsrctext.c
@@ -36,7 +36,8 @@ static const char *const fatal_source_text[] = {
"RTEMS_FATAL_SOURCE_BSP",
"RTEMS_FATAL_SOURCE_ASSERT",
"RTEMS_FATAL_SOURCE_STACK_CHECKER",
- "RTEMS_FATAL_SOURCE_EXCEPTION"
+ "RTEMS_FATAL_SOURCE_EXCEPTION",
+ "RTEMS_FATAL_SOURCE_SMP"
};
const char *rtems_fatal_source_text( rtems_fatal_source source )