target_errno_defs.h 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. #ifndef HPPA_TARGET_ERRNO_DEFS_H
  2. #define HPPA_TARGET_ERRNO_DEFS_H
  3. #include "../generic/target_errno_defs.h"
  4. /*
  5. * Generic target errno overridden with definitions taken
  6. * from asm-parisc/errno.h
  7. */
  8. #undef TARGET_EWOULDBLOCK
  9. #define TARGET_EWOULDBLOCK TARGET_EAGAIN /* Operation would block */
  10. #undef TARGET_ENOMSG
  11. #define TARGET_ENOMSG 35
  12. #undef TARGET_EIDRM
  13. #define TARGET_EIDRM 36
  14. #undef TARGET_ECHRNG
  15. #define TARGET_ECHRNG 37
  16. #undef TARGET_EL2NSYNC
  17. #define TARGET_EL2NSYNC 38
  18. #undef TARGET_EL3HLT
  19. #define TARGET_EL3HLT 39
  20. #undef TARGET_EL3RST
  21. #define TARGET_EL3RST 40
  22. #undef TARGET_ELNRNG
  23. #define TARGET_ELNRNG 41
  24. #undef TARGET_EUNATCH
  25. #define TARGET_EUNATCH 42
  26. #undef TARGET_ENOCSI
  27. #define TARGET_ENOCSI 43
  28. #undef TARGET_EL2HLT
  29. #define TARGET_EL2HLT 44
  30. #undef TARGET_EDEADLK
  31. #define TARGET_EDEADLK 45
  32. #undef TARGET_ENOLCK
  33. #define TARGET_ENOLCK 46
  34. #undef TARGET_EILSEQ
  35. #define TARGET_EILSEQ 47
  36. #undef TARGET_ENONET
  37. #define TARGET_ENONET 50
  38. #undef TARGET_ENODATA
  39. #define TARGET_ENODATA 51
  40. #undef TARGET_ETIME
  41. #define TARGET_ETIME 52
  42. #undef TARGET_ENOSR
  43. #define TARGET_ENOSR 53
  44. #undef TARGET_ENOSTR
  45. #define TARGET_ENOSTR 54
  46. #undef TARGET_ENOPKG
  47. #define TARGET_ENOPKG 55
  48. #undef TARGET_ENOLINK
  49. #define TARGET_ENOLINK 57
  50. #undef TARGET_EADV
  51. #define TARGET_EADV 58
  52. #undef TARGET_ESRMNT
  53. #define TARGET_ESRMNT 59
  54. #undef TARGET_ECOMM
  55. #define TARGET_ECOMM 60
  56. #undef TARGET_EPROTO
  57. #define TARGET_EPROTO 61
  58. #undef TARGET_EMULTIHOP
  59. #define TARGET_EMULTIHOP 64
  60. #undef TARGET_EDOTDOT
  61. #define TARGET_EDOTDOT 66
  62. #undef TARGET_EBADMSG
  63. #define TARGET_EBADMSG 67
  64. #undef TARGET_EUSERS
  65. #define TARGET_EUSERS 68
  66. #undef TARGET_EDQUOT
  67. #define TARGET_EDQUOT 69
  68. #undef TARGET_ESTALE
  69. #define TARGET_ESTALE 70
  70. #undef TARGET_EREMOTE
  71. #define TARGET_EREMOTE 71
  72. #undef TARGET_EOVERFLOW
  73. #define TARGET_EOVERFLOW 72
  74. #undef TARGET_EBADE
  75. #define TARGET_EBADE 160
  76. #undef TARGET_EBADR
  77. #define TARGET_EBADR 161
  78. #undef TARGET_EXFULL
  79. #define TARGET_EXFULL 162
  80. #undef TARGET_ENOANO
  81. #define TARGET_ENOANO 163
  82. #undef TARGET_EBADRQC
  83. #define TARGET_EBADRQC 164
  84. #undef TARGET_EBADSLT
  85. #define TARGET_EBADSLT 165
  86. #undef TARGET_EBFONT
  87. #define TARGET_EBFONT 166
  88. #undef TARGET_ENOTUNIQ
  89. #define TARGET_ENOTUNIQ 167
  90. #undef TARGET_EBADFD
  91. #define TARGET_EBADFD 168
  92. #undef TARGET_EREMCHG
  93. #define TARGET_EREMCHG 169
  94. #undef TARGET_ELIBACC
  95. #define TARGET_ELIBACC 170
  96. #undef TARGET_ELIBBAD
  97. #define TARGET_ELIBBAD 171
  98. #undef TARGET_ELIBSCN
  99. #define TARGET_ELIBSCN 172
  100. #undef TARGET_ELIBMAX
  101. #define TARGET_ELIBMAX 173
  102. #undef TARGET_ELIBEXEC
  103. #define TARGET_ELIBEXEC 174
  104. #undef TARGET_ERESTART
  105. #define TARGET_ERESTART 175
  106. #undef TARGET_ESTRPIPE
  107. #define TARGET_ESTRPIPE 176
  108. #undef TARGET_EUCLEAN
  109. #define TARGET_EUCLEAN 177
  110. #undef TARGET_ENOTNAM
  111. #define TARGET_ENOTNAM 178
  112. #undef TARGET_ENAVAIL
  113. #define TARGET_ENAVAIL 179
  114. #undef TARGET_EISNAM
  115. #define TARGET_EISNAM 180
  116. #undef TARGET_EREMOTEIO
  117. #define TARGET_EREMOTEIO 181
  118. #undef TARGET_ENOMEDIUM
  119. #define TARGET_ENOMEDIUM 182
  120. #undef TARGET_EMEDIUMTYPE
  121. #define TARGET_EMEDIUMTYPE 183
  122. #undef TARGET_ENOKEY
  123. #define TARGET_ENOKEY 184
  124. #undef TARGET_EKEYEXPIRED
  125. #define TARGET_EKEYEXPIRED 185
  126. #undef TARGET_EKEYREVOKED
  127. #define TARGET_EKEYREVOKED 186
  128. #undef TARGET_EKEYREJECTED
  129. #define TARGET_EKEYREJECTED 187
  130. /* Never used in linux. */
  131. /* #define TARGET_ENOSYM 215 */
  132. #undef TARGET_ENOTSOCK
  133. #define TARGET_ENOTSOCK 216
  134. #undef TARGET_EDESTADDRREQ
  135. #define TARGET_EDESTADDRREQ 217
  136. #undef TARGET_EMSGSIZE
  137. #define TARGET_EMSGSIZE 218
  138. #undef TARGET_EPROTOTYPE
  139. #define TARGET_EPROTOTYPE 219
  140. #undef TARGET_ENOPROTOOPT
  141. #define TARGET_ENOPROTOOPT 220
  142. #undef TARGET_EPROTONOSUPPORT
  143. #define TARGET_EPROTONOSUPPORT 221
  144. #undef TARGET_ESOCKTNOSUPPORT
  145. #define TARGET_ESOCKTNOSUPPORT 222
  146. #undef TARGET_EOPNOTSUPP
  147. #define TARGET_EOPNOTSUPP 223
  148. #undef TARGET_EPFNOSUPPORT
  149. #define TARGET_EPFNOSUPPORT 224
  150. #undef TARGET_EAFNOSUPPORT
  151. #define TARGET_EAFNOSUPPORT 225
  152. #undef TARGET_EADDRINUSE
  153. #define TARGET_EADDRINUSE 226
  154. #undef TARGET_EADDRNOTAVAIL
  155. #define TARGET_EADDRNOTAVAIL 227
  156. #undef TARGET_ENETDOWN
  157. #define TARGET_ENETDOWN 228
  158. #undef TARGET_ENETUNREACH
  159. #define TARGET_ENETUNREACH 229
  160. #undef TARGET_ENETRESET
  161. #define TARGET_ENETRESET 230
  162. #undef TARGET_ECONNABORTED
  163. #define TARGET_ECONNABORTED 231
  164. #undef TARGET_ECONNRESET
  165. #define TARGET_ECONNRESET 232
  166. #undef TARGET_ENOBUFS
  167. #define TARGET_ENOBUFS 233
  168. #undef TARGET_EISCONN
  169. #define TARGET_EISCONN 234
  170. #undef TARGET_ENOTCONN
  171. #define TARGET_ENOTCONN 235
  172. #undef TARGET_ESHUTDOWN
  173. #define TARGET_ESHUTDOWN 236
  174. #undef TARGET_ETOOMANYREFS
  175. #define TARGET_ETOOMANYREFS 237
  176. #undef TARGET_ETIMEDOUT
  177. #define TARGET_ETIMEDOUT 238
  178. #undef TARGET_ECONNREFUSED
  179. #define TARGET_ECONNREFUSED 239
  180. #define TARGET_EREMOTERELEASE 240
  181. #undef TARGET_EHOSTDOWN
  182. #define TARGET_EHOSTDOWN 241
  183. #undef TARGET_EHOSTUNREACH
  184. #define TARGET_EHOSTUNREACH 242
  185. #undef TARGET_EALREADY
  186. #define TARGET_EALREADY 244
  187. #undef TARGET_EINPROGRESS
  188. #define TARGET_EINPROGRESS 245
  189. #undef TARGET_ENOTEMPTY
  190. #define TARGET_ENOTEMPTY 247
  191. #undef TARGET_ENAMETOOLONG
  192. #define TARGET_ENAMETOOLONG 248
  193. #undef TARGET_ELOOP
  194. #define TARGET_ELOOP 249
  195. #undef TARGET_ENOSYS
  196. #define TARGET_ENOSYS 251
  197. #undef TARGET_ECANCELED
  198. #define TARGET_ECANCELED 253
  199. #undef TARGET_EOWNERDEAD
  200. #define TARGET_EOWNERDEAD 254
  201. #undef TARGET_ENOTRECOVERABLE
  202. #define TARGET_ENOTRECOVERABLE 255
  203. #undef TARGET_ERFKILL
  204. #define TARGET_ERFKILL 256
  205. #undef TARGET_EHWPOISON
  206. #define TARGET_EHWPOISON 257
  207. #endif