RTEMS 6.1-rc4
|
This group contains the Operation Status Support implementation. More...
Files | |
file | status.h |
This header file provides the interfaces of the Operation Status Support. | |
Macros | |
#define | STATUS_BUILD(classic_status, posix_status) ( ( ( posix_status ) * 256 ) | ( classic_status ) ) |
Macro to build a status code from Classic and POSIX API parts. | |
#define | STATUS_GET_CLASSIC(status) ( ( status ) & 0xff ) |
Macro to get the Classic API status code. | |
#define | STATUS_GET_POSIX(status) ( ( status ) / 256 ) |
Macro to get the POSIX API status code. | |
Enumerations | |
enum | Status_Classic { STATUS_CLASSIC_INCORRECT_STATE = 14 , STATUS_CLASSIC_INTERNAL_ERROR = 25 , STATUS_CLASSIC_INVALID_ADDRESS = 9 , STATUS_CLASSIC_INVALID_ID = 4 , STATUS_CLASSIC_INVALID_NAME = 3 , STATUS_CLASSIC_INVALID_NODE = 21 , STATUS_CLASSIC_INVALID_NUMBER = 10 , STATUS_CLASSIC_INVALID_PRIORITY = 19 , STATUS_CLASSIC_INVALID_SIZE = 8 , STATUS_CLASSIC_NO_MEMORY = 26 , STATUS_CLASSIC_NOT_DEFINED = 11 , STATUS_CLASSIC_NOT_OWNER_OF_RESOURCE = 23 , STATUS_CLASSIC_OBJECT_WAS_DELETED = 7 , STATUS_CLASSIC_PROXY_BLOCKING = 29 , STATUS_CLASSIC_RESOURCE_IN_USE = 12 , STATUS_CLASSIC_SUCCESSFUL = 0 , STATUS_CLASSIC_TIMEOUT = 6 , STATUS_CLASSIC_TOO_MANY = 5 , STATUS_CLASSIC_UNSATISFIED = 13 } |
Status code parts for the Classic API. More... | |
enum | Status_Control { STATUS_BARRIER_AUTOMATICALLY_RELEASED , STATUS_DEADLOCK , STATUS_FLUSHED , STATUS_INCORRECT_STATE , STATUS_INTERRUPTED , STATUS_INTERNAL_ERROR , STATUS_INVALID_ADDRESS , STATUS_INVALID_ID , STATUS_INVALID_NODE , STATUS_INVALID_NAME , STATUS_INVALID_NUMBER , STATUS_INVALID_PRIORITY , STATUS_INVALID_SIZE , STATUS_MAXIMUM_COUNT_EXCEEDED , STATUS_MESSAGE_INVALID_SIZE , STATUS_MESSAGE_QUEUE_INVALID_NUMBER , STATUS_MESSAGE_QUEUE_INVALID_SIZE , STATUS_MESSAGE_QUEUE_NO_MEMORY , STATUS_MESSAGE_QUEUE_WAIT_IN_ISR , STATUS_MESSAGE_QUEUE_WAS_DELETED , STATUS_MINUS_ONE , STATUS_MUTEX_CEILING_VIOLATED , STATUS_NESTING_NOT_ALLOWED , STATUS_NO_MEMORY , STATUS_NOT_DEFINED , STATUS_NOT_OWNER , STATUS_OBJECT_WAS_DELETED , STATUS_PROXY_BLOCKING , STATUS_RESOURCE_IN_USE , STATUS_RESULT_TOO_LARGE , STATUS_SUCCESSFUL , STATUS_TIMEOUT , STATUS_TOO_MANY , STATUS_UNAVAILABLE , STATUS_UNSATISFIED = } |
Status codes. | |
This group contains the Operation Status Support implementation.
#define STATUS_BUILD | ( | classic_status, | |
posix_status | |||
) | ( ( ( posix_status ) * 256 ) | ( classic_status ) ) |
Macro to build a status code from Classic and POSIX API parts.
Uses a multiplication to preserve the signedness of the POSIX status.
#define STATUS_GET_POSIX | ( | status | ) | ( ( status ) / 256 ) |
Macro to get the POSIX API status code.
Uses a division to preserve the signedness of the POSIX status.
enum Status_Classic |
Status code parts for the Classic API.
Must be in synchronization with rtems_status_code.