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