57#ifndef _RTEMS_RTEMS_STATUS_H
58#define _RTEMS_RTEMS_STATUS_H
312#define RTEMS_STATUS_CODES_FIRST RTEMS_SUCCESSFUL
328static inline bool rtems_are_statuses_equal(
333 return left_status_code == right_status_code;
361#define RTEMS_STATUS_CODES_LAST RTEMS_PROXY_BLOCKING
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition: status.h:85
const char * rtems_status_text(rtems_status_code status_code)
Maps the status code to a descriptive text.
Definition: statustext.c:76
int rtems_status_code_to_errno(rtems_status_code status_code)
Maps the RTEMS status code to a POSIX error number.
Definition: statustoerrno.c:73
@ RTEMS_TASK_EXITTED
This status code indicates that a thread exitted.
Definition: status.h:95
@ RTEMS_CALLED_FROM_ISR
This status code indicates that the operation should not be called from this execution environment.
Definition: status.h:187
@ RTEMS_INVALID_CLOCK
This status code indicates that a specified date or time was invalid.
Definition: status.h:198
@ RTEMS_INVALID_SIZE
This status code indicates that a specified size was invalid.
Definition: status.h:132
@ RTEMS_UNSATISFIED
This status code indicates that the request was not satisfied.
Definition: status.h:158
@ RTEMS_PROXY_BLOCKING
This status code is used internally by the implementation when performing operations on behalf of rem...
Definition: status.h:260
@ RTEMS_INVALID_PRIORITY
This status code indicates that an invalid thread priority was provided.
Definition: status.h:193
@ RTEMS_ALREADY_SUSPENDED
This status code indicates that the thread was already suspended.
Definition: status.h:169
@ RTEMS_ILLEGAL_ON_SELF
This status code indicates that the operation was illegal on the calling thread.
Definition: status.h:175
@ RTEMS_INTERRUPTED
This status code is used internally by the implementation to indicate a blocking device driver call h...
Definition: status.h:248
@ RTEMS_INTERNAL_ERROR
This status code indicates that an internal RTEMS inconsistency was detected.
Definition: status.h:230
@ RTEMS_MP_NOT_CONFIGURED
This status code indicates that multiprocessing was not configured.
Definition: status.h:100
@ RTEMS_INCORRECT_STATE
This status code indicates that an object was in wrong state for the requested operation.
Definition: status.h:164
@ RTEMS_NOT_DEFINED
This status code indicates that the item has not been initialized.
Definition: status.h:147
@ RTEMS_TIMEOUT
This status code indicates that a blocking directive timed out.
Definition: status.h:121
@ RTEMS_RESOURCE_IN_USE
This status code indicates that the object still had resources in use.
Definition: status.h:153
@ RTEMS_INVALID_NODE
This status code indicates that a specified node identifier was invalid.
Definition: status.h:204
@ RTEMS_SUCCESSFUL
This status code indicates successful completion of a requested operation.
Definition: status.h:90
@ RTEMS_ILLEGAL_ON_REMOTE_OBJECT
This status code indicates that the operation was illegal on a remote object.
Definition: status.h:181
@ RTEMS_INVALID_ADDRESS
This status code indicates that a specified address was invalid.
Definition: status.h:137
@ RTEMS_NOT_CONFIGURED
This status code indicates that the directive was not configured.
Definition: status.h:209
@ RTEMS_NOT_OWNER_OF_RESOURCE
This status code indicates that the caller was not the owner of the resource.
Definition: status.h:215
@ RTEMS_NO_MEMORY
This status code indicates that the directive attempted to allocate memory but was unable to do so.
Definition: status.h:236
@ RTEMS_NOT_IMPLEMENTED
This status code indicates the directive or requested portion of the directive is not implemented.
Definition: status.h:224
@ RTEMS_TOO_MANY
This status code indicates you have attempted to create too many instances of a particular object cla...
Definition: status.h:116
@ RTEMS_IO_ERROR
This status code indicates a device driver IO error.
Definition: status.h:241
@ RTEMS_OBJECT_WAS_DELETED
This status code indicates the object was deleted while the thread was blocked waiting.
Definition: status.h:127
@ RTEMS_INVALID_NAME
This status code indicates that an object name was invalid.
Definition: status.h:105
@ RTEMS_INVALID_ID
This status code indicates that an object identifier was invalid.
Definition: status.h:110
@ RTEMS_INVALID_NUMBER
This status code indicates that a specified number was invalid.
Definition: status.h:142