RTEMS 6.1-rc1
|
The Fatal Error Manager processes all fatal or irrecoverable errors and other sources of system termination (for example after exit()). Fatal errors are identified by the fatal source and code pair. More...
Data Structures | |
struct | rtems_assert_context |
This structure provides the context in which an assertion failed. More... | |
Typedefs | |
typedef CPU_Exception_frame | rtems_exception_frame |
This structure represents an architecture-dependent exception frame. | |
Functions | |
RTEMS_NO_RETURN | RTEMS_PRINTFLIKE (1, 2) void rtems_panic(const char *fmt |
Prints the message and invokes the fatal error handler. More... | |
const char * | rtems_fatal_source_text (rtems_fatal_source fatal_source) |
Returns a descriptive text for the fatal source. More... | |
const char * | rtems_internal_error_text (rtems_fatal_code internal_error_code) |
Returns a descriptive text for the internal error code. More... | |
RTEMS_NO_RETURN void | rtems_fatal_error_occurred (uint32_t fatal_code) |
Invokes the fatal error handler. More... | |
RTEMS_NO_RETURN void | rtems_shutdown_executive (uint32_t fatal_code) |
Invokes the fatal error handler. More... | |
The Fatal Error Manager processes all fatal or irrecoverable errors and other sources of system termination (for example after exit()). Fatal errors are identified by the fatal source and code pair.
RTEMS_NO_RETURN void rtems_fatal_error_occurred | ( | uint32_t | fatal_code | ) |
Invokes the fatal error handler.
fatal_code | is the fatal code. |
This directive processes fatal errors. The fatal source is set to INTERNAL_ERROR_RTEMS_API. The fatal code is set to the value of the fatal_code
parameter.
The following constraints apply to this directive:
const char * rtems_fatal_source_text | ( | rtems_fatal_source | fatal_source | ) |
Returns a descriptive text for the fatal source.
fatal_source | is the fatal source. |
? | The fatal_source parameter value was not a fatal source. |
The following constraints apply to this directive:
const char * rtems_internal_error_text | ( | rtems_fatal_code | internal_error_code | ) |
Returns a descriptive text for the internal error code.
internal_error_code | is the internal error code. |
? | The internal_error_code parameter value was not an internal error code. |
The following constraints apply to this directive:
RTEMS_NO_RETURN RTEMS_PRINTFLIKE | ( | 1 | , |
2 | |||
) | const |
Prints the message and invokes the fatal error handler.
fmt | is the message format. |
... | is a list of optional parameters required by the message format. |
This directive prints a message via printk() specified by the fmt
parameter and optional parameters and then invokes the fatal error handler. The fatal source is set to RTEMS_FATAL_SOURCE_PANIC. The fatal code is set to the value of the fmt
parameter value.
The following constraints apply to this directive:
RTEMS_NO_RETURN void rtems_shutdown_executive | ( | uint32_t | fatal_code | ) |
Invokes the fatal error handler.
fatal_code | is the fatal code. |
This directive processes fatal errors. The fatal source is set to RTEMS_FATAL_SOURCE_EXIT. The fatal code is set to the value of the fatal_code
parameter.
The following constraints apply to this directive: