diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-09 22:07:23 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-09 22:07:23 +0000 |
commit | 352c9b2035e32e56f10f261d94955d97f4ab0f1c (patch) | |
tree | f433e95ae0ab8d8854ea19b7f4bfab3ffb431726 /c/src/exec/itron/include/itronsys/status.h | |
parent | Fixed warning where initialized default POSIX API structure did (diff) | |
download | rtems-352c9b2035e32e56f10f261d94955d97f4ab0f1c.tar.bz2 |
This patch adds the basic framework for the ITRON 3.0 API implementation
for RTEMS.
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/itron/include/itronsys/status.h | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/c/src/exec/itron/include/itronsys/status.h b/c/src/exec/itron/include/itronsys/status.h new file mode 100644 index 0000000000..c2a640ba6a --- /dev/null +++ b/c/src/exec/itron/include/itronsys/status.h @@ -0,0 +1,67 @@ +/* + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.OARcorp.com/rtems/license.html. + * + * $Id$ + */ + +#ifndef __ITRON_STATUS_h_ +#define __ITRON_STATUS_h_ + +#ifdef __cplusplus +extern "C" { +#endif + +#define E_OK 0 /* Normal completion */ +#define E_SYS (-5) /* System error */ +#define E_NOMEM (-10) /* Insufficient memory */ +#define E_NOSPT (-17) /* Feature not supported */ +#define E_INOSPT (-18) /* Feature not supported by ITRON/FILE */ + /* specification */ +#define E_RSFN (-20) /* Reserved function code number */ +#define E_RSATR (-24) /* Reserved attribute */ +#define E_PAR (-33) /* Parameter error */ +#define E_ID (-35) /* Invalid ID number */ +#define E_NOEXS (-52) /* Object does not exist */ +#define E_OBJ (-63) /* Invalid object state */ +#define E_MACV (-65) /* Memory access disabled or memory access */ + /* violation */ +#define E_OACV (-66) /* Object access violation */ +#define E_CTX (-69) /* Context error */ +#define E_QOVR (-73) /* Queuing or nesting overflow */ +#define E_DLT (-81) /* Object being waited for was deleted */ +#define E_TMOUT (-85) /* Polling failure or timeout exceeded */ +#define E_RLWAI (-86) /* WAIT state was forcibly released */ +#define EN_NOND (-113) /* Target node does not exist or cannot be */ + /* accessed */ +#define EN_OBJNO (-114) /* Specifies an object number which could not be */ + /* accessed on the target node */ +#define EN_PROTO (-115) /* Protocol not supported on target node */ +#define EN_RSFN (-116) /* System call or function not supported on */ + /* target node */ +#define EN_COMM (-117) /* No response from target node */ +#define EN_RLWAI (-118) /* Connection function response wait state was */ + /* forcibly released */ +#define EN_PAR (-119) /* A value outside the range supported by the */ + /* target node and/or transmission packet */ + /* format was specified as a parameter */ +#define EN_RPAR (-120) /* A value outside the range supported by the */ + /* issuing node and/or transmission packet */ + /* format was returned as a return parameter */ +#define EN_CTXID (-121) /* An object on another node was specified to */ + /* a system call issued from a task in dispatch */ + /* disabled state or from a task-independent */ + /* portion */ +#define EN_EXEC (-122) /* System call could not be executed due to */ + /* insufficient resources on the target node */ +#define EN_NOSPT (-123) /* Connection function not supported */ + + +#ifdef __cplusplus +} +#endif + +#endif +/* end of include file */ + |