RTEMS CPU Kit with SuperCore
4.11.3
|
The Fatal Manager provides functions for fatal system states and or irrecoverable errors. More...
![]() |
Files | |
file | fatal.c |
Invokes the internal error handler with a source of INTERNAL_ERROR_RTEMS_API and is internal set to false. | |
file | fatal2.c |
Invokes the internal error handler with is internal set to false. | |
file | fatalsrctext.c |
Implementation of rtems_fatal_source_text() | |
file | interrtext.c |
Returns a text for an internal error code. | |
Data Structures | |
struct | rtems_assert_context |
Assert context. More... | |
Typedefs | |
typedef CPU_Exception_frame | rtems_exception_frame |
Exception frame. | |
Functions | |
void | rtems_fatal_error_occurred (uint32_t the_error) |
Invokes the internal error handler with a source of INTERNAL_ERROR_RTEMS_API and is internal set to false. More... | |
void | rtems_fatal (rtems_fatal_source source, rtems_fatal_code error) |
Invokes the internal error handler with is internal set to false. More... | |
const char * | rtems_fatal_source_text (rtems_fatal_source source) |
Returns a text for a fatal source. More... | |
const char * | rtems_internal_error_text (rtems_fatal_code error) |
Returns a text for an internal error code. More... | |
The Fatal Manager provides functions for fatal system states and or irrecoverable errors.
void rtems_fatal | ( | rtems_fatal_source | source, |
rtems_fatal_code | error | ||
) |
Invokes the internal error handler with is internal set to false.
[in] | source | is the fatal source. |
[in] | error | is the fatal code. |
void rtems_fatal_error_occurred | ( | uint32_t | the_error | ) |
Invokes the internal error handler with a source of INTERNAL_ERROR_RTEMS_API and is internal set to false.
[in] | the_error | is a 32-bit fatal error code. |
References _Terminate(), and INTERNAL_ERROR_RTEMS_API.
Referenced by rtems_termios_device_close().
const char* rtems_fatal_source_text | ( | rtems_fatal_source | source | ) |
Returns a text for a fatal source.
The text for each fatal source is the enumerator constant.
[in] | source | is the fatal source. |
text | The fatal source text. |
? | The passed fatal source is invalid. |
const char* rtems_internal_error_text | ( | rtems_fatal_code | error | ) |
Returns a text for an internal error code.
The text for each internal error code is the enumerator constant.
[in] | error | is the error code. |
text | The error code text. |
? | The passed error code is invalid. |