xref: /qemu/linux-user/hppa/target_errno_defs.h (revision 727385c4)
1 #ifndef HPPA_TARGET_ERRNO_DEFS_H
2 #define HPPA_TARGET_ERRNO_DEFS_H
3 
4 #include "../generic/target_errno_defs.h"
5 
6 /*
7  * Generic target errno overridden with definitions taken
8  * from asm-parisc/errno.h
9  */
10 #undef TARGET_EWOULDBLOCK
11 #define TARGET_EWOULDBLOCK     TARGET_EAGAIN /* Operation would block */
12 #undef  TARGET_ENOMSG
13 #define TARGET_ENOMSG          35
14 #undef  TARGET_EIDRM
15 #define TARGET_EIDRM           36
16 #undef  TARGET_ECHRNG
17 #define TARGET_ECHRNG          37
18 #undef  TARGET_EL2NSYNC
19 #define TARGET_EL2NSYNC        38
20 #undef  TARGET_EL3HLT
21 #define TARGET_EL3HLT          39
22 #undef  TARGET_EL3RST
23 #define TARGET_EL3RST          40
24 #undef  TARGET_ELNRNG
25 #define TARGET_ELNRNG          41
26 #undef  TARGET_EUNATCH
27 #define TARGET_EUNATCH         42
28 #undef  TARGET_ENOCSI
29 #define TARGET_ENOCSI          43
30 #undef  TARGET_EL2HLT
31 #define TARGET_EL2HLT          44
32 #undef  TARGET_EDEADLK
33 #define TARGET_EDEADLK         45
34 #undef  TARGET_ENOLCK
35 #define TARGET_ENOLCK          46
36 #undef  TARGET_EILSEQ
37 #define TARGET_EILSEQ          47
38 
39 #undef  TARGET_ENONET
40 #define TARGET_ENONET          50
41 #undef  TARGET_ENODATA
42 #define TARGET_ENODATA         51
43 #undef  TARGET_ETIME
44 #define TARGET_ETIME           52
45 #undef  TARGET_ENOSR
46 #define TARGET_ENOSR           53
47 #undef  TARGET_ENOSTR
48 #define TARGET_ENOSTR          54
49 #undef  TARGET_ENOPKG
50 #define TARGET_ENOPKG          55
51 
52 #undef  TARGET_ENOLINK
53 #define TARGET_ENOLINK         57
54 #undef  TARGET_EADV
55 #define TARGET_EADV            58
56 #undef  TARGET_ESRMNT
57 #define TARGET_ESRMNT          59
58 #undef  TARGET_ECOMM
59 #define TARGET_ECOMM           60
60 #undef  TARGET_EPROTO
61 #define TARGET_EPROTO          61
62 
63 #undef  TARGET_EMULTIHOP
64 #define TARGET_EMULTIHOP       64
65 
66 #undef  TARGET_EDOTDOT
67 #define TARGET_EDOTDOT         66
68 #undef  TARGET_EBADMSG
69 #define TARGET_EBADMSG         67
70 #undef  TARGET_EUSERS
71 #define TARGET_EUSERS          68
72 #undef  TARGET_EDQUOT
73 #define TARGET_EDQUOT          69
74 #undef  TARGET_ESTALE
75 #define TARGET_ESTALE          70
76 #undef  TARGET_EREMOTE
77 #define TARGET_EREMOTE         71
78 #undef  TARGET_EOVERFLOW
79 #define TARGET_EOVERFLOW       72
80 
81 #undef  TARGET_EBADE
82 #define TARGET_EBADE           160
83 #undef  TARGET_EBADR
84 #define TARGET_EBADR           161
85 #undef  TARGET_EXFULL
86 #define TARGET_EXFULL          162
87 #undef  TARGET_ENOANO
88 #define TARGET_ENOANO          163
89 #undef  TARGET_EBADRQC
90 #define TARGET_EBADRQC         164
91 #undef  TARGET_EBADSLT
92 #define TARGET_EBADSLT         165
93 #undef  TARGET_EBFONT
94 #define TARGET_EBFONT          166
95 #undef  TARGET_ENOTUNIQ
96 #define TARGET_ENOTUNIQ        167
97 #undef  TARGET_EBADFD
98 #define TARGET_EBADFD          168
99 #undef  TARGET_EREMCHG
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
121 #undef  TARGET_EISNAM
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
129 #undef  TARGET_ENOKEY
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
137 
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
193 
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
202 #undef  TARGET_ELOOP
203 #define TARGET_ELOOP           249
204 #undef  TARGET_ENOSYS
205 #define TARGET_ENOSYS          251
206 
207 #undef  TARGET_ECANCELED
208 #define TARGET_ECANCELED       253
209 
210 #undef  TARGET_EOWNERDEAD
211 #define TARGET_EOWNERDEAD      254
212 #undef  TARGET_ENOTRECOVERABLE
213 #define TARGET_ENOTRECOVERABLE 255
214 
215 #undef  TARGET_ERFKILL
216 #define TARGET_ERFKILL         256
217 #undef  TARGET_EHWPOISON
218 #define TARGET_EHWPOISON       257
219 
220 #endif
221