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