1 #ifndef HPPA_TARGET_SYSCALL_H
2 #define HPPA_TARGET_SYSCALL_H
4 struct target_pt_regs
{
12 target_ulong orig_r28
;
22 #define UNAME_MACHINE "parisc"
23 #define UNAME_MINIMUM_RELEASE "2.6.32"
24 #define TARGET_CLONE_BACKWARDS
25 #define TARGET_MINSIGSTKSZ 2048
26 #define TARGET_MCL_CURRENT 1
27 #define TARGET_MCL_FUTURE 2
28 #define TARGET_MCL_ONFAULT 4
30 #undef TARGET_EWOULDBLOCK
31 #define TARGET_EWOULDBLOCK TARGET_EAGAIN /* Operation would block */
33 #define TARGET_ENOMSG 35
35 #define TARGET_EIDRM 36
37 #define TARGET_ECHRNG 37
38 #undef TARGET_EL2NSYNC
39 #define TARGET_EL2NSYNC 38
41 #define TARGET_EL3HLT 39
43 #define TARGET_EL3RST 40
45 #define TARGET_ELNRNG 41
47 #define TARGET_EUNATCH 42
49 #define TARGET_ENOCSI 43
51 #define TARGET_EL2HLT 44
53 #define TARGET_EDEADLK 45
55 #define TARGET_ENOLCK 46
57 #define TARGET_EILSEQ 47
60 #define TARGET_ENONET 50
62 #define TARGET_ENODATA 51
64 #define TARGET_ETIME 52
66 #define TARGET_ENOSR 53
68 #define TARGET_ENOSTR 54
70 #define TARGET_ENOPKG 55
73 #define TARGET_ENOLINK 57
75 #define TARGET_EADV 58
77 #define TARGET_ESRMNT 59
79 #define TARGET_ECOMM 60
81 #define TARGET_EPROTO 61
83 #undef TARGET_EMULTIHOP
84 #define TARGET_EMULTIHOP 64
87 #define TARGET_EDOTDOT 66
89 #define TARGET_EBADMSG 67
91 #define TARGET_EUSERS 68
93 #define TARGET_EDQUOT 69
95 #define TARGET_ESTALE 70
97 #define TARGET_EREMOTE 71
98 #undef TARGET_EOVERFLOW
99 #define TARGET_EOVERFLOW 72
102 #define TARGET_EBADE 160
104 #define TARGET_EBADR 161
106 #define TARGET_EXFULL 162
108 #define TARGET_ENOANO 163
109 #undef TARGET_EBADRQC
110 #define TARGET_EBADRQC 164
111 #undef TARGET_EBADSLT
112 #define TARGET_EBADSLT 165
114 #define TARGET_EBFONT 166
115 #undef TARGET_ENOTUNIQ
116 #define TARGET_ENOTUNIQ 167
118 #define TARGET_EBADFD 168
119 #undef TARGET_EREMCHG
120 #define TARGET_EREMCHG 169
121 #undef TARGET_ELIBACC
122 #define TARGET_ELIBACC 170
123 #undef TARGET_ELIBBAD
124 #define TARGET_ELIBBAD 171
125 #undef TARGET_ELIBSCN
126 #define TARGET_ELIBSCN 172
127 #undef TARGET_ELIBMAX
128 #define TARGET_ELIBMAX 173
129 #undef TARGET_ELIBEXEC
130 #define TARGET_ELIBEXEC 174
131 #undef TARGET_ERESTART
132 #define TARGET_ERESTART 175
133 #undef TARGET_ESTRPIPE
134 #define TARGET_ESTRPIPE 176
135 #undef TARGET_EUCLEAN
136 #define TARGET_EUCLEAN 177
137 #undef TARGET_ENOTNAM
138 #define TARGET_ENOTNAM 178
139 #undef TARGET_ENAVAIL
140 #define TARGET_ENAVAIL 179
142 #define TARGET_EISNAM 180
143 #undef TARGET_EREMOTEIO
144 #define TARGET_EREMOTEIO 181
145 #undef TARGET_ENOMEDIUM
146 #define TARGET_ENOMEDIUM 182
147 #undef TARGET_EMEDIUMTYPE
148 #define TARGET_EMEDIUMTYPE 183
150 #define TARGET_ENOKEY 184
151 #undef TARGET_EKEYEXPIRED
152 #define TARGET_EKEYEXPIRED 185
153 #undef TARGET_EKEYREVOKED
154 #define TARGET_EKEYREVOKED 186
155 #undef TARGET_EKEYREJECTED
156 #define TARGET_EKEYREJECTED 187
158 /* Never used in linux. */
159 /* #define TARGET_ENOSYM 215 */
160 #undef TARGET_ENOTSOCK
161 #define TARGET_ENOTSOCK 216
162 #undef TARGET_EDESTADDRREQ
163 #define TARGET_EDESTADDRREQ 217
164 #undef TARGET_EMSGSIZE
165 #define TARGET_EMSGSIZE 218
166 #undef TARGET_EPROTOTYPE
167 #define TARGET_EPROTOTYPE 219
168 #undef TARGET_ENOPROTOOPT
169 #define TARGET_ENOPROTOOPT 220
170 #undef TARGET_EPROTONOSUPPORT
171 #define TARGET_EPROTONOSUPPORT 221
172 #undef TARGET_ESOCKTNOSUPPORT
173 #define TARGET_ESOCKTNOSUPPORT 222
174 #undef TARGET_EOPNOTSUPP
175 #define TARGET_EOPNOTSUPP 223
176 #undef TARGET_EPFNOSUPPORT
177 #define TARGET_EPFNOSUPPORT 224
178 #undef TARGET_EAFNOSUPPORT
179 #define TARGET_EAFNOSUPPORT 225
180 #undef TARGET_EADDRINUSE
181 #define TARGET_EADDRINUSE 226
182 #undef TARGET_EADDRNOTAVAIL
183 #define TARGET_EADDRNOTAVAIL 227
184 #undef TARGET_ENETDOWN
185 #define TARGET_ENETDOWN 228
186 #undef TARGET_ENETUNREACH
187 #define TARGET_ENETUNREACH 229
188 #undef TARGET_ENETRESET
189 #define TARGET_ENETRESET 230
190 #undef TARGET_ECONNABORTED
191 #define TARGET_ECONNABORTED 231
192 #undef TARGET_ECONNRESET
193 #define TARGET_ECONNRESET 232
194 #undef TARGET_ENOBUFS
195 #define TARGET_ENOBUFS 233
196 #undef TARGET_EISCONN
197 #define TARGET_EISCONN 234
198 #undef TARGET_ENOTCONN
199 #define TARGET_ENOTCONN 235
200 #undef TARGET_ESHUTDOWN
201 #define TARGET_ESHUTDOWN 236
202 #undef TARGET_ETOOMANYREFS
203 #define TARGET_ETOOMANYREFS 237
204 #undef TARGET_ETIMEDOUT
205 #define TARGET_ETIMEDOUT 238
206 #undef TARGET_ECONNREFUSED
207 #define TARGET_ECONNREFUSED 239
208 #define TARGET_EREMOTERELEASE 240
209 #undef TARGET_EHOSTDOWN
210 #define TARGET_EHOSTDOWN 241
211 #undef TARGET_EHOSTUNREACH
212 #define TARGET_EHOSTUNREACH 242
214 #undef TARGET_EALREADY
215 #define TARGET_EALREADY 244
216 #undef TARGET_EINPROGRESS
217 #define TARGET_EINPROGRESS 245
218 #undef TARGET_ENOTEMPTY
219 #define TARGET_ENOTEMPTY 247
220 #undef TARGET_ENAMETOOLONG
221 #define TARGET_ENAMETOOLONG 248
223 #define TARGET_ELOOP 249
225 #define TARGET_ENOSYS 251
227 #undef TARGET_ECANCELED
228 #define TARGET_ECANCELED 253
230 #undef TARGET_EOWNERDEAD
231 #define TARGET_EOWNERDEAD 254
232 #undef TARGET_ENOTRECOVERABLE
233 #define TARGET_ENOTRECOVERABLE 255
235 #undef TARGET_ERFKILL
236 #define TARGET_ERFKILL 256
237 #undef TARGET_EHWPOISON
238 #define TARGET_EHWPOISON 257
240 #endif /* HPPA_TARGET_SYSCALL_H */