forked from Imagelibrary/rtems
Added RTEMS_IO_ERROR status code.
This commit is contained in:
@@ -160,6 +160,7 @@ rtems_assoc_t errno_assoc[] = {
|
||||
{ "NO DEVICE", RTEMS_UNSATISFIED, ENOSYS },
|
||||
{ "INVALID NUMBER", RTEMS_INVALID_NUMBER, EBADF},
|
||||
{ "NOT RESOURCE OWNER", RTEMS_NOT_OWNER_OF_RESOURCE, EPERM},
|
||||
{ "IO ERROR", RTEMS_IO_ERROR, EIO},
|
||||
{ 0, 0, 0 },
|
||||
};
|
||||
|
||||
|
||||
@@ -53,7 +53,8 @@ typedef enum {
|
||||
RTEMS_NOT_IMPLEMENTED = 24, /* directive not implemented */
|
||||
RTEMS_INTERNAL_ERROR = 25, /* RTEMS inconsistency detected */
|
||||
RTEMS_NO_MEMORY = 26, /* could not get enough memory */
|
||||
RTEMS_PROXY_BLOCKING = 27 /* internal error only */
|
||||
RTEMS_IO_ERROR = 27, /* driver IO error */
|
||||
RTEMS_PROXY_BLOCKING = 28 /* internal error only */
|
||||
} rtems_status_code;
|
||||
|
||||
#define RTEMS_STATUS_CODES_FIRST RTEMS_SUCCESSFUL
|
||||
|
||||
@@ -53,7 +53,8 @@ typedef enum {
|
||||
RTEMS_NOT_IMPLEMENTED = 24, /* directive not implemented */
|
||||
RTEMS_INTERNAL_ERROR = 25, /* RTEMS inconsistency detected */
|
||||
RTEMS_NO_MEMORY = 26, /* could not get enough memory */
|
||||
RTEMS_PROXY_BLOCKING = 27 /* internal error only */
|
||||
RTEMS_IO_ERROR = 27, /* driver IO error */
|
||||
RTEMS_PROXY_BLOCKING = 28 /* internal error only */
|
||||
} rtems_status_code;
|
||||
|
||||
#define RTEMS_STATUS_CODES_FIRST RTEMS_SUCCESSFUL
|
||||
|
||||
@@ -160,6 +160,7 @@ rtems_assoc_t errno_assoc[] = {
|
||||
{ "NO DEVICE", RTEMS_UNSATISFIED, ENOSYS },
|
||||
{ "INVALID NUMBER", RTEMS_INVALID_NUMBER, EBADF},
|
||||
{ "NOT RESOURCE OWNER", RTEMS_NOT_OWNER_OF_RESOURCE, EPERM},
|
||||
{ "IO ERROR", RTEMS_IO_ERROR, EIO},
|
||||
{ 0, 0, 0 },
|
||||
};
|
||||
|
||||
|
||||
@@ -160,6 +160,7 @@ rtems_assoc_t errno_assoc[] = {
|
||||
{ "NO DEVICE", RTEMS_UNSATISFIED, ENOSYS },
|
||||
{ "INVALID NUMBER", RTEMS_INVALID_NUMBER, EBADF},
|
||||
{ "NOT RESOURCE OWNER", RTEMS_NOT_OWNER_OF_RESOURCE, EPERM},
|
||||
{ "IO ERROR", RTEMS_IO_ERROR, EIO},
|
||||
{ 0, 0, 0 },
|
||||
};
|
||||
|
||||
|
||||
@@ -53,7 +53,8 @@ typedef enum {
|
||||
RTEMS_NOT_IMPLEMENTED = 24, /* directive not implemented */
|
||||
RTEMS_INTERNAL_ERROR = 25, /* RTEMS inconsistency detected */
|
||||
RTEMS_NO_MEMORY = 26, /* could not get enough memory */
|
||||
RTEMS_PROXY_BLOCKING = 27 /* internal error only */
|
||||
RTEMS_IO_ERROR = 27, /* driver IO error */
|
||||
RTEMS_PROXY_BLOCKING = 28 /* internal error only */
|
||||
} rtems_status_code;
|
||||
|
||||
#define RTEMS_STATUS_CODES_FIRST RTEMS_SUCCESSFUL
|
||||
|
||||
Reference in New Issue
Block a user