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