xref: /freebsd/sys/compat/freebsd32/freebsd32_proto.h (revision 40f65a4df509c6b29b9e72407c7afefe28838844)
1 /*
2  * System call prototypes.
3  *
4  * DO NOT EDIT-- this file is automatically generated.
5  * $FreeBSD$
6  * created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 253530 2013-07-21 19:43:52Z kib
7  */
8 
9 #ifndef _FREEBSD32_SYSPROTO_H_
10 #define	_FREEBSD32_SYSPROTO_H_
11 
12 #include <sys/signal.h>
13 #include <sys/acl.h>
14 #include <sys/cpuset.h>
15 #include <sys/_ffcounter.h>
16 #include <sys/_semaphore.h>
17 #include <sys/ucontext.h>
18 
19 #include <bsm/audit_kevents.h>
20 
21 struct proc;
22 
23 struct thread;
24 
25 #define	PAD_(t)	(sizeof(register_t) <= sizeof(t) ? \
26 		0 : sizeof(register_t) - sizeof(t))
27 
28 #if BYTE_ORDER == LITTLE_ENDIAN
29 #define	PADL_(t)	0
30 #define	PADR_(t)	PAD_(t)
31 #else
32 #define	PADL_(t)	PAD_(t)
33 #define	PADR_(t)	0
34 #endif
35 
36 #if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
37 #define PAD64_REQUIRED
38 #endif
39 struct freebsd32_wait4_args {
40 	char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)];
41 	char status_l_[PADL_(int *)]; int * status; char status_r_[PADR_(int *)];
42 	char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)];
43 	char rusage_l_[PADL_(struct rusage32 *)]; struct rusage32 * rusage; char rusage_r_[PADR_(struct rusage32 *)];
44 };
45 struct freebsd32_recvmsg_args {
46 	char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
47 	char msg_l_[PADL_(struct msghdr32 *)]; struct msghdr32 * msg; char msg_r_[PADR_(struct msghdr32 *)];
48 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
49 };
50 struct freebsd32_sendmsg_args {
51 	char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
52 	char msg_l_[PADL_(struct msghdr32 *)]; struct msghdr32 * msg; char msg_r_[PADR_(struct msghdr32 *)];
53 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
54 };
55 struct freebsd32_recvfrom_args {
56 	char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
57 	char buf_l_[PADL_(uint32_t)]; uint32_t buf; char buf_r_[PADR_(uint32_t)];
58 	char len_l_[PADL_(uint32_t)]; uint32_t len; char len_r_[PADR_(uint32_t)];
59 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
60 	char from_l_[PADL_(uint32_t)]; uint32_t from; char from_r_[PADR_(uint32_t)];
61 	char fromlenaddr_l_[PADL_(uint32_t)]; uint32_t fromlenaddr; char fromlenaddr_r_[PADR_(uint32_t)];
62 };
63 struct ofreebsd32_sigpending_args {
64 	register_t dummy;
65 };
66 struct freebsd32_sigaltstack_args {
67 	char ss_l_[PADL_(struct sigaltstack32 *)]; struct sigaltstack32 * ss; char ss_r_[PADR_(struct sigaltstack32 *)];
68 	char oss_l_[PADL_(struct sigaltstack32 *)]; struct sigaltstack32 * oss; char oss_r_[PADR_(struct sigaltstack32 *)];
69 };
70 struct freebsd32_ioctl_args {
71 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
72 	char com_l_[PADL_(uint32_t)]; uint32_t com; char com_r_[PADR_(uint32_t)];
73 	char data_l_[PADL_(struct md_ioctl32 *)]; struct md_ioctl32 * data; char data_r_[PADR_(struct md_ioctl32 *)];
74 };
75 struct freebsd32_execve_args {
76 	char fname_l_[PADL_(char *)]; char * fname; char fname_r_[PADR_(char *)];
77 	char argv_l_[PADL_(uint32_t *)]; uint32_t * argv; char argv_r_[PADR_(uint32_t *)];
78 	char envv_l_[PADL_(uint32_t *)]; uint32_t * envv; char envv_r_[PADR_(uint32_t *)];
79 };
80 struct freebsd32_mprotect_args {
81 	char addr_l_[PADL_(const void *)]; const void * addr; char addr_r_[PADR_(const void *)];
82 	char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
83 	char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)];
84 };
85 struct freebsd32_setitimer_args {
86 	char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)];
87 	char itv_l_[PADL_(struct itimerval32 *)]; struct itimerval32 * itv; char itv_r_[PADR_(struct itimerval32 *)];
88 	char oitv_l_[PADL_(struct itimerval32 *)]; struct itimerval32 * oitv; char oitv_r_[PADR_(struct itimerval32 *)];
89 };
90 struct freebsd32_getitimer_args {
91 	char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)];
92 	char itv_l_[PADL_(struct itimerval32 *)]; struct itimerval32 * itv; char itv_r_[PADR_(struct itimerval32 *)];
93 };
94 struct freebsd32_select_args {
95 	char nd_l_[PADL_(int)]; int nd; char nd_r_[PADR_(int)];
96 	char in_l_[PADL_(fd_set *)]; fd_set * in; char in_r_[PADR_(fd_set *)];
97 	char ou_l_[PADL_(fd_set *)]; fd_set * ou; char ou_r_[PADR_(fd_set *)];
98 	char ex_l_[PADL_(fd_set *)]; fd_set * ex; char ex_r_[PADR_(fd_set *)];
99 	char tv_l_[PADL_(struct timeval32 *)]; struct timeval32 * tv; char tv_r_[PADR_(struct timeval32 *)];
100 };
101 struct freebsd32_gettimeofday_args {
102 	char tp_l_[PADL_(struct timeval32 *)]; struct timeval32 * tp; char tp_r_[PADR_(struct timeval32 *)];
103 	char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)];
104 };
105 struct freebsd32_getrusage_args {
106 	char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)];
107 	char rusage_l_[PADL_(struct rusage32 *)]; struct rusage32 * rusage; char rusage_r_[PADR_(struct rusage32 *)];
108 };
109 struct freebsd32_readv_args {
110 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
111 	char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
112 	char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
113 };
114 struct freebsd32_writev_args {
115 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
116 	char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
117 	char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
118 };
119 struct freebsd32_settimeofday_args {
120 	char tv_l_[PADL_(struct timeval32 *)]; struct timeval32 * tv; char tv_r_[PADR_(struct timeval32 *)];
121 	char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)];
122 };
123 struct freebsd32_utimes_args {
124 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
125 	char tptr_l_[PADL_(struct timeval32 *)]; struct timeval32 * tptr; char tptr_r_[PADR_(struct timeval32 *)];
126 };
127 struct freebsd32_adjtime_args {
128 	char delta_l_[PADL_(struct timeval32 *)]; struct timeval32 * delta; char delta_r_[PADR_(struct timeval32 *)];
129 	char olddelta_l_[PADL_(struct timeval32 *)]; struct timeval32 * olddelta; char olddelta_r_[PADR_(struct timeval32 *)];
130 };
131 struct freebsd32_sysarch_args {
132 	char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)];
133 	char parms_l_[PADL_(char *)]; char * parms; char parms_r_[PADR_(char *)];
134 };
135 struct freebsd32_semsys_args {
136 	char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
137 	char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)];
138 	char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)];
139 	char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)];
140 	char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)];
141 };
142 struct freebsd32_msgsys_args {
143 	char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
144 	char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)];
145 	char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)];
146 	char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)];
147 	char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)];
148 	char a6_l_[PADL_(int)]; int a6; char a6_r_[PADR_(int)];
149 };
150 struct freebsd32_shmsys_args {
151 	char which_l_[PADL_(uint32_t)]; uint32_t which; char which_r_[PADR_(uint32_t)];
152 	char a2_l_[PADL_(uint32_t)]; uint32_t a2; char a2_r_[PADR_(uint32_t)];
153 	char a3_l_[PADL_(uint32_t)]; uint32_t a3; char a3_r_[PADR_(uint32_t)];
154 	char a4_l_[PADL_(uint32_t)]; uint32_t a4; char a4_r_[PADR_(uint32_t)];
155 };
156 struct freebsd32_stat_args {
157 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
158 	char ub_l_[PADL_(struct stat32 *)]; struct stat32 * ub; char ub_r_[PADR_(struct stat32 *)];
159 };
160 struct freebsd32_fstat_args {
161 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
162 	char ub_l_[PADL_(struct stat32 *)]; struct stat32 * ub; char ub_r_[PADR_(struct stat32 *)];
163 };
164 struct freebsd32_lstat_args {
165 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
166 	char ub_l_[PADL_(struct stat32 *)]; struct stat32 * ub; char ub_r_[PADR_(struct stat32 *)];
167 };
168 struct freebsd32_getdirentries_args {
169 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
170 	char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
171 	char count_l_[PADL_(u_int)]; u_int count; char count_r_[PADR_(u_int)];
172 	char basep_l_[PADL_(int32_t *)]; int32_t * basep; char basep_r_[PADR_(int32_t *)];
173 };
174 struct freebsd32_sysctl_args {
175 	char name_l_[PADL_(int *)]; int * name; char name_r_[PADR_(int *)];
176 	char namelen_l_[PADL_(u_int)]; u_int namelen; char namelen_r_[PADR_(u_int)];
177 	char old_l_[PADL_(void *)]; void * old; char old_r_[PADR_(void *)];
178 	char oldlenp_l_[PADL_(uint32_t *)]; uint32_t * oldlenp; char oldlenp_r_[PADR_(uint32_t *)];
179 	char new_l_[PADL_(void *)]; void * new; char new_r_[PADR_(void *)];
180 	char newlen_l_[PADL_(uint32_t)]; uint32_t newlen; char newlen_r_[PADR_(uint32_t)];
181 };
182 struct freebsd32_futimes_args {
183 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
184 	char tptr_l_[PADL_(struct timeval32 *)]; struct timeval32 * tptr; char tptr_r_[PADR_(struct timeval32 *)];
185 };
186 struct freebsd32_msgsnd_args {
187 	char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)];
188 	char msgp_l_[PADL_(void *)]; void * msgp; char msgp_r_[PADR_(void *)];
189 	char msgsz_l_[PADL_(size_t)]; size_t msgsz; char msgsz_r_[PADR_(size_t)];
190 	char msgflg_l_[PADL_(int)]; int msgflg; char msgflg_r_[PADR_(int)];
191 };
192 struct freebsd32_msgrcv_args {
193 	char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)];
194 	char msgp_l_[PADL_(void *)]; void * msgp; char msgp_r_[PADR_(void *)];
195 	char msgsz_l_[PADL_(size_t)]; size_t msgsz; char msgsz_r_[PADR_(size_t)];
196 	char msgtyp_l_[PADL_(long)]; long msgtyp; char msgtyp_r_[PADR_(long)];
197 	char msgflg_l_[PADL_(int)]; int msgflg; char msgflg_r_[PADR_(int)];
198 };
199 struct freebsd32_clock_gettime_args {
200 	char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)];
201 	char tp_l_[PADL_(struct timespec32 *)]; struct timespec32 * tp; char tp_r_[PADR_(struct timespec32 *)];
202 };
203 struct freebsd32_clock_settime_args {
204 	char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)];
205 	char tp_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * tp; char tp_r_[PADR_(const struct timespec32 *)];
206 };
207 struct freebsd32_clock_getres_args {
208 	char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)];
209 	char tp_l_[PADL_(struct timespec32 *)]; struct timespec32 * tp; char tp_r_[PADR_(struct timespec32 *)];
210 };
211 struct freebsd32_ktimer_create_args {
212 	char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)];
213 	char evp_l_[PADL_(struct sigevent32 *)]; struct sigevent32 * evp; char evp_r_[PADR_(struct sigevent32 *)];
214 	char timerid_l_[PADL_(int *)]; int * timerid; char timerid_r_[PADR_(int *)];
215 };
216 struct freebsd32_ktimer_settime_args {
217 	char timerid_l_[PADL_(int)]; int timerid; char timerid_r_[PADR_(int)];
218 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
219 	char value_l_[PADL_(const struct itimerspec32 *)]; const struct itimerspec32 * value; char value_r_[PADR_(const struct itimerspec32 *)];
220 	char ovalue_l_[PADL_(struct itimerspec32 *)]; struct itimerspec32 * ovalue; char ovalue_r_[PADR_(struct itimerspec32 *)];
221 };
222 struct freebsd32_ktimer_gettime_args {
223 	char timerid_l_[PADL_(int)]; int timerid; char timerid_r_[PADR_(int)];
224 	char value_l_[PADL_(struct itimerspec32 *)]; struct itimerspec32 * value; char value_r_[PADR_(struct itimerspec32 *)];
225 };
226 struct freebsd32_nanosleep_args {
227 	char rqtp_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * rqtp; char rqtp_r_[PADR_(const struct timespec32 *)];
228 	char rmtp_l_[PADL_(struct timespec32 *)]; struct timespec32 * rmtp; char rmtp_r_[PADR_(struct timespec32 *)];
229 };
230 struct freebsd32_clock_getcpuclockid2_args {
231 	char id1_l_[PADL_(uint32_t)]; uint32_t id1; char id1_r_[PADR_(uint32_t)];
232 	char id2_l_[PADL_(uint32_t)]; uint32_t id2; char id2_r_[PADR_(uint32_t)];
233 	char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
234 	char clock_id_l_[PADL_(clockid_t *)]; clockid_t * clock_id; char clock_id_r_[PADR_(clockid_t *)];
235 };
236 struct freebsd32_aio_read_args {
237 	char aiocbp_l_[PADL_(struct aiocb32 *)]; struct aiocb32 * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *)];
238 };
239 struct freebsd32_aio_write_args {
240 	char aiocbp_l_[PADL_(struct aiocb32 *)]; struct aiocb32 * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *)];
241 };
242 struct freebsd32_lio_listio_args {
243 	char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
244 	char acb_list_l_[PADL_(struct aiocb32 *const *)]; struct aiocb32 *const * acb_list; char acb_list_r_[PADR_(struct aiocb32 *const *)];
245 	char nent_l_[PADL_(int)]; int nent; char nent_r_[PADR_(int)];
246 	char sig_l_[PADL_(struct sigevent32 *)]; struct sigevent32 * sig; char sig_r_[PADR_(struct sigevent32 *)];
247 };
248 struct freebsd32_lutimes_args {
249 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
250 	char tptr_l_[PADL_(struct timeval32 *)]; struct timeval32 * tptr; char tptr_r_[PADR_(struct timeval32 *)];
251 };
252 struct freebsd32_preadv_args {
253 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
254 	char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
255 	char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
256 	char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
257 	char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
258 };
259 struct freebsd32_pwritev_args {
260 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
261 	char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
262 	char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
263 	char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
264 	char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
265 };
266 struct freebsd32_modstat_args {
267 	char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)];
268 	char stat_l_[PADL_(struct module_stat32 *)]; struct module_stat32 * stat; char stat_r_[PADR_(struct module_stat32 *)];
269 };
270 struct freebsd32_kldstat_args {
271 	char fileid_l_[PADL_(int)]; int fileid; char fileid_r_[PADR_(int)];
272 	char stat_l_[PADL_(struct kld32_file_stat *)]; struct kld32_file_stat * stat; char stat_r_[PADR_(struct kld32_file_stat *)];
273 };
274 struct freebsd32_aio_return_args {
275 	char aiocbp_l_[PADL_(struct aiocb32 *)]; struct aiocb32 * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *)];
276 };
277 struct freebsd32_aio_suspend_args {
278 	char aiocbp_l_[PADL_(struct aiocb32 *const *)]; struct aiocb32 *const * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *const *)];
279 	char nent_l_[PADL_(int)]; int nent; char nent_r_[PADR_(int)];
280 	char timeout_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * timeout; char timeout_r_[PADR_(const struct timespec32 *)];
281 };
282 struct freebsd32_aio_cancel_args {
283 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
284 	char aiocbp_l_[PADL_(struct aiocb32 *)]; struct aiocb32 * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *)];
285 };
286 struct freebsd32_aio_error_args {
287 	char aiocbp_l_[PADL_(struct aiocb32 *)]; struct aiocb32 * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *)];
288 };
289 struct freebsd32_oaio_read_args {
290 	char aiocbp_l_[PADL_(struct oaiocb32 *)]; struct oaiocb32 * aiocbp; char aiocbp_r_[PADR_(struct oaiocb32 *)];
291 };
292 struct freebsd32_oaio_write_args {
293 	char aiocbp_l_[PADL_(struct oaiocb32 *)]; struct oaiocb32 * aiocbp; char aiocbp_r_[PADR_(struct oaiocb32 *)];
294 };
295 struct freebsd32_olio_listio_args {
296 	char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
297 	char acb_list_l_[PADL_(struct oaiocb32 *const *)]; struct oaiocb32 *const * acb_list; char acb_list_r_[PADR_(struct oaiocb32 *const *)];
298 	char nent_l_[PADL_(int)]; int nent; char nent_r_[PADR_(int)];
299 	char sig_l_[PADL_(struct osigevent32 *)]; struct osigevent32 * sig; char sig_r_[PADR_(struct osigevent32 *)];
300 };
301 struct freebsd32_jail_args {
302 	char jail_l_[PADL_(struct jail32 *)]; struct jail32 * jail; char jail_r_[PADR_(struct jail32 *)];
303 };
304 struct freebsd32_sigtimedwait_args {
305 	char set_l_[PADL_(const sigset_t *)]; const sigset_t * set; char set_r_[PADR_(const sigset_t *)];
306 	char info_l_[PADL_(siginfo_t *)]; siginfo_t * info; char info_r_[PADR_(siginfo_t *)];
307 	char timeout_l_[PADL_(const struct timespec *)]; const struct timespec * timeout; char timeout_r_[PADR_(const struct timespec *)];
308 };
309 struct freebsd32_sigwaitinfo_args {
310 	char set_l_[PADL_(const sigset_t *)]; const sigset_t * set; char set_r_[PADR_(const sigset_t *)];
311 	char info_l_[PADL_(siginfo_t *)]; siginfo_t * info; char info_r_[PADR_(siginfo_t *)];
312 };
313 struct freebsd32_aio_waitcomplete_args {
314 	char aiocbp_l_[PADL_(struct aiocb32 **)]; struct aiocb32 ** aiocbp; char aiocbp_r_[PADR_(struct aiocb32 **)];
315 	char timeout_l_[PADL_(struct timespec32 *)]; struct timespec32 * timeout; char timeout_r_[PADR_(struct timespec32 *)];
316 };
317 struct freebsd32_kevent_args {
318 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
319 	char changelist_l_[PADL_(const struct kevent32 *)]; const struct kevent32 * changelist; char changelist_r_[PADR_(const struct kevent32 *)];
320 	char nchanges_l_[PADL_(int)]; int nchanges; char nchanges_r_[PADR_(int)];
321 	char eventlist_l_[PADL_(struct kevent32 *)]; struct kevent32 * eventlist; char eventlist_r_[PADR_(struct kevent32 *)];
322 	char nevents_l_[PADL_(int)]; int nevents; char nevents_r_[PADR_(int)];
323 	char timeout_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * timeout; char timeout_r_[PADR_(const struct timespec32 *)];
324 };
325 struct freebsd32_nmount_args {
326 	char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
327 	char iovcnt_l_[PADL_(unsigned int)]; unsigned int iovcnt; char iovcnt_r_[PADR_(unsigned int)];
328 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
329 };
330 struct freebsd32_sendfile_args {
331 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
332 	char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
333 	char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
334 	char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
335 	char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
336 	char hdtr_l_[PADL_(struct sf_hdtr32 *)]; struct sf_hdtr32 * hdtr; char hdtr_r_[PADR_(struct sf_hdtr32 *)];
337 	char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)];
338 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
339 };
340 struct freebsd32_ksem_init_args {
341 	char idp_l_[PADL_(semid_t *)]; semid_t * idp; char idp_r_[PADR_(semid_t *)];
342 	char value_l_[PADL_(unsigned int)]; unsigned int value; char value_r_[PADR_(unsigned int)];
343 };
344 struct freebsd32_ksem_open_args {
345 	char idp_l_[PADL_(semid_t *)]; semid_t * idp; char idp_r_[PADR_(semid_t *)];
346 	char name_l_[PADL_(const char *)]; const char * name; char name_r_[PADR_(const char *)];
347 	char oflag_l_[PADL_(int)]; int oflag; char oflag_r_[PADR_(int)];
348 	char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)];
349 	char value_l_[PADL_(unsigned int)]; unsigned int value; char value_r_[PADR_(unsigned int)];
350 };
351 struct freebsd32_sigaction_args {
352 	char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)];
353 	char act_l_[PADL_(struct sigaction32 *)]; struct sigaction32 * act; char act_r_[PADR_(struct sigaction32 *)];
354 	char oact_l_[PADL_(struct sigaction32 *)]; struct sigaction32 * oact; char oact_r_[PADR_(struct sigaction32 *)];
355 };
356 struct freebsd32_sigreturn_args {
357 	char sigcntxp_l_[PADL_(const struct freebsd32_ucontext *)]; const struct freebsd32_ucontext * sigcntxp; char sigcntxp_r_[PADR_(const struct freebsd32_ucontext *)];
358 };
359 struct freebsd32_getcontext_args {
360 	char ucp_l_[PADL_(struct freebsd32_ucontext *)]; struct freebsd32_ucontext * ucp; char ucp_r_[PADR_(struct freebsd32_ucontext *)];
361 };
362 struct freebsd32_setcontext_args {
363 	char ucp_l_[PADL_(const struct freebsd32_ucontext *)]; const struct freebsd32_ucontext * ucp; char ucp_r_[PADR_(const struct freebsd32_ucontext *)];
364 };
365 struct freebsd32_swapcontext_args {
366 	char oucp_l_[PADL_(struct freebsd32_ucontext *)]; struct freebsd32_ucontext * oucp; char oucp_r_[PADR_(struct freebsd32_ucontext *)];
367 	char ucp_l_[PADL_(const struct freebsd32_ucontext *)]; const struct freebsd32_ucontext * ucp; char ucp_r_[PADR_(const struct freebsd32_ucontext *)];
368 };
369 struct freebsd32_umtx_lock_args {
370 	char umtx_l_[PADL_(struct umtx *)]; struct umtx * umtx; char umtx_r_[PADR_(struct umtx *)];
371 };
372 struct freebsd32_umtx_unlock_args {
373 	char umtx_l_[PADL_(struct umtx *)]; struct umtx * umtx; char umtx_r_[PADR_(struct umtx *)];
374 };
375 struct freebsd32_ksem_timedwait_args {
376 	char id_l_[PADL_(semid_t)]; semid_t id; char id_r_[PADR_(semid_t)];
377 	char abstime_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * abstime; char abstime_r_[PADR_(const struct timespec32 *)];
378 };
379 struct freebsd32_thr_suspend_args {
380 	char timeout_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * timeout; char timeout_r_[PADR_(const struct timespec32 *)];
381 };
382 struct freebsd32_umtx_op_args {
383 	char obj_l_[PADL_(void *)]; void * obj; char obj_r_[PADR_(void *)];
384 	char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)];
385 	char val_l_[PADL_(u_long)]; u_long val; char val_r_[PADR_(u_long)];
386 	char uaddr_l_[PADL_(void *)]; void * uaddr; char uaddr_r_[PADR_(void *)];
387 	char uaddr2_l_[PADL_(void *)]; void * uaddr2; char uaddr2_r_[PADR_(void *)];
388 };
389 struct freebsd32_thr_new_args {
390 	char param_l_[PADL_(struct thr_param32 *)]; struct thr_param32 * param; char param_r_[PADR_(struct thr_param32 *)];
391 	char param_size_l_[PADL_(int)]; int param_size; char param_size_r_[PADR_(int)];
392 };
393 struct freebsd32_kmq_open_args {
394 	char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
395 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
396 	char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)];
397 	char attr_l_[PADL_(const struct mq_attr32 *)]; const struct mq_attr32 * attr; char attr_r_[PADR_(const struct mq_attr32 *)];
398 };
399 struct freebsd32_kmq_setattr_args {
400 	char mqd_l_[PADL_(int)]; int mqd; char mqd_r_[PADR_(int)];
401 	char attr_l_[PADL_(const struct mq_attr32 *)]; const struct mq_attr32 * attr; char attr_r_[PADR_(const struct mq_attr32 *)];
402 	char oattr_l_[PADL_(struct mq_attr32 *)]; struct mq_attr32 * oattr; char oattr_r_[PADR_(struct mq_attr32 *)];
403 };
404 struct freebsd32_kmq_timedreceive_args {
405 	char mqd_l_[PADL_(int)]; int mqd; char mqd_r_[PADR_(int)];
406 	char msg_ptr_l_[PADL_(char *)]; char * msg_ptr; char msg_ptr_r_[PADR_(char *)];
407 	char msg_len_l_[PADL_(size_t)]; size_t msg_len; char msg_len_r_[PADR_(size_t)];
408 	char msg_prio_l_[PADL_(unsigned *)]; unsigned * msg_prio; char msg_prio_r_[PADR_(unsigned *)];
409 	char abs_timeout_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * abs_timeout; char abs_timeout_r_[PADR_(const struct timespec32 *)];
410 };
411 struct freebsd32_kmq_timedsend_args {
412 	char mqd_l_[PADL_(int)]; int mqd; char mqd_r_[PADR_(int)];
413 	char msg_ptr_l_[PADL_(const char *)]; const char * msg_ptr; char msg_ptr_r_[PADR_(const char *)];
414 	char msg_len_l_[PADL_(size_t)]; size_t msg_len; char msg_len_r_[PADR_(size_t)];
415 	char msg_prio_l_[PADL_(unsigned)]; unsigned msg_prio; char msg_prio_r_[PADR_(unsigned)];
416 	char abs_timeout_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * abs_timeout; char abs_timeout_r_[PADR_(const struct timespec32 *)];
417 };
418 struct freebsd32_kmq_notify_args {
419 	char mqd_l_[PADL_(int)]; int mqd; char mqd_r_[PADR_(int)];
420 	char sigev_l_[PADL_(const struct sigevent32 *)]; const struct sigevent32 * sigev; char sigev_r_[PADR_(const struct sigevent32 *)];
421 };
422 struct freebsd32_aio_fsync_args {
423 	char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)];
424 	char aiocbp_l_[PADL_(struct aiocb32 *)]; struct aiocb32 * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *)];
425 };
426 #ifdef PAD64_REQUIRED
427 struct freebsd32_pread_args {
428 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
429 	char buf_l_[PADL_(void *)]; void * buf; char buf_r_[PADR_(void *)];
430 	char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
431 	char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
432 	char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
433 	char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
434 };
435 struct freebsd32_pwrite_args {
436 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
437 	char buf_l_[PADL_(const void *)]; const void * buf; char buf_r_[PADR_(const void *)];
438 	char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
439 	char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
440 	char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
441 	char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
442 };
443 struct freebsd32_mmap_args {
444 	char addr_l_[PADL_(caddr_t)]; caddr_t addr; char addr_r_[PADR_(caddr_t)];
445 	char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
446 	char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)];
447 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
448 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
449 	char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
450 	char pos1_l_[PADL_(uint32_t)]; uint32_t pos1; char pos1_r_[PADR_(uint32_t)];
451 	char pos2_l_[PADL_(uint32_t)]; uint32_t pos2; char pos2_r_[PADR_(uint32_t)];
452 };
453 struct freebsd32_lseek_args {
454 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
455 	char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
456 	char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
457 	char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
458 	char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)];
459 };
460 struct freebsd32_truncate_args {
461 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
462 	char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
463 	char length1_l_[PADL_(uint32_t)]; uint32_t length1; char length1_r_[PADR_(uint32_t)];
464 	char length2_l_[PADL_(uint32_t)]; uint32_t length2; char length2_r_[PADR_(uint32_t)];
465 };
466 struct freebsd32_ftruncate_args {
467 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
468 	char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
469 	char length1_l_[PADL_(uint32_t)]; uint32_t length1; char length1_r_[PADR_(uint32_t)];
470 	char length2_l_[PADL_(uint32_t)]; uint32_t length2; char length2_r_[PADR_(uint32_t)];
471 };
472 #else
473 struct freebsd32_pread_args {
474 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
475 	char buf_l_[PADL_(void *)]; void * buf; char buf_r_[PADR_(void *)];
476 	char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
477 	char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
478 	char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
479 };
480 struct freebsd32_pwrite_args {
481 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
482 	char buf_l_[PADL_(const void *)]; const void * buf; char buf_r_[PADR_(const void *)];
483 	char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
484 	char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
485 	char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
486 };
487 struct freebsd32_mmap_args {
488 	char addr_l_[PADL_(caddr_t)]; caddr_t addr; char addr_r_[PADR_(caddr_t)];
489 	char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
490 	char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)];
491 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
492 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
493 	char pos1_l_[PADL_(uint32_t)]; uint32_t pos1; char pos1_r_[PADR_(uint32_t)];
494 	char pos2_l_[PADL_(uint32_t)]; uint32_t pos2; char pos2_r_[PADR_(uint32_t)];
495 };
496 struct freebsd32_lseek_args {
497 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
498 	char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
499 	char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
500 	char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)];
501 };
502 struct freebsd32_truncate_args {
503 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
504 	char length1_l_[PADL_(uint32_t)]; uint32_t length1; char length1_r_[PADR_(uint32_t)];
505 	char length2_l_[PADL_(uint32_t)]; uint32_t length2; char length2_r_[PADR_(uint32_t)];
506 };
507 struct freebsd32_ftruncate_args {
508 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
509 	char length1_l_[PADL_(uint32_t)]; uint32_t length1; char length1_r_[PADR_(uint32_t)];
510 	char length2_l_[PADL_(uint32_t)]; uint32_t length2; char length2_r_[PADR_(uint32_t)];
511 };
512 #endif
513 #ifdef PAD64_REQUIRED
514 struct freebsd32_cpuset_setid_args {
515 	char which_l_[PADL_(cpuwhich_t)]; cpuwhich_t which; char which_r_[PADR_(cpuwhich_t)];
516 	char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
517 	char id1_l_[PADL_(uint32_t)]; uint32_t id1; char id1_r_[PADR_(uint32_t)];
518 	char id2_l_[PADL_(uint32_t)]; uint32_t id2; char id2_r_[PADR_(uint32_t)];
519 	char setid_l_[PADL_(cpusetid_t)]; cpusetid_t setid; char setid_r_[PADR_(cpusetid_t)];
520 };
521 #else
522 struct freebsd32_cpuset_setid_args {
523 	char which_l_[PADL_(cpuwhich_t)]; cpuwhich_t which; char which_r_[PADR_(cpuwhich_t)];
524 	char id1_l_[PADL_(uint32_t)]; uint32_t id1; char id1_r_[PADR_(uint32_t)];
525 	char id2_l_[PADL_(uint32_t)]; uint32_t id2; char id2_r_[PADR_(uint32_t)];
526 	char setid_l_[PADL_(cpusetid_t)]; cpusetid_t setid; char setid_r_[PADR_(cpusetid_t)];
527 };
528 #endif
529 struct freebsd32_cpuset_getid_args {
530 	char level_l_[PADL_(cpulevel_t)]; cpulevel_t level; char level_r_[PADR_(cpulevel_t)];
531 	char which_l_[PADL_(cpuwhich_t)]; cpuwhich_t which; char which_r_[PADR_(cpuwhich_t)];
532 	char id1_l_[PADL_(uint32_t)]; uint32_t id1; char id1_r_[PADR_(uint32_t)];
533 	char id2_l_[PADL_(uint32_t)]; uint32_t id2; char id2_r_[PADR_(uint32_t)];
534 	char setid_l_[PADL_(cpusetid_t *)]; cpusetid_t * setid; char setid_r_[PADR_(cpusetid_t *)];
535 };
536 struct freebsd32_cpuset_getaffinity_args {
537 	char level_l_[PADL_(cpulevel_t)]; cpulevel_t level; char level_r_[PADR_(cpulevel_t)];
538 	char which_l_[PADL_(cpuwhich_t)]; cpuwhich_t which; char which_r_[PADR_(cpuwhich_t)];
539 	char id1_l_[PADL_(uint32_t)]; uint32_t id1; char id1_r_[PADR_(uint32_t)];
540 	char id2_l_[PADL_(uint32_t)]; uint32_t id2; char id2_r_[PADR_(uint32_t)];
541 	char cpusetsize_l_[PADL_(size_t)]; size_t cpusetsize; char cpusetsize_r_[PADR_(size_t)];
542 	char mask_l_[PADL_(cpuset_t *)]; cpuset_t * mask; char mask_r_[PADR_(cpuset_t *)];
543 };
544 struct freebsd32_cpuset_setaffinity_args {
545 	char level_l_[PADL_(cpulevel_t)]; cpulevel_t level; char level_r_[PADR_(cpulevel_t)];
546 	char which_l_[PADL_(cpuwhich_t)]; cpuwhich_t which; char which_r_[PADR_(cpuwhich_t)];
547 	char id1_l_[PADL_(uint32_t)]; uint32_t id1; char id1_r_[PADR_(uint32_t)];
548 	char id2_l_[PADL_(uint32_t)]; uint32_t id2; char id2_r_[PADR_(uint32_t)];
549 	char cpusetsize_l_[PADL_(size_t)]; size_t cpusetsize; char cpusetsize_r_[PADR_(size_t)];
550 	char mask_l_[PADL_(const cpuset_t *)]; const cpuset_t * mask; char mask_r_[PADR_(const cpuset_t *)];
551 };
552 struct freebsd32_fexecve_args {
553 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
554 	char argv_l_[PADL_(uint32_t *)]; uint32_t * argv; char argv_r_[PADR_(uint32_t *)];
555 	char envv_l_[PADL_(uint32_t *)]; uint32_t * envv; char envv_r_[PADR_(uint32_t *)];
556 };
557 struct freebsd32_fstatat_args {
558 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
559 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
560 	char buf_l_[PADL_(struct stat *)]; struct stat * buf; char buf_r_[PADR_(struct stat *)];
561 	char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)];
562 };
563 struct freebsd32_futimesat_args {
564 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
565 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
566 	char times_l_[PADL_(struct timeval *)]; struct timeval * times; char times_r_[PADR_(struct timeval *)];
567 };
568 struct freebsd32_jail_get_args {
569 	char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
570 	char iovcnt_l_[PADL_(unsigned int)]; unsigned int iovcnt; char iovcnt_r_[PADR_(unsigned int)];
571 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
572 };
573 struct freebsd32_jail_set_args {
574 	char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
575 	char iovcnt_l_[PADL_(unsigned int)]; unsigned int iovcnt; char iovcnt_r_[PADR_(unsigned int)];
576 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
577 };
578 struct freebsd32_semctl_args {
579 	char semid_l_[PADL_(int)]; int semid; char semid_r_[PADR_(int)];
580 	char semnum_l_[PADL_(int)]; int semnum; char semnum_r_[PADR_(int)];
581 	char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
582 	char arg_l_[PADL_(union semun32 *)]; union semun32 * arg; char arg_r_[PADR_(union semun32 *)];
583 };
584 struct freebsd32_msgctl_args {
585 	char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)];
586 	char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
587 	char buf_l_[PADL_(struct msqid_ds32 *)]; struct msqid_ds32 * buf; char buf_r_[PADR_(struct msqid_ds32 *)];
588 };
589 struct freebsd32_shmctl_args {
590 	char shmid_l_[PADL_(int)]; int shmid; char shmid_r_[PADR_(int)];
591 	char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
592 	char buf_l_[PADL_(struct shmid_ds32 *)]; struct shmid_ds32 * buf; char buf_r_[PADR_(struct shmid_ds32 *)];
593 };
594 struct freebsd32_pselect_args {
595 	char nd_l_[PADL_(int)]; int nd; char nd_r_[PADR_(int)];
596 	char in_l_[PADL_(fd_set *)]; fd_set * in; char in_r_[PADR_(fd_set *)];
597 	char ou_l_[PADL_(fd_set *)]; fd_set * ou; char ou_r_[PADR_(fd_set *)];
598 	char ex_l_[PADL_(fd_set *)]; fd_set * ex; char ex_r_[PADR_(fd_set *)];
599 	char ts_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * ts; char ts_r_[PADR_(const struct timespec32 *)];
600 	char sm_l_[PADL_(const sigset_t *)]; const sigset_t * sm; char sm_r_[PADR_(const sigset_t *)];
601 };
602 #ifdef PAD64_REQUIRED
603 struct freebsd32_posix_fallocate_args {
604 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
605 	char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
606 	char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
607 	char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
608 	char len1_l_[PADL_(uint32_t)]; uint32_t len1; char len1_r_[PADR_(uint32_t)];
609 	char len2_l_[PADL_(uint32_t)]; uint32_t len2; char len2_r_[PADR_(uint32_t)];
610 };
611 struct freebsd32_posix_fadvise_args {
612 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
613 	char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
614 	char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
615 	char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
616 	char len1_l_[PADL_(uint32_t)]; uint32_t len1; char len1_r_[PADR_(uint32_t)];
617 	char len2_l_[PADL_(uint32_t)]; uint32_t len2; char len2_r_[PADR_(uint32_t)];
618 	char advice_l_[PADL_(int)]; int advice; char advice_r_[PADR_(int)];
619 };
620 struct freebsd32_wait6_args {
621 	char idtype_l_[PADL_(int)]; int idtype; char idtype_r_[PADR_(int)];
622 	char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
623 	char id1_l_[PADL_(uint32_t)]; uint32_t id1; char id1_r_[PADR_(uint32_t)];
624 	char id2_l_[PADL_(uint32_t)]; uint32_t id2; char id2_r_[PADR_(uint32_t)];
625 	char status_l_[PADL_(int *)]; int * status; char status_r_[PADR_(int *)];
626 	char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)];
627 	char wrusage_l_[PADL_(struct wrusage32 *)]; struct wrusage32 * wrusage; char wrusage_r_[PADR_(struct wrusage32 *)];
628 	char info_l_[PADL_(siginfo_t *)]; siginfo_t * info; char info_r_[PADR_(siginfo_t *)];
629 };
630 #else
631 struct freebsd32_posix_fallocate_args {
632 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
633 	char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
634 	char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
635 	char len1_l_[PADL_(uint32_t)]; uint32_t len1; char len1_r_[PADR_(uint32_t)];
636 	char len2_l_[PADL_(uint32_t)]; uint32_t len2; char len2_r_[PADR_(uint32_t)];
637 };
638 struct freebsd32_posix_fadvise_args {
639 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
640 	char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
641 	char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
642 	char len1_l_[PADL_(uint32_t)]; uint32_t len1; char len1_r_[PADR_(uint32_t)];
643 	char len2_l_[PADL_(uint32_t)]; uint32_t len2; char len2_r_[PADR_(uint32_t)];
644 	char advice_l_[PADL_(int)]; int advice; char advice_r_[PADR_(int)];
645 };
646 struct freebsd32_wait6_args {
647 	char idtype_l_[PADL_(int)]; int idtype; char idtype_r_[PADR_(int)];
648 	char id1_l_[PADL_(uint32_t)]; uint32_t id1; char id1_r_[PADR_(uint32_t)];
649 	char id2_l_[PADL_(uint32_t)]; uint32_t id2; char id2_r_[PADR_(uint32_t)];
650 	char status_l_[PADL_(int *)]; int * status; char status_r_[PADR_(int *)];
651 	char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)];
652 	char wrusage_l_[PADL_(struct wrusage32 *)]; struct wrusage32 * wrusage; char wrusage_r_[PADR_(struct wrusage32 *)];
653 	char info_l_[PADL_(siginfo_t *)]; siginfo_t * info; char info_r_[PADR_(siginfo_t *)];
654 };
655 #endif
656 struct freebsd32_aio_mlock_args {
657 	char aiocbp_l_[PADL_(struct aiocb32 *)]; struct aiocb32 * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *)];
658 };
659 #if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
660 #define PAD64_REQUIRED
661 #endif
662 int	freebsd32_wait4(struct thread *, struct freebsd32_wait4_args *);
663 int	freebsd32_recvmsg(struct thread *, struct freebsd32_recvmsg_args *);
664 int	freebsd32_sendmsg(struct thread *, struct freebsd32_sendmsg_args *);
665 int	freebsd32_recvfrom(struct thread *, struct freebsd32_recvfrom_args *);
666 int	freebsd32_sigaltstack(struct thread *, struct freebsd32_sigaltstack_args *);
667 int	freebsd32_ioctl(struct thread *, struct freebsd32_ioctl_args *);
668 int	freebsd32_execve(struct thread *, struct freebsd32_execve_args *);
669 int	freebsd32_mprotect(struct thread *, struct freebsd32_mprotect_args *);
670 int	freebsd32_setitimer(struct thread *, struct freebsd32_setitimer_args *);
671 int	freebsd32_getitimer(struct thread *, struct freebsd32_getitimer_args *);
672 int	freebsd32_select(struct thread *, struct freebsd32_select_args *);
673 int	freebsd32_gettimeofday(struct thread *, struct freebsd32_gettimeofday_args *);
674 int	freebsd32_getrusage(struct thread *, struct freebsd32_getrusage_args *);
675 int	freebsd32_readv(struct thread *, struct freebsd32_readv_args *);
676 int	freebsd32_writev(struct thread *, struct freebsd32_writev_args *);
677 int	freebsd32_settimeofday(struct thread *, struct freebsd32_settimeofday_args *);
678 int	freebsd32_utimes(struct thread *, struct freebsd32_utimes_args *);
679 int	freebsd32_adjtime(struct thread *, struct freebsd32_adjtime_args *);
680 int	freebsd32_sysarch(struct thread *, struct freebsd32_sysarch_args *);
681 int	freebsd32_semsys(struct thread *, struct freebsd32_semsys_args *);
682 int	freebsd32_msgsys(struct thread *, struct freebsd32_msgsys_args *);
683 int	freebsd32_shmsys(struct thread *, struct freebsd32_shmsys_args *);
684 int	freebsd32_stat(struct thread *, struct freebsd32_stat_args *);
685 int	freebsd32_fstat(struct thread *, struct freebsd32_fstat_args *);
686 int	freebsd32_lstat(struct thread *, struct freebsd32_lstat_args *);
687 int	freebsd32_getdirentries(struct thread *, struct freebsd32_getdirentries_args *);
688 int	freebsd32_sysctl(struct thread *, struct freebsd32_sysctl_args *);
689 int	freebsd32_futimes(struct thread *, struct freebsd32_futimes_args *);
690 int	freebsd32_msgsnd(struct thread *, struct freebsd32_msgsnd_args *);
691 int	freebsd32_msgrcv(struct thread *, struct freebsd32_msgrcv_args *);
692 int	freebsd32_clock_gettime(struct thread *, struct freebsd32_clock_gettime_args *);
693 int	freebsd32_clock_settime(struct thread *, struct freebsd32_clock_settime_args *);
694 int	freebsd32_clock_getres(struct thread *, struct freebsd32_clock_getres_args *);
695 int	freebsd32_ktimer_create(struct thread *, struct freebsd32_ktimer_create_args *);
696 int	freebsd32_ktimer_settime(struct thread *, struct freebsd32_ktimer_settime_args *);
697 int	freebsd32_ktimer_gettime(struct thread *, struct freebsd32_ktimer_gettime_args *);
698 int	freebsd32_nanosleep(struct thread *, struct freebsd32_nanosleep_args *);
699 int	freebsd32_clock_getcpuclockid2(struct thread *, struct freebsd32_clock_getcpuclockid2_args *);
700 int	freebsd32_aio_read(struct thread *, struct freebsd32_aio_read_args *);
701 int	freebsd32_aio_write(struct thread *, struct freebsd32_aio_write_args *);
702 int	freebsd32_lio_listio(struct thread *, struct freebsd32_lio_listio_args *);
703 int	freebsd32_lutimes(struct thread *, struct freebsd32_lutimes_args *);
704 int	freebsd32_preadv(struct thread *, struct freebsd32_preadv_args *);
705 int	freebsd32_pwritev(struct thread *, struct freebsd32_pwritev_args *);
706 int	freebsd32_modstat(struct thread *, struct freebsd32_modstat_args *);
707 int	freebsd32_kldstat(struct thread *, struct freebsd32_kldstat_args *);
708 int	freebsd32_aio_return(struct thread *, struct freebsd32_aio_return_args *);
709 int	freebsd32_aio_suspend(struct thread *, struct freebsd32_aio_suspend_args *);
710 int	freebsd32_aio_cancel(struct thread *, struct freebsd32_aio_cancel_args *);
711 int	freebsd32_aio_error(struct thread *, struct freebsd32_aio_error_args *);
712 int	freebsd32_oaio_read(struct thread *, struct freebsd32_oaio_read_args *);
713 int	freebsd32_oaio_write(struct thread *, struct freebsd32_oaio_write_args *);
714 int	freebsd32_olio_listio(struct thread *, struct freebsd32_olio_listio_args *);
715 int	freebsd32_jail(struct thread *, struct freebsd32_jail_args *);
716 int	freebsd32_sigtimedwait(struct thread *, struct freebsd32_sigtimedwait_args *);
717 int	freebsd32_sigwaitinfo(struct thread *, struct freebsd32_sigwaitinfo_args *);
718 int	freebsd32_aio_waitcomplete(struct thread *, struct freebsd32_aio_waitcomplete_args *);
719 int	freebsd32_kevent(struct thread *, struct freebsd32_kevent_args *);
720 int	freebsd32_nmount(struct thread *, struct freebsd32_nmount_args *);
721 int	freebsd32_sendfile(struct thread *, struct freebsd32_sendfile_args *);
722 int	freebsd32_ksem_init(struct thread *, struct freebsd32_ksem_init_args *);
723 int	freebsd32_ksem_open(struct thread *, struct freebsd32_ksem_open_args *);
724 int	freebsd32_sigaction(struct thread *, struct freebsd32_sigaction_args *);
725 int	freebsd32_sigreturn(struct thread *, struct freebsd32_sigreturn_args *);
726 int	freebsd32_getcontext(struct thread *, struct freebsd32_getcontext_args *);
727 int	freebsd32_setcontext(struct thread *, struct freebsd32_setcontext_args *);
728 int	freebsd32_swapcontext(struct thread *, struct freebsd32_swapcontext_args *);
729 int	freebsd32_umtx_lock(struct thread *, struct freebsd32_umtx_lock_args *);
730 int	freebsd32_umtx_unlock(struct thread *, struct freebsd32_umtx_unlock_args *);
731 int	freebsd32_ksem_timedwait(struct thread *, struct freebsd32_ksem_timedwait_args *);
732 int	freebsd32_thr_suspend(struct thread *, struct freebsd32_thr_suspend_args *);
733 int	freebsd32_umtx_op(struct thread *, struct freebsd32_umtx_op_args *);
734 int	freebsd32_thr_new(struct thread *, struct freebsd32_thr_new_args *);
735 int	freebsd32_kmq_open(struct thread *, struct freebsd32_kmq_open_args *);
736 int	freebsd32_kmq_setattr(struct thread *, struct freebsd32_kmq_setattr_args *);
737 int	freebsd32_kmq_timedreceive(struct thread *, struct freebsd32_kmq_timedreceive_args *);
738 int	freebsd32_kmq_timedsend(struct thread *, struct freebsd32_kmq_timedsend_args *);
739 int	freebsd32_kmq_notify(struct thread *, struct freebsd32_kmq_notify_args *);
740 int	freebsd32_aio_fsync(struct thread *, struct freebsd32_aio_fsync_args *);
741 #ifdef PAD64_REQUIRED
742 int	freebsd32_pread(struct thread *, struct freebsd32_pread_args *);
743 int	freebsd32_pwrite(struct thread *, struct freebsd32_pwrite_args *);
744 int	freebsd32_mmap(struct thread *, struct freebsd32_mmap_args *);
745 int	freebsd32_lseek(struct thread *, struct freebsd32_lseek_args *);
746 int	freebsd32_truncate(struct thread *, struct freebsd32_truncate_args *);
747 int	freebsd32_ftruncate(struct thread *, struct freebsd32_ftruncate_args *);
748 #else
749 int	freebsd32_pread(struct thread *, struct freebsd32_pread_args *);
750 int	freebsd32_pwrite(struct thread *, struct freebsd32_pwrite_args *);
751 int	freebsd32_mmap(struct thread *, struct freebsd32_mmap_args *);
752 int	freebsd32_lseek(struct thread *, struct freebsd32_lseek_args *);
753 int	freebsd32_truncate(struct thread *, struct freebsd32_truncate_args *);
754 int	freebsd32_ftruncate(struct thread *, struct freebsd32_ftruncate_args *);
755 #endif
756 #ifdef PAD64_REQUIRED
757 int	freebsd32_cpuset_setid(struct thread *, struct freebsd32_cpuset_setid_args *);
758 #else
759 int	freebsd32_cpuset_setid(struct thread *, struct freebsd32_cpuset_setid_args *);
760 #endif
761 int	freebsd32_cpuset_getid(struct thread *, struct freebsd32_cpuset_getid_args *);
762 int	freebsd32_cpuset_getaffinity(struct thread *, struct freebsd32_cpuset_getaffinity_args *);
763 int	freebsd32_cpuset_setaffinity(struct thread *, struct freebsd32_cpuset_setaffinity_args *);
764 int	freebsd32_fexecve(struct thread *, struct freebsd32_fexecve_args *);
765 int	freebsd32_fstatat(struct thread *, struct freebsd32_fstatat_args *);
766 int	freebsd32_futimesat(struct thread *, struct freebsd32_futimesat_args *);
767 int	freebsd32_jail_get(struct thread *, struct freebsd32_jail_get_args *);
768 int	freebsd32_jail_set(struct thread *, struct freebsd32_jail_set_args *);
769 int	freebsd32_semctl(struct thread *, struct freebsd32_semctl_args *);
770 int	freebsd32_msgctl(struct thread *, struct freebsd32_msgctl_args *);
771 int	freebsd32_shmctl(struct thread *, struct freebsd32_shmctl_args *);
772 int	freebsd32_pselect(struct thread *, struct freebsd32_pselect_args *);
773 #ifdef PAD64_REQUIRED
774 int	freebsd32_posix_fallocate(struct thread *, struct freebsd32_posix_fallocate_args *);
775 int	freebsd32_posix_fadvise(struct thread *, struct freebsd32_posix_fadvise_args *);
776 int	freebsd32_wait6(struct thread *, struct freebsd32_wait6_args *);
777 #else
778 int	freebsd32_posix_fallocate(struct thread *, struct freebsd32_posix_fallocate_args *);
779 int	freebsd32_posix_fadvise(struct thread *, struct freebsd32_posix_fadvise_args *);
780 int	freebsd32_wait6(struct thread *, struct freebsd32_wait6_args *);
781 #endif
782 int	freebsd32_aio_mlock(struct thread *, struct freebsd32_aio_mlock_args *);
783 
784 #ifdef COMPAT_43
785 
786 #if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
787 #define PAD64_REQUIRED
788 #endif
789 struct ofreebsd32_lseek_args {
790 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
791 	char offset_l_[PADL_(int)]; int offset; char offset_r_[PADR_(int)];
792 	char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)];
793 };
794 struct ofreebsd32_stat_args {
795 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
796 	char ub_l_[PADL_(struct ostat32 *)]; struct ostat32 * ub; char ub_r_[PADR_(struct ostat32 *)];
797 };
798 struct ofreebsd32_lstat_args {
799 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
800 	char ub_l_[PADL_(struct ostat *)]; struct ostat * ub; char ub_r_[PADR_(struct ostat *)];
801 };
802 struct ofreebsd32_sigaction_args {
803 	char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)];
804 	char nsa_l_[PADL_(struct osigaction32 *)]; struct osigaction32 * nsa; char nsa_r_[PADR_(struct osigaction32 *)];
805 	char osa_l_[PADL_(struct osigaction32 *)]; struct osigaction32 * osa; char osa_r_[PADR_(struct osigaction32 *)];
806 };
807 struct ofreebsd32_sigprocmask_args {
808 	char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)];
809 	char mask_l_[PADL_(osigset_t)]; osigset_t mask; char mask_r_[PADR_(osigset_t)];
810 };
811 struct ofreebsd32_fstat_args {
812 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
813 	char ub_l_[PADL_(struct ostat32 *)]; struct ostat32 * ub; char ub_r_[PADR_(struct ostat32 *)];
814 };
815 struct ofreebsd32_getpagesize_args {
816 	char dummy_l_[PADL_(int32_t)]; int32_t dummy; char dummy_r_[PADR_(int32_t)];
817 };
818 struct ofreebsd32_sigreturn_args {
819 	char sigcntxp_l_[PADL_(struct ia32_sigcontext3 *)]; struct ia32_sigcontext3 * sigcntxp; char sigcntxp_r_[PADR_(struct ia32_sigcontext3 *)];
820 };
821 struct ofreebsd32_sigvec_args {
822 	char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)];
823 	char nsv_l_[PADL_(struct sigvec32 *)]; struct sigvec32 * nsv; char nsv_r_[PADR_(struct sigvec32 *)];
824 	char osv_l_[PADL_(struct sigvec32 *)]; struct sigvec32 * osv; char osv_r_[PADR_(struct sigvec32 *)];
825 };
826 struct ofreebsd32_sigblock_args {
827 	char mask_l_[PADL_(int)]; int mask; char mask_r_[PADR_(int)];
828 };
829 struct ofreebsd32_sigsetmask_args {
830 	char mask_l_[PADL_(int)]; int mask; char mask_r_[PADR_(int)];
831 };
832 struct ofreebsd32_sigsuspend_args {
833 	char mask_l_[PADL_(int)]; int mask; char mask_r_[PADR_(int)];
834 };
835 struct ofreebsd32_sigstack_args {
836 	char nss_l_[PADL_(struct sigstack32 *)]; struct sigstack32 * nss; char nss_r_[PADR_(struct sigstack32 *)];
837 	char oss_l_[PADL_(struct sigstack32 *)]; struct sigstack32 * oss; char oss_r_[PADR_(struct sigstack32 *)];
838 };
839 struct ofreebsd32_getdirentries_args {
840 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
841 	char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
842 	char count_l_[PADL_(u_int)]; u_int count; char count_r_[PADR_(u_int)];
843 	char basep_l_[PADL_(uint32_t *)]; uint32_t * basep; char basep_r_[PADR_(uint32_t *)];
844 };
845 #ifdef PAD64_REQUIRED
846 #else
847 #endif
848 #ifdef PAD64_REQUIRED
849 #else
850 #endif
851 #ifdef PAD64_REQUIRED
852 #else
853 #endif
854 int	ofreebsd32_lseek(struct thread *, struct ofreebsd32_lseek_args *);
855 int	ofreebsd32_stat(struct thread *, struct ofreebsd32_stat_args *);
856 int	ofreebsd32_lstat(struct thread *, struct ofreebsd32_lstat_args *);
857 int	ofreebsd32_sigaction(struct thread *, struct ofreebsd32_sigaction_args *);
858 int	ofreebsd32_sigprocmask(struct thread *, struct ofreebsd32_sigprocmask_args *);
859 int	ofreebsd32_sigpending(struct thread *, struct ofreebsd32_sigpending_args *);
860 int	ofreebsd32_fstat(struct thread *, struct ofreebsd32_fstat_args *);
861 int	ofreebsd32_getpagesize(struct thread *, struct ofreebsd32_getpagesize_args *);
862 int	ofreebsd32_sigreturn(struct thread *, struct ofreebsd32_sigreturn_args *);
863 int	ofreebsd32_sigvec(struct thread *, struct ofreebsd32_sigvec_args *);
864 int	ofreebsd32_sigblock(struct thread *, struct ofreebsd32_sigblock_args *);
865 int	ofreebsd32_sigsetmask(struct thread *, struct ofreebsd32_sigsetmask_args *);
866 int	ofreebsd32_sigsuspend(struct thread *, struct ofreebsd32_sigsuspend_args *);
867 int	ofreebsd32_sigstack(struct thread *, struct ofreebsd32_sigstack_args *);
868 int	ofreebsd32_getdirentries(struct thread *, struct ofreebsd32_getdirentries_args *);
869 
870 #endif /* COMPAT_43 */
871 
872 
873 #ifdef COMPAT_FREEBSD4
874 
875 #if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
876 #define PAD64_REQUIRED
877 #endif
878 struct freebsd4_freebsd32_getfsstat_args {
879 	char buf_l_[PADL_(struct statfs32 *)]; struct statfs32 * buf; char buf_r_[PADR_(struct statfs32 *)];
880 	char bufsize_l_[PADL_(long)]; long bufsize; char bufsize_r_[PADR_(long)];
881 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
882 };
883 struct freebsd4_freebsd32_statfs_args {
884 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
885 	char buf_l_[PADL_(struct statfs32 *)]; struct statfs32 * buf; char buf_r_[PADR_(struct statfs32 *)];
886 };
887 struct freebsd4_freebsd32_fstatfs_args {
888 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
889 	char buf_l_[PADL_(struct statfs32 *)]; struct statfs32 * buf; char buf_r_[PADR_(struct statfs32 *)];
890 };
891 struct freebsd4_freebsd32_fhstatfs_args {
892 	char u_fhp_l_[PADL_(const struct fhandle *)]; const struct fhandle * u_fhp; char u_fhp_r_[PADR_(const struct fhandle *)];
893 	char buf_l_[PADL_(struct statfs32 *)]; struct statfs32 * buf; char buf_r_[PADR_(struct statfs32 *)];
894 };
895 struct freebsd4_freebsd32_sendfile_args {
896 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
897 	char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
898 	char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
899 	char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
900 	char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
901 	char hdtr_l_[PADL_(struct sf_hdtr32 *)]; struct sf_hdtr32 * hdtr; char hdtr_r_[PADR_(struct sf_hdtr32 *)];
902 	char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)];
903 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
904 };
905 struct freebsd4_freebsd32_sigaction_args {
906 	char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)];
907 	char act_l_[PADL_(struct sigaction32 *)]; struct sigaction32 * act; char act_r_[PADR_(struct sigaction32 *)];
908 	char oact_l_[PADL_(struct sigaction32 *)]; struct sigaction32 * oact; char oact_r_[PADR_(struct sigaction32 *)];
909 };
910 struct freebsd4_freebsd32_sigreturn_args {
911 	char sigcntxp_l_[PADL_(const struct freebsd4_freebsd32_ucontext *)]; const struct freebsd4_freebsd32_ucontext * sigcntxp; char sigcntxp_r_[PADR_(const struct freebsd4_freebsd32_ucontext *)];
912 };
913 #ifdef PAD64_REQUIRED
914 #else
915 #endif
916 #ifdef PAD64_REQUIRED
917 #else
918 #endif
919 #ifdef PAD64_REQUIRED
920 #else
921 #endif
922 int	freebsd4_freebsd32_getfsstat(struct thread *, struct freebsd4_freebsd32_getfsstat_args *);
923 int	freebsd4_freebsd32_statfs(struct thread *, struct freebsd4_freebsd32_statfs_args *);
924 int	freebsd4_freebsd32_fstatfs(struct thread *, struct freebsd4_freebsd32_fstatfs_args *);
925 int	freebsd4_freebsd32_fhstatfs(struct thread *, struct freebsd4_freebsd32_fhstatfs_args *);
926 int	freebsd4_freebsd32_sendfile(struct thread *, struct freebsd4_freebsd32_sendfile_args *);
927 int	freebsd4_freebsd32_sigaction(struct thread *, struct freebsd4_freebsd32_sigaction_args *);
928 int	freebsd4_freebsd32_sigreturn(struct thread *, struct freebsd4_freebsd32_sigreturn_args *);
929 
930 #endif /* COMPAT_FREEBSD4 */
931 
932 
933 #ifdef COMPAT_FREEBSD6
934 
935 #if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
936 #define PAD64_REQUIRED
937 #endif
938 struct freebsd6_freebsd32_pread_args {
939 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
940 	char buf_l_[PADL_(void *)]; void * buf; char buf_r_[PADR_(void *)];
941 	char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
942 	char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
943 	char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
944 	char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
945 };
946 struct freebsd6_freebsd32_pwrite_args {
947 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
948 	char buf_l_[PADL_(const void *)]; const void * buf; char buf_r_[PADR_(const void *)];
949 	char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
950 	char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
951 	char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
952 	char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
953 };
954 struct freebsd6_freebsd32_mmap_args {
955 	char addr_l_[PADL_(caddr_t)]; caddr_t addr; char addr_r_[PADR_(caddr_t)];
956 	char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
957 	char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)];
958 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
959 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
960 	char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
961 	char pos1_l_[PADL_(uint32_t)]; uint32_t pos1; char pos1_r_[PADR_(uint32_t)];
962 	char pos2_l_[PADL_(uint32_t)]; uint32_t pos2; char pos2_r_[PADR_(uint32_t)];
963 };
964 struct freebsd6_freebsd32_lseek_args {
965 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
966 	char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
967 	char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
968 	char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
969 	char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)];
970 };
971 struct freebsd6_freebsd32_truncate_args {
972 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
973 	char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
974 	char length1_l_[PADL_(uint32_t)]; uint32_t length1; char length1_r_[PADR_(uint32_t)];
975 	char length2_l_[PADL_(uint32_t)]; uint32_t length2; char length2_r_[PADR_(uint32_t)];
976 };
977 struct freebsd6_freebsd32_ftruncate_args {
978 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
979 	char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
980 	char length1_l_[PADL_(uint32_t)]; uint32_t length1; char length1_r_[PADR_(uint32_t)];
981 	char length2_l_[PADL_(uint32_t)]; uint32_t length2; char length2_r_[PADR_(uint32_t)];
982 };
983 #ifdef PAD64_REQUIRED
984 #else
985 #endif
986 #ifdef PAD64_REQUIRED
987 #else
988 #endif
989 #ifdef PAD64_REQUIRED
990 #else
991 #endif
992 int	freebsd6_freebsd32_pread(struct thread *, struct freebsd6_freebsd32_pread_args *);
993 int	freebsd6_freebsd32_pwrite(struct thread *, struct freebsd6_freebsd32_pwrite_args *);
994 int	freebsd6_freebsd32_mmap(struct thread *, struct freebsd6_freebsd32_mmap_args *);
995 int	freebsd6_freebsd32_lseek(struct thread *, struct freebsd6_freebsd32_lseek_args *);
996 int	freebsd6_freebsd32_truncate(struct thread *, struct freebsd6_freebsd32_truncate_args *);
997 int	freebsd6_freebsd32_ftruncate(struct thread *, struct freebsd6_freebsd32_ftruncate_args *);
998 
999 #endif /* COMPAT_FREEBSD6 */
1000 
1001 
1002 #ifdef COMPAT_FREEBSD7
1003 
1004 #if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
1005 #define PAD64_REQUIRED
1006 #endif
1007 struct freebsd7_freebsd32_semctl_args {
1008 	char semid_l_[PADL_(int)]; int semid; char semid_r_[PADR_(int)];
1009 	char semnum_l_[PADL_(int)]; int semnum; char semnum_r_[PADR_(int)];
1010 	char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
1011 	char arg_l_[PADL_(union semun32 *)]; union semun32 * arg; char arg_r_[PADR_(union semun32 *)];
1012 };
1013 struct freebsd7_freebsd32_msgctl_args {
1014 	char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)];
1015 	char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
1016 	char buf_l_[PADL_(struct msqid_ds32_old *)]; struct msqid_ds32_old * buf; char buf_r_[PADR_(struct msqid_ds32_old *)];
1017 };
1018 struct freebsd7_freebsd32_shmctl_args {
1019 	char shmid_l_[PADL_(int)]; int shmid; char shmid_r_[PADR_(int)];
1020 	char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
1021 	char buf_l_[PADL_(struct shmid_ds32_old *)]; struct shmid_ds32_old * buf; char buf_r_[PADR_(struct shmid_ds32_old *)];
1022 };
1023 #ifdef PAD64_REQUIRED
1024 #else
1025 #endif
1026 #ifdef PAD64_REQUIRED
1027 #else
1028 #endif
1029 #ifdef PAD64_REQUIRED
1030 #else
1031 #endif
1032 int	freebsd7_freebsd32_semctl(struct thread *, struct freebsd7_freebsd32_semctl_args *);
1033 int	freebsd7_freebsd32_msgctl(struct thread *, struct freebsd7_freebsd32_msgctl_args *);
1034 int	freebsd7_freebsd32_shmctl(struct thread *, struct freebsd7_freebsd32_shmctl_args *);
1035 
1036 #endif /* COMPAT_FREEBSD7 */
1037 
1038 #define	FREEBSD32_SYS_AUE_freebsd32_wait4	AUE_WAIT4
1039 #define	FREEBSD32_SYS_AUE_freebsd4_freebsd32_getfsstat	AUE_GETFSSTAT
1040 #define	FREEBSD32_SYS_AUE_ofreebsd32_lseek	AUE_LSEEK
1041 #define	FREEBSD32_SYS_AUE_freebsd32_recvmsg	AUE_RECVMSG
1042 #define	FREEBSD32_SYS_AUE_freebsd32_sendmsg	AUE_SENDMSG
1043 #define	FREEBSD32_SYS_AUE_freebsd32_recvfrom	AUE_RECVFROM
1044 #define	FREEBSD32_SYS_AUE_ofreebsd32_stat	AUE_STAT
1045 #define	FREEBSD32_SYS_AUE_ofreebsd32_lstat	AUE_LSTAT
1046 #define	FREEBSD32_SYS_AUE_ofreebsd32_sigaction	AUE_SIGACTION
1047 #define	FREEBSD32_SYS_AUE_ofreebsd32_sigprocmask	AUE_SIGPROCMASK
1048 #define	FREEBSD32_SYS_AUE_ofreebsd32_sigpending	AUE_SIGPENDING
1049 #define	FREEBSD32_SYS_AUE_freebsd32_sigaltstack	AUE_SIGALTSTACK
1050 #define	FREEBSD32_SYS_AUE_freebsd32_ioctl	AUE_NULL
1051 #define	FREEBSD32_SYS_AUE_freebsd32_execve	AUE_EXECVE
1052 #define	FREEBSD32_SYS_AUE_ofreebsd32_fstat	AUE_FSTAT
1053 #define	FREEBSD32_SYS_AUE_ofreebsd32_getpagesize	AUE_NULL
1054 #define	FREEBSD32_SYS_AUE_freebsd32_mprotect	AUE_MPROTECT
1055 #define	FREEBSD32_SYS_AUE_freebsd32_setitimer	AUE_SETITIMER
1056 #define	FREEBSD32_SYS_AUE_freebsd32_getitimer	AUE_GETITIMER
1057 #define	FREEBSD32_SYS_AUE_freebsd32_select	AUE_SELECT
1058 #define	FREEBSD32_SYS_AUE_ofreebsd32_sigreturn	AUE_NULL
1059 #define	FREEBSD32_SYS_AUE_ofreebsd32_sigvec	AUE_O_SIGVEC
1060 #define	FREEBSD32_SYS_AUE_ofreebsd32_sigblock	AUE_O_SIGBLOCK
1061 #define	FREEBSD32_SYS_AUE_ofreebsd32_sigsetmask	AUE_O_SIGSETMASK
1062 #define	FREEBSD32_SYS_AUE_ofreebsd32_sigsuspend	AUE_SIGSUSPEND
1063 #define	FREEBSD32_SYS_AUE_ofreebsd32_sigstack	AUE_O_SIGSTACK
1064 #define	FREEBSD32_SYS_AUE_freebsd32_gettimeofday	AUE_GETTIMEOFDAY
1065 #define	FREEBSD32_SYS_AUE_freebsd32_getrusage	AUE_GETRUSAGE
1066 #define	FREEBSD32_SYS_AUE_freebsd32_readv	AUE_READV
1067 #define	FREEBSD32_SYS_AUE_freebsd32_writev	AUE_WRITEV
1068 #define	FREEBSD32_SYS_AUE_freebsd32_settimeofday	AUE_SETTIMEOFDAY
1069 #define	FREEBSD32_SYS_AUE_freebsd32_utimes	AUE_UTIMES
1070 #define	FREEBSD32_SYS_AUE_freebsd32_adjtime	AUE_ADJTIME
1071 #define	FREEBSD32_SYS_AUE_ofreebsd32_getdirentries	AUE_GETDIRENTRIES
1072 #define	FREEBSD32_SYS_AUE_freebsd4_freebsd32_statfs	AUE_STATFS
1073 #define	FREEBSD32_SYS_AUE_freebsd4_freebsd32_fstatfs	AUE_FSTATFS
1074 #define	FREEBSD32_SYS_AUE_freebsd32_sysarch	AUE_SYSARCH
1075 #define	FREEBSD32_SYS_AUE_freebsd32_semsys	AUE_SEMSYS
1076 #define	FREEBSD32_SYS_AUE_freebsd32_msgsys	AUE_MSGSYS
1077 #define	FREEBSD32_SYS_AUE_freebsd32_shmsys	AUE_SHMSYS
1078 #define	FREEBSD32_SYS_AUE_freebsd6_freebsd32_pread	AUE_PREAD
1079 #define	FREEBSD32_SYS_AUE_freebsd6_freebsd32_pwrite	AUE_PWRITE
1080 #define	FREEBSD32_SYS_AUE_freebsd32_stat	AUE_STAT
1081 #define	FREEBSD32_SYS_AUE_freebsd32_fstat	AUE_FSTAT
1082 #define	FREEBSD32_SYS_AUE_freebsd32_lstat	AUE_LSTAT
1083 #define	FREEBSD32_SYS_AUE_freebsd32_getdirentries	AUE_GETDIRENTRIES
1084 #define	FREEBSD32_SYS_AUE_freebsd6_freebsd32_mmap	AUE_MMAP
1085 #define	FREEBSD32_SYS_AUE_freebsd6_freebsd32_lseek	AUE_LSEEK
1086 #define	FREEBSD32_SYS_AUE_freebsd6_freebsd32_truncate	AUE_TRUNCATE
1087 #define	FREEBSD32_SYS_AUE_freebsd6_freebsd32_ftruncate	AUE_FTRUNCATE
1088 #define	FREEBSD32_SYS_AUE_freebsd32_sysctl	AUE_SYSCTL
1089 #define	FREEBSD32_SYS_AUE_freebsd32_futimes	AUE_FUTIMES
1090 #define	FREEBSD32_SYS_AUE_freebsd7_freebsd32_semctl	AUE_SEMCTL
1091 #define	FREEBSD32_SYS_AUE_freebsd7_freebsd32_msgctl	AUE_MSGCTL
1092 #define	FREEBSD32_SYS_AUE_freebsd32_msgsnd	AUE_MSGSND
1093 #define	FREEBSD32_SYS_AUE_freebsd32_msgrcv	AUE_MSGRCV
1094 #define	FREEBSD32_SYS_AUE_freebsd7_freebsd32_shmctl	AUE_SHMCTL
1095 #define	FREEBSD32_SYS_AUE_freebsd32_clock_gettime	AUE_NULL
1096 #define	FREEBSD32_SYS_AUE_freebsd32_clock_settime	AUE_CLOCK_SETTIME
1097 #define	FREEBSD32_SYS_AUE_freebsd32_clock_getres	AUE_NULL
1098 #define	FREEBSD32_SYS_AUE_freebsd32_ktimer_create	AUE_NULL
1099 #define	FREEBSD32_SYS_AUE_freebsd32_ktimer_settime	AUE_NULL
1100 #define	FREEBSD32_SYS_AUE_freebsd32_ktimer_gettime	AUE_NULL
1101 #define	FREEBSD32_SYS_AUE_freebsd32_nanosleep	AUE_NULL
1102 #define	FREEBSD32_SYS_AUE_freebsd32_clock_getcpuclockid2	AUE_NULL
1103 #define	FREEBSD32_SYS_AUE_freebsd32_aio_read	AUE_NULL
1104 #define	FREEBSD32_SYS_AUE_freebsd32_aio_write	AUE_NULL
1105 #define	FREEBSD32_SYS_AUE_freebsd32_lio_listio	AUE_NULL
1106 #define	FREEBSD32_SYS_AUE_freebsd32_lutimes	AUE_LUTIMES
1107 #define	FREEBSD32_SYS_AUE_freebsd32_preadv	AUE_PREADV
1108 #define	FREEBSD32_SYS_AUE_freebsd32_pwritev	AUE_PWRITEV
1109 #define	FREEBSD32_SYS_AUE_freebsd4_freebsd32_fhstatfs	AUE_FHSTATFS
1110 #define	FREEBSD32_SYS_AUE_freebsd32_modstat	AUE_NULL
1111 #define	FREEBSD32_SYS_AUE_freebsd32_kldstat	AUE_NULL
1112 #define	FREEBSD32_SYS_AUE_freebsd32_aio_return	AUE_NULL
1113 #define	FREEBSD32_SYS_AUE_freebsd32_aio_suspend	AUE_NULL
1114 #define	FREEBSD32_SYS_AUE_freebsd32_aio_cancel	AUE_NULL
1115 #define	FREEBSD32_SYS_AUE_freebsd32_aio_error	AUE_NULL
1116 #define	FREEBSD32_SYS_AUE_freebsd32_oaio_read	AUE_NULL
1117 #define	FREEBSD32_SYS_AUE_freebsd32_oaio_write	AUE_NULL
1118 #define	FREEBSD32_SYS_AUE_freebsd32_olio_listio	AUE_NULL
1119 #define	FREEBSD32_SYS_AUE_freebsd4_freebsd32_sendfile	AUE_SENDFILE
1120 #define	FREEBSD32_SYS_AUE_freebsd32_jail	AUE_JAIL
1121 #define	FREEBSD32_SYS_AUE_freebsd4_freebsd32_sigaction	AUE_SIGACTION
1122 #define	FREEBSD32_SYS_AUE_freebsd4_freebsd32_sigreturn	AUE_SIGRETURN
1123 #define	FREEBSD32_SYS_AUE_freebsd32_sigtimedwait	AUE_SIGWAIT
1124 #define	FREEBSD32_SYS_AUE_freebsd32_sigwaitinfo	AUE_NULL
1125 #define	FREEBSD32_SYS_AUE_freebsd32_aio_waitcomplete	AUE_NULL
1126 #define	FREEBSD32_SYS_AUE_freebsd32_kevent	AUE_NULL
1127 #define	FREEBSD32_SYS_AUE_freebsd32_nmount	AUE_NMOUNT
1128 #define	FREEBSD32_SYS_AUE_freebsd32_sendfile	AUE_SENDFILE
1129 #define	FREEBSD32_SYS_AUE_freebsd32_ksem_init	AUE_NULL
1130 #define	FREEBSD32_SYS_AUE_freebsd32_ksem_open	AUE_NULL
1131 #define	FREEBSD32_SYS_AUE_freebsd32_sigaction	AUE_SIGACTION
1132 #define	FREEBSD32_SYS_AUE_freebsd32_sigreturn	AUE_SIGRETURN
1133 #define	FREEBSD32_SYS_AUE_freebsd32_getcontext	AUE_NULL
1134 #define	FREEBSD32_SYS_AUE_freebsd32_setcontext	AUE_NULL
1135 #define	FREEBSD32_SYS_AUE_freebsd32_swapcontext	AUE_NULL
1136 #define	FREEBSD32_SYS_AUE_freebsd32_umtx_lock	AUE_NULL
1137 #define	FREEBSD32_SYS_AUE_freebsd32_umtx_unlock	AUE_NULL
1138 #define	FREEBSD32_SYS_AUE_freebsd32_ksem_timedwait	AUE_NULL
1139 #define	FREEBSD32_SYS_AUE_freebsd32_thr_suspend	AUE_NULL
1140 #define	FREEBSD32_SYS_AUE_freebsd32_umtx_op	AUE_NULL
1141 #define	FREEBSD32_SYS_AUE_freebsd32_thr_new	AUE_NULL
1142 #define	FREEBSD32_SYS_AUE_freebsd32_kmq_open	AUE_NULL
1143 #define	FREEBSD32_SYS_AUE_freebsd32_kmq_setattr	AUE_NULL
1144 #define	FREEBSD32_SYS_AUE_freebsd32_kmq_timedreceive	AUE_NULL
1145 #define	FREEBSD32_SYS_AUE_freebsd32_kmq_timedsend	AUE_NULL
1146 #define	FREEBSD32_SYS_AUE_freebsd32_kmq_notify	AUE_NULL
1147 #define	FREEBSD32_SYS_AUE_freebsd32_aio_fsync	AUE_NULL
1148 #define	FREEBSD32_SYS_AUE_freebsd32_pread	AUE_PREAD
1149 #define	FREEBSD32_SYS_AUE_freebsd32_pwrite	AUE_PWRITE
1150 #define	FREEBSD32_SYS_AUE_freebsd32_mmap	AUE_MMAP
1151 #define	FREEBSD32_SYS_AUE_freebsd32_lseek	AUE_LSEEK
1152 #define	FREEBSD32_SYS_AUE_freebsd32_truncate	AUE_TRUNCATE
1153 #define	FREEBSD32_SYS_AUE_freebsd32_ftruncate	AUE_FTRUNCATE
1154 #define	FREEBSD32_SYS_AUE_freebsd32_pread	AUE_PREAD
1155 #define	FREEBSD32_SYS_AUE_freebsd32_pwrite	AUE_PWRITE
1156 #define	FREEBSD32_SYS_AUE_freebsd32_mmap	AUE_MMAP
1157 #define	FREEBSD32_SYS_AUE_freebsd32_lseek	AUE_LSEEK
1158 #define	FREEBSD32_SYS_AUE_freebsd32_truncate	AUE_TRUNCATE
1159 #define	FREEBSD32_SYS_AUE_freebsd32_ftruncate	AUE_FTRUNCATE
1160 #define	FREEBSD32_SYS_AUE_freebsd32_cpuset_setid	AUE_NULL
1161 #define	FREEBSD32_SYS_AUE_freebsd32_cpuset_setid	AUE_NULL
1162 #define	FREEBSD32_SYS_AUE_freebsd32_cpuset_getid	AUE_NULL
1163 #define	FREEBSD32_SYS_AUE_freebsd32_cpuset_getaffinity	AUE_NULL
1164 #define	FREEBSD32_SYS_AUE_freebsd32_cpuset_setaffinity	AUE_NULL
1165 #define	FREEBSD32_SYS_AUE_freebsd32_fexecve	AUE_FEXECVE
1166 #define	FREEBSD32_SYS_AUE_freebsd32_fstatat	AUE_FSTATAT
1167 #define	FREEBSD32_SYS_AUE_freebsd32_futimesat	AUE_FUTIMESAT
1168 #define	FREEBSD32_SYS_AUE_freebsd32_jail_get	AUE_NULL
1169 #define	FREEBSD32_SYS_AUE_freebsd32_jail_set	AUE_NULL
1170 #define	FREEBSD32_SYS_AUE_freebsd32_semctl	AUE_SEMCTL
1171 #define	FREEBSD32_SYS_AUE_freebsd32_msgctl	AUE_MSGCTL
1172 #define	FREEBSD32_SYS_AUE_freebsd32_shmctl	AUE_SHMCTL
1173 #define	FREEBSD32_SYS_AUE_freebsd32_pselect	AUE_SELECT
1174 #define	FREEBSD32_SYS_AUE_freebsd32_posix_fallocate	AUE_NULL
1175 #define	FREEBSD32_SYS_AUE_freebsd32_posix_fadvise	AUE_NULL
1176 #define	FREEBSD32_SYS_AUE_freebsd32_wait6	AUE_WAIT6
1177 #define	FREEBSD32_SYS_AUE_freebsd32_posix_fallocate	AUE_NULL
1178 #define	FREEBSD32_SYS_AUE_freebsd32_posix_fadvise	AUE_NULL
1179 #define	FREEBSD32_SYS_AUE_freebsd32_wait6	AUE_WAIT6
1180 #define	FREEBSD32_SYS_AUE_freebsd32_aio_mlock	AUE_NULL
1181 
1182 #undef PAD_
1183 #undef PADL_
1184 #undef PADR_
1185 
1186 #endif /* !_FREEBSD32_SYSPROTO_H_ */
1187