~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to linux-user/hppa/target_syscall.h

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef HPPA_TARGET_SYSCALL_H
 
2
#define HPPA_TARGET_SYSCALL_H
 
3
 
 
4
struct target_pt_regs {
 
5
    target_ulong gr[32];
 
6
    uint64_t     fr[32];
 
7
    target_ulong sr[8];
 
8
    target_ulong iasq[2];
 
9
    target_ulong iaoq[2];
 
10
    target_ulong cr27;
 
11
    target_ulong __pad0;
 
12
    target_ulong orig_r28;
 
13
    target_ulong ksp;
 
14
    target_ulong kpc;
 
15
    target_ulong sar;
 
16
    target_ulong iir;
 
17
    target_ulong isr;
 
18
    target_ulong ior;
 
19
    target_ulong ipsw;
 
20
};
 
21
 
 
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
 
28
 
 
29
#undef  TARGET_ENOMSG
 
30
#define TARGET_ENOMSG          35
 
31
#undef  TARGET_EIDRM
 
32
#define TARGET_EIDRM           36
 
33
#undef  TARGET_ECHRNG
 
34
#define TARGET_ECHRNG          37
 
35
#undef  TARGET_EL2NSYNC
 
36
#define TARGET_EL2NSYNC        38
 
37
#undef  TARGET_EL3HLT
 
38
#define TARGET_EL3HLT          39
 
39
#undef  TARGET_EL3RST
 
40
#define TARGET_EL3RST          40
 
41
#undef  TARGET_ELNRNG
 
42
#define TARGET_ELNRNG          41
 
43
#undef  TARGET_EUNATCH
 
44
#define TARGET_EUNATCH         42
 
45
#undef  TARGET_ENOCSI
 
46
#define TARGET_ENOCSI          43
 
47
#undef  TARGET_EL2HLT
 
48
#define TARGET_EL2HLT          44
 
49
#undef  TARGET_EDEADLK
 
50
#define TARGET_EDEADLK         45
 
51
#undef  TARGET_ENOLCK
 
52
#define TARGET_ENOLCK          46
 
53
#undef  TARGET_EILSEQ
 
54
#define TARGET_EILSEQ          47
 
55
 
 
56
#undef  TARGET_ENONET
 
57
#define TARGET_ENONET          50
 
58
#undef  TARGET_ENODATA
 
59
#define TARGET_ENODATA         51
 
60
#undef  TARGET_ETIME
 
61
#define TARGET_ETIME           52
 
62
#undef  TARGET_ENOSR
 
63
#define TARGET_ENOSR           53
 
64
#undef  TARGET_ENOSTR
 
65
#define TARGET_ENOSTR          54
 
66
#undef  TARGET_ENOPKG
 
67
#define TARGET_ENOPKG          55
 
68
 
 
69
#undef  TARGET_ENOLINK
 
70
#define TARGET_ENOLINK         57
 
71
#undef  TARGET_EADV
 
72
#define TARGET_EADV            58
 
73
#undef  TARGET_ESRMNT
 
74
#define TARGET_ESRMNT          59
 
75
#undef  TARGET_ECOMM
 
76
#define TARGET_ECOMM           60
 
77
#undef  TARGET_EPROTO
 
78
#define TARGET_EPROTO          61
 
79
 
 
80
#undef  TARGET_EMULTIHOP
 
81
#define TARGET_EMULTIHOP       64
 
82
 
 
83
#undef  TARGET_EDOTDOT
 
84
#define TARGET_EDOTDOT         66
 
85
#undef  TARGET_EBADMSG
 
86
#define TARGET_EBADMSG         67
 
87
#undef  TARGET_EUSERS
 
88
#define TARGET_EUSERS          68
 
89
#undef  TARGET_EDQUOT
 
90
#define TARGET_EDQUOT          69
 
91
#undef  TARGET_ESTALE
 
92
#define TARGET_ESTALE          70
 
93
#undef  TARGET_EREMOTE
 
94
#define TARGET_EREMOTE         71
 
95
#undef  TARGET_EOVERFLOW
 
96
#define TARGET_EOVERFLOW       72
 
97
 
 
98
#undef  TARGET_EBADE
 
99
#define TARGET_EBADE           160
 
100
#undef  TARGET_EBADR
 
101
#define TARGET_EBADR           161
 
102
#undef  TARGET_EXFULL
 
103
#define TARGET_EXFULL          162
 
104
#undef  TARGET_ENOANO
 
105
#define TARGET_ENOANO          163
 
106
#undef  TARGET_EBADRQC
 
107
#define TARGET_EBADRQC         164
 
108
#undef  TARGET_EBADSLT
 
109
#define TARGET_EBADSLT         165
 
110
#undef  TARGET_EBFONT
 
111
#define TARGET_EBFONT          166
 
112
#undef  TARGET_ENOTUNIQ
 
113
#define TARGET_ENOTUNIQ        167
 
114
#undef  TARGET_EBADFD
 
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
 
138
#undef  TARGET_EISNAM
 
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
 
146
#undef  TARGET_ENOKEY
 
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
 
154
 
 
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
 
210
 
 
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
 
219
#undef  TARGET_ELOOP
 
220
#define TARGET_ELOOP           249
 
221
#undef  TARGET_ENOSYS
 
222
#define TARGET_ENOSYS          251
 
223
 
 
224
#undef  TARGET_ECANCELED
 
225
#define TARGET_ECANCELED       253
 
226
 
 
227
#undef  TARGET_EOWNERDEAD
 
228
#define TARGET_EOWNERDEAD      254
 
229
#undef  TARGET_ENOTRECOVERABLE
 
230
#define TARGET_ENOTRECOVERABLE 255
 
231
 
 
232
#undef  TARGET_ERFKILL
 
233
#define TARGET_ERFKILL         256
 
234
#undef  TARGET_EHWPOISON
 
235
#define TARGET_EHWPOISON       257
 
236
 
 
237
#endif /* HPPA_TARGET_SYSCALL_H */