xref: /qemu/linux-user/alpha/target_errno_defs.h (revision 727385c4)
1 #ifndef ALPHA_TARGET_ERRNO_DEFS_H
2 #define ALPHA_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-alpha/errno.h
9  */
10 #undef TARGET_EWOULDBLOCK
11 #define TARGET_EWOULDBLOCK      TARGET_EAGAIN
12 #undef TARGET_EDEADLK
13 #define TARGET_EDEADLK          11
14 #undef TARGET_EAGAIN
15 #define TARGET_EAGAIN           35
16 #undef TARGET_EINPROGRESS
17 #define TARGET_EINPROGRESS      36
18 #undef TARGET_EALREADY
19 #define TARGET_EALREADY         37
20 #undef TARGET_ENOTSOCK
21 #define TARGET_ENOTSOCK         38
22 #undef TARGET_EDESTADDRREQ
23 #define TARGET_EDESTADDRREQ     39
24 #undef TARGET_EMSGSIZE
25 #define TARGET_EMSGSIZE         40
26 #undef TARGET_EPROTOTYPE
27 #define TARGET_EPROTOTYPE       41
28 #undef TARGET_ENOPROTOOPT
29 #define TARGET_ENOPROTOOPT      42
30 #undef TARGET_EPROTONOSUPPORT
31 #define TARGET_EPROTONOSUPPORT  43
32 #undef TARGET_ESOCKTNOSUPPORT
33 #define TARGET_ESOCKTNOSUPPORT  44
34 #undef TARGET_EOPNOTSUPP
35 #define TARGET_EOPNOTSUPP       45
36 #undef TARGET_EPFNOSUPPORT
37 #define TARGET_EPFNOSUPPORT     46
38 #undef TARGET_EAFNOSUPPORT
39 #define TARGET_EAFNOSUPPORT     47
40 #undef TARGET_EADDRINUSE
41 #define TARGET_EADDRINUSE       48
42 #undef TARGET_EADDRNOTAVAIL
43 #define TARGET_EADDRNOTAVAIL    49
44 #undef TARGET_ENETDOWN
45 #define TARGET_ENETDOWN         50
46 #undef TARGET_ENETUNREACH
47 #define TARGET_ENETUNREACH      51
48 #undef TARGET_ENETRESET
49 #define TARGET_ENETRESET        52
50 #undef TARGET_ECONNABORTED
51 #define TARGET_ECONNABORTED     53
52 #undef TARGET_ECONNRESET
53 #define TARGET_ECONNRESET       54
54 #undef TARGET_ENOBUFS
55 #define TARGET_ENOBUFS          55
56 #undef TARGET_EISCONN
57 #define TARGET_EISCONN          56
58 #undef TARGET_ENOTCONN
59 #define TARGET_ENOTCONN         57
60 #undef TARGET_ESHUTDOWN
61 #define TARGET_ESHUTDOWN        58
62 #undef TARGET_ETOOMANYREFS
63 #define TARGET_ETOOMANYREFS     59
64 #undef TARGET_ETIMEDOUT
65 #define TARGET_ETIMEDOUT        60
66 #undef TARGET_ECONNREFUSED
67 #define TARGET_ECONNREFUSED     61
68 #undef TARGET_ELOOP
69 #define TARGET_ELOOP            62
70 #undef TARGET_ENAMETOOLONG
71 #define TARGET_ENAMETOOLONG     63
72 #undef TARGET_EHOSTDOWN
73 #define TARGET_EHOSTDOWN        64
74 #undef TARGET_EHOSTUNREACH
75 #define TARGET_EHOSTUNREACH     65
76 #undef TARGET_ENOTEMPTY
77 #define TARGET_ENOTEMPTY        66
78 /* Unused                       67 */
79 #undef TARGET_EUSERS
80 #define TARGET_EUSERS           68
81 #undef TARGET_EDQUOT
82 #define TARGET_EDQUOT           69
83 #undef TARGET_ESTALE
84 #define TARGET_ESTALE           70
85 #undef TARGET_EREMOTE
86 #define TARGET_EREMOTE          71
87 /* Unused                       72-76 */
88 #undef TARGET_ENOLCK
89 #define TARGET_ENOLCK           77
90 #undef TARGET_ENOSYS
91 #define TARGET_ENOSYS           78
92 /* Unused                       79 */
93 #undef TARGET_ENOMSG
94 #define TARGET_ENOMSG           80
95 #undef TARGET_EIDRM
96 #define TARGET_EIDRM            81
97 #undef TARGET_ENOSR
98 #define TARGET_ENOSR            82
99 #undef TARGET_ETIME
100 #define TARGET_ETIME            83
101 #undef TARGET_EBADMSG
102 #define TARGET_EBADMSG          84
103 #undef TARGET_EPROTO
104 #define TARGET_EPROTO           85
105 #undef TARGET_ENODATA
106 #define TARGET_ENODATA          86
107 #undef TARGET_ENOSTR
108 #define TARGET_ENOSTR           87
109 #undef TARGET_ECHRNG
110 #define TARGET_ECHRNG           88
111 #undef TARGET_EL2NSYNC
112 #define TARGET_EL2NSYNC         89
113 #undef TARGET_EL3HLT
114 #define TARGET_EL3HLT           90
115 #undef TARGET_EL3RST
116 #define TARGET_EL3RST           91
117 #undef TARGET_ENOPKG
118 #define TARGET_ENOPKG           92
119 #undef TARGET_ELNRNG
120 #define TARGET_ELNRNG           93
121 #undef TARGET_EUNATCH
122 #define TARGET_EUNATCH          94
123 #undef TARGET_ENOCSI
124 #define TARGET_ENOCSI           95
125 #undef TARGET_EL2HLT
126 #define TARGET_EL2HLT           96
127 #undef TARGET_EBADE
128 #define TARGET_EBADE            97
129 #undef TARGET_EBADR
130 #define TARGET_EBADR            98
131 #undef TARGET_EXFULL
132 #define TARGET_EXFULL           99
133 #undef TARGET_ENOANO
134 #define TARGET_ENOANO           100
135 #undef TARGET_EBADRQC
136 #define TARGET_EBADRQC          101
137 #undef TARGET_EBADSLT
138 #define TARGET_EBADSLT          102
139 /* Unused                       103 */
140 #undef TARGET_EBFONT
141 #define TARGET_EBFONT           104
142 #undef TARGET_ENONET
143 #define TARGET_ENONET           105
144 #undef TARGET_ENOLINK
145 #define TARGET_ENOLINK          106
146 #undef TARGET_EADV
147 #define TARGET_EADV             107
148 #undef TARGET_ESRMNT
149 #define TARGET_ESRMNT           108
150 #undef TARGET_ECOMM
151 #define TARGET_ECOMM            109
152 #undef TARGET_EMULTIHOP
153 #define TARGET_EMULTIHOP        110
154 #undef TARGET_EDOTDOT
155 #define TARGET_EDOTDOT          111
156 #undef TARGET_EOVERFLOW
157 #define TARGET_EOVERFLOW        112
158 #undef TARGET_ENOTUNIQ
159 #define TARGET_ENOTUNIQ         113
160 #undef TARGET_EBADFD
161 #define TARGET_EBADFD           114
162 #undef TARGET_EREMCHG
163 #define TARGET_EREMCHG          115
164 #undef TARGET_EILSEQ
165 #define TARGET_EILSEQ           116
166 /* Same as default              117-121 */
167 #undef TARGET_ELIBACC
168 #define TARGET_ELIBACC          122
169 #undef TARGET_ELIBBAD
170 #define TARGET_ELIBBAD          123
171 #undef TARGET_ELIBSCN
172 #define TARGET_ELIBSCN          124
173 #undef TARGET_ELIBMAX
174 #define TARGET_ELIBMAX          125
175 #undef TARGET_ELIBEXEC
176 #define TARGET_ELIBEXEC         126
177 #undef TARGET_ERESTART
178 #define TARGET_ERESTART         127
179 #undef TARGET_ESTRPIPE
180 #define TARGET_ESTRPIPE         128
181 #undef TARGET_ENOMEDIUM
182 #define TARGET_ENOMEDIUM        129
183 #undef TARGET_EMEDIUMTYPE
184 #define TARGET_EMEDIUMTYPE      130
185 #undef TARGET_ECANCELED
186 #define TARGET_ECANCELED        131
187 #undef TARGET_ENOKEY
188 #define TARGET_ENOKEY           132
189 #undef TARGET_EKEYEXPIRED
190 #define TARGET_EKEYEXPIRED      133
191 #undef TARGET_EKEYREVOKED
192 #define TARGET_EKEYREVOKED      134
193 #undef TARGET_EKEYREJECTED
194 #define TARGET_EKEYREJECTED     135
195 #undef TARGET_EOWNERDEAD
196 #define TARGET_EOWNERDEAD       136
197 #undef TARGET_ENOTRECOVERABLE
198 #define TARGET_ENOTRECOVERABLE  137
199 #undef TARGET_ERFKILL
200 #define TARGET_ERFKILL          138
201 #undef TARGET_EHWPOISON
202 #define TARGET_EHWPOISON        139
203 
204 #endif
205