diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-02-17 13:46:11 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-02-19 09:59:40 +0100 |
commit | 9eec2f33e983d466f7677bc0769eafbc448f7cf6 (patch) | |
tree | f968675f2d6d64e50c02e8b9751e23ac4eac57d0 /cpukit/score/include/rtems/score/interr.h | |
parent | bsp/leon3: Add and use fatal codes (diff) | |
download | rtems-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/score/include/rtems/score/interr.h')
-rw-r--r-- | cpukit/score/include/rtems/score/interr.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/interr.h b/cpukit/score/include/rtems/score/interr.h index 4ad52c9fb0..197f648245 100644 --- a/cpukit/score/include/rtems/score/interr.h +++ b/cpukit/score/include/rtems/score/interr.h @@ -104,6 +104,13 @@ typedef enum { RTEMS_FATAL_SOURCE_EXCEPTION, /** + * @brief Fatal source of SMP domain. + * + * @see SMP_Fatal_code. + */ + RTEMS_FATAL_SOURCE_SMP, + + /** * @brief The last available fatal source. * * This enum value ensures that the enum type needs at least 32-bits for |