74#ifndef _RTEMS_RTEMS_ERROR_H
75#define _RTEMS_RTEMS_ERROR_H
94typedef Internal_errors_t rtems_error_code_t;
102#define RTEMS_ERROR_ERRNO (1<<((sizeof(rtems_error_code_t) * CHAR_BIT) - 2))
103#define RTEMS_ERROR_PANIC (RTEMS_ERROR_ERRNO / 2)
104#define RTEMS_ERROR_ABORT (RTEMS_ERROR_ERRNO / 4)
106#define RTEMS_ERROR_ERRNO (0x40000000)
107#define RTEMS_ERROR_PANIC (0x20000000)
108#define RTEMS_ERROR_ABORT (0x10000000)
111#define RTEMS_ERROR_MASK \
112 (RTEMS_ERROR_ERRNO | RTEMS_ERROR_ABORT | RTEMS_ERROR_PANIC)
128 rtems_error_code_t error_code,
129 const char *printf_format,
149 rtems_error_code_t error_code,
150 const char *printf_format,
154extern int rtems_panic_in_progress;
This header file defines the Fatal Error Manager API.
int rtems_verror(rtems_error_code_t error_code, const char *printf_format, va_list arglist)
Report an Error.
Definition: error.c:53
int rtems_error(rtems_error_code_t error_code, const char *printf_format,...)
Report an Error.
Definition: error.c:103
This header file provides the status codes of Classic API directives and support functions.