From bab16de2671cc5b35e3df9b343e8645b632e3b1d Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 7 Feb 2014 09:53:47 +0100 Subject: score: Change debug helper functions Rename rtems_internal_error_description() to rtems_internal_error_text(). Rename rtems_fatal_source_description() to rtems_fatal_source_text(). Rename rtems_status_code_description() to rtems_status_text(). Remove previous implementation of rtems_status_text(). --- cpukit/sapi/include/rtems/fatal.h | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'cpukit/sapi/include/rtems') diff --git a/cpukit/sapi/include/rtems/fatal.h b/cpukit/sapi/include/rtems/fatal.h index 47bf74f279..1230182f2e 100644 --- a/cpukit/sapi/include/rtems/fatal.h +++ b/cpukit/sapi/include/rtems/fatal.h @@ -86,24 +86,28 @@ void rtems_fatal( ) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE; /** - * @brief Returns a description for a fatal source. + * @brief Returns a text for a fatal source. + * + * The text for each fatal source is the enumerator constant. * * @param[in] source is the fatal source. * - * @retval description The fatal source description. - * @retval ? The passed fatal source is invalid. + * @retval text The fatal source text. + * @retval "?" The passed fatal source is invalid. */ -const char *rtems_fatal_source_description( rtems_fatal_source source ); +const char *rtems_fatal_source_text( rtems_fatal_source source ); /** - * @brief Returns a description for an internal error code. + * @brief Returns a text for an internal error code. + * + * The text for each internal error code is the enumerator constant. * * @param[in] error is the error code. * - * @retval description The error code description. - * @retval ? The passed error code is invalid. + * @retval text The error code text. + * @retval "?" The passed error code is invalid. */ -const char *rtems_internal_error_description( rtems_fatal_code error ); +const char *rtems_internal_error_text( rtems_fatal_code error ); /** @} */ -- cgit v1.2.3