1 #ifndef ALPHA_TARGET_ERRNO_DEFS_H
2 #define ALPHA_TARGET_ERRNO_DEFS_H
4 #include "../generic/target_errno_defs.h"
7 * Generic target errno overridden with definitions taken
8 * from asm-alpha/errno.h
10 #undef TARGET_EWOULDBLOCK
11 #define TARGET_EWOULDBLOCK TARGET_EAGAIN
13 #define TARGET_EDEADLK 11
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
55 #define TARGET_ENOBUFS 55
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
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
80 #define TARGET_EUSERS 68
82 #define TARGET_EDQUOT 69
84 #define TARGET_ESTALE 70
86 #define TARGET_EREMOTE 71
89 #define TARGET_ENOLCK 77
91 #define TARGET_ENOSYS 78
94 #define TARGET_ENOMSG 80
96 #define TARGET_EIDRM 81
98 #define TARGET_ENOSR 82
100 #define TARGET_ETIME 83
101 #undef TARGET_EBADMSG
102 #define TARGET_EBADMSG 84
104 #define TARGET_EPROTO 85
105 #undef TARGET_ENODATA
106 #define TARGET_ENODATA 86
108 #define TARGET_ENOSTR 87
110 #define TARGET_ECHRNG 88
111 #undef TARGET_EL2NSYNC
112 #define TARGET_EL2NSYNC 89
114 #define TARGET_EL3HLT 90
116 #define TARGET_EL3RST 91
118 #define TARGET_ENOPKG 92
120 #define TARGET_ELNRNG 93
121 #undef TARGET_EUNATCH
122 #define TARGET_EUNATCH 94
124 #define TARGET_ENOCSI 95
126 #define TARGET_EL2HLT 96
128 #define TARGET_EBADE 97
130 #define TARGET_EBADR 98
132 #define TARGET_EXFULL 99
134 #define TARGET_ENOANO 100
135 #undef TARGET_EBADRQC
136 #define TARGET_EBADRQC 101
137 #undef TARGET_EBADSLT
138 #define TARGET_EBADSLT 102
141 #define TARGET_EBFONT 104
143 #define TARGET_ENONET 105
144 #undef TARGET_ENOLINK
145 #define TARGET_ENOLINK 106
147 #define TARGET_EADV 107
149 #define TARGET_ESRMNT 108
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
161 #define TARGET_EBADFD 114
162 #undef TARGET_EREMCHG
163 #define TARGET_EREMCHG 115
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
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