qtest: Add missing 'hw/qdev-core.h' include
[qemu/rayw.git] / linux-user / mips / target_errno_defs.h
blob5685cda10db8f911dbd9221ada51a668765bd774
1 #ifndef MIPS_TARGET_ERRNO_DEFS_H
2 #define MIPS_TARGET_ERRNO_DEFS_H
4 #include "../generic/target_errno_defs.h"
6 /*
7 * Generic target errno overridden with definitions taken
8 * from asm-mips/errno.h
9 */
11 #undef TARGET_EWOULDBLOCK
12 #define TARGET_EWOULDBLOCK TARGET_EAGAIN /* Operation would block */
13 #undef TARGET_ENOMSG
14 #define TARGET_ENOMSG 35 /* Identifier removed */
15 #undef TARGET_EIDRM
16 #define TARGET_EIDRM 36 /* Identifier removed */
17 #undef TARGET_ECHRNG
18 #define TARGET_ECHRNG 37 /* Channel number out of range */
19 #undef TARGET_EL2NSYNC
20 #define TARGET_EL2NSYNC 38 /* Level 2 not synchronized */
21 #undef TARGET_EL3HLT
22 #define TARGET_EL3HLT 39 /* Level 3 halted */
23 #undef TARGET_EL3RST
24 #define TARGET_EL3RST 40 /* Level 3 reset */
25 #undef TARGET_ELNRNG
26 #define TARGET_ELNRNG 41 /* Link number out of range */
27 #undef TARGET_EUNATCH
28 #define TARGET_EUNATCH 42 /* Protocol driver not attached */
29 #undef TARGET_ENOCSI
30 #define TARGET_ENOCSI 43 /* No CSI structure available */
31 #undef TARGET_EL2HLT
32 #define TARGET_EL2HLT 44 /* Level 2 halted */
33 #undef TARGET_EDEADLK
34 #define TARGET_EDEADLK 45 /* Resource deadlock would occur */
35 #undef TARGET_ENOLCK
36 #define TARGET_ENOLCK 46 /* No record locks available */
37 #undef TARGET_EBADE
38 #define TARGET_EBADE 50 /* Invalid exchange */
39 #undef TARGET_EBADR
40 #define TARGET_EBADR 51 /* Invalid request descriptor */
41 #undef TARGET_EXFULL
42 #define TARGET_EXFULL 52 /* TARGET_Exchange full */
43 #undef TARGET_ENOANO
44 #define TARGET_ENOANO 53 /* No anode */
45 #undef TARGET_EBADRQC
46 #define TARGET_EBADRQC 54 /* Invalid request code */
47 #undef TARGET_EBADSLT
48 #define TARGET_EBADSLT 55 /* Invalid slot */
49 #undef TARGET_EDEADLOCK
50 #define TARGET_EDEADLOCK 56 /* File locking deadlock error */
51 #undef TARGET_EBFONT
52 #define TARGET_EBFONT 59 /* Bad font file format */
53 #undef TARGET_ENOSTR
54 #define TARGET_ENOSTR 60 /* Device not a stream */
55 #undef TARGET_ENODATA
56 #define TARGET_ENODATA 61 /* No data available */
57 #undef TARGET_ETIME
58 #define TARGET_ETIME 62 /* Timer expired */
59 #undef TARGET_ENOSR
60 #define TARGET_ENOSR 63 /* Out of streams resources */
61 #undef TARGET_ENONET
62 #define TARGET_ENONET 64 /* Machine is not on the network */
63 #undef TARGET_ENOPKG
64 #define TARGET_ENOPKG 65 /* Package not installed */
65 #undef TARGET_EREMOTE
66 #define TARGET_EREMOTE 66 /* Object is remote */
67 #undef TARGET_ENOLINK
68 #define TARGET_ENOLINK 67 /* Link has been severed */
69 #undef TARGET_EADV
70 #define TARGET_EADV 68 /* Advertise error */
71 #undef TARGET_ESRMNT
72 #define TARGET_ESRMNT 69 /* Srmount error */
73 #undef TARGET_ECOMM
74 #define TARGET_ECOMM 70 /* Communication error on send */
75 #undef TARGET_EPROTO
76 #define TARGET_EPROTO 71 /* Protocol error */
77 #undef TARGET_EDOTDOT
78 #define TARGET_EDOTDOT 73 /* RFS specific error */
79 #undef TARGET_EMULTIHOP
80 #define TARGET_EMULTIHOP 74 /* Multihop attempted */
81 #undef TARGET_EBADMSG
82 #define TARGET_EBADMSG 77 /* Not a data message */
83 #undef TARGET_ENAMETOOLONG
84 #define TARGET_ENAMETOOLONG 78 /* File name too long */
85 #undef TARGET_EOVERFLOW
86 #define TARGET_EOVERFLOW 79 /* Value too large for defined data type */
87 #undef TARGET_ENOTUNIQ
88 #define TARGET_ENOTUNIQ 80 /* Name not unique on network */
89 #undef TARGET_EBADFD
90 #define TARGET_EBADFD 81 /* File descriptor in bad state */
91 #undef TARGET_EREMCHG
92 #define TARGET_EREMCHG 82 /* Remote address changed */
93 #undef TARGET_ELIBACC
94 #define TARGET_ELIBACC 83 /* Can not access a needed shared library */
95 #undef TARGET_ELIBBAD
96 #define TARGET_ELIBBAD 84 /* Accessing a corrupted shared library */
97 #undef TARGET_ELIBSCN
98 #define TARGET_ELIBSCN 85 /* .lib section in a.out corrupted */
99 #undef TARGET_ELIBMAX
100 #define TARGET_ELIBMAX 86 /* Attempting to link in too many shared libraries */
101 #undef TARGET_ELIBEXEC
102 #define TARGET_ELIBEXEC 87 /* Cannot exec a shared library directly */
103 #undef TARGET_EILSEQ
104 #define TARGET_EILSEQ 88 /* Illegal byte sequence */
105 #undef TARGET_ENOSYS
106 #define TARGET_ENOSYS 89 /* Function not implemented */
107 #undef TARGET_ELOOP
108 #define TARGET_ELOOP 90 /* Too many symbolic links encountered */
109 #undef TARGET_ERESTART
110 #define TARGET_ERESTART 91 /* Interrupted system call should be restarted */
111 #undef TARGET_ESTRPIPE
112 #define TARGET_ESTRPIPE 92 /* Streams pipe error */
113 #undef TARGET_ENOTEMPTY
114 #define TARGET_ENOTEMPTY 93 /* Directory not empty */
115 #undef TARGET_EUSERS
116 #define TARGET_EUSERS 94 /* Too many users */
117 #undef TARGET_ENOTSOCK
118 #define TARGET_ENOTSOCK 95 /* Socket operation on non-socket */
119 #undef TARGET_EDESTADDRREQ
120 #define TARGET_EDESTADDRREQ 96 /* Destination address required */
121 #undef TARGET_EMSGSIZE
122 #define TARGET_EMSGSIZE 97 /* Message too long */
123 #undef TARGET_EPROTOTYPE
124 #define TARGET_EPROTOTYPE 98 /* Protocol wrong type for socket */
125 #undef TARGET_ENOPROTOOPT
126 #define TARGET_ENOPROTOOPT 99 /* Protocol not available */
127 #undef TARGET_EPROTONOSUPPORT
128 #define TARGET_EPROTONOSUPPORT 120 /* Protocol not supported */
129 #undef TARGET_ESOCKTNOSUPPORT
130 #define TARGET_ESOCKTNOSUPPORT 121 /* Socket type not supported */
131 #undef TARGET_EOPNOTSUPP
132 #define TARGET_EOPNOTSUPP 122 /* Operation not supported on transport endpoint */
133 #undef TARGET_EPFNOSUPPORT
134 #define TARGET_EPFNOSUPPORT 123 /* Protocol family not supported */
135 #undef TARGET_EAFNOSUPPORT
136 #define TARGET_EAFNOSUPPORT 124 /* Address family not supported by protocol */
137 #undef TARGET_EADDRINUSE
138 #define TARGET_EADDRINUSE 125 /* Address already in use */
139 #undef TARGET_EADDRNOTAVAIL
140 #define TARGET_EADDRNOTAVAIL 126 /* Cannot assign requested address */
141 #undef TARGET_ENETDOWN
142 #define TARGET_ENETDOWN 127 /* Network is down */
143 #undef TARGET_ENETUNREACH
144 #define TARGET_ENETUNREACH 128 /* Network is unreachable */
145 #undef TARGET_ENETRESET
146 #define TARGET_ENETRESET 129 /* Network dropped connection because of reset */
147 #undef TARGET_ECONNABORTED
148 #define TARGET_ECONNABORTED 130 /* Software caused connection abort */
149 #undef TARGET_ECONNRESET
150 #define TARGET_ECONNRESET 131 /* Connection reset by peer */
151 #undef TARGET_ENOBUFS
152 #define TARGET_ENOBUFS 132 /* No buffer space available */
153 #undef TARGET_EISCONN
154 #define TARGET_EISCONN 133 /* Transport endpoint is already connected */
155 #undef TARGET_ENOTCONN
156 #define TARGET_ENOTCONN 134 /* Transport endpoint is not connected */
157 #undef TARGET_EUCLEAN
158 #define TARGET_EUCLEAN 135 /* Structure needs cleaning */
159 #undef TARGET_ENOTNAM
160 #define TARGET_ENOTNAM 137 /* Not a XENIX named type file */
161 #undef TARGET_ENAVAIL
162 #define TARGET_ENAVAIL 138 /* No XENIX semaphores available */
163 #undef TARGET_EISNAM
164 #define TARGET_EISNAM 139 /* Is a named type file */
165 #undef TARGET_EREMOTEIO
166 #define TARGET_EREMOTEIO 140 /* Remote I/O error */
167 #undef TARGET_EINIT
168 #define TARGET_EINIT 141 /* Reserved */
169 #undef TARGET_EREMDEV
170 #define TARGET_EREMDEV 142 /* TARGET_Error 142 */
171 #undef TARGET_ESHUTDOWN
172 #define TARGET_ESHUTDOWN 143 /* Cannot send after transport endpoint shutdown */
173 #undef TARGET_ETOOMANYREFS
174 #define TARGET_ETOOMANYREFS 144 /* Too many references: cannot splice */
175 #undef TARGET_ETIMEDOUT
176 #define TARGET_ETIMEDOUT 145 /* Connection timed out */
177 #undef TARGET_ECONNREFUSED
178 #define TARGET_ECONNREFUSED 146 /* Connection refused */
179 #undef TARGET_EHOSTDOWN
180 #define TARGET_EHOSTDOWN 147 /* Host is down */
181 #undef TARGET_EHOSTUNREACH
182 #define TARGET_EHOSTUNREACH 148 /* No route to host */
183 #undef TARGET_EALREADY
184 #define TARGET_EALREADY 149 /* Operation already in progress */
185 #undef TARGET_EINPROGRESS
186 #define TARGET_EINPROGRESS 150 /* Operation now in progress */
187 #undef TARGET_ESTALE
188 #define TARGET_ESTALE 151 /* Stale NFS file handle */
189 #undef TARGET_ECANCELED
190 #define TARGET_ECANCELED 158 /* AIO operation canceled */
192 * These error are Linux extensions.
194 #undef TARGET_ENOMEDIUM
195 #define TARGET_ENOMEDIUM 159 /* No medium found */
196 #undef TARGET_EMEDIUMTYPE
197 #define TARGET_EMEDIUMTYPE 160 /* Wrong medium type */
198 #undef TARGET_ENOKEY
199 #define TARGET_ENOKEY 161 /* Required key not available */
200 #undef TARGET_EKEYEXPIRED
201 #define TARGET_EKEYEXPIRED 162 /* Key has expired */
202 #undef TARGET_EKEYREVOKED
203 #define TARGET_EKEYREVOKED 163 /* Key has been revoked */
204 #undef TARGET_EKEYREJECTED
205 #define TARGET_EKEYREJECTED 164 /* Key was rejected by service */
207 /* for robust mutexes */
208 #undef TARGET_EOWNERDEAD
209 #define TARGET_EOWNERDEAD 165 /* Owner died */
210 #undef TARGET_ENOTRECOVERABLE
211 #define TARGET_ENOTRECOVERABLE 166 /* State not recoverable */
213 #undef TARGET_ERFKILL
214 #define TARGET_ERFKILL 167
215 #undef TARGET_EHWPOISON
216 #define TARGET_EHWPOISON 168
218 #undef TARGET_EDQUOT
219 #define TARGET_EDQUOT 1133 /* Quota exceeded */
221 #endif