diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-11-14 10:11:22 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-11-15 15:33:12 +0100 |
commit | 156e91e0f2ca3b7a21a21ec56446eee902a86ca5 (patch) | |
tree | e0ae787dbeb4758ac0eb77140de514b8a4e214c2 /cpukit/score/include/rtems | |
parent | score: Add rtems_fatal() (diff) | |
download | rtems-156e91e0f2ca3b7a21a21ec56446eee902a86ca5.tar.bz2 |
score: Add RTEMS_FATAL_SOURCE_LAST
This enum value ensures that the enum type needs at least 32-bits for
architectures with short enums.
Diffstat (limited to 'cpukit/score/include/rtems')
-rw-r--r-- | cpukit/score/include/rtems/score/interr.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/cpukit/score/include/rtems/score/interr.h b/cpukit/score/include/rtems/score/interr.h index 6d823a3244..2230e0a6de 100644 --- a/cpukit/score/include/rtems/score/interr.h +++ b/cpukit/score/include/rtems/score/interr.h @@ -37,13 +37,21 @@ extern "C" { #endif /** - * This type lists the possible sources from which an error + * @brief This type lists the possible sources from which an error * can be reported. */ typedef enum { INTERNAL_ERROR_CORE, INTERNAL_ERROR_RTEMS_API, - INTERNAL_ERROR_POSIX_API + INTERNAL_ERROR_POSIX_API, + + /** + * @brief The last available fatal source. + * + * This enum value ensures that the enum type needs at least 32-bits for + * architectures with short enums. + */ + RTEMS_FATAL_SOURCE_LAST = 0xffffffff } Internal_errors_Source; /** |