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