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_MLOCKALL_MCL_CURRENT 1
27
#define TARGET_MLOCKALL_MCL_FUTURE 2
30
#define TARGET_ENOMSG 35
32
#define TARGET_EIDRM 36
34
#define TARGET_ECHRNG 37
35
#undef TARGET_EL2NSYNC
36
#define TARGET_EL2NSYNC 38
38
#define TARGET_EL3HLT 39
40
#define TARGET_EL3RST 40
42
#define TARGET_ELNRNG 41
44
#define TARGET_EUNATCH 42
46
#define TARGET_ENOCSI 43
48
#define TARGET_EL2HLT 44
50
#define TARGET_EDEADLK 45
52
#define TARGET_ENOLCK 46
54
#define TARGET_EILSEQ 47
57
#define TARGET_ENONET 50
59
#define TARGET_ENODATA 51
61
#define TARGET_ETIME 52
63
#define TARGET_ENOSR 53
65
#define TARGET_ENOSTR 54
67
#define TARGET_ENOPKG 55
70
#define TARGET_ENOLINK 57
72
#define TARGET_EADV 58
74
#define TARGET_ESRMNT 59
76
#define TARGET_ECOMM 60
78
#define TARGET_EPROTO 61
80
#undef TARGET_EMULTIHOP
81
#define TARGET_EMULTIHOP 64
84
#define TARGET_EDOTDOT 66
86
#define TARGET_EBADMSG 67
88
#define TARGET_EUSERS 68
90
#define TARGET_EDQUOT 69
92
#define TARGET_ESTALE 70
94
#define TARGET_EREMOTE 71
95
#undef TARGET_EOVERFLOW
96
#define TARGET_EOVERFLOW 72
99
#define TARGET_EBADE 160
101
#define TARGET_EBADR 161
103
#define TARGET_EXFULL 162
105
#define TARGET_ENOANO 163
106
#undef TARGET_EBADRQC
107
#define TARGET_EBADRQC 164
108
#undef TARGET_EBADSLT
109
#define TARGET_EBADSLT 165
111
#define TARGET_EBFONT 166
112
#undef TARGET_ENOTUNIQ
113
#define TARGET_ENOTUNIQ 167
115
#define TARGET_EBADFD 168
116
#undef TARGET_EREMCHG
117
#define TARGET_EREMCHG 169
118
#undef TARGET_ELIBACC
119
#define TARGET_ELIBACC 170
120
#undef TARGET_ELIBBAD
121
#define TARGET_ELIBBAD 171
122
#undef TARGET_ELIBSCN
123
#define TARGET_ELIBSCN 172
124
#undef TARGET_ELIBMAX
125
#define TARGET_ELIBMAX 173
126
#undef TARGET_ELIBEXEC
127
#define TARGET_ELIBEXEC 174
128
#undef TARGET_ERESTART
129
#define TARGET_ERESTART 175
130
#undef TARGET_ESTRPIPE
131
#define TARGET_ESTRPIPE 176
132
#undef TARGET_EUCLEAN
133
#define TARGET_EUCLEAN 177
134
#undef TARGET_ENOTNAM
135
#define TARGET_ENOTNAM 178
136
#undef TARGET_ENAVAIL
137
#define TARGET_ENAVAIL 179
139
#define TARGET_EISNAM 180
140
#undef TARGET_EREMOTEIO
141
#define TARGET_EREMOTEIO 181
142
#undef TARGET_ENOMEDIUM
143
#define TARGET_ENOMEDIUM 182
144
#undef TARGET_EMEDIUMTYPE
145
#define TARGET_EMEDIUMTYPE 183
147
#define TARGET_ENOKEY 184
148
#undef TARGET_EKEYEXPIRED
149
#define TARGET_EKEYEXPIRED 185
150
#undef TARGET_EKEYREVOKED
151
#define TARGET_EKEYREVOKED 186
152
#undef TARGET_EKEYREJECTED
153
#define TARGET_EKEYREJECTED 187
155
/* Never used in linux. */
156
/* #define TARGET_ENOSYM 215 */
157
#undef TARGET_ENOTSOCK
158
#define TARGET_ENOTSOCK 216
159
#undef TARGET_EDESTADDRREQ
160
#define TARGET_EDESTADDRREQ 217
161
#undef TARGET_EMSGSIZE
162
#define TARGET_EMSGSIZE 218
163
#undef TARGET_EPROTOTYPE
164
#define TARGET_EPROTOTYPE 219
165
#undef TARGET_ENOPROTOOPT
166
#define TARGET_ENOPROTOOPT 220
167
#undef TARGET_EPROTONOSUPPORT
168
#define TARGET_EPROTONOSUPPORT 221
169
#undef TARGET_ESOCKTNOSUPPORT
170
#define TARGET_ESOCKTNOSUPPORT 222
171
#undef TARGET_EOPNOTSUPP
172
#define TARGET_EOPNOTSUPP 223
173
#undef TARGET_EPFNOSUPPORT
174
#define TARGET_EPFNOSUPPORT 224
175
#undef TARGET_EAFNOSUPPORT
176
#define TARGET_EAFNOSUPPORT 225
177
#undef TARGET_EADDRINUSE
178
#define TARGET_EADDRINUSE 226
179
#undef TARGET_EADDRNOTAVAIL
180
#define TARGET_EADDRNOTAVAIL 227
181
#undef TARGET_ENETDOWN
182
#define TARGET_ENETDOWN 228
183
#undef TARGET_ENETUNREACH
184
#define TARGET_ENETUNREACH 229
185
#undef TARGET_ENETRESET
186
#define TARGET_ENETRESET 230
187
#undef TARGET_ECONNABORTED
188
#define TARGET_ECONNABORTED 231
189
#undef TARGET_ECONNRESET
190
#define TARGET_ECONNRESET 232
191
#undef TARGET_ENOBUFS
192
#define TARGET_ENOBUFS 233
193
#undef TARGET_EISCONN
194
#define TARGET_EISCONN 234
195
#undef TARGET_ENOTCONN
196
#define TARGET_ENOTCONN 235
197
#undef TARGET_ESHUTDOWN
198
#define TARGET_ESHUTDOWN 236
199
#undef TARGET_ETOOMANYREFS
200
#define TARGET_ETOOMANYREFS 237
201
#undef TARGET_ETIMEDOUT
202
#define TARGET_ETIMEDOUT 238
203
#undef TARGET_ECONNREFUSED
204
#define TARGET_ECONNREFUSED 239
205
#define TARGET_EREMOTERELEASE 240
206
#undef TARGET_EHOSTDOWN
207
#define TARGET_EHOSTDOWN 241
208
#undef TARGET_EHOSTUNREACH
209
#define TARGET_EHOSTUNREACH 242
211
#undef TARGET_EALREADY
212
#define TARGET_EALREADY 244
213
#undef TARGET_EINPROGRESS
214
#define TARGET_EINPROGRESS 245
215
#undef TARGET_ENOTEMPTY
216
#define TARGET_ENOTEMPTY 247
217
#undef TARGET_ENAMETOOLONG
218
#define TARGET_ENAMETOOLONG 248
220
#define TARGET_ELOOP 249
222
#define TARGET_ENOSYS 251
224
#undef TARGET_ECANCELED
225
#define TARGET_ECANCELED 253
227
#undef TARGET_EOWNERDEAD
228
#define TARGET_EOWNERDEAD 254
229
#undef TARGET_ENOTRECOVERABLE
230
#define TARGET_ENOTRECOVERABLE 255
232
#undef TARGET_ERFKILL
233
#define TARGET_ERFKILL 256
234
#undef TARGET_EHWPOISON
235
#define TARGET_EHWPOISON 257
237
#endif /* HPPA_TARGET_SYSCALL_H */