mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-23 11:05:24 +08:00
sapi: Add rtems_fatal_source_description()
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user