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/smp.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 '')
-rw-r--r-- | cpukit/score/include/rtems/score/smp.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/smp.h b/cpukit/score/include/rtems/score/smp.h index b97cceda36..88e3ec8b9e 100644 --- a/cpukit/score/include/rtems/score/smp.h +++ b/cpukit/score/include/rtems/score/smp.h @@ -43,6 +43,13 @@ extern "C" { #if !defined( ASM ) +/** + * @brief SMP fatal codes. + */ +typedef enum { + SMP_FATAL_SHUTDOWN +} SMP_Fatal_code; + #if defined( RTEMS_SMP ) SCORE_EXTERN uint32_t _SMP_Processor_count; |