16 #ifndef _RTEMS_FATAL_H 17 #define _RTEMS_FATAL_H 43 const char *failed_expression;
56 static inline void rtems_exception_frame_print(
57 const rtems_exception_frame *frame
85 rtems_fatal_code error_code
const char * rtems_internal_error_text(rtems_fatal_code error)
Returns a text for an internal error code.
Definition: interrtext.c:73
void rtems_fatal_error_occurred(uint32_t the_error) RTEMS_NO_RETURN
Invokes the internal error handler with a source of INTERNAL_ERROR_RTEMS_API and is internal set to f...
Definition: fatal.c:28
Assert context.
Definition: fatal.h:39
RTEMS_NO_RETURN void rtems_panic(const char *fmt,...) RTEMS_PRINTFLIKE(1
Prints the specified message via printk() and terminates the system.
#define RTEMS_INLINE_ROUTINE
Definition: basedefs.h:65
void _Terminate(Internal_errors_Source the_source, Internal_errors_t the_error) RTEMS_NO_RETURN
Initiates system termination.
Definition: interr.c:30
RTEMS_NO_RETURN void const char * rtems_fatal_source_text(rtems_fatal_source source)
Returns a text for a fatal source.
Definition: fatalsrctext.c:45
CPU_Exception_frame rtems_exception_frame
Exception frame.
Definition: fatal.h:49
#define RTEMS_NO_RETURN
Definition: basedefs.h:101
#define RTEMS_PRINTFLIKE(_format_pos, _ap_pos)
Tells the compiler that this function expects printf()-like arguments.
Definition: basedefs.h:237
RTEMS_NO_RETURN RTEMS_INLINE_ROUTINE void rtems_fatal(rtems_fatal_source fatal_source, rtems_fatal_code error_code)
Terminates the system.
Definition: fatal.h:83
void _CPU_Exception_frame_print(const CPU_Exception_frame *frame)
Prints the exception frame via printk().
Definition: vectorexceptions.c:45
The set of registers that specifies the complete processor state.
Definition: cpu.h:635
Internal_errors_Source
This type lists the possible sources from which an error can be reported.
Definition: interr.h:42
Definition: mongoose.c:442