sapi: Add rtems_fatal_source_description()

This commit is contained in:
Sebastian Huber
2013-01-07 16:08:19 +01:00
parent 40340b2b7c
commit f2f39b62a2
6 changed files with 123 additions and 3 deletions
+10
View File
@@ -82,6 +82,16 @@ void rtems_fatal(
rtems_fatal_code error
) 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.
*