The Fatal Manager provides functions for fatal system states and or irrecoverable errors.
More...
The Fatal Manager provides functions for fatal system states and or irrecoverable errors.
◆ rtems_fatal()
Terminates the system.
- Parameters
-
[in] | fatal_source | The fatal source. |
[in] | error_code | The error code. |
- See also
- _Terminate().
◆ rtems_fatal_error_occurred()
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.
- Parameters
-
[in] | the_error | is a 32-bit fatal error code. |
- See also
- _Terminate().
◆ rtems_fatal_source_text()
Returns a text for a fatal source.
The text for each fatal source is the enumerator constant.
- Parameters
-
[in] | source | is the fatal source. |
- Return values
-
text | The fatal source text. |
? | The passed fatal source is invalid. |
◆ rtems_internal_error_text()
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.
- Parameters
-
[in] | error | is the error code. |
- Return values
-
text | The error code text. |
? | The passed error code is invalid. |
◆ rtems_panic()
Prints the specified message via printk() and terminates the system.
- Parameters
-
[in] | fmt | The message format. |
[in] | ... | The message parameters. |
- See also
- _Terminate().