summaryrefslogtreecommitdiffstats
path: root/linux-user/hppa/target_syscall.h
blob: f34e05edb57b176e2a9b7ebae3616c0674fbaf72 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
#ifndef HPPA_TARGET_SYSCALL_H
#define HPPA_TARGET_SYSCALL_H

struct target_pt_regs {
    target_ulong gr[32];
    uint64_t     fr[32];
    target_ulong sr[8];
    target_ulong iasq[2];
    target_ulong iaoq[2];
    target_ulong cr27;
    target_ulong __pad0;
    target_ulong orig_r28;
    target_ulong ksp;
    target_ulong kpc;
    target_ulong sar;
    target_ulong iir;
    target_ulong isr;
    target_ulong ior;
    target_ulong ipsw;
};

#define UNAME_MACHINE "parisc"
#define UNAME_MINIMUM_RELEASE "2.6.32"
#define TARGET_CLONE_BACKWARDS
#define TARGET_MINSIGSTKSZ       2048
#define TARGET_MCL_CURRENT 1
#define TARGET_MCL_FUTURE  2
#define TARGET_MCL_ONFAULT 4

#undef  TARGET_ENOMSG
#define TARGET_ENOMSG          35
#undef  TARGET_EIDRM
#define TARGET_EIDRM           36
#undef  TARGET_ECHRNG
#define TARGET_ECHRNG          37
#undef  TARGET_EL2NSYNC
#define TARGET_EL2NSYNC        38
#undef  TARGET_EL3HLT
#define TARGET_EL3HLT          39
#undef  TARGET_EL3RST
#define TARGET_EL3RST          40
#undef  TARGET_ELNRNG
#define TARGET_ELNRNG          41
#undef  TARGET_EUNATCH
#define TARGET_EUNATCH         42
#undef  TARGET_ENOCSI
#define TARGET_ENOCSI          43
#undef  TARGET_EL2HLT
#define TARGET_EL2HLT          44
#undef  TARGET_EDEADLK
#define TARGET_EDEADLK         45
#undef  TARGET_ENOLCK
#define TARGET_ENOLCK          46
#undef  TARGET_EILSEQ
#define TARGET_EILSEQ          47

#undef  TARGET_ENONET
#define TARGET_ENONET          50
#undef  TARGET_ENODATA
#define TARGET_ENODATA         51
#undef  TARGET_ETIME
#define TARGET_ETIME           52
#undef  TARGET_ENOSR
#define TARGET_ENOSR           53
#undef  TARGET_ENOSTR
#define TARGET_ENOSTR          54
#undef  TARGET_ENOPKG
#define TARGET_ENOPKG          55

#undef  TARGET_ENOLINK
#define TARGET_ENOLINK         57
#undef  TARGET_EADV
#define TARGET_EADV            58
#undef  TARGET_ESRMNT
#define TARGET_ESRMNT          59
#undef  TARGET_ECOMM
#define TARGET_ECOMM           60
#undef  TARGET_EPROTO
#define TARGET_EPROTO          61

#undef  TARGET_EMULTIHOP
#define TARGET_EMULTIHOP       64

#undef  TARGET_EDOTDOT
#define TARGET_EDOTDOT         66
#undef  TARGET_EBADMSG
#define TARGET_EBADMSG         67
#undef  TARGET_EUSERS
#define TARGET_EUSERS          68
#undef  TARGET_EDQUOT
#define TARGET_EDQUOT          69
#undef  TARGET_ESTALE
#define TARGET_ESTALE          70
#undef  TARGET_EREMOTE
#define TARGET_EREMOTE         71
#undef  TARGET_EOVERFLOW
#define TARGET_EOVERFLOW       72

