home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s038 / 10.ddi / 017.LIF / RMXERR.H < prev    next >
Encoding:
C/C++ Source or Header  |  1992-07-02  |  11.1 KB  |  275 lines

  1. /* rmxerr.h - signal handling header file
  2.  * $Version: 1.1 $
  3.  * Copyright (c) 1989, 90 Intel Corporation, ALL RIGHTS RESERVED.
  4.  */
  5.  
  6.  
  7. /* * * * * * * * * * * * * * * * * * * * * * * */
  8. /*                                             */
  9. /*   E N V I R O N M E N T A L    E R R O R S  */
  10. /*                                             */
  11. /* * * * * * * * * * * * * * * * * * * * * * * */
  12.  
  13. #ifndef EBUSY     /*  These mnemonics are also defined in ERRNO.H  */
  14.  
  15. #define EBUSY            0x3     /* region is in use */
  16. #define EEXIST            0x6     /* token does not refer to an
  17.                       * iRMX object */
  18. #define EIO            0x2b     /* io error */
  19. #endif
  20.  
  21.  /* Nucleus exception codes */
  22.  
  23. #define EOK            0x0
  24. #define ETIME            0x1     /* TIME limit exceeded */
  25. #define EMEM            0x2     /* memory allocation exceeded */
  26. #define ELIMIT            0x4     /* some limit exceeded */
  27. #define ECONTEXT        0x5     /* request out of context */
  28. #define ESTATE            0x7     /* ready task resumed */
  29. #define ENOTCONFIGURED        0x8
  30. #define EINTERRUPTSATURATION    0x9     /* interrupt task accumulated
  31.                       * the maximum allowable
  32.                       * number of SIGNAL$INTERRUPT
  33.                       * requests */
  34. #define EINTERRUPTOVERFLOW    0xa     /* interrupt task accumulated
  35.                       * more than the maximum
  36.                       * allowable number of
  37.                       * SIGNAL$INTERRUPT requests */
  38. #define ETRANSMISSION        0xb     /* error in message transmission */
  39. #define ESLOT            0xc     /* there are no available GDT slots */
  40. #define EDATACHAIN        0xd     /* buffer returned is a data chain */
  41.  
  42.  /* Nucleus Communication Service exception codes */
  43.  
  44. #define ECANCELLED        0xe1     /* RSVP transaction cancelled
  45.                       * by remote host */
  46. #define EHOSTID            0xe2     /* invalid host id parameter */
  47. #define ENOLOCALBUFFER        0xe3     /* insufficient buffer available
  48.                       * on local host to receive message */
  49. #define ENOREMOTEBUFFER        0xe4     /* insufficient buffer available
  50.                       * on remote host to receive message */
  51. #define ERESOURCELIMIT        0xe6     /* exceeded limit of number of
  52.                       * simultaneous messages */
  53. #define ETRANSID        0xe8     /* invalid transaction id parameter */
  54. #define EDISCONNECTED         0xe9     /* null socket parameter used
  55.                       * with port that is not connected */
  56. #define ETRANSLIMIT        0xea     /* exceeded limit of number of
  57.                       * simultaneous transactions */
  58.  
  59.  /* IOS exception codes */
  60.  
  61. #define EFEXIST            0x20     /* file already exists */
  62. #define EFNEXIST        0x21     /* non-existant File  */
  63. #define EDEVFD            0x22     /* device and file driver
  64.                       * incompatible */
  65. #define ESUPPORT        0x23     /* function not supported */
  66. #define EEMPTYENTRY        0x24     /* directory entry is empty */
  67. #define EDIREND            0x25     /* no more directory entries */
  68. #define EFACCESS        0x26     /* access to file denied */
  69. #define EFTYPE            0x27     /* invalid file type */
  70. #define ESHARE            0x28     /* file cannot be shared with others */
  71. #define ESPACE            0x29     /* insufficient space on volume */
  72. #define EIDDR            0x2a     /* bad device driver request */
  73. #define EFLUSHING        0x2c     /* other end of stream file
  74.                       * is gone */
  75. #define EILLVOL            0x2d     /* illegal volume type */
  76. #define EDEVOFFLINE        0x2e     /* device is off line */
  77. #define EIFDR            0x2f     /* illegal file driver request */
  78. #define EFRAGMENTATION         0x30     /* file too fragmented to extend */
  79. #define EDIRNOTEMPTY        0x31     /* directory not empty */
  80. #define ENOTFILECONN        0x32     /* not a file connection */
  81. #define ENOTDEVICECONN        0x33     /* not a device connection */
  82. #define ECONNNOTOPEN        0x34     /* connection is not open for
  83.                       * requested operation */
  84. #define ECONNOPEN        0x35     /* connection already open */
  85. #define EBUFFEREDCONN        0x36     /* connection opened by EIOS
  86.                       * but now accessed by BIOS */
  87. #define EOUTSTANDINGCONNS       0x37     /* specified soft detach has
  88.                       * left device connections intact */
  89. #define EALREADYATTACHED    0x38     /* device already attached */
  90. #define EDEVDETACHING        0x39     /* specified file on a device
  91.                       * in the process of being detached */
  92. #define ENOTSAMEDEVICE        0x3a     /* existing and new pathnames
  93.                       * not on same device */
  94. #define EILLOGICALRENAME    0x3b     /* new pathname includes
  95.                       * existing pathname */
  96. #define ESTREAMSPECIAL        0x3c     /* stream file request out
  97.                       * of context */
  98. #define EINVALIDFNODE        0x3d     /* invalid file descriptor */
  99. #define EPATHNAMESYNTAX        0x3e     /* pathname null or contains
  100.                       * invalid characters */
  101. #define EFNODELIMIT        0x3f     /* insufficient fnodes on volume */
  102.  
  103.  /*  EIOS exception codes  */
  104.  
  105. #define ELOGNAMESYNTAX        0x40     /* invalid logical name */
  106. #define ECANNOTCLOSE        0x41     /* buffers cannot be flushed */
  107. #define EIOMEM             0x42     /* IO system has insufficent memory */
  108. #define EMEDIA            0x44     /* no disk in drive */
  109. #define ELOGNAMENEXIST        0x45     /* logical name does not exist  */
  110. #define ENOTOWNER        0x46     /* user trying to detach a
  111.                       * device is not the device's owner */
  112. #define EIOJOB            0x47     /* job is not a valid IO job */
  113. #define EUDFFORMAT         0x48     /* udf is corrupted */
  114. #define ENAMENEXIST        0x49     /* user name not present in udf */
  115. #define EUIDNEXIST        0x4a     /* user token doesn't match udf */
  116. #define EPASSWORDMISMATCH     0x4b     /* incorrect password */
  117. #define EUDFIO            0x4c     /* specified UDF file cannot
  118.                       * be found */
  119.  
  120.  /* Expanded IO exception codes */
  121.  
  122. #define EIOUNCLASS        0x50     /* an unclassified error has
  123.                       * occured */
  124. #define EIOSOFT         0x51     /* soft error has occured */
  125. #define EIOHARD            0x52     /* hard error has occured */
  126. #define EIOOPRINT        0x53     /* device is not ready */
  127. #define EIOWRPROT        0x54     /* write protected */
  128. #define EIONODATA         0x55     /* no data on the next TAPE record */
  129. #define EIOMODE            0x56     /* a tape drive attempted
  130.                       * a read/write operation
  131.                       * before the previous one
  132.                       * completed */
  133. #define EIONOSPARES        0x57     /* an attempt was made to assign
  134.                       * an alternate track, but no
  135.                       * more were available */
  136. #define EIOALTASSIGNED        0x58     /* an alternate was assigned
  137.                       * during this I/O operation */
  138.  
  139.  /* Application Loader exception codes */
  140.  
  141. #define EBADHEADER        0x62     /* an invalid object file header */
  142. #define EEOF            0x65     /* unexpected End of File
  143.                       * while reading a record */
  144. #define ENOLOADERMEM        0x67
  145. #define ENOSTART        0x6c     /* the Application Loader
  146.                       * could not find the start
  147.                       * address */
  148. #define EJOBSIZE        0x6d     /* The max. memory pool size of
  149.                       * job being loaded is smaller
  150.                       * than the amount required to
  151.                       * load it */
  152. #define EOVERLAY        0x6e     /* the overlay name does not match */
  153. #define ELOADERSUPPORT        0x6f     /* The file requires features
  154.                       * not supported by this
  155.                       * configuration of the
  156.                       * Application Loader */
  157.  
  158.  /* Human Interface exception codes */
  159.  
  160. #define ELITERAL        0x80     /* literal with no closing
  161.                       * quote detected while parsing */
  162. #define ESTRINGBUFFER        0x81     /* buffer too small for
  163.                       * O.S. returned string */
  164. #define ESEPARATOR        0x82     /* illegal command separator */
  165. #define ECONTINUED        0x83     /* user parse buffer is continued */
  166. #define EINVALIDNUMERIC        0x84     /* invalid form of number */
  167. #define ELIST            0x85     /* missing value-list value */
  168. #define EWILDCARD        0x86     /* invalid wildcard character usage */
  169. #define EPREPOSITION        0x87     /* invalid preposition usage */
  170. #define EPATH            0x88     /* invalid path name */
  171. #define ECONTROLC        0x89     /* job cancelled via a control-C */
  172. #define ECONTROL         0x8a     /* invalid control */
  173. #define EUNMATCHEDLISTS        0x8b
  174. #define EINVALIDDATE        0x8c
  175. #define ENOPARAMETERS        0x8d     /* no parameters found in
  176.                       * command line */
  177. #define EVERSION        0x8e     /* version of entered command
  178.                       * incompatible with system */
  179. #define EGETPATHORDER        0x8f     /* get$output$pathname called
  180.                       * before get$input$pathname */
  181. #define EPERMISSION        0x90     /* do not have proper access */
  182. #define EINVALIDTIME        0x91     /* setting of time was invalid */
  183.  
  184.  /* UDI exception codes */
  185.  
  186. #define EUNKNOWNEXIT        0xc0     /* normal termination */
  187. #define EWARNINGEXIT        0xc1     /* warning termination */
  188. #define EERROREXIT        0xc2     /* error termination */
  189. #define EFATALEXIT        0xc3     /* fatal error termination */
  190. #define EABORTEXIT        0xc4     /* user program aborted */
  191. #define EUDIINTERNAL        0xc5     /* unrecoverable internal error */
  192.  
  193. /* * * * * * * * * * * * * * * * * * * * */
  194. /*                                       */
  195. /*  P R O G R A M M I N G   E R R O R S  */
  196. /*                                       */
  197. /* * * * * * * * * * * * * * * * * * * * */
  198.  
  199.  /* Nucleus exception codes */
  200.  
  201. #define EZERODIVIDE        0x8000
  202. #define EOVERFLOW        0x8001     /* overflow interrupt occured */
  203. #define ETYPE            0x8002     /* token parameter is of
  204.                       * invalid type */
  205. #define EPARAM            0x8004     /* parameter has an invalid value */
  206. #define EBADCALL        0x8005     /* An OS extension received an
  207.                       * invalid code */
  208. #define EARRAYBOUNDS        0x8006     /* array overflow*/
  209. #define ENDPERROR        0x8007     /* NPX error has occured */
  210. #define EILLEGALOPCODE        0x8008
  211. #define EEMULATORTRAP        0x8009     /* an ESC instruction was
  212.                       * encountered with emulator
  213.                       * bit set in MSW */
  214. #define ECHECKEXCEPTION        0x800a     /* a PASCAL task exceeded CASE
  215.                       * statement boundary */
  216. #define ECPUXFERDATALIMIT    0x800b     /* the NPX tried to access an
  217.                       * address that is out of
  218.                       * segment bound */
  219. #define EPROTECTION         0x800d     /* General Protection error */
  220. #define ENOTPRESENT        0x800e     /* A request to load a segment
  221.                       * register whose segment is
  222.                       * not present */
  223. #define EBADADDR        0x800f     /* Invalid logical address */
  224.  
  225.  /* Nucleus Communication Service exception codes */
  226.  
  227. #define EPROTOCOL        0x80e0     /* port parameter is wrong
  228.                       * protocol */
  229. #define EPORTIDUSED         0x80e1     /* request port id is in use */
  230. #define ENUCBADBUF        0x80e2     /* invalid buffer pointer or
  231.                       * insufficient buffer length */
  232.  
  233.  /* IOS exception codes */
  234.  /* EIOS exception codes */
  235.  
  236. #define ENOUSER            0x8021     /* no default user is defined */
  237. #define ENOPREFIX        0x8022     /* no default prefix is defined */
  238. #define EBADBUFF        0x8023     /* specified buffer too small
  239.                       * for requested operation */
  240. #define ENOTLOGNAME        0x8040     /* the specified object is
  241.                       * not a device or file connection */
  242. #define ENOTDEVICE        0x8041     /* the specified object is
  243.                       * not a device connection */
  244. #define ENOTCONNECTION        0x8042     /* the specified object is
  245.                       * not a file connection */
  246.  
  247.  /* Application Loader exception codes */
  248.  
  249. #define EJOBPARAM        0x8060     /* maximum memory specified
  250.                       * is less than the minimum
  251.                       * memory specified */
  252.  
  253.  /* HI exception codes */
  254.  
  255. #define EPARSETABLES        0x8080     /* internal error in parse tables */
  256. #define EJOBTABLES        0x8081     /* internal inconsistency
  257.                       * in job tables */
  258. #define EDEFAULTSO        0x8083     /* default output name string
  259.                       * specified is invalid */
  260. #define ESTRING            0x8084     /* Returned pathname exceeds
  261.                       * 255 characters in length */
  262. #define EERROROUTPUT        0x8085     /* send$eo$response called
  263.                       * when command connection
  264.                       * allows only send$co$response */
  265.  
  266.  /* UDI exception codes */
  267.  
  268. #define ERESERVEPARAM        0x80c6     /* calling program attempted
  269.                       * to reserve more than 12
  270.                       * files or buffers */
  271. #define EOPENPARAM        0x80c7     /* calling program attempted
  272.                       * to open a file with more
  273.                       * than two buffers */
  274.  
  275.