diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-01-07 16:01:45 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-01-07 16:08:19 +0100 |
commit | f2f39b62a284afefbf8f1840255602162a9b2a01 (patch) | |
tree | 389db5d1428bf56ae63477aa632ed735e3d5a2a5 /cpukit/sapi/include/rtems | |
parent | bsp/lpc24xx: Declare conditionally (diff) | |
download | rtems-f2f39b62a284afefbf8f1840255602162a9b2a01.tar.bz2 |
sapi: Add rtems_fatal_source_description()
Diffstat (limited to 'cpukit/sapi/include/rtems')
-rw-r--r-- | cpukit/sapi/include/rtems/fatal.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cpukit/sapi/include/rtems/fatal.h b/cpukit/sapi/include/rtems/fatal.h index 64344b36b8..46a7ab9574 100644 --- a/cpukit/sapi/include/rtems/fatal.h +++ b/cpukit/sapi/include/rtems/fatal.h @@ -83,6 +83,16 @@ void rtems_fatal( ) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE; /** + * @brief Returns a description for a fatal source. + * + * @param[in] source The fatal source. + * + * @return The fatal source description or "?" in case the passed fatal source + * is invalid. + */ +const char *rtems_fatal_source_description( rtems_fatal_source source ); + +/** * @brief Returns a description for an internal error code. * * @param[in] error The error code. |