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