RTEMS CPU Kit with SuperCore  4.11.3
Files | Data Structures | Typedefs | Functions

The Fatal Manager provides functions for fatal system states and or irrecoverable errors. More...

Collaboration diagram for Fatal:

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...
 

Detailed Description

The Fatal Manager provides functions for fatal system states and or irrecoverable errors.

Function Documentation

◆ rtems_fatal()

void rtems_fatal ( rtems_fatal_source  source,
rtems_fatal_code  error 
)

Invokes the internal error handler with is internal set to false.

Parameters
[in]sourceis the fatal source.
[in]erroris the fatal 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_erroris a 32-bit fatal error code.
See also
_Terminate().

References _Terminate(), and INTERNAL_ERROR_RTEMS_API.

Referenced by rtems_termios_device_close().

◆ rtems_fatal_source_text()

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.

Parameters
[in]sourceis the fatal source.
Return values
textThe 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]erroris the error code.
Return values
textThe error code text.
?The passed error code is invalid.