47 #ifndef _RTEMS_RTEMS_ERROR_H 48 #define _RTEMS_RTEMS_ERROR_H 67 typedef Internal_errors_t rtems_error_code_t;
75 #define RTEMS_ERROR_ERRNO (1<<((sizeof(rtems_error_code_t) * CHAR_BIT) - 2)) 76 #define RTEMS_ERROR_PANIC (RTEMS_ERROR_ERRNO / 2) 77 #define RTEMS_ERROR_ABORT (RTEMS_ERROR_ERRNO / 4) 79 #define RTEMS_ERROR_ERRNO (0x40000000) 80 #define RTEMS_ERROR_PANIC (0x20000000) 81 #define RTEMS_ERROR_ABORT (0x10000000) 84 #define RTEMS_ERROR_MASK \ 85 (RTEMS_ERROR_ERRNO | RTEMS_ERROR_ABORT | RTEMS_ERROR_PANIC) 101 rtems_error_code_t error_code,
102 const char *printf_format,
122 rtems_error_code_t error_code,
123 const char *printf_format,
127 extern int rtems_panic_in_progress;
int rtems_verror(rtems_error_code_t error_code, const char *printf_format, va_list arglist)
Report an Error.
Definition: error.c:27
int rtems_error(rtems_error_code_t error_code, const char *printf_format,...)
Report an Error.
Definition: error.c:77