Added RTEMS_IO_ERROR status code.

This commit is contained in:
Joel Sherrill
1997-08-28 13:59:41 +00:00
parent b47be20cf5
commit 7d352a49b7
6 changed files with 9 additions and 3 deletions

View File

@@ -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 },
};

View File

@@ -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

View File

@@ -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

View File

@@ -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 },
};

View File

@@ -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 },
};

View File

@@ -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