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