#undef  TARGET_EBADE
#define TARGET_EBADE           160
#undef  TARGET_EBADR
#define TARGET_EBADR           161
#undef  TARGET_EXFULL
#define TARGET_EXFULL          162
#undef  TARGET_ENOANO
#define TARGET_ENOANO          163
#undef  TARGET_EBADRQC
#define TARGET_EBADRQC         164
#undef  TARGET_EBADSLT
#define TARGET_EBADSLT         165
#undef  TARGET_EBFONT
#define TARGET_EBFONT          166
#undef  TARGET_ENOTUNIQ
#define TARGET_ENOTUNIQ        167
#undef  TARGET_EBADFD
#define TARGET_EBADFD          168
#undef  TARGET_EREMCHG
#define TARGET_EREMCHG         169
#undef  TARGET_ELIBACC
#define TARGET_ELIBACC         170
#undef  TARGET_ELIBBAD
#define TARGET_ELIBBAD         171
#undef  TARGET_ELIBSCN
#define TARGET_ELIBSCN         172
#undef  TARGET_ELIBMAX
#define TARGET_ELIBMAX         173
#undef  TARGET_ELIBEXEC
#define TARGET_ELIBEXEC        174
#undef  TARGET_ERESTART
#define TARGET_ERESTART        175
#undef  TARGET_ESTRPIPE
#define TARGET_ESTRPIPE        176
#undef  TARGET_EUCLEAN
#define TARGET_EUCLEAN         177
#undef  TARGET_ENOTNAM
#define TARGET_ENOTNAM         178
#undef  TARGET_ENAVAIL
#define TARGET_ENAVAIL         179
#undef  TARGET_EISNAM
#define TARGET_EISNAM          180
#undef  TARGET_EREMOTEIO
#define TARGET_EREMOTEIO       181
#undef  TARGET_ENOMEDIUM
#define TARGET_ENOMEDIUM       182
#undef  TARGET_EMEDIUMTYPE
#define TARGET_EMEDIUMTYPE     183
#undef  TARGET_ENOKEY
#define TARGET_ENOKEY          184
#undef  TARGET_EKEYEXPIRED
#define TARGET_EKEYEXPIRED     185
#undef  TARGET_EKEYREVOKED
#define TARGET_EKEYREVOKED     186
#undef  TARGET_EKEYREJECTED
#define TARGET_EKEYREJECTED    187

/* Never used in linux.  */
/* #define TARGET_ENOSYM          215 */
#undef  TARGET_ENOTSOCK
#define TARGET_ENOTSOCK        216
#undef  TARGET_EDESTADDRREQ
#define TARGET_EDESTADDRREQ    217
#undef  TARGET_EMSGSIZE
#define TARGET_EMSGSIZE        218
#undef  TARGET_EPROTOTYPE
#define TARGET_EPROTOTYPE      219
#undef  TARGET_ENOPROTOOPT
#define TARGET_ENOPROTOOPT     220
#undef  TARGET_EPROTONOSUPPORT
#define TARGET_EPROTONOSUPPORT 221
#undef  TARGET_ESOCKTNOSUPPORT
#define TARGET_ESOCKTNOSUPPORT 222
#undef  TARGET_EOPNOTSUPP
#define TARGET_EOPNOTSUPP      223
#undef  TARGET_EPFNOSUPPORT
#define TARGET_EPFNOSUPPORT    224
#undef  TARGET_EAFNOSUPPORT
#define TARGET_EAFNOSUPPORT    225
#undef  TARGET_EADDRINUSE
#define TARGET_EADDRINUSE      226
#undef  TARGET_EADDRNOTAVAIL
#define TARGET_EADDRNOTAVAIL   227
#undef  TARGET_ENETDOWN
#define TARGET_ENETDOWN        228
#undef  TARGET_ENETUNREACH
#define TARGET_ENETUNREACH     229
#undef  TARGET_ENETRESET
#define TARGET_ENETRESET       230
#undef  TARGET_ECONNABORTED
#define TARGET_ECONNABORTED    231
#undef  TARGET_ECONNRESET
#define TARGET_ECONNRESET      232
#undef  TARGET_ENOBUFS
#define TARGET_ENOBUFS         233
#undef  TARGET_EISCONN
#define TARGET_EISCONN         234
#undef  TARGET_ENOTCONN
#define TARGET_ENOTCONN        235
#undef  TARGET_ESHUTDOWN
#define TARGET_ESHUTDOWN       236
#undef  TARGET_ETOOMANYREFS
#define TARGET_ETOOMANYREFS    237
#undef  TARGET_ETIMEDOUT
#define TARGET_ETIMEDOUT       238
#undef  TARGET_ECONNREFUSED
#define TARGET_ECONNREFUSED    239
#define TARGET_EREMOTERELEASE  240
#undef  TARGET_EHOSTDOWN
#define TARGET_EHOSTDOWN       241
#undef  TARGET_EHOSTUNREACH
#define TARGET_EHOSTUNREACH    242

#undef  TARGET_EALREADY
#define TARGET_EALREADY        244
#undef  TARGET_EINPROGRESS
#define TARGET_EINPROGRESS     245
#undef  TARGET_ENOTEMPTY
#define TARGET_ENOTEMPTY       247
#undef  TARGET_ENAMETOOLONG
#define TARGET_ENAMETOOLONG    248
#undef  TARGET_ELOOP
#define TARGET_ELOOP           249
#undef  TARGET_ENOSYS
#define TARGET_ENOSYS          251

#undef  TARGET_ECANCELED
#define TARGET_ECANCELED       253

#undef  TARGET_EOWNERDEAD
#define TARGET_EOWNERDEAD      254
#undef  TARGET_ENOTRECOVERABLE
#define TARGET_ENOTRECOVERABLE 255

#undef  TARGET_ERFKILL
#define TARGET_ERFKILL         256
#undef  TARGET_EHWPOISON
#define TARGET_EHWPOISON       257

#endif /* HPPA_TARGET_SYSCALL_H */