netbsd32_syscallargs.h revision 1.80 1 1.79 ad /* $NetBSD: netbsd32_syscallargs.h,v 1.80 2008/11/14 15:50:42 ad Exp $ */
2 1.1 mrg
3 1.1 mrg /*
4 1.1 mrg * System call argument lists.
5 1.1 mrg *
6 1.1 mrg * DO NOT EDIT-- this file is automatically generated.
7 1.80 ad * created from NetBSD: syscalls.master,v 1.72 2008/11/14 15:49:20 ad Exp
8 1.1 mrg */
9 1.1 mrg
10 1.69 dsl #ifndef _NETBSD32_SYS_SYSCALLARGS_H_
11 1.69 dsl #define _NETBSD32_SYS_SYSCALLARGS_H_
12 1.69 dsl
13 1.69 dsl #define NETBSD32_SYS_MAXSYSARGS 8
14 1.7 mrg
15 1.4 eeh #undef syscallarg
16 1.11 eeh #define syscallarg(x) \
17 1.11 eeh union { \
18 1.11 eeh register32_t pad; \
19 1.11 eeh struct { x datum; } le; \
20 1.25 lukem struct { /* LINTED zero array dimension */ \
21 1.25 lukem int8_t pad[ /* CONSTCOND */ \
22 1.25 lukem (sizeof (register32_t) < sizeof (x)) \
23 1.11 eeh ? 0 \
24 1.11 eeh : sizeof (register32_t) - sizeof (x)]; \
25 1.11 eeh x datum; \
26 1.11 eeh } be; \
27 1.11 eeh }
28 1.4 eeh
29 1.69 dsl #undef check_syscall_args
30 1.69 dsl #define check_syscall_args(call) \
31 1.69 dsl typedef char call##_check_args[sizeof (struct call##_args) \
32 1.69 dsl <= NETBSD32_SYS_MAXSYSARGS * sizeof (register32_t) ? 1 : -1];
33 1.69 dsl
34 1.69 dsl struct netbsd32_sys_syscall_args {
35 1.69 dsl syscallarg(int) code;
36 1.69 dsl syscallarg(register32_t) args[NETBSD32_SYS_MAXSYSARGS];
37 1.69 dsl };
38 1.69 dsl
39 1.11 eeh struct netbsd32_exit_args {
40 1.4 eeh syscallarg(int) rval;
41 1.4 eeh };
42 1.69 dsl check_syscall_args(netbsd32_exit)
43 1.1 mrg
44 1.11 eeh struct netbsd32_read_args {
45 1.1 mrg syscallarg(int) fd;
46 1.8 mrg syscallarg(netbsd32_voidp) buf;
47 1.8 mrg syscallarg(netbsd32_size_t) nbyte;
48 1.1 mrg };
49 1.69 dsl check_syscall_args(netbsd32_read)
50 1.1 mrg
51 1.11 eeh struct netbsd32_write_args {
52 1.1 mrg syscallarg(int) fd;
53 1.71 dsl syscallarg(netbsd32_voidp) buf;
54 1.8 mrg syscallarg(netbsd32_size_t) nbyte;
55 1.1 mrg };
56 1.69 dsl check_syscall_args(netbsd32_write)
57 1.1 mrg
58 1.11 eeh struct netbsd32_open_args {
59 1.71 dsl syscallarg(netbsd32_charp) path;
60 1.1 mrg syscallarg(int) flags;
61 1.1 mrg syscallarg(mode_t) mode;
62 1.1 mrg };
63 1.69 dsl check_syscall_args(netbsd32_open)
64 1.1 mrg
65 1.11 eeh struct netbsd32_close_args {
66 1.4 eeh syscallarg(int) fd;
67 1.4 eeh };
68 1.69 dsl check_syscall_args(netbsd32_close)
69 1.4 eeh
70 1.11 eeh struct netbsd32_wait4_args {
71 1.1 mrg syscallarg(int) pid;
72 1.8 mrg syscallarg(netbsd32_intp) status;
73 1.1 mrg syscallarg(int) options;
74 1.8 mrg syscallarg(netbsd32_rusagep_t) rusage;
75 1.1 mrg };
76 1.69 dsl check_syscall_args(netbsd32_wait4)
77 1.1 mrg
78 1.11 eeh struct compat_43_netbsd32_ocreat_args {
79 1.71 dsl syscallarg(netbsd32_charp) path;
80 1.1 mrg syscallarg(mode_t) mode;
81 1.1 mrg };
82 1.69 dsl check_syscall_args(compat_43_netbsd32_ocreat)
83 1.1 mrg
84 1.11 eeh struct netbsd32_link_args {
85 1.71 dsl syscallarg(netbsd32_charp) path;
86 1.71 dsl syscallarg(netbsd32_charp) link;
87 1.1 mrg };
88 1.69 dsl check_syscall_args(netbsd32_link)
89 1.1 mrg
90 1.11 eeh struct netbsd32_unlink_args {
91 1.71 dsl syscallarg(netbsd32_charp) path;
92 1.1 mrg };
93 1.69 dsl check_syscall_args(netbsd32_unlink)
94 1.1 mrg
95 1.11 eeh struct netbsd32_chdir_args {
96 1.71 dsl syscallarg(netbsd32_charp) path;
97 1.1 mrg };
98 1.69 dsl check_syscall_args(netbsd32_chdir)
99 1.1 mrg
100 1.11 eeh struct netbsd32_fchdir_args {
101 1.4 eeh syscallarg(int) fd;
102 1.4 eeh };
103 1.69 dsl check_syscall_args(netbsd32_fchdir)
104 1.4 eeh
105 1.11 eeh struct netbsd32_mknod_args {
106 1.71 dsl syscallarg(netbsd32_charp) path;
107 1.1 mrg syscallarg(mode_t) mode;
108 1.1 mrg syscallarg(dev_t) dev;
109 1.1 mrg };
110 1.69 dsl check_syscall_args(netbsd32_mknod)
111 1.1 mrg
112 1.11 eeh struct netbsd32_chmod_args {
113 1.71 dsl syscallarg(netbsd32_charp) path;
114 1.1 mrg syscallarg(mode_t) mode;
115 1.1 mrg };
116 1.69 dsl check_syscall_args(netbsd32_chmod)
117 1.1 mrg
118 1.11 eeh struct netbsd32_chown_args {
119 1.71 dsl syscallarg(netbsd32_charp) path;
120 1.1 mrg syscallarg(uid_t) uid;
121 1.1 mrg syscallarg(gid_t) gid;
122 1.1 mrg };
123 1.69 dsl check_syscall_args(netbsd32_chown)
124 1.1 mrg
125 1.11 eeh struct netbsd32_break_args {
126 1.8 mrg syscallarg(netbsd32_charp) nsize;
127 1.1 mrg };
128 1.69 dsl check_syscall_args(netbsd32_break)
129 1.1 mrg
130 1.32 cube struct compat_20_netbsd32_getfsstat_args {
131 1.8 mrg syscallarg(netbsd32_statfsp_t) buf;
132 1.8 mrg syscallarg(netbsd32_long) bufsize;
133 1.1 mrg syscallarg(int) flags;
134 1.1 mrg };
135 1.69 dsl check_syscall_args(compat_20_netbsd32_getfsstat)
136 1.1 mrg
137 1.11 eeh struct compat_43_netbsd32_olseek_args {
138 1.1 mrg syscallarg(int) fd;
139 1.8 mrg syscallarg(netbsd32_long) offset;
140 1.1 mrg syscallarg(int) whence;
141 1.1 mrg };
142 1.69 dsl check_syscall_args(compat_43_netbsd32_olseek)
143 1.1 mrg
144 1.11 eeh struct netbsd32_mount_args {
145 1.71 dsl syscallarg(netbsd32_charp) type;
146 1.71 dsl syscallarg(netbsd32_charp) path;
147 1.1 mrg syscallarg(int) flags;
148 1.8 mrg syscallarg(netbsd32_voidp) data;
149 1.1 mrg };
150 1.69 dsl check_syscall_args(netbsd32_mount)
151 1.1 mrg
152 1.11 eeh struct netbsd32_unmount_args {
153 1.71 dsl syscallarg(netbsd32_charp) path;
154 1.1 mrg syscallarg(int) flags;
155 1.1 mrg };
156 1.69 dsl check_syscall_args(netbsd32_unmount)
157 1.1 mrg
158 1.11 eeh struct netbsd32_setuid_args {
159 1.4 eeh syscallarg(uid_t) uid;
160 1.4 eeh };
161 1.69 dsl check_syscall_args(netbsd32_setuid)
162 1.4 eeh
163 1.11 eeh struct netbsd32_ptrace_args {
164 1.1 mrg syscallarg(int) req;
165 1.1 mrg syscallarg(pid_t) pid;
166 1.66 christos syscallarg(netbsd32_caddr_t) addr;
167 1.1 mrg syscallarg(int) data;
168 1.1 mrg };
169 1.69 dsl check_syscall_args(netbsd32_ptrace)
170 1.1 mrg
171 1.11 eeh struct netbsd32_recvmsg_args {
172 1.1 mrg syscallarg(int) s;
173 1.8 mrg syscallarg(netbsd32_msghdrp_t) msg;
174 1.1 mrg syscallarg(int) flags;
175 1.1 mrg };
176 1.69 dsl check_syscall_args(netbsd32_recvmsg)
177 1.1 mrg
178 1.11 eeh struct netbsd32_sendmsg_args {
179 1.1 mrg syscallarg(int) s;
180 1.71 dsl syscallarg(netbsd32_msghdrp_t) msg;
181 1.1 mrg syscallarg(int) flags;
182 1.1 mrg };
183 1.69 dsl check_syscall_args(netbsd32_sendmsg)
184 1.1 mrg
185 1.11 eeh struct netbsd32_recvfrom_args {
186 1.1 mrg syscallarg(int) s;
187 1.8 mrg syscallarg(netbsd32_voidp) buf;
188 1.8 mrg syscallarg(netbsd32_size_t) len;
189 1.1 mrg syscallarg(int) flags;
190 1.8 mrg syscallarg(netbsd32_sockaddrp_t) from;
191 1.8 mrg syscallarg(netbsd32_intp) fromlenaddr;
192 1.1 mrg };
193 1.69 dsl check_syscall_args(netbsd32_recvfrom)
194 1.1 mrg
195 1.11 eeh struct netbsd32_accept_args {
196 1.1 mrg syscallarg(int) s;
197 1.8 mrg syscallarg(netbsd32_sockaddrp_t) name;
198 1.8 mrg syscallarg(netbsd32_intp) anamelen;
199 1.1 mrg };
200 1.69 dsl check_syscall_args(netbsd32_accept)
201 1.1 mrg
202 1.11 eeh struct netbsd32_getpeername_args {
203 1.1 mrg syscallarg(int) fdes;
204 1.8 mrg syscallarg(netbsd32_sockaddrp_t) asa;
205 1.8 mrg syscallarg(netbsd32_intp) alen;
206 1.1 mrg };
207 1.69 dsl check_syscall_args(netbsd32_getpeername)
208 1.1 mrg
209 1.11 eeh struct netbsd32_getsockname_args {
210 1.1 mrg syscallarg(int) fdes;
211 1.8 mrg syscallarg(netbsd32_sockaddrp_t) asa;
212 1.8 mrg syscallarg(netbsd32_intp) alen;
213 1.1 mrg };
214 1.69 dsl check_syscall_args(netbsd32_getsockname)
215 1.1 mrg
216 1.11 eeh struct netbsd32_access_args {
217 1.71 dsl syscallarg(netbsd32_charp) path;
218 1.1 mrg syscallarg(int) flags;
219 1.1 mrg };
220 1.69 dsl check_syscall_args(netbsd32_access)
221 1.1 mrg
222 1.11 eeh struct netbsd32_chflags_args {
223 1.71 dsl syscallarg(netbsd32_charp) path;
224 1.8 mrg syscallarg(netbsd32_u_long) flags;
225 1.1 mrg };
226 1.69 dsl check_syscall_args(netbsd32_chflags)
227 1.1 mrg
228 1.11 eeh struct netbsd32_fchflags_args {
229 1.1 mrg syscallarg(int) fd;
230 1.8 mrg syscallarg(netbsd32_u_long) flags;
231 1.1 mrg };
232 1.69 dsl check_syscall_args(netbsd32_fchflags)
233 1.1 mrg
234 1.11 eeh struct netbsd32_kill_args {
235 1.4 eeh syscallarg(int) pid;
236 1.4 eeh syscallarg(int) signum;
237 1.4 eeh };
238 1.69 dsl check_syscall_args(netbsd32_kill)
239 1.4 eeh
240 1.11 eeh struct compat_43_netbsd32_stat43_args {
241 1.71 dsl syscallarg(netbsd32_charp) path;
242 1.8 mrg syscallarg(netbsd32_stat43p_t) ub;
243 1.1 mrg };
244 1.69 dsl check_syscall_args(compat_43_netbsd32_stat43)
245 1.1 mrg
246 1.11 eeh struct compat_43_netbsd32_lstat43_args {
247 1.71 dsl syscallarg(netbsd32_charp) path;
248 1.8 mrg syscallarg(netbsd32_stat43p_t) ub;
249 1.1 mrg };
250 1.69 dsl check_syscall_args(compat_43_netbsd32_lstat43)
251 1.1 mrg
252 1.11 eeh struct netbsd32_dup_args {
253 1.4 eeh syscallarg(int) fd;
254 1.4 eeh };
255 1.69 dsl check_syscall_args(netbsd32_dup)
256 1.4 eeh
257 1.11 eeh struct netbsd32_profil_args {
258 1.66 christos syscallarg(netbsd32_caddr_t) samples;
259 1.8 mrg syscallarg(netbsd32_size_t) size;
260 1.8 mrg syscallarg(netbsd32_u_long) offset;
261 1.1 mrg syscallarg(u_int) scale;
262 1.1 mrg };
263 1.69 dsl check_syscall_args(netbsd32_profil)
264 1.1 mrg
265 1.11 eeh struct netbsd32_ktrace_args {
266 1.71 dsl syscallarg(netbsd32_charp) fname;
267 1.1 mrg syscallarg(int) ops;
268 1.1 mrg syscallarg(int) facs;
269 1.1 mrg syscallarg(int) pid;
270 1.1 mrg };
271 1.69 dsl check_syscall_args(netbsd32_ktrace)
272 1.1 mrg
273 1.11 eeh struct netbsd32_sigaction_args {
274 1.1 mrg syscallarg(int) signum;
275 1.71 dsl syscallarg(netbsd32_sigactionp_t) nsa;
276 1.8 mrg syscallarg(netbsd32_sigactionp_t) osa;
277 1.1 mrg };
278 1.69 dsl check_syscall_args(netbsd32_sigaction)
279 1.1 mrg
280 1.11 eeh struct compat_13_netbsd32_sigprocmask_args {
281 1.4 eeh syscallarg(int) how;
282 1.4 eeh syscallarg(int) mask;
283 1.4 eeh };
284 1.69 dsl check_syscall_args(compat_13_netbsd32_sigprocmask)
285 1.4 eeh
286 1.11 eeh struct netbsd32___getlogin_args {
287 1.8 mrg syscallarg(netbsd32_charp) namebuf;
288 1.1 mrg syscallarg(u_int) namelen;
289 1.1 mrg };
290 1.69 dsl check_syscall_args(netbsd32___getlogin)
291 1.1 mrg
292 1.11 eeh struct netbsd32_setlogin_args {
293 1.71 dsl syscallarg(netbsd32_charp) namebuf;
294 1.1 mrg };
295 1.69 dsl check_syscall_args(netbsd32_setlogin)
296 1.1 mrg
297 1.11 eeh struct netbsd32_acct_args {
298 1.71 dsl syscallarg(netbsd32_charp) path;
299 1.1 mrg };
300 1.69 dsl check_syscall_args(netbsd32_acct)
301 1.1 mrg
302 1.11 eeh struct compat_13_netbsd32_sigaltstack13_args {
303 1.71 dsl syscallarg(netbsd32_sigaltstack13p_t) nss;
304 1.8 mrg syscallarg(netbsd32_sigaltstack13p_t) oss;
305 1.1 mrg };
306 1.69 dsl check_syscall_args(compat_13_netbsd32_sigaltstack13)
307 1.1 mrg
308 1.11 eeh struct netbsd32_ioctl_args {
309 1.1 mrg syscallarg(int) fd;
310 1.8 mrg syscallarg(netbsd32_u_long) com;
311 1.8 mrg syscallarg(netbsd32_voidp) data;
312 1.1 mrg };
313 1.69 dsl check_syscall_args(netbsd32_ioctl)
314 1.1 mrg
315 1.11 eeh struct compat_12_netbsd32_reboot_args {
316 1.4 eeh syscallarg(int) opt;
317 1.4 eeh };
318 1.69 dsl check_syscall_args(compat_12_netbsd32_reboot)
319 1.4 eeh
320 1.11 eeh struct netbsd32_revoke_args {
321 1.71 dsl syscallarg(netbsd32_charp) path;
322 1.1 mrg };
323 1.69 dsl check_syscall_args(netbsd32_revoke)
324 1.1 mrg
325 1.11 eeh struct netbsd32_symlink_args {
326 1.71 dsl syscallarg(netbsd32_charp) path;
327 1.71 dsl syscallarg(netbsd32_charp) link;
328 1.1 mrg };
329 1.69 dsl check_syscall_args(netbsd32_symlink)
330 1.1 mrg
331 1.11 eeh struct netbsd32_readlink_args {
332 1.71 dsl syscallarg(netbsd32_charp) path;
333 1.8 mrg syscallarg(netbsd32_charp) buf;
334 1.8 mrg syscallarg(netbsd32_size_t) count;
335 1.1 mrg };
336 1.69 dsl check_syscall_args(netbsd32_readlink)
337 1.1 mrg
338 1.11 eeh struct netbsd32_execve_args {
339 1.71 dsl syscallarg(netbsd32_charp) path;
340 1.8 mrg syscallarg(netbsd32_charpp) argp;
341 1.8 mrg syscallarg(netbsd32_charpp) envp;
342 1.1 mrg };
343 1.69 dsl check_syscall_args(netbsd32_execve)
344 1.1 mrg
345 1.11 eeh struct netbsd32_umask_args {
346 1.4 eeh syscallarg(mode_t) newmask;
347 1.4 eeh };
348 1.69 dsl check_syscall_args(netbsd32_umask)
349 1.4 eeh
350 1.11 eeh struct netbsd32_chroot_args {
351 1.71 dsl syscallarg(netbsd32_charp) path;
352 1.1 mrg };
353 1.69 dsl check_syscall_args(netbsd32_chroot)
354 1.1 mrg
355 1.11 eeh struct compat_43_netbsd32_fstat43_args {
356 1.1 mrg syscallarg(int) fd;
357 1.8 mrg syscallarg(netbsd32_stat43p_t) sb;
358 1.1 mrg };
359 1.69 dsl check_syscall_args(compat_43_netbsd32_fstat43)
360 1.1 mrg
361 1.11 eeh struct compat_43_netbsd32_ogetkerninfo_args {
362 1.1 mrg syscallarg(int) op;
363 1.8 mrg syscallarg(netbsd32_charp) where;
364 1.8 mrg syscallarg(netbsd32_intp) size;
365 1.1 mrg syscallarg(int) arg;
366 1.1 mrg };
367 1.69 dsl check_syscall_args(compat_43_netbsd32_ogetkerninfo)
368 1.1 mrg
369 1.11 eeh struct compat_12_netbsd32_msync_args {
370 1.66 christos syscallarg(netbsd32_caddr_t) addr;
371 1.8 mrg syscallarg(netbsd32_size_t) len;
372 1.1 mrg };
373 1.69 dsl check_syscall_args(compat_12_netbsd32_msync)
374 1.1 mrg
375 1.11 eeh struct netbsd32_sbrk_args {
376 1.11 eeh syscallarg(netbsd32_intptr_t) incr;
377 1.4 eeh };
378 1.69 dsl check_syscall_args(netbsd32_sbrk)
379 1.4 eeh
380 1.11 eeh struct netbsd32_sstk_args {
381 1.4 eeh syscallarg(int) incr;
382 1.4 eeh };
383 1.69 dsl check_syscall_args(netbsd32_sstk)
384 1.4 eeh
385 1.11 eeh struct compat_43_netbsd32_ommap_args {
386 1.66 christos syscallarg(netbsd32_caddr_t) addr;
387 1.8 mrg syscallarg(netbsd32_size_t) len;
388 1.1 mrg syscallarg(int) prot;
389 1.1 mrg syscallarg(int) flags;
390 1.1 mrg syscallarg(int) fd;
391 1.8 mrg syscallarg(netbsd32_long) pos;
392 1.1 mrg };
393 1.69 dsl check_syscall_args(compat_43_netbsd32_ommap)
394 1.1 mrg
395 1.11 eeh struct netbsd32_ovadvise_args {
396 1.4 eeh syscallarg(int) anom;
397 1.4 eeh };
398 1.69 dsl check_syscall_args(netbsd32_ovadvise)
399 1.4 eeh
400 1.11 eeh struct netbsd32_munmap_args {
401 1.8 mrg syscallarg(netbsd32_voidp) addr;
402 1.8 mrg syscallarg(netbsd32_size_t) len;
403 1.1 mrg };
404 1.69 dsl check_syscall_args(netbsd32_munmap)
405 1.1 mrg
406 1.11 eeh struct netbsd32_mprotect_args {
407 1.8 mrg syscallarg(netbsd32_voidp) addr;
408 1.8 mrg syscallarg(netbsd32_size_t) len;
409 1.1 mrg syscallarg(int) prot;
410 1.1 mrg };
411 1.69 dsl check_syscall_args(netbsd32_mprotect)
412 1.1 mrg
413 1.11 eeh struct netbsd32_madvise_args {
414 1.8 mrg syscallarg(netbsd32_voidp) addr;
415 1.8 mrg syscallarg(netbsd32_size_t) len;
416 1.1 mrg syscallarg(int) behav;
417 1.1 mrg };
418 1.69 dsl check_syscall_args(netbsd32_madvise)
419 1.1 mrg
420 1.11 eeh struct netbsd32_mincore_args {
421 1.66 christos syscallarg(netbsd32_caddr_t) addr;
422 1.8 mrg syscallarg(netbsd32_size_t) len;
423 1.8 mrg syscallarg(netbsd32_charp) vec;
424 1.1 mrg };
425 1.69 dsl check_syscall_args(netbsd32_mincore)
426 1.1 mrg
427 1.11 eeh struct netbsd32_getgroups_args {
428 1.1 mrg syscallarg(int) gidsetsize;
429 1.8 mrg syscallarg(netbsd32_gid_tp) gidset;
430 1.1 mrg };
431 1.69 dsl check_syscall_args(netbsd32_getgroups)
432 1.1 mrg
433 1.11 eeh struct netbsd32_setgroups_args {
434 1.1 mrg syscallarg(int) gidsetsize;
435 1.71 dsl syscallarg(netbsd32_gid_tp) gidset;
436 1.1 mrg };
437 1.69 dsl check_syscall_args(netbsd32_setgroups)
438 1.1 mrg
439 1.11 eeh struct netbsd32_setpgid_args {
440 1.4 eeh syscallarg(int) pid;
441 1.4 eeh syscallarg(int) pgid;
442 1.4 eeh };
443 1.69 dsl check_syscall_args(netbsd32_setpgid)
444 1.4 eeh
445 1.11 eeh struct netbsd32_setitimer_args {
446 1.1 mrg syscallarg(int) which;
447 1.71 dsl syscallarg(netbsd32_itimervalp_t) itv;
448 1.8 mrg syscallarg(netbsd32_itimervalp_t) oitv;
449 1.1 mrg };
450 1.69 dsl check_syscall_args(netbsd32_setitimer)
451 1.1 mrg
452 1.11 eeh struct compat_12_netbsd32_oswapon_args {
453 1.71 dsl syscallarg(netbsd32_charp) name;
454 1.1 mrg };
455 1.69 dsl check_syscall_args(compat_12_netbsd32_oswapon)
456 1.1 mrg
457 1.11 eeh struct netbsd32_getitimer_args {
458 1.1 mrg syscallarg(int) which;
459 1.8 mrg syscallarg(netbsd32_itimervalp_t) itv;
460 1.1 mrg };
461 1.69 dsl check_syscall_args(netbsd32_getitimer)
462 1.1 mrg
463 1.11 eeh struct compat_43_netbsd32_ogethostname_args {
464 1.8 mrg syscallarg(netbsd32_charp) hostname;
465 1.1 mrg syscallarg(u_int) len;
466 1.1 mrg };
467 1.69 dsl check_syscall_args(compat_43_netbsd32_ogethostname)
468 1.1 mrg
469 1.11 eeh struct compat_43_netbsd32_osethostname_args {
470 1.8 mrg syscallarg(netbsd32_charp) hostname;
471 1.1 mrg syscallarg(u_int) len;
472 1.1 mrg };
473 1.69 dsl check_syscall_args(compat_43_netbsd32_osethostname)
474 1.1 mrg
475 1.11 eeh struct netbsd32_dup2_args {
476 1.4 eeh syscallarg(int) from;
477 1.4 eeh syscallarg(int) to;
478 1.4 eeh };
479 1.69 dsl check_syscall_args(netbsd32_dup2)
480 1.4 eeh
481 1.11 eeh struct netbsd32_fcntl_args {
482 1.1 mrg syscallarg(int) fd;
483 1.1 mrg syscallarg(int) cmd;
484 1.8 mrg syscallarg(netbsd32_voidp) arg;
485 1.1 mrg };
486 1.69 dsl check_syscall_args(netbsd32_fcntl)
487 1.1 mrg
488 1.11 eeh struct netbsd32_select_args {
489 1.1 mrg syscallarg(int) nd;
490 1.8 mrg syscallarg(netbsd32_fd_setp_t) in;
491 1.8 mrg syscallarg(netbsd32_fd_setp_t) ou;
492 1.8 mrg syscallarg(netbsd32_fd_setp_t) ex;
493 1.8 mrg syscallarg(netbsd32_timevalp_t) tv;
494 1.1 mrg };
495 1.69 dsl check_syscall_args(netbsd32_select)
496 1.1 mrg
497 1.11 eeh struct netbsd32_fsync_args {
498 1.4 eeh syscallarg(int) fd;
499 1.4 eeh };
500 1.69 dsl check_syscall_args(netbsd32_fsync)
501 1.4 eeh
502 1.11 eeh struct netbsd32_setpriority_args {
503 1.4 eeh syscallarg(int) which;
504 1.4 eeh syscallarg(int) who;
505 1.4 eeh syscallarg(int) prio;
506 1.4 eeh };
507 1.69 dsl check_syscall_args(netbsd32_setpriority)
508 1.4 eeh
509 1.54 mrg struct compat_30_netbsd32_socket_args {
510 1.4 eeh syscallarg(int) domain;
511 1.4 eeh syscallarg(int) type;
512 1.4 eeh syscallarg(int) protocol;
513 1.4 eeh };
514 1.69 dsl check_syscall_args(compat_30_netbsd32_socket)
515 1.4 eeh
516 1.11 eeh struct netbsd32_connect_args {
517 1.1 mrg syscallarg(int) s;
518 1.71 dsl syscallarg(netbsd32_sockaddrp_t) name;
519 1.1 mrg syscallarg(int) namelen;
520 1.1 mrg };
521 1.69 dsl check_syscall_args(netbsd32_connect)
522 1.1 mrg
523 1.11 eeh struct compat_43_netbsd32_oaccept_args {
524 1.1 mrg syscallarg(int) s;
525 1.66 christos syscallarg(netbsd32_caddr_t) name;
526 1.8 mrg syscallarg(netbsd32_intp) anamelen;
527 1.1 mrg };
528 1.69 dsl check_syscall_args(compat_43_netbsd32_oaccept)
529 1.1 mrg
530 1.11 eeh struct netbsd32_getpriority_args {
531 1.4 eeh syscallarg(int) which;
532 1.4 eeh syscallarg(int) who;
533 1.4 eeh };
534 1.69 dsl check_syscall_args(netbsd32_getpriority)
535 1.4 eeh
536 1.11 eeh struct compat_43_netbsd32_osend_args {
537 1.1 mrg syscallarg(int) s;
538 1.66 christos syscallarg(netbsd32_caddr_t) buf;
539 1.1 mrg syscallarg(int) len;
540 1.1 mrg syscallarg(int) flags;
541 1.1 mrg };
542 1.69 dsl check_syscall_args(compat_43_netbsd32_osend)
543 1.1 mrg
544 1.11 eeh struct compat_43_netbsd32_orecv_args {
545 1.1 mrg syscallarg(int) s;
546 1.66 christos syscallarg(netbsd32_caddr_t) buf;
547 1.1 mrg syscallarg(int) len;
548 1.1 mrg syscallarg(int) flags;
549 1.1 mrg };
550 1.69 dsl check_syscall_args(compat_43_netbsd32_orecv)
551 1.1 mrg
552 1.12 eeh struct compat_13_netbsd32_sigreturn_args {
553 1.8 mrg syscallarg(netbsd32_sigcontextp_t) sigcntxp;
554 1.1 mrg };
555 1.69 dsl check_syscall_args(compat_13_netbsd32_sigreturn)
556 1.1 mrg
557 1.11 eeh struct netbsd32_bind_args {
558 1.1 mrg syscallarg(int) s;
559 1.71 dsl syscallarg(netbsd32_sockaddrp_t) name;
560 1.1 mrg syscallarg(int) namelen;
561 1.1 mrg };
562 1.69 dsl check_syscall_args(netbsd32_bind)
563 1.1 mrg
564 1.11 eeh struct netbsd32_setsockopt_args {
565 1.1 mrg syscallarg(int) s;
566 1.1 mrg syscallarg(int) level;
567 1.1 mrg syscallarg(int) name;
568 1.71 dsl syscallarg(netbsd32_voidp) val;
569 1.1 mrg syscallarg(int) valsize;
570 1.1 mrg };
571 1.69 dsl check_syscall_args(netbsd32_setsockopt)
572 1.1 mrg
573 1.11 eeh struct netbsd32_listen_args {
574 1.4 eeh syscallarg(int) s;
575 1.4 eeh syscallarg(int) backlog;
576 1.4 eeh };
577 1.69 dsl check_syscall_args(netbsd32_listen)
578 1.4 eeh
579 1.11 eeh struct compat_43_netbsd32_osigvec_args {
580 1.1 mrg syscallarg(int) signum;
581 1.8 mrg syscallarg(netbsd32_sigvecp_t) nsv;
582 1.8 mrg syscallarg(netbsd32_sigvecp_t) osv;
583 1.1 mrg };
584 1.69 dsl check_syscall_args(compat_43_netbsd32_osigvec)
585 1.1 mrg
586 1.11 eeh struct compat_43_netbsd32_sigblock_args {
587 1.4 eeh syscallarg(int) mask;
588 1.4 eeh };
589 1.69 dsl check_syscall_args(compat_43_netbsd32_sigblock)
590 1.4 eeh
591 1.11 eeh struct compat_43_netbsd32_sigsetmask_args {
592 1.4 eeh syscallarg(int) mask;
593 1.4 eeh };
594 1.69 dsl check_syscall_args(compat_43_netbsd32_sigsetmask)
595 1.4 eeh
596 1.11 eeh struct compat_13_netbsd32_sigsuspend_args {
597 1.4 eeh syscallarg(int) mask;
598 1.4 eeh };
599 1.69 dsl check_syscall_args(compat_13_netbsd32_sigsuspend)
600 1.4 eeh
601 1.11 eeh struct compat_43_netbsd32_osigstack_args {
602 1.8 mrg syscallarg(netbsd32_sigstackp_t) nss;
603 1.8 mrg syscallarg(netbsd32_sigstackp_t) oss;
604 1.1 mrg };
605 1.69 dsl check_syscall_args(compat_43_netbsd32_osigstack)
606 1.1 mrg
607 1.11 eeh struct compat_43_netbsd32_orecvmsg_args {
608 1.1 mrg syscallarg(int) s;
609 1.8 mrg syscallarg(netbsd32_omsghdrp_t) msg;
610 1.1 mrg syscallarg(int) flags;
611 1.1 mrg };
612 1.69 dsl check_syscall_args(compat_43_netbsd32_orecvmsg)
613 1.1 mrg
614 1.11 eeh struct compat_43_netbsd32_osendmsg_args {
615 1.1 mrg syscallarg(int) s;
616 1.66 christos syscallarg(netbsd32_caddr_t) msg;
617 1.1 mrg syscallarg(int) flags;
618 1.1 mrg };
619 1.69 dsl check_syscall_args(compat_43_netbsd32_osendmsg)
620 1.1 mrg
621 1.11 eeh struct netbsd32_gettimeofday_args {
622 1.8 mrg syscallarg(netbsd32_timevalp_t) tp;
623 1.8 mrg syscallarg(netbsd32_timezonep_t) tzp;
624 1.1 mrg };
625 1.69 dsl check_syscall_args(netbsd32_gettimeofday)
626 1.1 mrg
627 1.11 eeh struct netbsd32_getrusage_args {
628 1.1 mrg syscallarg(int) who;
629 1.8 mrg syscallarg(netbsd32_rusagep_t) rusage;
630 1.1 mrg };
631 1.69 dsl check_syscall_args(netbsd32_getrusage)
632 1.1 mrg
633 1.11 eeh struct netbsd32_getsockopt_args {
634 1.1 mrg syscallarg(int) s;
635 1.1 mrg syscallarg(int) level;
636 1.1 mrg syscallarg(int) name;
637 1.8 mrg syscallarg(netbsd32_voidp) val;
638 1.8 mrg syscallarg(netbsd32_intp) avalsize;
639 1.1 mrg };
640 1.69 dsl check_syscall_args(netbsd32_getsockopt)
641 1.1 mrg
642 1.11 eeh struct netbsd32_readv_args {
643 1.1 mrg syscallarg(int) fd;
644 1.71 dsl syscallarg(netbsd32_iovecp_t) iovp;
645 1.1 mrg syscallarg(int) iovcnt;
646 1.1 mrg };
647 1.69 dsl check_syscall_args(netbsd32_readv)
648 1.1 mrg
649 1.11 eeh struct netbsd32_writev_args {
650 1.1 mrg syscallarg(int) fd;
651 1.71 dsl syscallarg(netbsd32_iovecp_t) iovp;
652 1.1 mrg syscallarg(int) iovcnt;
653 1.1 mrg };
654 1.69 dsl check_syscall_args(netbsd32_writev)
655 1.1 mrg
656 1.11 eeh struct netbsd32_settimeofday_args {
657 1.71 dsl syscallarg(netbsd32_timevalp_t) tv;
658 1.71 dsl syscallarg(netbsd32_timezonep_t) tzp;
659 1.1 mrg };
660 1.69 dsl check_syscall_args(netbsd32_settimeofday)
661 1.1 mrg
662 1.11 eeh struct netbsd32_fchown_args {
663 1.4 eeh syscallarg(int) fd;
664 1.4 eeh syscallarg(uid_t) uid;
665 1.4 eeh syscallarg(gid_t) gid;
666 1.4 eeh };
667 1.69 dsl check_syscall_args(netbsd32_fchown)
668 1.4 eeh
669 1.11 eeh struct netbsd32_fchmod_args {
670 1.4 eeh syscallarg(int) fd;
671 1.4 eeh syscallarg(mode_t) mode;
672 1.4 eeh };
673 1.69 dsl check_syscall_args(netbsd32_fchmod)
674 1.4 eeh
675 1.11 eeh struct compat_43_netbsd32_orecvfrom_args {
676 1.1 mrg syscallarg(int) s;
677 1.66 christos syscallarg(netbsd32_caddr_t) buf;
678 1.8 mrg syscallarg(netbsd32_size_t) len;
679 1.1 mrg syscallarg(int) flags;
680 1.66 christos syscallarg(netbsd32_caddr_t) from;
681 1.8 mrg syscallarg(netbsd32_intp) fromlenaddr;
682 1.1 mrg };
683 1.69 dsl check_syscall_args(compat_43_netbsd32_orecvfrom)
684 1.1 mrg
685 1.11 eeh struct netbsd32_setreuid_args {
686 1.4 eeh syscallarg(uid_t) ruid;
687 1.4 eeh syscallarg(uid_t) euid;
688 1.4 eeh };
689 1.69 dsl check_syscall_args(netbsd32_setreuid)
690 1.4 eeh
691 1.11 eeh struct netbsd32_setregid_args {
692 1.4 eeh syscallarg(gid_t) rgid;
693 1.4 eeh syscallarg(gid_t) egid;
694 1.4 eeh };
695 1.69 dsl check_syscall_args(netbsd32_setregid)
696 1.4 eeh
697 1.11 eeh struct netbsd32_rename_args {
698 1.71 dsl syscallarg(netbsd32_charp) from;
699 1.71 dsl syscallarg(netbsd32_charp) to;
700 1.1 mrg };
701 1.69 dsl check_syscall_args(netbsd32_rename)
702 1.1 mrg
703 1.11 eeh struct compat_43_netbsd32_otruncate_args {
704 1.71 dsl syscallarg(netbsd32_charp) path;
705 1.8 mrg syscallarg(netbsd32_long) length;
706 1.1 mrg };
707 1.69 dsl check_syscall_args(compat_43_netbsd32_otruncate)
708 1.1 mrg
709 1.11 eeh struct compat_43_netbsd32_oftruncate_args {
710 1.1 mrg syscallarg(int) fd;
711 1.8 mrg syscallarg(netbsd32_long) length;
712 1.1 mrg };
713 1.69 dsl check_syscall_args(compat_43_netbsd32_oftruncate)
714 1.1 mrg
715 1.11 eeh struct netbsd32_flock_args {
716 1.4 eeh syscallarg(int) fd;
717 1.4 eeh syscallarg(int) how;
718 1.4 eeh };
719 1.69 dsl check_syscall_args(netbsd32_flock)
720 1.4 eeh
721 1.11 eeh struct netbsd32_mkfifo_args {
722 1.71 dsl syscallarg(netbsd32_charp) path;
723 1.1 mrg syscallarg(mode_t) mode;
724 1.1 mrg };
725 1.69 dsl check_syscall_args(netbsd32_mkfifo)
726 1.1 mrg
727 1.11 eeh struct netbsd32_sendto_args {
728 1.1 mrg syscallarg(int) s;
729 1.71 dsl syscallarg(netbsd32_voidp) buf;
730 1.8 mrg syscallarg(netbsd32_size_t) len;
731 1.1 mrg syscallarg(int) flags;
732 1.71 dsl syscallarg(netbsd32_sockaddrp_t) to;
733 1.1 mrg syscallarg(int) tolen;
734 1.1 mrg };
735 1.69 dsl check_syscall_args(netbsd32_sendto)
736 1.1 mrg
737 1.11 eeh struct netbsd32_shutdown_args {
738 1.4 eeh syscallarg(int) s;
739 1.4 eeh syscallarg(int) how;
740 1.4 eeh };
741 1.69 dsl check_syscall_args(netbsd32_shutdown)
742 1.4 eeh
743 1.11 eeh struct netbsd32_socketpair_args {
744 1.1 mrg syscallarg(int) domain;
745 1.1 mrg syscallarg(int) type;
746 1.1 mrg syscallarg(int) protocol;
747 1.8 mrg syscallarg(netbsd32_intp) rsv;
748 1.1 mrg };
749 1.69 dsl check_syscall_args(netbsd32_socketpair)
750 1.1 mrg
751 1.11 eeh struct netbsd32_mkdir_args {
752 1.71 dsl syscallarg(netbsd32_charp) path;
753 1.1 mrg syscallarg(mode_t) mode;
754 1.1 mrg };
755 1.69 dsl check_syscall_args(netbsd32_mkdir)
756 1.1 mrg
757 1.11 eeh struct netbsd32_rmdir_args {
758 1.71 dsl syscallarg(netbsd32_charp) path;
759 1.1 mrg };
760 1.69 dsl check_syscall_args(netbsd32_rmdir)
761 1.1 mrg
762 1.11 eeh struct netbsd32_utimes_args {
763 1.71 dsl syscallarg(netbsd32_charp) path;
764 1.71 dsl syscallarg(netbsd32_timevalp_t) tptr;
765 1.1 mrg };
766 1.69 dsl check_syscall_args(netbsd32_utimes)
767 1.1 mrg
768 1.11 eeh struct netbsd32_adjtime_args {
769 1.71 dsl syscallarg(netbsd32_timevalp_t) delta;
770 1.8 mrg syscallarg(netbsd32_timevalp_t) olddelta;
771 1.1 mrg };
772 1.69 dsl check_syscall_args(netbsd32_adjtime)
773 1.1 mrg
774 1.11 eeh struct compat_43_netbsd32_ogetpeername_args {
775 1.1 mrg syscallarg(int) fdes;
776 1.66 christos syscallarg(netbsd32_caddr_t) asa;
777 1.8 mrg syscallarg(netbsd32_intp) alen;
778 1.1 mrg };
779 1.69 dsl check_syscall_args(compat_43_netbsd32_ogetpeername)
780 1.1 mrg
781 1.11 eeh struct compat_43_netbsd32_sethostid_args {
782 1.4 eeh syscallarg(int32_t) hostid;
783 1.4 eeh };
784 1.69 dsl check_syscall_args(compat_43_netbsd32_sethostid)
785 1.4 eeh
786 1.11 eeh struct compat_43_netbsd32_ogetrlimit_args {
787 1.1 mrg syscallarg(int) which;
788 1.8 mrg syscallarg(netbsd32_orlimitp_t) rlp;
789 1.1 mrg };
790 1.69 dsl check_syscall_args(compat_43_netbsd32_ogetrlimit)
791 1.1 mrg
792 1.11 eeh struct compat_43_netbsd32_osetrlimit_args {
793 1.1 mrg syscallarg(int) which;
794 1.71 dsl syscallarg(netbsd32_orlimitp_t) rlp;
795 1.1 mrg };
796 1.69 dsl check_syscall_args(compat_43_netbsd32_osetrlimit)
797 1.1 mrg
798 1.11 eeh struct compat_43_netbsd32_killpg_args {
799 1.4 eeh syscallarg(int) pgid;
800 1.4 eeh syscallarg(int) signum;
801 1.4 eeh };
802 1.69 dsl check_syscall_args(compat_43_netbsd32_killpg)
803 1.4 eeh
804 1.11 eeh struct netbsd32_quotactl_args {
805 1.71 dsl syscallarg(netbsd32_charp) path;
806 1.1 mrg syscallarg(int) cmd;
807 1.1 mrg syscallarg(int) uid;
808 1.66 christos syscallarg(netbsd32_caddr_t) arg;
809 1.1 mrg };
810 1.69 dsl check_syscall_args(netbsd32_quotactl)
811 1.1 mrg
812 1.11 eeh struct compat_43_netbsd32_ogetsockname_args {
813 1.1 mrg syscallarg(int) fdec;
814 1.66 christos syscallarg(netbsd32_caddr_t) asa;
815 1.8 mrg syscallarg(netbsd32_intp) alen;
816 1.1 mrg };
817 1.69 dsl check_syscall_args(compat_43_netbsd32_ogetsockname)
818 1.30 fvdl #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
819 1.1 mrg
820 1.11 eeh struct netbsd32_nfssvc_args {
821 1.1 mrg syscallarg(int) flag;
822 1.8 mrg syscallarg(netbsd32_voidp) argp;
823 1.1 mrg };
824 1.69 dsl check_syscall_args(netbsd32_nfssvc)
825 1.30 fvdl #else
826 1.30 fvdl #endif
827 1.1 mrg
828 1.11 eeh struct compat_43_netbsd32_ogetdirentries_args {
829 1.1 mrg syscallarg(int) fd;
830 1.8 mrg syscallarg(netbsd32_charp) buf;
831 1.1 mrg syscallarg(u_int) count;
832 1.8 mrg syscallarg(netbsd32_longp) basep;
833 1.1 mrg };
834 1.69 dsl check_syscall_args(compat_43_netbsd32_ogetdirentries)
835 1.1 mrg
836 1.32 cube struct compat_20_netbsd32_statfs_args {
837 1.71 dsl syscallarg(netbsd32_charp) path;
838 1.8 mrg syscallarg(netbsd32_statfsp_t) buf;
839 1.1 mrg };
840 1.69 dsl check_syscall_args(compat_20_netbsd32_statfs)
841 1.1 mrg
842 1.32 cube struct compat_20_netbsd32_fstatfs_args {
843 1.1 mrg syscallarg(int) fd;
844 1.8 mrg syscallarg(netbsd32_statfsp_t) buf;
845 1.1 mrg };
846 1.69 dsl check_syscall_args(compat_20_netbsd32_fstatfs)
847 1.1 mrg
848 1.55 martin struct compat_30_netbsd32_getfh_args {
849 1.71 dsl syscallarg(netbsd32_charp) fname;
850 1.55 martin syscallarg(netbsd32_compat_30_fhandlep_t) fhp;
851 1.1 mrg };
852 1.69 dsl check_syscall_args(compat_30_netbsd32_getfh)
853 1.1 mrg
854 1.11 eeh struct compat_09_netbsd32_ogetdomainname_args {
855 1.8 mrg syscallarg(netbsd32_charp) domainname;
856 1.1 mrg syscallarg(int) len;
857 1.1 mrg };
858 1.69 dsl check_syscall_args(compat_09_netbsd32_ogetdomainname)
859 1.1 mrg
860 1.11 eeh struct compat_09_netbsd32_osetdomainname_args {
861 1.8 mrg syscallarg(netbsd32_charp) domainname;
862 1.1 mrg syscallarg(int) len;
863 1.1 mrg };
864 1.69 dsl check_syscall_args(compat_09_netbsd32_osetdomainname)
865 1.1 mrg
866 1.11 eeh struct compat_09_netbsd32_uname_args {
867 1.8 mrg syscallarg(netbsd32_outsnamep_t) name;
868 1.1 mrg };
869 1.69 dsl check_syscall_args(compat_09_netbsd32_uname)
870 1.1 mrg
871 1.11 eeh struct netbsd32_sysarch_args {
872 1.1 mrg syscallarg(int) op;
873 1.8 mrg syscallarg(netbsd32_voidp) parms;
874 1.1 mrg };
875 1.69 dsl check_syscall_args(netbsd32_sysarch)
876 1.30 fvdl #if defined(SYSVSEM) || !defined(_KERNEL)
877 1.1 mrg
878 1.26 mrg struct compat_10_netbsd32_sys_semsys_args {
879 1.4 eeh syscallarg(int) which;
880 1.4 eeh syscallarg(int) a2;
881 1.4 eeh syscallarg(int) a3;
882 1.4 eeh syscallarg(int) a4;
883 1.4 eeh syscallarg(int) a5;
884 1.4 eeh };
885 1.69 dsl check_syscall_args(compat_10_netbsd32_sys_semsys)
886 1.30 fvdl #else
887 1.30 fvdl #endif
888 1.30 fvdl #if defined(SYSVMSG) || !defined(_KERNEL)
889 1.4 eeh
890 1.26 mrg struct compat_10_netbsd32_sys_msgsys_args {
891 1.4 eeh syscallarg(int) which;
892 1.4 eeh syscallarg(int) a2;
893 1.4 eeh syscallarg(int) a3;
894 1.4 eeh syscallarg(int) a4;
895 1.4 eeh syscallarg(int) a5;
896 1.4 eeh syscallarg(int) a6;
897 1.4 eeh };
898 1.69 dsl check_syscall_args(compat_10_netbsd32_sys_msgsys)
899 1.30 fvdl #else
900 1.30 fvdl #endif
901 1.30 fvdl #if defined(SYSVSHM) || !defined(_KERNEL)
902 1.4 eeh
903 1.26 mrg struct compat_10_netbsd32_sys_shmsys_args {
904 1.4 eeh syscallarg(int) which;
905 1.4 eeh syscallarg(int) a2;
906 1.4 eeh syscallarg(int) a3;
907 1.4 eeh syscallarg(int) a4;
908 1.4 eeh };
909 1.69 dsl check_syscall_args(compat_10_netbsd32_sys_shmsys)
910 1.30 fvdl #else
911 1.30 fvdl #endif
912 1.4 eeh
913 1.11 eeh struct netbsd32_pread_args {
914 1.1 mrg syscallarg(int) fd;
915 1.8 mrg syscallarg(netbsd32_voidp) buf;
916 1.8 mrg syscallarg(netbsd32_size_t) nbyte;
917 1.1 mrg syscallarg(int) pad;
918 1.1 mrg syscallarg(off_t) offset;
919 1.1 mrg };
920 1.69 dsl check_syscall_args(netbsd32_pread)
921 1.1 mrg
922 1.11 eeh struct netbsd32_pwrite_args {
923 1.1 mrg syscallarg(int) fd;
924 1.71 dsl syscallarg(netbsd32_voidp) buf;
925 1.8 mrg syscallarg(netbsd32_size_t) nbyte;
926 1.1 mrg syscallarg(int) pad;
927 1.1 mrg syscallarg(off_t) offset;
928 1.1 mrg };
929 1.69 dsl check_syscall_args(netbsd32_pwrite)
930 1.1 mrg
931 1.53 drochner struct compat_30_netbsd32_ntp_gettime_args {
932 1.53 drochner syscallarg(netbsd32_ntptimevalp_t) ntvp;
933 1.53 drochner };
934 1.69 dsl check_syscall_args(compat_30_netbsd32_ntp_gettime)
935 1.53 drochner
936 1.11 eeh struct netbsd32_ntp_adjtime_args {
937 1.8 mrg syscallarg(netbsd32_timexp_t) tp;
938 1.1 mrg };
939 1.69 dsl check_syscall_args(netbsd32_ntp_adjtime)
940 1.1 mrg
941 1.11 eeh struct netbsd32_setgid_args {
942 1.4 eeh syscallarg(gid_t) gid;
943 1.4 eeh };
944 1.69 dsl check_syscall_args(netbsd32_setgid)
945 1.4 eeh
946 1.11 eeh struct netbsd32_setegid_args {
947 1.4 eeh syscallarg(gid_t) egid;
948 1.4 eeh };
949 1.69 dsl check_syscall_args(netbsd32_setegid)
950 1.4 eeh
951 1.11 eeh struct netbsd32_seteuid_args {
952 1.4 eeh syscallarg(uid_t) euid;
953 1.4 eeh };
954 1.69 dsl check_syscall_args(netbsd32_seteuid)
955 1.30 fvdl #if defined(LFS) || !defined(_KERNEL)
956 1.4 eeh
957 1.11 eeh struct netbsd32_sys_lfs_bmapv_args {
958 1.8 mrg syscallarg(netbsd32_fsid_tp_t) fsidp;
959 1.8 mrg syscallarg(netbsd32_block_infop_t) blkiov;
960 1.1 mrg syscallarg(int) blkcnt;
961 1.1 mrg };
962 1.69 dsl check_syscall_args(netbsd32_sys_lfs_bmapv)
963 1.1 mrg
964 1.11 eeh struct netbsd32_sys_lfs_markv_args {
965 1.8 mrg syscallarg(netbsd32_fsid_tp_t) fsidp;
966 1.8 mrg syscallarg(netbsd32_block_infop_t) blkiov;
967 1.1 mrg syscallarg(int) blkcnt;
968 1.1 mrg };
969 1.69 dsl check_syscall_args(netbsd32_sys_lfs_markv)
970 1.1 mrg
971 1.11 eeh struct netbsd32_sys_lfs_segclean_args {
972 1.8 mrg syscallarg(netbsd32_fsid_tp_t) fsidp;
973 1.8 mrg syscallarg(netbsd32_u_long) segment;
974 1.1 mrg };
975 1.69 dsl check_syscall_args(netbsd32_sys_lfs_segclean)
976 1.1 mrg
977 1.11 eeh struct netbsd32_sys_lfs_segwait_args {
978 1.8 mrg syscallarg(netbsd32_fsid_tp_t) fsidp;
979 1.8 mrg syscallarg(netbsd32_timevalp_t) tv;
980 1.1 mrg };
981 1.69 dsl check_syscall_args(netbsd32_sys_lfs_segwait)
982 1.30 fvdl #else
983 1.30 fvdl #endif
984 1.1 mrg
985 1.11 eeh struct compat_12_netbsd32_stat12_args {
986 1.71 dsl syscallarg(netbsd32_charp) path;
987 1.8 mrg syscallarg(netbsd32_stat12p_t) ub;
988 1.1 mrg };
989 1.69 dsl check_syscall_args(compat_12_netbsd32_stat12)
990 1.1 mrg
991 1.11 eeh struct compat_12_netbsd32_fstat12_args {
992 1.1 mrg syscallarg(int) fd;
993 1.8 mrg syscallarg(netbsd32_stat12p_t) sb;
994 1.1 mrg };
995 1.69 dsl check_syscall_args(compat_12_netbsd32_fstat12)
996 1.1 mrg
997 1.11 eeh struct compat_12_netbsd32_lstat12_args {
998 1.71 dsl syscallarg(netbsd32_charp) path;
999 1.8 mrg syscallarg(netbsd32_stat12p_t) ub;
1000 1.1 mrg };
1001 1.69 dsl check_syscall_args(compat_12_netbsd32_lstat12)
1002 1.1 mrg
1003 1.11 eeh struct netbsd32_pathconf_args {
1004 1.71 dsl syscallarg(netbsd32_charp) path;
1005 1.1 mrg syscallarg(int) name;
1006 1.1 mrg };
1007 1.69 dsl check_syscall_args(netbsd32_pathconf)
1008 1.1 mrg
1009 1.11 eeh struct netbsd32_fpathconf_args {
1010 1.1 mrg syscallarg(int) fd;
1011 1.1 mrg syscallarg(int) name;
1012 1.1 mrg };
1013 1.69 dsl check_syscall_args(netbsd32_fpathconf)
1014 1.1 mrg
1015 1.11 eeh struct netbsd32_getrlimit_args {
1016 1.1 mrg syscallarg(int) which;
1017 1.8 mrg syscallarg(netbsd32_rlimitp_t) rlp;
1018 1.1 mrg };
1019 1.69 dsl check_syscall_args(netbsd32_getrlimit)
1020 1.1 mrg
1021 1.11 eeh struct netbsd32_setrlimit_args {
1022 1.1 mrg syscallarg(int) which;
1023 1.71 dsl syscallarg(netbsd32_rlimitp_t) rlp;
1024 1.1 mrg };
1025 1.69 dsl check_syscall_args(netbsd32_setrlimit)
1026 1.1 mrg
1027 1.11 eeh struct compat_12_netbsd32_getdirentries_args {
1028 1.1 mrg syscallarg(int) fd;
1029 1.8 mrg syscallarg(netbsd32_charp) buf;
1030 1.1 mrg syscallarg(u_int) count;
1031 1.8 mrg syscallarg(netbsd32_longp) basep;
1032 1.1 mrg };
1033 1.69 dsl check_syscall_args(compat_12_netbsd32_getdirentries)
1034 1.1 mrg
1035 1.11 eeh struct netbsd32_mmap_args {
1036 1.8 mrg syscallarg(netbsd32_voidp) addr;
1037 1.8 mrg syscallarg(netbsd32_size_t) len;
1038 1.1 mrg syscallarg(int) prot;
1039 1.1 mrg syscallarg(int) flags;
1040 1.1 mrg syscallarg(int) fd;
1041 1.8 mrg syscallarg(netbsd32_long) pad;
1042 1.1 mrg syscallarg(off_t) pos;
1043 1.1 mrg };
1044 1.69 dsl check_syscall_args(netbsd32_mmap)
1045 1.69 dsl
1046 1.69 dsl struct netbsd32_sys___syscall_args {
1047 1.69 dsl syscallarg(quad_t) code;
1048 1.69 dsl syscallarg(register32_t) args[NETBSD32_SYS_MAXSYSARGS];
1049 1.69 dsl };
1050 1.1 mrg
1051 1.11 eeh struct netbsd32_lseek_args {
1052 1.4 eeh syscallarg(int) fd;
1053 1.4 eeh syscallarg(int) pad;
1054 1.4 eeh syscallarg(off_t) offset;
1055 1.4 eeh syscallarg(int) whence;
1056 1.4 eeh };
1057 1.69 dsl check_syscall_args(netbsd32_lseek)
1058 1.4 eeh
1059 1.11 eeh struct netbsd32_truncate_args {
1060 1.71 dsl syscallarg(netbsd32_charp) path;
1061 1.1 mrg syscallarg(int) pad;
1062 1.1 mrg syscallarg(off_t) length;
1063 1.1 mrg };
1064 1.69 dsl check_syscall_args(netbsd32_truncate)
1065 1.1 mrg
1066 1.11 eeh struct netbsd32_ftruncate_args {
1067 1.4 eeh syscallarg(int) fd;
1068 1.4 eeh syscallarg(int) pad;
1069 1.4 eeh syscallarg(off_t) length;
1070 1.4 eeh };
1071 1.69 dsl check_syscall_args(netbsd32_ftruncate)
1072 1.4 eeh
1073 1.11 eeh struct netbsd32___sysctl_args {
1074 1.8 mrg syscallarg(netbsd32_intp) name;
1075 1.1 mrg syscallarg(u_int) namelen;
1076 1.8 mrg syscallarg(netbsd32_voidp) old;
1077 1.8 mrg syscallarg(netbsd32_size_tp) oldlenp;
1078 1.8 mrg syscallarg(netbsd32_voidp) new;
1079 1.8 mrg syscallarg(netbsd32_size_t) newlen;
1080 1.1 mrg };
1081 1.69 dsl check_syscall_args(netbsd32___sysctl)
1082 1.1 mrg
1083 1.11 eeh struct netbsd32_mlock_args {
1084 1.71 dsl syscallarg(netbsd32_voidp) addr;
1085 1.8 mrg syscallarg(netbsd32_size_t) len;
1086 1.1 mrg };
1087 1.69 dsl check_syscall_args(netbsd32_mlock)
1088 1.1 mrg
1089 1.11 eeh struct netbsd32_munlock_args {
1090 1.71 dsl syscallarg(netbsd32_voidp) addr;
1091 1.8 mrg syscallarg(netbsd32_size_t) len;
1092 1.1 mrg };
1093 1.69 dsl check_syscall_args(netbsd32_munlock)
1094 1.1 mrg
1095 1.11 eeh struct netbsd32_undelete_args {
1096 1.71 dsl syscallarg(netbsd32_charp) path;
1097 1.1 mrg };
1098 1.69 dsl check_syscall_args(netbsd32_undelete)
1099 1.1 mrg
1100 1.11 eeh struct netbsd32_futimes_args {
1101 1.1 mrg syscallarg(int) fd;
1102 1.71 dsl syscallarg(netbsd32_timevalp_t) tptr;
1103 1.1 mrg };
1104 1.69 dsl check_syscall_args(netbsd32_futimes)
1105 1.1 mrg
1106 1.11 eeh struct netbsd32_getpgid_args {
1107 1.4 eeh syscallarg(pid_t) pid;
1108 1.4 eeh };
1109 1.69 dsl check_syscall_args(netbsd32_getpgid)
1110 1.4 eeh
1111 1.11 eeh struct netbsd32_reboot_args {
1112 1.1 mrg syscallarg(int) opt;
1113 1.8 mrg syscallarg(netbsd32_charp) bootstr;
1114 1.1 mrg };
1115 1.69 dsl check_syscall_args(netbsd32_reboot)
1116 1.1 mrg
1117 1.11 eeh struct netbsd32_poll_args {
1118 1.8 mrg syscallarg(netbsd32_pollfdp_t) fds;
1119 1.1 mrg syscallarg(u_int) nfds;
1120 1.1 mrg syscallarg(int) timeout;
1121 1.1 mrg };
1122 1.69 dsl check_syscall_args(netbsd32_poll)
1123 1.30 fvdl #if defined(SYSVSEM) || !defined(_KERNEL)
1124 1.1 mrg
1125 1.11 eeh struct compat_14_netbsd32___semctl_args {
1126 1.1 mrg syscallarg(int) semid;
1127 1.1 mrg syscallarg(int) semnum;
1128 1.1 mrg syscallarg(int) cmd;
1129 1.8 mrg syscallarg(netbsd32_semunu_t) arg;
1130 1.1 mrg };
1131 1.69 dsl check_syscall_args(compat_14_netbsd32___semctl)
1132 1.1 mrg
1133 1.11 eeh struct netbsd32_semget_args {
1134 1.8 mrg syscallarg(netbsd32_key_t) key;
1135 1.1 mrg syscallarg(int) nsems;
1136 1.1 mrg syscallarg(int) semflg;
1137 1.1 mrg };
1138 1.69 dsl check_syscall_args(netbsd32_semget)
1139 1.1 mrg
1140 1.11 eeh struct netbsd32_semop_args {
1141 1.1 mrg syscallarg(int) semid;
1142 1.8 mrg syscallarg(netbsd32_sembufp_t) sops;
1143 1.8 mrg syscallarg(netbsd32_size_t) nsops;
1144 1.1 mrg };
1145 1.69 dsl check_syscall_args(netbsd32_semop)
1146 1.1 mrg
1147 1.11 eeh struct netbsd32_semconfig_args {
1148 1.4 eeh syscallarg(int) flag;
1149 1.4 eeh };
1150 1.69 dsl check_syscall_args(netbsd32_semconfig)
1151 1.30 fvdl #else
1152 1.30 fvdl #endif
1153 1.30 fvdl #if defined(SYSVMSG) || !defined(_KERNEL)
1154 1.4 eeh
1155 1.11 eeh struct compat_14_netbsd32_msgctl_args {
1156 1.1 mrg syscallarg(int) msqid;
1157 1.1 mrg syscallarg(int) cmd;
1158 1.8 mrg syscallarg(netbsd32_msqid_dsp_t) buf;
1159 1.1 mrg };
1160 1.69 dsl check_syscall_args(compat_14_netbsd32_msgctl)
1161 1.1 mrg
1162 1.11 eeh struct netbsd32_msgget_args {
1163 1.8 mrg syscallarg(netbsd32_key_t) key;
1164 1.1 mrg syscallarg(int) msgflg;
1165 1.1 mrg };
1166 1.69 dsl check_syscall_args(netbsd32_msgget)
1167 1.1 mrg
1168 1.11 eeh struct netbsd32_msgsnd_args {
1169 1.1 mrg syscallarg(int) msqid;
1170 1.71 dsl syscallarg(netbsd32_voidp) msgp;
1171 1.8 mrg syscallarg(netbsd32_size_t) msgsz;
1172 1.1 mrg syscallarg(int) msgflg;
1173 1.1 mrg };
1174 1.69 dsl check_syscall_args(netbsd32_msgsnd)
1175 1.1 mrg
1176 1.11 eeh struct netbsd32_msgrcv_args {
1177 1.1 mrg syscallarg(int) msqid;
1178 1.8 mrg syscallarg(netbsd32_voidp) msgp;
1179 1.8 mrg syscallarg(netbsd32_size_t) msgsz;
1180 1.8 mrg syscallarg(netbsd32_long) msgtyp;
1181 1.1 mrg syscallarg(int) msgflg;
1182 1.1 mrg };
1183 1.69 dsl check_syscall_args(netbsd32_msgrcv)
1184 1.30 fvdl #else
1185 1.30 fvdl #endif
1186 1.30 fvdl #if defined(SYSVSHM) || !defined(_KERNEL)
1187 1.1 mrg
1188 1.11 eeh struct netbsd32_shmat_args {
1189 1.1 mrg syscallarg(int) shmid;
1190 1.71 dsl syscallarg(netbsd32_voidp) shmaddr;
1191 1.1 mrg syscallarg(int) shmflg;
1192 1.1 mrg };
1193 1.69 dsl check_syscall_args(netbsd32_shmat)
1194 1.1 mrg
1195 1.11 eeh struct compat_14_netbsd32_shmctl_args {
1196 1.1 mrg syscallarg(int) shmid;
1197 1.1 mrg syscallarg(int) cmd;
1198 1.8 mrg syscallarg(netbsd32_shmid_dsp_t) buf;
1199 1.1 mrg };
1200 1.69 dsl check_syscall_args(compat_14_netbsd32_shmctl)
1201 1.1 mrg
1202 1.11 eeh struct netbsd32_shmdt_args {
1203 1.71 dsl syscallarg(netbsd32_voidp) shmaddr;
1204 1.1 mrg };
1205 1.69 dsl check_syscall_args(netbsd32_shmdt)
1206 1.1 mrg
1207 1.11 eeh struct netbsd32_shmget_args {
1208 1.8 mrg syscallarg(netbsd32_key_t) key;
1209 1.8 mrg syscallarg(netbsd32_size_t) size;
1210 1.1 mrg syscallarg(int) shmflg;
1211 1.1 mrg };
1212 1.69 dsl check_syscall_args(netbsd32_shmget)
1213 1.30 fvdl #else
1214 1.30 fvdl #endif
1215 1.1 mrg
1216 1.11 eeh struct netbsd32_clock_gettime_args {
1217 1.8 mrg syscallarg(netbsd32_clockid_t) clock_id;
1218 1.8 mrg syscallarg(netbsd32_timespecp_t) tp;
1219 1.1 mrg };
1220 1.69 dsl check_syscall_args(netbsd32_clock_gettime)
1221 1.1 mrg
1222 1.11 eeh struct netbsd32_clock_settime_args {
1223 1.8 mrg syscallarg(netbsd32_clockid_t) clock_id;
1224 1.71 dsl syscallarg(netbsd32_timespecp_t) tp;
1225 1.1 mrg };
1226 1.69 dsl check_syscall_args(netbsd32_clock_settime)
1227 1.1 mrg
1228 1.11 eeh struct netbsd32_clock_getres_args {
1229 1.8 mrg syscallarg(netbsd32_clockid_t) clock_id;
1230 1.8 mrg syscallarg(netbsd32_timespecp_t) tp;
1231 1.1 mrg };
1232 1.69 dsl check_syscall_args(netbsd32_clock_getres)
1233 1.1 mrg
1234 1.43 cube struct netbsd32_timer_create_args {
1235 1.43 cube syscallarg(netbsd32_clockid_t) clock_id;
1236 1.43 cube syscallarg(netbsd32_sigeventp_t) evp;
1237 1.43 cube syscallarg(netbsd32_timerp_t) timerid;
1238 1.43 cube };
1239 1.69 dsl check_syscall_args(netbsd32_timer_create)
1240 1.43 cube
1241 1.43 cube struct netbsd32_timer_delete_args {
1242 1.43 cube syscallarg(netbsd32_timer_t) timerid;
1243 1.43 cube };
1244 1.69 dsl check_syscall_args(netbsd32_timer_delete)
1245 1.43 cube
1246 1.43 cube struct netbsd32_timer_settime_args {
1247 1.43 cube syscallarg(netbsd32_timer_t) timerid;
1248 1.43 cube syscallarg(int) flags;
1249 1.71 dsl syscallarg(netbsd32_itimerspecp_t) value;
1250 1.43 cube syscallarg(netbsd32_itimerspecp_t) ovalue;
1251 1.43 cube };
1252 1.69 dsl check_syscall_args(netbsd32_timer_settime)
1253 1.43 cube
1254 1.43 cube struct netbsd32_timer_gettime_args {
1255 1.43 cube syscallarg(netbsd32_timer_t) timerid;
1256 1.43 cube syscallarg(netbsd32_itimerspecp_t) value;
1257 1.43 cube };
1258 1.69 dsl check_syscall_args(netbsd32_timer_gettime)
1259 1.43 cube
1260 1.43 cube struct netbsd32_timer_getoverrun_args {
1261 1.43 cube syscallarg(netbsd32_timer_t) timerid;
1262 1.43 cube };
1263 1.69 dsl check_syscall_args(netbsd32_timer_getoverrun)
1264 1.43 cube
1265 1.11 eeh struct netbsd32_nanosleep_args {
1266 1.71 dsl syscallarg(netbsd32_timespecp_t) rqtp;
1267 1.8 mrg syscallarg(netbsd32_timespecp_t) rmtp;
1268 1.1 mrg };
1269 1.69 dsl check_syscall_args(netbsd32_nanosleep)
1270 1.1 mrg
1271 1.11 eeh struct netbsd32_fdatasync_args {
1272 1.4 eeh syscallarg(int) fd;
1273 1.4 eeh };
1274 1.69 dsl check_syscall_args(netbsd32_fdatasync)
1275 1.4 eeh
1276 1.37 cube struct netbsd32_mlockall_args {
1277 1.37 cube syscallarg(int) flags;
1278 1.37 cube };
1279 1.69 dsl check_syscall_args(netbsd32_mlockall)
1280 1.37 cube
1281 1.44 cube struct netbsd32___sigtimedwait_args {
1282 1.71 dsl syscallarg(netbsd32_sigsetp_t) set;
1283 1.44 cube syscallarg(netbsd32_siginfop_t) info;
1284 1.44 cube syscallarg(netbsd32_timespecp_t) timeout;
1285 1.44 cube };
1286 1.69 dsl check_syscall_args(netbsd32___sigtimedwait)
1287 1.48 cube #if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL) && defined(_LIBC))
1288 1.48 cube
1289 1.48 cube struct netbsd32__ksem_init_args {
1290 1.48 cube syscallarg(unsigned int) value;
1291 1.48 cube syscallarg(netbsd32_semidp_t) idp;
1292 1.48 cube };
1293 1.69 dsl check_syscall_args(netbsd32__ksem_init)
1294 1.48 cube
1295 1.48 cube struct netbsd32__ksem_open_args {
1296 1.71 dsl syscallarg(netbsd32_charp) name;
1297 1.48 cube syscallarg(int) oflag;
1298 1.48 cube syscallarg(mode_t) mode;
1299 1.48 cube syscallarg(unsigned int) value;
1300 1.48 cube syscallarg(netbsd32_semidp_t) idp;
1301 1.48 cube };
1302 1.69 dsl check_syscall_args(netbsd32__ksem_open)
1303 1.48 cube
1304 1.48 cube struct netbsd32__ksem_unlink_args {
1305 1.71 dsl syscallarg(netbsd32_charp) name;
1306 1.48 cube };
1307 1.69 dsl check_syscall_args(netbsd32__ksem_unlink)
1308 1.48 cube
1309 1.48 cube struct netbsd32__ksem_close_args {
1310 1.80 ad syscallarg(netbsd32_intptr_t) id;
1311 1.48 cube };
1312 1.69 dsl check_syscall_args(netbsd32__ksem_close)
1313 1.48 cube
1314 1.48 cube struct netbsd32__ksem_post_args {
1315 1.80 ad syscallarg(netbsd32_intptr_t) id;
1316 1.48 cube };
1317 1.69 dsl check_syscall_args(netbsd32__ksem_post)
1318 1.48 cube
1319 1.48 cube struct netbsd32__ksem_wait_args {
1320 1.80 ad syscallarg(netbsd32_intptr_t) id;
1321 1.48 cube };
1322 1.69 dsl check_syscall_args(netbsd32__ksem_wait)
1323 1.48 cube
1324 1.48 cube struct netbsd32__ksem_trywait_args {
1325 1.80 ad syscallarg(netbsd32_intptr_t) id;
1326 1.48 cube };
1327 1.69 dsl check_syscall_args(netbsd32__ksem_trywait)
1328 1.48 cube
1329 1.48 cube struct netbsd32__ksem_getvalue_args {
1330 1.80 ad syscallarg(netbsd32_intptr_t) id;
1331 1.48 cube syscallarg(netbsd32_intp) value;
1332 1.48 cube };
1333 1.69 dsl check_syscall_args(netbsd32__ksem_getvalue)
1334 1.48 cube
1335 1.48 cube struct netbsd32__ksem_destroy_args {
1336 1.80 ad syscallarg(netbsd32_intptr_t) id;
1337 1.48 cube };
1338 1.69 dsl check_syscall_args(netbsd32__ksem_destroy)
1339 1.48 cube #else
1340 1.48 cube #endif
1341 1.44 cube
1342 1.11 eeh struct netbsd32___posix_rename_args {
1343 1.71 dsl syscallarg(netbsd32_charp) from;
1344 1.71 dsl syscallarg(netbsd32_charp) to;
1345 1.1 mrg };
1346 1.69 dsl check_syscall_args(netbsd32___posix_rename)
1347 1.1 mrg
1348 1.11 eeh struct netbsd32_swapctl_args {
1349 1.1 mrg syscallarg(int) cmd;
1350 1.34 chs syscallarg(netbsd32_voidp) arg;
1351 1.1 mrg syscallarg(int) misc;
1352 1.1 mrg };
1353 1.69 dsl check_syscall_args(netbsd32_swapctl)
1354 1.1 mrg
1355 1.61 cube struct compat_30_netbsd32_getdents_args {
1356 1.1 mrg syscallarg(int) fd;
1357 1.8 mrg syscallarg(netbsd32_charp) buf;
1358 1.8 mrg syscallarg(netbsd32_size_t) count;
1359 1.1 mrg };
1360 1.69 dsl check_syscall_args(compat_30_netbsd32_getdents)
1361 1.1 mrg
1362 1.11 eeh struct netbsd32_minherit_args {
1363 1.8 mrg syscallarg(netbsd32_voidp) addr;
1364 1.8 mrg syscallarg(netbsd32_size_t) len;
1365 1.1 mrg syscallarg(int) inherit;
1366 1.1 mrg };
1367 1.69 dsl check_syscall_args(netbsd32_minherit)
1368 1.1 mrg
1369 1.11 eeh struct netbsd32_lchmod_args {
1370 1.71 dsl syscallarg(netbsd32_charp) path;
1371 1.1 mrg syscallarg(mode_t) mode;
1372 1.1 mrg };
1373 1.69 dsl check_syscall_args(netbsd32_lchmod)
1374 1.1 mrg
1375 1.11 eeh struct netbsd32_lchown_args {
1376 1.71 dsl syscallarg(netbsd32_charp) path;
1377 1.1 mrg syscallarg(uid_t) uid;
1378 1.1 mrg syscallarg(gid_t) gid;
1379 1.1 mrg };
1380 1.69 dsl check_syscall_args(netbsd32_lchown)
1381 1.1 mrg
1382 1.11 eeh struct netbsd32_lutimes_args {
1383 1.71 dsl syscallarg(netbsd32_charp) path;
1384 1.71 dsl syscallarg(netbsd32_timevalp_t) tptr;
1385 1.1 mrg };
1386 1.69 dsl check_syscall_args(netbsd32_lutimes)
1387 1.1 mrg
1388 1.11 eeh struct netbsd32___msync13_args {
1389 1.8 mrg syscallarg(netbsd32_voidp) addr;
1390 1.8 mrg syscallarg(netbsd32_size_t) len;
1391 1.1 mrg syscallarg(int) flags;
1392 1.1 mrg };
1393 1.69 dsl check_syscall_args(netbsd32___msync13)
1394 1.1 mrg
1395 1.61 cube struct compat_30_netbsd32___stat13_args {
1396 1.71 dsl syscallarg(netbsd32_charp) path;
1397 1.45 christos syscallarg(netbsd32_stat13p_t) ub;
1398 1.1 mrg };
1399 1.69 dsl check_syscall_args(compat_30_netbsd32___stat13)
1400 1.1 mrg
1401 1.61 cube struct compat_30_netbsd32___fstat13_args {
1402 1.1 mrg syscallarg(int) fd;
1403 1.45 christos syscallarg(netbsd32_stat13p_t) sb;
1404 1.1 mrg };
1405 1.69 dsl check_syscall_args(compat_30_netbsd32___fstat13)
1406 1.1 mrg
1407 1.61 cube struct compat_30_netbsd32___lstat13_args {
1408 1.71 dsl syscallarg(netbsd32_charp) path;
1409 1.45 christos syscallarg(netbsd32_stat13p_t) ub;
1410 1.1 mrg };
1411 1.69 dsl check_syscall_args(compat_30_netbsd32___lstat13)
1412 1.1 mrg
1413 1.11 eeh struct netbsd32___sigaltstack14_args {
1414 1.71 dsl syscallarg(netbsd32_sigaltstackp_t) nss;
1415 1.8 mrg syscallarg(netbsd32_sigaltstackp_t) oss;
1416 1.1 mrg };
1417 1.69 dsl check_syscall_args(netbsd32___sigaltstack14)
1418 1.1 mrg
1419 1.11 eeh struct netbsd32___posix_chown_args {
1420 1.71 dsl syscallarg(netbsd32_charp) path;
1421 1.1 mrg syscallarg(uid_t) uid;
1422 1.1 mrg syscallarg(gid_t) gid;
1423 1.1 mrg };
1424 1.69 dsl check_syscall_args(netbsd32___posix_chown)
1425 1.1 mrg
1426 1.11 eeh struct netbsd32___posix_fchown_args {
1427 1.4 eeh syscallarg(int) fd;
1428 1.4 eeh syscallarg(uid_t) uid;
1429 1.4 eeh syscallarg(gid_t) gid;
1430 1.4 eeh };
1431 1.69 dsl check_syscall_args(netbsd32___posix_fchown)
1432 1.4 eeh
1433 1.11 eeh struct netbsd32___posix_lchown_args {
1434 1.71 dsl syscallarg(netbsd32_charp) path;
1435 1.1 mrg syscallarg(uid_t) uid;
1436 1.1 mrg syscallarg(gid_t) gid;
1437 1.1 mrg };
1438 1.69 dsl check_syscall_args(netbsd32___posix_lchown)
1439 1.1 mrg
1440 1.11 eeh struct netbsd32_getsid_args {
1441 1.4 eeh syscallarg(pid_t) pid;
1442 1.4 eeh };
1443 1.69 dsl check_syscall_args(netbsd32_getsid)
1444 1.39 cube
1445 1.39 cube struct netbsd32___clone_args {
1446 1.39 cube syscallarg(int) flags;
1447 1.39 cube syscallarg(netbsd32_voidp) stack;
1448 1.39 cube };
1449 1.69 dsl check_syscall_args(netbsd32___clone)
1450 1.4 eeh
1451 1.11 eeh struct netbsd32_fktrace_args {
1452 1.71 dsl syscallarg(int) fd;
1453 1.4 eeh syscallarg(int) ops;
1454 1.4 eeh syscallarg(int) facs;
1455 1.4 eeh syscallarg(int) pid;
1456 1.4 eeh };
1457 1.69 dsl check_syscall_args(netbsd32_fktrace)
1458 1.4 eeh
1459 1.11 eeh struct netbsd32_preadv_args {
1460 1.1 mrg syscallarg(int) fd;
1461 1.71 dsl syscallarg(netbsd32_iovecp_t) iovp;
1462 1.1 mrg syscallarg(int) iovcnt;
1463 1.1 mrg syscallarg(int) pad;
1464 1.1 mrg syscallarg(off_t) offset;
1465 1.1 mrg };
1466 1.69 dsl check_syscall_args(netbsd32_preadv)
1467 1.1 mrg
1468 1.11 eeh struct netbsd32_pwritev_args {
1469 1.1 mrg syscallarg(int) fd;
1470 1.71 dsl syscallarg(netbsd32_iovecp_t) iovp;
1471 1.1 mrg syscallarg(int) iovcnt;
1472 1.1 mrg syscallarg(int) pad;
1473 1.1 mrg syscallarg(off_t) offset;
1474 1.1 mrg };
1475 1.69 dsl check_syscall_args(netbsd32_pwritev)
1476 1.1 mrg
1477 1.12 eeh struct netbsd32___sigaction14_args {
1478 1.12 eeh syscallarg(int) signum;
1479 1.71 dsl syscallarg(netbsd32_sigactionp_t) nsa;
1480 1.12 eeh syscallarg(netbsd32_sigactionp_t) osa;
1481 1.12 eeh };
1482 1.69 dsl check_syscall_args(netbsd32___sigaction14)
1483 1.12 eeh
1484 1.12 eeh struct netbsd32___sigpending14_args {
1485 1.12 eeh syscallarg(netbsd32_sigsetp_t) set;
1486 1.12 eeh };
1487 1.69 dsl check_syscall_args(netbsd32___sigpending14)
1488 1.12 eeh
1489 1.12 eeh struct netbsd32___sigprocmask14_args {
1490 1.12 eeh syscallarg(int) how;
1491 1.71 dsl syscallarg(netbsd32_sigsetp_t) set;
1492 1.12 eeh syscallarg(netbsd32_sigsetp_t) oset;
1493 1.12 eeh };
1494 1.69 dsl check_syscall_args(netbsd32___sigprocmask14)
1495 1.12 eeh
1496 1.12 eeh struct netbsd32___sigsuspend14_args {
1497 1.71 dsl syscallarg(netbsd32_sigsetp_t) set;
1498 1.12 eeh };
1499 1.69 dsl check_syscall_args(netbsd32___sigsuspend14)
1500 1.12 eeh
1501 1.30 fvdl struct compat_16_netbsd32___sigreturn14_args {
1502 1.12 eeh syscallarg(netbsd32_sigcontextp_t) sigcntxp;
1503 1.12 eeh };
1504 1.69 dsl check_syscall_args(compat_16_netbsd32___sigreturn14)
1505 1.12 eeh
1506 1.12 eeh struct netbsd32___getcwd_args {
1507 1.12 eeh syscallarg(netbsd32_charp) bufp;
1508 1.12 eeh syscallarg(netbsd32_size_t) length;
1509 1.12 eeh };
1510 1.69 dsl check_syscall_args(netbsd32___getcwd)
1511 1.12 eeh
1512 1.12 eeh struct netbsd32_fchroot_args {
1513 1.12 eeh syscallarg(int) fd;
1514 1.12 eeh };
1515 1.69 dsl check_syscall_args(netbsd32_fchroot)
1516 1.12 eeh
1517 1.58 martin struct compat_30_netbsd32_fhopen_args {
1518 1.71 dsl syscallarg(netbsd32_fhandlep_t) fhp;
1519 1.12 eeh syscallarg(int) flags;
1520 1.12 eeh };
1521 1.69 dsl check_syscall_args(compat_30_netbsd32_fhopen)
1522 1.12 eeh
1523 1.51 cube struct compat_30_netbsd32_fhstat_args {
1524 1.71 dsl syscallarg(netbsd32_fhandlep_t) fhp;
1525 1.51 cube syscallarg(netbsd32_stat13p_t) sb;
1526 1.12 eeh };
1527 1.69 dsl check_syscall_args(compat_30_netbsd32_fhstat)
1528 1.12 eeh
1529 1.32 cube struct compat_20_netbsd32_fhstatfs_args {
1530 1.12 eeh syscallarg(netbsd32_fhandlep_t) fhp;
1531 1.12 eeh syscallarg(netbsd32_statp_t) buf;
1532 1.12 eeh };
1533 1.69 dsl check_syscall_args(compat_20_netbsd32_fhstatfs)
1534 1.30 fvdl #if defined(SYSVSEM) || !defined(_KERNEL)
1535 1.12 eeh
1536 1.13 christos struct netbsd32___semctl14_args {
1537 1.12 eeh syscallarg(int) semid;
1538 1.12 eeh syscallarg(int) semnum;
1539 1.12 eeh syscallarg(int) cmd;
1540 1.49 cube syscallarg(netbsd32_semunp_t) arg;
1541 1.12 eeh };
1542 1.69 dsl check_syscall_args(netbsd32___semctl14)
1543 1.30 fvdl #else
1544 1.30 fvdl #endif
1545 1.30 fvdl #if defined(SYSVMSG) || !defined(_KERNEL)
1546 1.12 eeh
1547 1.12 eeh struct netbsd32___msgctl13_args {
1548 1.12 eeh syscallarg(int) msqid;
1549 1.12 eeh syscallarg(int) cmd;
1550 1.12 eeh syscallarg(netbsd32_msqid_dsp_t) buf;
1551 1.12 eeh };
1552 1.69 dsl check_syscall_args(netbsd32___msgctl13)
1553 1.30 fvdl #else
1554 1.30 fvdl #endif
1555 1.30 fvdl #if defined(SYSVSHM) || !defined(_KERNEL)
1556 1.12 eeh
1557 1.12 eeh struct netbsd32___shmctl13_args {
1558 1.12 eeh syscallarg(int) shmid;
1559 1.12 eeh syscallarg(int) cmd;
1560 1.12 eeh syscallarg(netbsd32_shmid_dsp_t) buf;
1561 1.12 eeh };
1562 1.69 dsl check_syscall_args(netbsd32___shmctl13)
1563 1.30 fvdl #else
1564 1.30 fvdl #endif
1565 1.12 eeh
1566 1.22 mrg struct netbsd32_lchflags_args {
1567 1.71 dsl syscallarg(netbsd32_charp) path;
1568 1.22 mrg syscallarg(netbsd32_u_long) flags;
1569 1.22 mrg };
1570 1.69 dsl check_syscall_args(netbsd32_lchflags)
1571 1.22 mrg
1572 1.22 mrg struct netbsd32_utrace_args {
1573 1.71 dsl syscallarg(netbsd32_charp) label;
1574 1.22 mrg syscallarg(netbsd32_voidp) addr;
1575 1.22 mrg syscallarg(netbsd32_size_t) len;
1576 1.22 mrg };
1577 1.69 dsl check_syscall_args(netbsd32_utrace)
1578 1.22 mrg
1579 1.30 fvdl struct netbsd32_getcontext_args {
1580 1.30 fvdl syscallarg(netbsd32_ucontextp) ucp;
1581 1.30 fvdl };
1582 1.69 dsl check_syscall_args(netbsd32_getcontext)
1583 1.30 fvdl
1584 1.30 fvdl struct netbsd32_setcontext_args {
1585 1.30 fvdl syscallarg(netbsd32_ucontextp) ucp;
1586 1.30 fvdl syscallarg(uint32_t) flags;
1587 1.30 fvdl syscallarg(netbsd32_lwpidp) new_lwp;
1588 1.30 fvdl };
1589 1.69 dsl check_syscall_args(netbsd32_setcontext)
1590 1.30 fvdl
1591 1.50 cube struct netbsd32__lwp_create_args {
1592 1.71 dsl syscallarg(netbsd32_ucontextp) ucp;
1593 1.50 cube syscallarg(netbsd32_u_long) flags;
1594 1.50 cube syscallarg(netbsd32_lwpidp) new_lwp;
1595 1.50 cube };
1596 1.69 dsl check_syscall_args(netbsd32__lwp_create)
1597 1.50 cube
1598 1.50 cube struct netbsd32__lwp_wait_args {
1599 1.50 cube syscallarg(lwpid_t) wait_for;
1600 1.50 cube syscallarg(netbsd32_lwpidp) departed;
1601 1.50 cube };
1602 1.69 dsl check_syscall_args(netbsd32__lwp_wait)
1603 1.50 cube
1604 1.50 cube struct netbsd32__lwp_suspend_args {
1605 1.50 cube syscallarg(lwpid_t) target;
1606 1.50 cube };
1607 1.69 dsl check_syscall_args(netbsd32__lwp_suspend)
1608 1.50 cube
1609 1.50 cube struct netbsd32__lwp_continue_args {
1610 1.50 cube syscallarg(lwpid_t) target;
1611 1.50 cube };
1612 1.69 dsl check_syscall_args(netbsd32__lwp_continue)
1613 1.50 cube
1614 1.50 cube struct netbsd32__lwp_wakeup_args {
1615 1.50 cube syscallarg(lwpid_t) target;
1616 1.50 cube };
1617 1.69 dsl check_syscall_args(netbsd32__lwp_wakeup)
1618 1.50 cube
1619 1.50 cube struct netbsd32__lwp_setprivate_args {
1620 1.50 cube syscallarg(netbsd32_voidp) ptr;
1621 1.50 cube };
1622 1.69 dsl check_syscall_args(netbsd32__lwp_setprivate)
1623 1.50 cube
1624 1.63 cube struct netbsd32__lwp_kill_args {
1625 1.63 cube syscallarg(lwpid_t) target;
1626 1.63 cube syscallarg(int) signo;
1627 1.63 cube };
1628 1.69 dsl check_syscall_args(netbsd32__lwp_kill)
1629 1.63 cube
1630 1.63 cube struct netbsd32__lwp_detach_args {
1631 1.63 cube syscallarg(lwpid_t) target;
1632 1.63 cube };
1633 1.69 dsl check_syscall_args(netbsd32__lwp_detach)
1634 1.63 cube
1635 1.63 cube struct netbsd32__lwp_park_args {
1636 1.71 dsl syscallarg(netbsd32_timespecp_t) ts;
1637 1.67 ad syscallarg(lwpid_t) unpark;
1638 1.71 dsl syscallarg(netbsd32_voidp) hint;
1639 1.71 dsl syscallarg(netbsd32_voidp) unparkhint;
1640 1.63 cube };
1641 1.69 dsl check_syscall_args(netbsd32__lwp_park)
1642 1.63 cube
1643 1.63 cube struct netbsd32__lwp_unpark_args {
1644 1.63 cube syscallarg(lwpid_t) target;
1645 1.71 dsl syscallarg(netbsd32_voidp) hint;
1646 1.63 cube };
1647 1.69 dsl check_syscall_args(netbsd32__lwp_unpark)
1648 1.63 cube
1649 1.63 cube struct netbsd32__lwp_unpark_all_args {
1650 1.71 dsl syscallarg(netbsd32_lwpidp) targets;
1651 1.63 cube syscallarg(netbsd32_size_t) ntargets;
1652 1.71 dsl syscallarg(netbsd32_voidp) hint;
1653 1.63 cube };
1654 1.69 dsl check_syscall_args(netbsd32__lwp_unpark_all)
1655 1.63 cube
1656 1.70 ad struct netbsd32__lwp_setname_args {
1657 1.70 ad syscallarg(lwpid_t) target;
1658 1.71 dsl syscallarg(netbsd32_charp) name;
1659 1.70 ad };
1660 1.70 ad check_syscall_args(netbsd32__lwp_setname)
1661 1.70 ad
1662 1.70 ad struct netbsd32__lwp_getname_args {
1663 1.70 ad syscallarg(lwpid_t) target;
1664 1.70 ad syscallarg(netbsd32_charp) name;
1665 1.70 ad syscallarg(netbsd32_size_t) len;
1666 1.70 ad };
1667 1.70 ad check_syscall_args(netbsd32__lwp_getname)
1668 1.70 ad
1669 1.70 ad struct netbsd32__lwp_ctl_args {
1670 1.70 ad syscallarg(int) features;
1671 1.70 ad syscallarg(netbsd32_pointer_t) address;
1672 1.70 ad };
1673 1.70 ad check_syscall_args(netbsd32__lwp_ctl)
1674 1.70 ad
1675 1.78 wrstuden struct netbsd32_sa_register_args {
1676 1.78 wrstuden syscallarg(netbsd32_sa_upcall_t) new;
1677 1.78 wrstuden syscallarg(netbsd32_sa_upcallp_t) old;
1678 1.78 wrstuden syscallarg(int) flags;
1679 1.78 wrstuden syscallarg(netbsd32_ssize_t) stackinfo_offset;
1680 1.78 wrstuden };
1681 1.78 wrstuden check_syscall_args(netbsd32_sa_register)
1682 1.78 wrstuden
1683 1.78 wrstuden struct netbsd32_sa_stacks_args {
1684 1.78 wrstuden syscallarg(int) num;
1685 1.78 wrstuden syscallarg(netbsd32_stackp_t) stacks;
1686 1.78 wrstuden };
1687 1.78 wrstuden check_syscall_args(netbsd32_sa_stacks)
1688 1.78 wrstuden
1689 1.78 wrstuden struct netbsd32_sa_setconcurrency_args {
1690 1.78 wrstuden syscallarg(int) concurrency;
1691 1.78 wrstuden };
1692 1.78 wrstuden check_syscall_args(netbsd32_sa_setconcurrency)
1693 1.78 wrstuden
1694 1.78 wrstuden struct netbsd32_sa_preempt_args {
1695 1.78 wrstuden syscallarg(int) sa_id;
1696 1.78 wrstuden };
1697 1.78 wrstuden check_syscall_args(netbsd32_sa_preempt)
1698 1.78 wrstuden
1699 1.27 scw struct netbsd32___sigaction_sigtramp_args {
1700 1.27 scw syscallarg(int) signum;
1701 1.71 dsl syscallarg(netbsd32_sigactionp_t) nsa;
1702 1.27 scw syscallarg(netbsd32_sigactionp_t) osa;
1703 1.27 scw syscallarg(netbsd32_voidp) tramp;
1704 1.27 scw syscallarg(int) vers;
1705 1.27 scw };
1706 1.69 dsl check_syscall_args(netbsd32___sigaction_sigtramp)
1707 1.27 scw
1708 1.41 cube struct netbsd32_rasctl_args {
1709 1.66 christos syscallarg(netbsd32_caddr_t) addr;
1710 1.41 cube syscallarg(netbsd32_size_t) len;
1711 1.41 cube syscallarg(int) op;
1712 1.41 cube };
1713 1.69 dsl check_syscall_args(netbsd32_rasctl)
1714 1.41 cube
1715 1.46 cube struct netbsd32_kevent_args {
1716 1.46 cube syscallarg(int) fd;
1717 1.46 cube syscallarg(netbsd32_keventp_t) changelist;
1718 1.46 cube syscallarg(netbsd32_size_t) nchanges;
1719 1.46 cube syscallarg(netbsd32_keventp_t) eventlist;
1720 1.46 cube syscallarg(netbsd32_size_t) nevents;
1721 1.46 cube syscallarg(netbsd32_timespecp_t) timeout;
1722 1.46 cube };
1723 1.69 dsl check_syscall_args(netbsd32_kevent)
1724 1.46 cube
1725 1.40 cube struct netbsd32_fsync_range_args {
1726 1.40 cube syscallarg(int) fd;
1727 1.40 cube syscallarg(int) flags;
1728 1.40 cube syscallarg(off_t) start;
1729 1.40 cube syscallarg(off_t) length;
1730 1.40 cube };
1731 1.69 dsl check_syscall_args(netbsd32_fsync_range)
1732 1.40 cube
1733 1.35 cube struct netbsd32_uuidgen_args {
1734 1.35 cube syscallarg(netbsd32_uuidp_t) store;
1735 1.35 cube syscallarg(int) count;
1736 1.35 cube };
1737 1.69 dsl check_syscall_args(netbsd32_uuidgen)
1738 1.35 cube
1739 1.32 cube struct netbsd32_getvfsstat_args {
1740 1.32 cube syscallarg(netbsd32_statvfsp_t) buf;
1741 1.32 cube syscallarg(netbsd32_size_t) bufsize;
1742 1.32 cube syscallarg(int) flags;
1743 1.32 cube };
1744 1.69 dsl check_syscall_args(netbsd32_getvfsstat)
1745 1.32 cube
1746 1.32 cube struct netbsd32_statvfs1_args {
1747 1.71 dsl syscallarg(netbsd32_charp) path;
1748 1.32 cube syscallarg(netbsd32_statvfsp_t) buf;
1749 1.32 cube syscallarg(int) flags;
1750 1.32 cube };
1751 1.69 dsl check_syscall_args(netbsd32_statvfs1)
1752 1.32 cube
1753 1.32 cube struct netbsd32_fstatvfs1_args {
1754 1.32 cube syscallarg(int) fd;
1755 1.32 cube syscallarg(netbsd32_statvfsp_t) buf;
1756 1.32 cube syscallarg(int) flags;
1757 1.32 cube };
1758 1.69 dsl check_syscall_args(netbsd32_fstatvfs1)
1759 1.32 cube
1760 1.58 martin struct compat_30_netbsd32_fhstatvfs1_args {
1761 1.71 dsl syscallarg(netbsd32_fhandlep_t) fhp;
1762 1.32 cube syscallarg(netbsd32_statvfsp_t) buf;
1763 1.32 cube syscallarg(int) flags;
1764 1.32 cube };
1765 1.69 dsl check_syscall_args(compat_30_netbsd32_fhstatvfs1)
1766 1.32 cube
1767 1.36 cube struct netbsd32_extattrctl_args {
1768 1.71 dsl syscallarg(netbsd32_charp) path;
1769 1.36 cube syscallarg(int) cmd;
1770 1.71 dsl syscallarg(netbsd32_charp) filename;
1771 1.36 cube syscallarg(int) attrnamespace;
1772 1.71 dsl syscallarg(netbsd32_charp) attrname;
1773 1.36 cube };
1774 1.69 dsl check_syscall_args(netbsd32_extattrctl)
1775 1.36 cube
1776 1.36 cube struct netbsd32_extattr_set_file_args {
1777 1.71 dsl syscallarg(netbsd32_charp) path;
1778 1.36 cube syscallarg(int) attrnamespace;
1779 1.71 dsl syscallarg(netbsd32_charp) attrname;
1780 1.71 dsl syscallarg(netbsd32_voidp) data;
1781 1.36 cube syscallarg(netbsd32_size_t) nbytes;
1782 1.36 cube };
1783 1.69 dsl check_syscall_args(netbsd32_extattr_set_file)
1784 1.36 cube
1785 1.36 cube struct netbsd32_extattr_get_file_args {
1786 1.71 dsl syscallarg(netbsd32_charp) path;
1787 1.36 cube syscallarg(int) attrnamespace;
1788 1.71 dsl syscallarg(netbsd32_charp) attrname;
1789 1.36 cube syscallarg(netbsd32_voidp) data;
1790 1.36 cube syscallarg(netbsd32_size_t) nbytes;
1791 1.36 cube };
1792 1.69 dsl check_syscall_args(netbsd32_extattr_get_file)
1793 1.36 cube
1794 1.36 cube struct netbsd32_extattr_delete_file_args {
1795 1.71 dsl syscallarg(netbsd32_charp) path;
1796 1.36 cube syscallarg(int) attrnamespace;
1797 1.71 dsl syscallarg(netbsd32_charp) attrname;
1798 1.36 cube };
1799 1.69 dsl check_syscall_args(netbsd32_extattr_delete_file)
1800 1.36 cube
1801 1.36 cube struct netbsd32_extattr_set_fd_args {
1802 1.36 cube syscallarg(int) fd;
1803 1.36 cube syscallarg(int) attrnamespace;
1804 1.71 dsl syscallarg(netbsd32_charp) attrname;
1805 1.71 dsl syscallarg(netbsd32_voidp) data;
1806 1.36 cube syscallarg(netbsd32_size_t) nbytes;
1807 1.36 cube };
1808 1.69 dsl check_syscall_args(netbsd32_extattr_set_fd)
1809 1.36 cube
1810 1.36 cube struct netbsd32_extattr_get_fd_args {
1811 1.36 cube syscallarg(int) fd;
1812 1.36 cube syscallarg(int) attrnamespace;
1813 1.71 dsl syscallarg(netbsd32_charp) attrname;
1814 1.36 cube syscallarg(netbsd32_voidp) data;
1815 1.36 cube syscallarg(netbsd32_size_t) nbytes;
1816 1.36 cube };
1817 1.69 dsl check_syscall_args(netbsd32_extattr_get_fd)
1818 1.36 cube
1819 1.36 cube struct netbsd32_extattr_delete_fd_args {
1820 1.36 cube syscallarg(int) fd;
1821 1.36 cube syscallarg(int) attrnamespace;
1822 1.71 dsl syscallarg(netbsd32_charp) attrname;
1823 1.36 cube };
1824 1.69 dsl check_syscall_args(netbsd32_extattr_delete_fd)
1825 1.36 cube
1826 1.36 cube struct netbsd32_extattr_set_link_args {
1827 1.71 dsl syscallarg(netbsd32_charp) path;
1828 1.36 cube syscallarg(int) attrnamespace;
1829 1.71 dsl syscallarg(netbsd32_charp) attrname;
1830 1.71 dsl syscallarg(netbsd32_voidp) data;
1831 1.36 cube syscallarg(netbsd32_size_t) nbytes;
1832 1.36 cube };
1833 1.69 dsl check_syscall_args(netbsd32_extattr_set_link)
1834 1.36 cube
1835 1.36 cube struct netbsd32_extattr_get_link_args {
1836 1.71 dsl syscallarg(netbsd32_charp) path;
1837 1.36 cube syscallarg(int) attrnamespace;
1838 1.71 dsl syscallarg(netbsd32_charp) attrname;
1839 1.36 cube syscallarg(netbsd32_voidp) data;
1840 1.36 cube syscallarg(netbsd32_size_t) nbytes;
1841 1.36 cube };
1842 1.69 dsl check_syscall_args(netbsd32_extattr_get_link)
1843 1.36 cube
1844 1.36 cube struct netbsd32_extattr_delete_link_args {
1845 1.71 dsl syscallarg(netbsd32_charp) path;
1846 1.36 cube syscallarg(int) attrnamespace;
1847 1.71 dsl syscallarg(netbsd32_charp) attrname;
1848 1.36 cube };
1849 1.69 dsl check_syscall_args(netbsd32_extattr_delete_link)
1850 1.36 cube
1851 1.36 cube struct netbsd32_extattr_list_fd_args {
1852 1.36 cube syscallarg(int) fd;
1853 1.36 cube syscallarg(int) attrnamespace;
1854 1.36 cube syscallarg(netbsd32_voidp) data;
1855 1.36 cube syscallarg(netbsd32_size_t) nbytes;
1856 1.36 cube };
1857 1.69 dsl check_syscall_args(netbsd32_extattr_list_fd)
1858 1.36 cube
1859 1.36 cube struct netbsd32_extattr_list_file_args {
1860 1.71 dsl syscallarg(netbsd32_charp) path;
1861 1.36 cube syscallarg(int) attrnamespace;
1862 1.36 cube syscallarg(netbsd32_voidp) data;
1863 1.36 cube syscallarg(netbsd32_size_t) nbytes;
1864 1.36 cube };
1865 1.69 dsl check_syscall_args(netbsd32_extattr_list_file)
1866 1.36 cube
1867 1.36 cube struct netbsd32_extattr_list_link_args {
1868 1.71 dsl syscallarg(netbsd32_charp) path;
1869 1.36 cube syscallarg(int) attrnamespace;
1870 1.36 cube syscallarg(netbsd32_voidp) data;
1871 1.36 cube syscallarg(netbsd32_size_t) nbytes;
1872 1.36 cube };
1873 1.69 dsl check_syscall_args(netbsd32_extattr_list_link)
1874 1.36 cube
1875 1.38 cube struct netbsd32_pselect_args {
1876 1.38 cube syscallarg(int) nd;
1877 1.38 cube syscallarg(netbsd32_fd_setp_t) in;
1878 1.38 cube syscallarg(netbsd32_fd_setp_t) ou;
1879 1.38 cube syscallarg(netbsd32_fd_setp_t) ex;
1880 1.71 dsl syscallarg(netbsd32_timespecp_t) ts;
1881 1.71 dsl syscallarg(netbsd32_sigsetp_t) mask;
1882 1.38 cube };
1883 1.69 dsl check_syscall_args(netbsd32_pselect)
1884 1.38 cube
1885 1.38 cube struct netbsd32_pollts_args {
1886 1.38 cube syscallarg(netbsd32_pollfdp_t) fds;
1887 1.38 cube syscallarg(u_int) nfds;
1888 1.71 dsl syscallarg(netbsd32_timespecp_t) ts;
1889 1.71 dsl syscallarg(netbsd32_sigsetp_t) mask;
1890 1.38 cube };
1891 1.69 dsl check_syscall_args(netbsd32_pollts)
1892 1.38 cube
1893 1.42 cube struct netbsd32_setxattr_args {
1894 1.71 dsl syscallarg(netbsd32_charp) path;
1895 1.71 dsl syscallarg(netbsd32_charp) name;
1896 1.42 cube syscallarg(netbsd32_voidp) value;
1897 1.42 cube syscallarg(netbsd32_size_t) size;
1898 1.42 cube syscallarg(int) flags;
1899 1.42 cube };
1900 1.69 dsl check_syscall_args(netbsd32_setxattr)
1901 1.42 cube
1902 1.42 cube struct netbsd32_lsetxattr_args {
1903 1.71 dsl syscallarg(netbsd32_charp) path;
1904 1.71 dsl syscallarg(netbsd32_charp) name;
1905 1.42 cube syscallarg(netbsd32_voidp) value;
1906 1.42 cube syscallarg(netbsd32_size_t) size;
1907 1.42 cube syscallarg(int) flags;
1908 1.42 cube };
1909 1.69 dsl check_syscall_args(netbsd32_lsetxattr)
1910 1.42 cube
1911 1.42 cube struct netbsd32_fsetxattr_args {
1912 1.42 cube syscallarg(int) fd;
1913 1.71 dsl syscallarg(netbsd32_charp) name;
1914 1.42 cube syscallarg(netbsd32_voidp) value;
1915 1.42 cube syscallarg(netbsd32_size_t) size;
1916 1.42 cube syscallarg(int) flags;
1917 1.42 cube };
1918 1.69 dsl check_syscall_args(netbsd32_fsetxattr)
1919 1.42 cube
1920 1.42 cube struct netbsd32_getxattr_args {
1921 1.71 dsl syscallarg(netbsd32_charp) path;
1922 1.71 dsl syscallarg(netbsd32_charp) name;
1923 1.42 cube syscallarg(netbsd32_voidp) value;
1924 1.42 cube syscallarg(netbsd32_size_t) size;
1925 1.42 cube };
1926 1.69 dsl check_syscall_args(netbsd32_getxattr)
1927 1.42 cube
1928 1.42 cube struct netbsd32_lgetxattr_args {
1929 1.71 dsl syscallarg(netbsd32_charp) path;
1930 1.71 dsl syscallarg(netbsd32_charp) name;
1931 1.42 cube syscallarg(netbsd32_voidp) value;
1932 1.42 cube syscallarg(netbsd32_size_t) size;
1933 1.42 cube };
1934 1.69 dsl check_syscall_args(netbsd32_lgetxattr)
1935 1.42 cube
1936 1.42 cube struct netbsd32_fgetxattr_args {
1937 1.42 cube syscallarg(int) fd;
1938 1.71 dsl syscallarg(netbsd32_charp) name;
1939 1.42 cube syscallarg(netbsd32_voidp) value;
1940 1.42 cube syscallarg(netbsd32_size_t) size;
1941 1.42 cube };
1942 1.69 dsl check_syscall_args(netbsd32_fgetxattr)
1943 1.42 cube
1944 1.42 cube struct netbsd32_listxattr_args {
1945 1.71 dsl syscallarg(netbsd32_charp) path;
1946 1.42 cube syscallarg(netbsd32_charp) list;
1947 1.42 cube syscallarg(netbsd32_size_t) size;
1948 1.42 cube };
1949 1.69 dsl check_syscall_args(netbsd32_listxattr)
1950 1.42 cube
1951 1.42 cube struct netbsd32_llistxattr_args {
1952 1.71 dsl syscallarg(netbsd32_charp) path;
1953 1.42 cube syscallarg(netbsd32_charp) list;
1954 1.42 cube syscallarg(netbsd32_size_t) size;
1955 1.42 cube };
1956 1.69 dsl check_syscall_args(netbsd32_llistxattr)
1957 1.42 cube
1958 1.42 cube struct netbsd32_flistxattr_args {
1959 1.42 cube syscallarg(int) fd;
1960 1.42 cube syscallarg(netbsd32_charp) list;
1961 1.42 cube syscallarg(netbsd32_size_t) size;
1962 1.42 cube };
1963 1.69 dsl check_syscall_args(netbsd32_flistxattr)
1964 1.42 cube
1965 1.42 cube struct netbsd32_removexattr_args {
1966 1.71 dsl syscallarg(netbsd32_charp) path;
1967 1.71 dsl syscallarg(netbsd32_charp) name;
1968 1.42 cube };
1969 1.69 dsl check_syscall_args(netbsd32_removexattr)
1970 1.42 cube
1971 1.42 cube struct netbsd32_lremovexattr_args {
1972 1.71 dsl syscallarg(netbsd32_charp) path;
1973 1.71 dsl syscallarg(netbsd32_charp) name;
1974 1.42 cube };
1975 1.69 dsl check_syscall_args(netbsd32_lremovexattr)
1976 1.42 cube
1977 1.42 cube struct netbsd32_fremovexattr_args {
1978 1.42 cube syscallarg(int) fd;
1979 1.71 dsl syscallarg(netbsd32_charp) name;
1980 1.42 cube };
1981 1.69 dsl check_syscall_args(netbsd32_fremovexattr)
1982 1.42 cube
1983 1.45 christos struct netbsd32_sys___stat30_args {
1984 1.71 dsl syscallarg(netbsd32_charp) path;
1985 1.45 christos syscallarg(netbsd32_statp_t) ub;
1986 1.45 christos };
1987 1.69 dsl check_syscall_args(netbsd32_sys___stat30)
1988 1.45 christos
1989 1.45 christos struct netbsd32_sys___fstat30_args {
1990 1.45 christos syscallarg(int) fd;
1991 1.45 christos syscallarg(netbsd32_statp_t) sb;
1992 1.45 christos };
1993 1.69 dsl check_syscall_args(netbsd32_sys___fstat30)
1994 1.45 christos
1995 1.45 christos struct netbsd32_sys___lstat30_args {
1996 1.71 dsl syscallarg(netbsd32_charp) path;
1997 1.45 christos syscallarg(netbsd32_statp_t) ub;
1998 1.45 christos };
1999 1.69 dsl check_syscall_args(netbsd32_sys___lstat30)
2000 1.45 christos
2001 1.45 christos struct netbsd32_sys___getdents30_args {
2002 1.45 christos syscallarg(int) fd;
2003 1.45 christos syscallarg(netbsd32_charp) buf;
2004 1.45 christos syscallarg(netbsd32_size_t) count;
2005 1.45 christos };
2006 1.69 dsl check_syscall_args(netbsd32_sys___getdents30)
2007 1.45 christos
2008 1.58 martin struct compat_30_netbsd32_sys___fhstat30_args {
2009 1.71 dsl syscallarg(netbsd32_fhandlep_t) fhp;
2010 1.51 cube syscallarg(netbsd32_statp_t) sb;
2011 1.51 cube };
2012 1.69 dsl check_syscall_args(compat_30_netbsd32_sys___fhstat30)
2013 1.51 cube
2014 1.53 drochner struct netbsd32_ntp_gettime_args {
2015 1.53 drochner syscallarg(netbsd32_ntptimevalp_t) ntvp;
2016 1.53 drochner };
2017 1.69 dsl check_syscall_args(netbsd32_ntp_gettime)
2018 1.53 drochner
2019 1.54 mrg struct netbsd32_sys___socket30_args {
2020 1.54 mrg syscallarg(int) domain;
2021 1.54 mrg syscallarg(int) type;
2022 1.54 mrg syscallarg(int) protocol;
2023 1.54 mrg };
2024 1.69 dsl check_syscall_args(netbsd32_sys___socket30)
2025 1.55 martin
2026 1.55 martin struct netbsd32___getfh30_args {
2027 1.71 dsl syscallarg(netbsd32_charp) fname;
2028 1.58 martin syscallarg(netbsd32_pointer_t) fhp;
2029 1.55 martin syscallarg(netbsd32_size_tp) fh_size;
2030 1.55 martin };
2031 1.69 dsl check_syscall_args(netbsd32___getfh30)
2032 1.54 mrg
2033 1.58 martin struct netbsd32___fhopen40_args {
2034 1.71 dsl syscallarg(netbsd32_pointer_t) fhp;
2035 1.58 martin syscallarg(netbsd32_size_t) fh_size;
2036 1.58 martin syscallarg(int) flags;
2037 1.58 martin };
2038 1.69 dsl check_syscall_args(netbsd32___fhopen40)
2039 1.58 martin
2040 1.58 martin struct netbsd32___fhstatvfs140_args {
2041 1.58 martin syscallarg(netbsd32_pointer_t) fhp;
2042 1.58 martin syscallarg(netbsd32_size_t) fh_size;
2043 1.58 martin syscallarg(netbsd32_statvfsp_t) buf;
2044 1.58 martin syscallarg(int) flags;
2045 1.58 martin };
2046 1.69 dsl check_syscall_args(netbsd32___fhstatvfs140)
2047 1.58 martin
2048 1.58 martin struct netbsd32___fhstat40_args {
2049 1.58 martin syscallarg(netbsd32_pointer_t) fhp;
2050 1.58 martin syscallarg(netbsd32_size_t) fh_size;
2051 1.58 martin syscallarg(netbsd32_statp_t) sb;
2052 1.58 martin };
2053 1.69 dsl check_syscall_args(netbsd32___fhstat40)
2054 1.58 martin
2055 1.73 dsl struct netbsd32_mremap_args {
2056 1.73 dsl syscallarg(netbsd32_voidp) old_address;
2057 1.73 dsl syscallarg(netbsd32_size_t) old_size;
2058 1.73 dsl syscallarg(netbsd32_voidp) new_address;
2059 1.73 dsl syscallarg(netbsd32_size_t) new_size;
2060 1.73 dsl syscallarg(int) flags;
2061 1.73 dsl };
2062 1.73 dsl check_syscall_args(netbsd32_mremap)
2063 1.73 dsl
2064 1.75 martin struct netbsd32___posix_fadvise50_args {
2065 1.75 martin syscallarg(int) fd;
2066 1.75 martin syscallarg(int) pad;
2067 1.75 martin syscallarg(off_t) offset;
2068 1.75 martin syscallarg(off_t) len;
2069 1.75 martin syscallarg(int) advice;
2070 1.75 martin };
2071 1.75 martin check_syscall_args(netbsd32___posix_fadvise50)
2072 1.75 martin
2073 1.1 mrg /*
2074 1.1 mrg * System call prototypes.
2075 1.1 mrg */
2076 1.1 mrg
2077 1.72 dsl int netbsd32_sys_syscall(struct lwp *, const struct netbsd32_sys_syscall_args *, register_t *);
2078 1.69 dsl
2079 1.72 dsl int netbsd32_exit(struct lwp *, const struct netbsd32_exit_args *, register_t *);
2080 1.30 fvdl
2081 1.72 dsl int sys_fork(struct lwp *, const void *, register_t *);
2082 1.30 fvdl
2083 1.72 dsl int netbsd32_read(struct lwp *, const struct netbsd32_read_args *, register_t *);
2084 1.30 fvdl
2085 1.72 dsl int netbsd32_write(struct lwp *, const struct netbsd32_write_args *, register_t *);
2086 1.30 fvdl
2087 1.72 dsl int netbsd32_open(struct lwp *, const struct netbsd32_open_args *, register_t *);
2088 1.30 fvdl
2089 1.72 dsl int netbsd32_close(struct lwp *, const struct netbsd32_close_args *, register_t *);
2090 1.30 fvdl
2091 1.72 dsl int netbsd32_wait4(struct lwp *, const struct netbsd32_wait4_args *, register_t *);
2092 1.30 fvdl
2093 1.72 dsl int compat_43_netbsd32_ocreat(struct lwp *, const struct compat_43_netbsd32_ocreat_args *, register_t *);
2094 1.30 fvdl
2095 1.72 dsl int netbsd32_link(struct lwp *, const struct netbsd32_link_args *, register_t *);
2096 1.30 fvdl
2097 1.72 dsl int netbsd32_unlink(struct lwp *, const struct netbsd32_unlink_args *, register_t *);
2098 1.30 fvdl
2099 1.72 dsl int netbsd32_chdir(struct lwp *, const struct netbsd32_chdir_args *, register_t *);
2100 1.30 fvdl
2101 1.72 dsl int netbsd32_fchdir(struct lwp *, const struct netbsd32_fchdir_args *, register_t *);
2102 1.30 fvdl
2103 1.72 dsl int netbsd32_mknod(struct lwp *, const struct netbsd32_mknod_args *, register_t *);
2104 1.30 fvdl
2105 1.72 dsl int netbsd32_chmod(struct lwp *, const struct netbsd32_chmod_args *, register_t *);
2106 1.30 fvdl
2107 1.72 dsl int netbsd32_chown(struct lwp *, const struct netbsd32_chown_args *, register_t *);
2108 1.30 fvdl
2109 1.72 dsl int netbsd32_break(struct lwp *, const struct netbsd32_break_args *, register_t *);
2110 1.30 fvdl
2111 1.72 dsl int compat_20_netbsd32_getfsstat(struct lwp *, const struct compat_20_netbsd32_getfsstat_args *, register_t *);
2112 1.30 fvdl
2113 1.72 dsl int compat_43_netbsd32_olseek(struct lwp *, const struct compat_43_netbsd32_olseek_args *, register_t *);
2114 1.30 fvdl
2115 1.72 dsl int sys_getpid(struct lwp *, const void *, register_t *);
2116 1.30 fvdl
2117 1.72 dsl int netbsd32_mount(struct lwp *, const struct netbsd32_mount_args *, register_t *);
2118 1.30 fvdl
2119 1.72 dsl int netbsd32_unmount(struct lwp *, const struct netbsd32_unmount_args *, register_t *);
2120 1.30 fvdl
2121 1.72 dsl int netbsd32_setuid(struct lwp *, const struct netbsd32_setuid_args *, register_t *);
2122 1.30 fvdl
2123 1.72 dsl int sys_getuid(struct lwp *, const void *, register_t *);
2124 1.30 fvdl
2125 1.72 dsl int sys_geteuid(struct lwp *, const void *, register_t *);
2126 1.30 fvdl
2127 1.72 dsl int netbsd32_ptrace(struct lwp *, const struct netbsd32_ptrace_args *, register_t *);
2128 1.30 fvdl
2129 1.72 dsl int netbsd32_recvmsg(struct lwp *, const struct netbsd32_recvmsg_args *, register_t *);
2130 1.30 fvdl
2131 1.72 dsl int netbsd32_sendmsg(struct lwp *, const struct netbsd32_sendmsg_args *, register_t *);
2132 1.30 fvdl
2133 1.72 dsl int netbsd32_recvfrom(struct lwp *, const struct netbsd32_recvfrom_args *, register_t *);
2134 1.30 fvdl
2135 1.72 dsl int netbsd32_accept(struct lwp *, const struct netbsd32_accept_args *, register_t *);
2136 1.30 fvdl
2137 1.72 dsl int netbsd32_getpeername(struct lwp *, const struct netbsd32_getpeername_args *, register_t *);
2138 1.30 fvdl
2139 1.72 dsl int netbsd32_getsockname(struct lwp *, const struct netbsd32_getsockname_args *, register_t *);
2140 1.30 fvdl
2141 1.72 dsl int netbsd32_access(struct lwp *, const struct netbsd32_access_args *, register_t *);
2142 1.30 fvdl
2143 1.72 dsl int netbsd32_chflags(struct lwp *, const struct netbsd32_chflags_args *, register_t *);
2144 1.30 fvdl
2145 1.72 dsl int netbsd32_fchflags(struct lwp *, const struct netbsd32_fchflags_args *, register_t *);
2146 1.30 fvdl
2147 1.72 dsl int sys_sync(struct lwp *, const void *, register_t *);
2148 1.30 fvdl
2149 1.72 dsl int netbsd32_kill(struct lwp *, const struct netbsd32_kill_args *, register_t *);
2150 1.30 fvdl
2151 1.72 dsl int compat_43_netbsd32_stat43(struct lwp *, const struct compat_43_netbsd32_stat43_args *, register_t *);
2152 1.30 fvdl
2153 1.72 dsl int sys_getppid(struct lwp *, const void *, register_t *);
2154 1.30 fvdl
2155 1.72 dsl int compat_43_netbsd32_lstat43(struct lwp *, const struct compat_43_netbsd32_lstat43_args *, register_t *);
2156 1.30 fvdl
2157 1.72 dsl int netbsd32_dup(struct lwp *, const struct netbsd32_dup_args *, register_t *);
2158 1.30 fvdl
2159 1.72 dsl int sys_pipe(struct lwp *, const void *, register_t *);
2160 1.30 fvdl
2161 1.72 dsl int sys_getegid(struct lwp *, const void *, register_t *);
2162 1.30 fvdl
2163 1.72 dsl int netbsd32_profil(struct lwp *, const struct netbsd32_profil_args *, register_t *);
2164 1.30 fvdl
2165 1.72 dsl int netbsd32_ktrace(struct lwp *, const struct netbsd32_ktrace_args *, register_t *);
2166 1.30 fvdl
2167 1.72 dsl int netbsd32_sigaction(struct lwp *, const struct netbsd32_sigaction_args *, register_t *);
2168 1.30 fvdl
2169 1.72 dsl int sys_getgid(struct lwp *, const void *, register_t *);
2170 1.30 fvdl
2171 1.72 dsl int compat_13_netbsd32_sigprocmask(struct lwp *, const struct compat_13_netbsd32_sigprocmask_args *, register_t *);
2172 1.30 fvdl
2173 1.72 dsl int netbsd32___getlogin(struct lwp *, const struct netbsd32___getlogin_args *, register_t *);
2174 1.30 fvdl
2175 1.72 dsl int netbsd32_setlogin(struct lwp *, const struct netbsd32_setlogin_args *, register_t *);
2176 1.30 fvdl
2177 1.72 dsl int netbsd32_acct(struct lwp *, const struct netbsd32_acct_args *, register_t *);
2178 1.30 fvdl
2179 1.72 dsl int compat_13_sys_sigpending(struct lwp *, const void *, register_t *);
2180 1.30 fvdl
2181 1.72 dsl int compat_13_netbsd32_sigaltstack13(struct lwp *, const struct compat_13_netbsd32_sigaltstack13_args *, register_t *);
2182 1.30 fvdl
2183 1.72 dsl int netbsd32_ioctl(struct lwp *, const struct netbsd32_ioctl_args *, register_t *);
2184 1.30 fvdl
2185 1.72 dsl int compat_12_netbsd32_reboot(struct lwp *, const struct compat_12_netbsd32_reboot_args *, register_t *);
2186 1.30 fvdl
2187 1.72 dsl int netbsd32_revoke(struct lwp *, const struct netbsd32_revoke_args *, register_t *);
2188 1.30 fvdl
2189 1.72 dsl int netbsd32_symlink(struct lwp *, const struct netbsd32_symlink_args *, register_t *);
2190 1.30 fvdl
2191 1.72 dsl int netbsd32_readlink(struct lwp *, const struct netbsd32_readlink_args *, register_t *);
2192 1.30 fvdl
2193 1.72 dsl int netbsd32_execve(struct lwp *, const struct netbsd32_execve_args *, register_t *);
2194 1.30 fvdl
2195 1.72 dsl int netbsd32_umask(struct lwp *, const struct netbsd32_umask_args *, register_t *);
2196 1.30 fvdl
2197 1.72 dsl int netbsd32_chroot(struct lwp *, const struct netbsd32_chroot_args *, register_t *);
2198 1.30 fvdl
2199 1.72 dsl int compat_43_netbsd32_fstat43(struct lwp *, const struct compat_43_netbsd32_fstat43_args *, register_t *);
2200 1.30 fvdl
2201 1.72 dsl int compat_43_netbsd32_ogetkerninfo(struct lwp *, const struct compat_43_netbsd32_ogetkerninfo_args *, register_t *);
2202 1.30 fvdl
2203 1.72 dsl int compat_43_sys_getpagesize(struct lwp *, const void *, register_t *);
2204 1.30 fvdl
2205 1.72 dsl int compat_12_netbsd32_msync(struct lwp *, const struct compat_12_netbsd32_msync_args *, register_t *);
2206 1.30 fvdl
2207 1.72 dsl int sys_vfork(struct lwp *, const void *, register_t *);
2208 1.30 fvdl
2209 1.72 dsl int netbsd32_sbrk(struct lwp *, const struct netbsd32_sbrk_args *, register_t *);
2210 1.30 fvdl
2211 1.72 dsl int netbsd32_sstk(struct lwp *, const struct netbsd32_sstk_args *, register_t *);
2212 1.30 fvdl
2213 1.72 dsl int compat_43_netbsd32_ommap(struct lwp *, const struct compat_43_netbsd32_ommap_args *, register_t *);
2214 1.30 fvdl
2215 1.72 dsl int netbsd32_ovadvise(struct lwp *, const struct netbsd32_ovadvise_args *, register_t *);
2216 1.30 fvdl
2217 1.72 dsl int netbsd32_munmap(struct lwp *, const struct netbsd32_munmap_args *, register_t *);
2218 1.30 fvdl
2219 1.72 dsl int netbsd32_mprotect(struct lwp *, const struct netbsd32_mprotect_args *, register_t *);
2220 1.30 fvdl
2221 1.72 dsl int netbsd32_madvise(struct lwp *, const struct netbsd32_madvise_args *, register_t *);
2222 1.30 fvdl
2223 1.72 dsl int netbsd32_mincore(struct lwp *, const struct netbsd32_mincore_args *, register_t *);
2224 1.30 fvdl
2225 1.72 dsl int netbsd32_getgroups(struct lwp *, const struct netbsd32_getgroups_args *, register_t *);
2226 1.30 fvdl
2227 1.72 dsl int netbsd32_setgroups(struct lwp *, const struct netbsd32_setgroups_args *, register_t *);
2228 1.30 fvdl
2229 1.72 dsl int sys_getpgrp(struct lwp *, const void *, register_t *);
2230 1.30 fvdl
2231 1.72 dsl int netbsd32_setpgid(struct lwp *, const struct netbsd32_setpgid_args *, register_t *);
2232 1.30 fvdl
2233 1.72 dsl int netbsd32_setitimer(struct lwp *, const struct netbsd32_setitimer_args *, register_t *);
2234 1.30 fvdl
2235 1.72 dsl int compat_43_sys_wait(struct lwp *, const void *, register_t *);
2236 1.30 fvdl
2237 1.72 dsl int compat_12_netbsd32_oswapon(struct lwp *, const struct compat_12_netbsd32_oswapon_args *, register_t *);
2238 1.30 fvdl
2239 1.72 dsl int netbsd32_getitimer(struct lwp *, const struct netbsd32_getitimer_args *, register_t *);
2240 1.30 fvdl
2241 1.72 dsl int compat_43_netbsd32_ogethostname(struct lwp *, const struct compat_43_netbsd32_ogethostname_args *, register_t *);
2242 1.30 fvdl
2243 1.72 dsl int compat_43_netbsd32_osethostname(struct lwp *, const struct compat_43_netbsd32_osethostname_args *, register_t *);
2244 1.30 fvdl
2245 1.72 dsl int compat_43_sys_getdtablesize(struct lwp *, const void *, register_t *);
2246 1.30 fvdl
2247 1.72 dsl int netbsd32_dup2(struct lwp *, const struct netbsd32_dup2_args *, register_t *);
2248 1.30 fvdl
2249 1.72 dsl int netbsd32_fcntl(struct lwp *, const struct netbsd32_fcntl_args *, register_t *);
2250 1.30 fvdl
2251 1.72 dsl int netbsd32_select(struct lwp *, const struct netbsd32_select_args *, register_t *);
2252 1.30 fvdl
2253 1.72 dsl int netbsd32_fsync(struct lwp *, const struct netbsd32_fsync_args *, register_t *);
2254 1.30 fvdl
2255 1.72 dsl int netbsd32_setpriority(struct lwp *, const struct netbsd32_setpriority_args *, register_t *);
2256 1.30 fvdl
2257 1.72 dsl int compat_30_netbsd32_socket(struct lwp *, const struct compat_30_netbsd32_socket_args *, register_t *);
2258 1.30 fvdl
2259 1.72 dsl int netbsd32_connect(struct lwp *, const struct netbsd32_connect_args *, register_t *);
2260 1.30 fvdl
2261 1.72 dsl int compat_43_netbsd32_oaccept(struct lwp *, const struct compat_43_netbsd32_oaccept_args *, register_t *);
2262 1.30 fvdl
2263 1.72 dsl int netbsd32_getpriority(struct lwp *, const struct netbsd32_getpriority_args *, register_t *);
2264 1.30 fvdl
2265 1.72 dsl int compat_43_netbsd32_osend(struct lwp *, const struct compat_43_netbsd32_osend_args *, register_t *);
2266 1.30 fvdl
2267 1.72 dsl int compat_43_netbsd32_orecv(struct lwp *, const struct compat_43_netbsd32_orecv_args *, register_t *);
2268 1.30 fvdl
2269 1.72 dsl int compat_13_netbsd32_sigreturn(struct lwp *, const struct compat_13_netbsd32_sigreturn_args *, register_t *);
2270 1.30 fvdl
2271 1.72 dsl int netbsd32_bind(struct lwp *, const struct netbsd32_bind_args *, register_t *);
2272 1.30 fvdl
2273 1.72 dsl int netbsd32_setsockopt(struct lwp *, const struct netbsd32_setsockopt_args *, register_t *);
2274 1.30 fvdl
2275 1.72 dsl int netbsd32_listen(struct lwp *, const struct netbsd32_listen_args *, register_t *);
2276 1.30 fvdl
2277 1.72 dsl int compat_43_netbsd32_osigvec(struct lwp *, const struct compat_43_netbsd32_osigvec_args *, register_t *);
2278 1.30 fvdl
2279 1.72 dsl int compat_43_netbsd32_sigblock(struct lwp *, const struct compat_43_netbsd32_sigblock_args *, register_t *);
2280 1.30 fvdl
2281 1.72 dsl int compat_43_netbsd32_sigsetmask(struct lwp *, const struct compat_43_netbsd32_sigsetmask_args *, register_t *);
2282 1.30 fvdl
2283 1.72 dsl int compat_13_netbsd32_sigsuspend(struct lwp *, const struct compat_13_netbsd32_sigsuspend_args *, register_t *);
2284 1.30 fvdl
2285 1.72 dsl int compat_43_netbsd32_osigstack(struct lwp *, const struct compat_43_netbsd32_osigstack_args *, register_t *);
2286 1.30 fvdl
2287 1.72 dsl int compat_43_netbsd32_orecvmsg(struct lwp *, const struct compat_43_netbsd32_orecvmsg_args *, register_t *);
2288 1.30 fvdl
2289 1.72 dsl int compat_43_netbsd32_osendmsg(struct lwp *, const struct compat_43_netbsd32_osendmsg_args *, register_t *);
2290 1.30 fvdl
2291 1.72 dsl int netbsd32_gettimeofday(struct lwp *, const struct netbsd32_gettimeofday_args *, register_t *);
2292 1.30 fvdl
2293 1.72 dsl int netbsd32_getrusage(struct lwp *, const struct netbsd32_getrusage_args *, register_t *);
2294 1.30 fvdl
2295 1.72 dsl int netbsd32_getsockopt(struct lwp *, const struct netbsd32_getsockopt_args *, register_t *);
2296 1.30 fvdl
2297 1.72 dsl int netbsd32_readv(struct lwp *, const struct netbsd32_readv_args *, register_t *);
2298 1.30 fvdl
2299 1.72 dsl int netbsd32_writev(struct lwp *, const struct netbsd32_writev_args *, register_t *);
2300 1.30 fvdl
2301 1.72 dsl int netbsd32_settimeofday(struct lwp *, const struct netbsd32_settimeofday_args *, register_t *);
2302 1.30 fvdl
2303 1.72 dsl int netbsd32_fchown(struct lwp *, const struct netbsd32_fchown_args *, register_t *);
2304 1.30 fvdl
2305 1.72 dsl int netbsd32_fchmod(struct lwp *, const struct netbsd32_fchmod_args *, register_t *);
2306 1.30 fvdl
2307 1.72 dsl int compat_43_netbsd32_orecvfrom(struct lwp *, const struct compat_43_netbsd32_orecvfrom_args *, register_t *);
2308 1.30 fvdl
2309 1.72 dsl int netbsd32_setreuid(struct lwp *, const struct netbsd32_setreuid_args *, register_t *);
2310 1.30 fvdl
2311 1.72 dsl int netbsd32_setregid(struct lwp *, const struct netbsd32_setregid_args *, register_t *);
2312 1.30 fvdl
2313 1.72 dsl int netbsd32_rename(struct lwp *, const struct netbsd32_rename_args *, register_t *);
2314 1.30 fvdl
2315 1.72 dsl int compat_43_netbsd32_otruncate(struct lwp *, const struct compat_43_netbsd32_otruncate_args *, register_t *);
2316 1.30 fvdl
2317 1.72 dsl int compat_43_netbsd32_oftruncate(struct lwp *, const struct compat_43_netbsd32_oftruncate_args *, register_t *);
2318 1.30 fvdl
2319 1.72 dsl int netbsd32_flock(struct lwp *, const struct netbsd32_flock_args *, register_t *);
2320 1.30 fvdl
2321 1.72 dsl int netbsd32_mkfifo(struct lwp *, const struct netbsd32_mkfifo_args *, register_t *);
2322 1.30 fvdl
2323 1.72 dsl int netbsd32_sendto(struct lwp *, const struct netbsd32_sendto_args *, register_t *);
2324 1.30 fvdl
2325 1.72 dsl int netbsd32_shutdown(struct lwp *, const struct netbsd32_shutdown_args *, register_t *);
2326 1.30 fvdl
2327 1.72 dsl int netbsd32_socketpair(struct lwp *, const struct netbsd32_socketpair_args *, register_t *);
2328 1.30 fvdl
2329 1.72 dsl int netbsd32_mkdir(struct lwp *, const struct netbsd32_mkdir_args *, register_t *);
2330 1.30 fvdl
2331 1.72 dsl int netbsd32_rmdir(struct lwp *, const struct netbsd32_rmdir_args *, register_t *);
2332 1.30 fvdl
2333 1.72 dsl int netbsd32_utimes(struct lwp *, const struct netbsd32_utimes_args *, register_t *);
2334 1.30 fvdl
2335 1.72 dsl int netbsd32_adjtime(struct lwp *, const struct netbsd32_adjtime_args *, register_t *);
2336 1.30 fvdl
2337 1.72 dsl int compat_43_netbsd32_ogetpeername(struct lwp *, const struct compat_43_netbsd32_ogetpeername_args *, register_t *);
2338 1.30 fvdl
2339 1.72 dsl int compat_43_sys_gethostid(struct lwp *, const void *, register_t *);
2340 1.30 fvdl
2341 1.72 dsl int compat_43_netbsd32_sethostid(struct lwp *, const struct compat_43_netbsd32_sethostid_args *, register_t *);
2342 1.30 fvdl
2343 1.72 dsl int compat_43_netbsd32_ogetrlimit(struct lwp *, const struct compat_43_netbsd32_ogetrlimit_args *, register_t *);
2344 1.30 fvdl
2345 1.72 dsl int compat_43_netbsd32_osetrlimit(struct lwp *, const struct compat_43_netbsd32_osetrlimit_args *, register_t *);
2346 1.30 fvdl
2347 1.72 dsl int compat_43_netbsd32_killpg(struct lwp *, const struct compat_43_netbsd32_killpg_args *, register_t *);
2348 1.30 fvdl
2349 1.72 dsl int sys_setsid(struct lwp *, const void *, register_t *);
2350 1.30 fvdl
2351 1.72 dsl int netbsd32_quotactl(struct lwp *, const struct netbsd32_quotactl_args *, register_t *);
2352 1.30 fvdl
2353 1.72 dsl int compat_43_sys_quota(struct lwp *, const void *, register_t *);
2354 1.30 fvdl
2355 1.72 dsl int compat_43_netbsd32_ogetsockname(struct lwp *, const struct compat_43_netbsd32_ogetsockname_args *, register_t *);
2356 1.30 fvdl
2357 1.10 christos #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
2358 1.72 dsl int netbsd32_nfssvc(struct lwp *, const struct netbsd32_nfssvc_args *, register_t *);
2359 1.30 fvdl
2360 1.1 mrg #else
2361 1.1 mrg #endif
2362 1.72 dsl int compat_43_netbsd32_ogetdirentries(struct lwp *, const struct compat_43_netbsd32_ogetdirentries_args *, register_t *);
2363 1.30 fvdl
2364 1.72 dsl int compat_20_netbsd32_statfs(struct lwp *, const struct compat_20_netbsd32_statfs_args *, register_t *);
2365 1.30 fvdl
2366 1.72 dsl int compat_20_netbsd32_fstatfs(struct lwp *, const struct compat_20_netbsd32_fstatfs_args *, register_t *);
2367 1.30 fvdl
2368 1.72 dsl int compat_30_netbsd32_getfh(struct lwp *, const struct compat_30_netbsd32_getfh_args *, register_t *);
2369 1.30 fvdl
2370 1.72 dsl int compat_09_netbsd32_ogetdomainname(struct lwp *, const struct compat_09_netbsd32_ogetdomainname_args *, register_t *);
2371 1.30 fvdl
2372 1.72 dsl int compat_09_netbsd32_osetdomainname(struct lwp *, const struct compat_09_netbsd32_osetdomainname_args *, register_t *);
2373 1.30 fvdl
2374 1.72 dsl int compat_09_netbsd32_uname(struct lwp *, const struct compat_09_netbsd32_uname_args *, register_t *);
2375 1.30 fvdl
2376 1.72 dsl int netbsd32_sysarch(struct lwp *, const struct netbsd32_sysarch_args *, register_t *);
2377 1.30 fvdl
2378 1.26 mrg #if defined(SYSVSEM) || !defined(_KERNEL)
2379 1.72 dsl int compat_10_netbsd32_sys_semsys(struct lwp *, const struct compat_10_netbsd32_sys_semsys_args *, register_t *);
2380 1.30 fvdl
2381 1.1 mrg #else
2382 1.1 mrg #endif
2383 1.26 mrg #if defined(SYSVMSG) || !defined(_KERNEL)
2384 1.72 dsl int compat_10_netbsd32_sys_msgsys(struct lwp *, const struct compat_10_netbsd32_sys_msgsys_args *, register_t *);
2385 1.30 fvdl
2386 1.1 mrg #else
2387 1.1 mrg #endif
2388 1.26 mrg #if defined(SYSVSHM) || !defined(_KERNEL)
2389 1.72 dsl int compat_10_netbsd32_sys_shmsys(struct lwp *, const struct compat_10_netbsd32_sys_shmsys_args *, register_t *);
2390 1.30 fvdl
2391 1.1 mrg #else
2392 1.1 mrg #endif
2393 1.72 dsl int netbsd32_pread(struct lwp *, const struct netbsd32_pread_args *, register_t *);
2394 1.30 fvdl
2395 1.72 dsl int netbsd32_pwrite(struct lwp *, const struct netbsd32_pwrite_args *, register_t *);
2396 1.30 fvdl
2397 1.72 dsl int compat_30_netbsd32_ntp_gettime(struct lwp *, const struct compat_30_netbsd32_ntp_gettime_args *, register_t *);
2398 1.53 drochner
2399 1.72 dsl int netbsd32_ntp_adjtime(struct lwp *, const struct netbsd32_ntp_adjtime_args *, register_t *);
2400 1.30 fvdl
2401 1.72 dsl int netbsd32_setgid(struct lwp *, const struct netbsd32_setgid_args *, register_t *);
2402 1.30 fvdl
2403 1.72 dsl int netbsd32_setegid(struct lwp *, const struct netbsd32_setegid_args *, register_t *);
2404 1.30 fvdl
2405 1.72 dsl int netbsd32_seteuid(struct lwp *, const struct netbsd32_seteuid_args *, register_t *);
2406 1.30 fvdl
2407 1.10 christos #if defined(LFS) || !defined(_KERNEL)
2408 1.72 dsl int netbsd32_sys_lfs_bmapv(struct lwp *, const struct netbsd32_sys_lfs_bmapv_args *, register_t *);
2409 1.30 fvdl
2410 1.72 dsl int netbsd32_sys_lfs_markv(struct lwp *, const struct netbsd32_sys_lfs_markv_args *, register_t *);
2411 1.30 fvdl
2412 1.72 dsl int netbsd32_sys_lfs_segclean(struct lwp *, const struct netbsd32_sys_lfs_segclean_args *, register_t *);
2413 1.30 fvdl
2414 1.72 dsl int netbsd32_sys_lfs_segwait(struct lwp *, const struct netbsd32_sys_lfs_segwait_args *, register_t *);
2415 1.30 fvdl
2416 1.16 cgd #else
2417 1.16 cgd #endif
2418 1.72 dsl int compat_12_netbsd32_stat12(struct lwp *, const struct compat_12_netbsd32_stat12_args *, register_t *);
2419 1.30 fvdl
2420 1.72 dsl int compat_12_netbsd32_fstat12(struct lwp *, const struct compat_12_netbsd32_fstat12_args *, register_t *);
2421 1.30 fvdl
2422 1.72 dsl int compat_12_netbsd32_lstat12(struct lwp *, const struct compat_12_netbsd32_lstat12_args *, register_t *);
2423 1.30 fvdl
2424 1.72 dsl int netbsd32_pathconf(struct lwp *, const struct netbsd32_pathconf_args *, register_t *);
2425 1.30 fvdl
2426 1.72 dsl int netbsd32_fpathconf(struct lwp *, const struct netbsd32_fpathconf_args *, register_t *);
2427 1.30 fvdl
2428 1.72 dsl int netbsd32_getrlimit(struct lwp *, const struct netbsd32_getrlimit_args *, register_t *);
2429 1.30 fvdl
2430 1.72 dsl int netbsd32_setrlimit(struct lwp *, const struct netbsd32_setrlimit_args *, register_t *);
2431 1.30 fvdl
2432 1.72 dsl int compat_12_netbsd32_getdirentries(struct lwp *, const struct compat_12_netbsd32_getdirentries_args *, register_t *);
2433 1.30 fvdl
2434 1.72 dsl int netbsd32_mmap(struct lwp *, const struct netbsd32_mmap_args *, register_t *);
2435 1.30 fvdl
2436 1.72 dsl int netbsd32_sys___syscall(struct lwp *, const struct netbsd32_sys___syscall_args *, register_t *);
2437 1.69 dsl
2438 1.72 dsl int netbsd32_lseek(struct lwp *, const struct netbsd32_lseek_args *, register_t *);
2439 1.30 fvdl
2440 1.72 dsl int netbsd32_truncate(struct lwp *, const struct netbsd32_truncate_args *, register_t *);
2441 1.30 fvdl
2442 1.72 dsl int netbsd32_ftruncate(struct lwp *, const struct netbsd32_ftruncate_args *, register_t *);
2443 1.30 fvdl
2444 1.72 dsl int netbsd32___sysctl(struct lwp *, const struct netbsd32___sysctl_args *, register_t *);
2445 1.30 fvdl
2446 1.72 dsl int netbsd32_mlock(struct lwp *, const struct netbsd32_mlock_args *, register_t *);
2447 1.30 fvdl
2448 1.72 dsl int netbsd32_munlock(struct lwp *, const struct netbsd32_munlock_args *, register_t *);
2449 1.30 fvdl
2450 1.72 dsl int netbsd32_undelete(struct lwp *, const struct netbsd32_undelete_args *, register_t *);
2451 1.30 fvdl
2452 1.72 dsl int netbsd32_futimes(struct lwp *, const struct netbsd32_futimes_args *, register_t *);
2453 1.30 fvdl
2454 1.72 dsl int netbsd32_getpgid(struct lwp *, const struct netbsd32_getpgid_args *, register_t *);
2455 1.30 fvdl
2456 1.72 dsl int netbsd32_reboot(struct lwp *, const struct netbsd32_reboot_args *, register_t *);
2457 1.30 fvdl
2458 1.72 dsl int netbsd32_poll(struct lwp *, const struct netbsd32_poll_args *, register_t *);
2459 1.30 fvdl
2460 1.10 christos #if defined(SYSVSEM) || !defined(_KERNEL)
2461 1.72 dsl int compat_14_netbsd32___semctl(struct lwp *, const struct compat_14_netbsd32___semctl_args *, register_t *);
2462 1.30 fvdl
2463 1.72 dsl int netbsd32_semget(struct lwp *, const struct netbsd32_semget_args *, register_t *);
2464 1.30 fvdl
2465 1.72 dsl int netbsd32_semop(struct lwp *, const struct netbsd32_semop_args *, register_t *);
2466 1.30 fvdl
2467 1.72 dsl int netbsd32_semconfig(struct lwp *, const struct netbsd32_semconfig_args *, register_t *);
2468 1.30 fvdl
2469 1.1 mrg #else
2470 1.1 mrg #endif
2471 1.10 christos #if defined(SYSVMSG) || !defined(_KERNEL)
2472 1.72 dsl int compat_14_netbsd32_msgctl(struct lwp *, const struct compat_14_netbsd32_msgctl_args *, register_t *);
2473 1.30 fvdl
2474 1.72 dsl int netbsd32_msgget(struct lwp *, const struct netbsd32_msgget_args *, register_t *);
2475 1.30 fvdl
2476 1.72 dsl int netbsd32_msgsnd(struct lwp *, const struct netbsd32_msgsnd_args *, register_t *);
2477 1.30 fvdl
2478 1.72 dsl int netbsd32_msgrcv(struct lwp *, const struct netbsd32_msgrcv_args *, register_t *);
2479 1.30 fvdl
2480 1.1 mrg #else
2481 1.1 mrg #endif
2482 1.10 christos #if defined(SYSVSHM) || !defined(_KERNEL)
2483 1.72 dsl int netbsd32_shmat(struct lwp *, const struct netbsd32_shmat_args *, register_t *);
2484 1.30 fvdl
2485 1.72 dsl int compat_14_netbsd32_shmctl(struct lwp *, const struct compat_14_netbsd32_shmctl_args *, register_t *);
2486 1.30 fvdl
2487 1.72 dsl int netbsd32_shmdt(struct lwp *, const struct netbsd32_shmdt_args *, register_t *);
2488 1.30 fvdl
2489 1.72 dsl int netbsd32_shmget(struct lwp *, const struct netbsd32_shmget_args *, register_t *);
2490 1.30 fvdl
2491 1.16 cgd #else
2492 1.16 cgd #endif
2493 1.72 dsl int netbsd32_clock_gettime(struct lwp *, const struct netbsd32_clock_gettime_args *, register_t *);
2494 1.30 fvdl
2495 1.72 dsl int netbsd32_clock_settime(struct lwp *, const struct netbsd32_clock_settime_args *, register_t *);
2496 1.30 fvdl
2497 1.72 dsl int netbsd32_clock_getres(struct lwp *, const struct netbsd32_clock_getres_args *, register_t *);
2498 1.30 fvdl
2499 1.72 dsl int netbsd32_timer_create(struct lwp *, const struct netbsd32_timer_create_args *, register_t *);
2500 1.43 cube
2501 1.72 dsl int netbsd32_timer_delete(struct lwp *, const struct netbsd32_timer_delete_args *, register_t *);
2502 1.43 cube
2503 1.72 dsl int netbsd32_timer_settime(struct lwp *, const struct netbsd32_timer_settime_args *, register_t *);
2504 1.43 cube
2505 1.72 dsl int netbsd32_timer_gettime(struct lwp *, const struct netbsd32_timer_gettime_args *, register_t *);
2506 1.43 cube
2507 1.72 dsl int netbsd32_timer_getoverrun(struct lwp *, const struct netbsd32_timer_getoverrun_args *, register_t *);
2508 1.43 cube
2509 1.72 dsl int netbsd32_nanosleep(struct lwp *, const struct netbsd32_nanosleep_args *, register_t *);
2510 1.30 fvdl
2511 1.72 dsl int netbsd32_fdatasync(struct lwp *, const struct netbsd32_fdatasync_args *, register_t *);
2512 1.30 fvdl
2513 1.72 dsl int netbsd32_mlockall(struct lwp *, const struct netbsd32_mlockall_args *, register_t *);
2514 1.37 cube
2515 1.72 dsl int sys_munlockall(struct lwp *, const void *, register_t *);
2516 1.37 cube
2517 1.72 dsl int netbsd32___sigtimedwait(struct lwp *, const struct netbsd32___sigtimedwait_args *, register_t *);
2518 1.44 cube
2519 1.48 cube #if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL) && defined(_LIBC))
2520 1.72 dsl int netbsd32__ksem_init(struct lwp *, const struct netbsd32__ksem_init_args *, register_t *);
2521 1.48 cube
2522 1.72 dsl int netbsd32__ksem_open(struct lwp *, const struct netbsd32__ksem_open_args *, register_t *);
2523 1.48 cube
2524 1.72 dsl int netbsd32__ksem_unlink(struct lwp *, const struct netbsd32__ksem_unlink_args *, register_t *);
2525 1.48 cube
2526 1.72 dsl int netbsd32__ksem_close(struct lwp *, const struct netbsd32__ksem_close_args *, register_t *);
2527 1.48 cube
2528 1.72 dsl int netbsd32__ksem_post(struct lwp *, const struct netbsd32__ksem_post_args *, register_t *);
2529 1.48 cube
2530 1.72 dsl int netbsd32__ksem_wait(struct lwp *, const struct netbsd32__ksem_wait_args *, register_t *);
2531 1.48 cube
2532 1.72 dsl int netbsd32__ksem_trywait(struct lwp *, const struct netbsd32__ksem_trywait_args *, register_t *);
2533 1.48 cube
2534 1.72 dsl int netbsd32__ksem_getvalue(struct lwp *, const struct netbsd32__ksem_getvalue_args *, register_t *);
2535 1.48 cube
2536 1.72 dsl int netbsd32__ksem_destroy(struct lwp *, const struct netbsd32__ksem_destroy_args *, register_t *);
2537 1.48 cube
2538 1.48 cube #else
2539 1.48 cube #endif
2540 1.72 dsl int netbsd32___posix_rename(struct lwp *, const struct netbsd32___posix_rename_args *, register_t *);
2541 1.30 fvdl
2542 1.72 dsl int netbsd32_swapctl(struct lwp *, const struct netbsd32_swapctl_args *, register_t *);
2543 1.30 fvdl
2544 1.72 dsl int compat_30_netbsd32_getdents(struct lwp *, const struct compat_30_netbsd32_getdents_args *, register_t *);
2545 1.30 fvdl
2546 1.72 dsl int netbsd32_minherit(struct lwp *, const struct netbsd32_minherit_args *, register_t *);
2547 1.30 fvdl
2548 1.72 dsl int netbsd32_lchmod(struct lwp *, const struct netbsd32_lchmod_args *, register_t *);
2549 1.30 fvdl
2550 1.72 dsl int netbsd32_lchown(struct lwp *, const struct netbsd32_lchown_args *, register_t *);
2551 1.30 fvdl
2552 1.72 dsl int netbsd32_lutimes(struct lwp *, const struct netbsd32_lutimes_args *, register_t *);
2553 1.30 fvdl
2554 1.72 dsl int netbsd32___msync13(struct lwp *, const struct netbsd32___msync13_args *, register_t *);
2555 1.30 fvdl
2556 1.72 dsl int compat_30_netbsd32___stat13(struct lwp *, const struct compat_30_netbsd32___stat13_args *, register_t *);
2557 1.30 fvdl
2558 1.72 dsl int compat_30_netbsd32___fstat13(struct lwp *, const struct compat_30_netbsd32___fstat13_args *, register_t *);
2559 1.30 fvdl
2560 1.72 dsl int compat_30_netbsd32___lstat13(struct lwp *, const struct compat_30_netbsd32___lstat13_args *, register_t *);
2561 1.30 fvdl
2562 1.72 dsl int netbsd32___sigaltstack14(struct lwp *, const struct netbsd32___sigaltstack14_args *, register_t *);
2563 1.30 fvdl
2564 1.72 dsl int sys___vfork14(struct lwp *, const void *, register_t *);
2565 1.30 fvdl
2566 1.72 dsl int netbsd32___posix_chown(struct lwp *, const struct netbsd32___posix_chown_args *, register_t *);
2567 1.30 fvdl
2568 1.72 dsl int netbsd32___posix_fchown(struct lwp *, const struct netbsd32___posix_fchown_args *, register_t *);
2569 1.30 fvdl
2570 1.72 dsl int netbsd32___posix_lchown(struct lwp *, const struct netbsd32___posix_lchown_args *, register_t *);
2571 1.30 fvdl
2572 1.72 dsl int netbsd32_getsid(struct lwp *, const struct netbsd32_getsid_args *, register_t *);
2573 1.30 fvdl
2574 1.72 dsl int netbsd32___clone(struct lwp *, const struct netbsd32___clone_args *, register_t *);
2575 1.39 cube
2576 1.72 dsl int netbsd32_fktrace(struct lwp *, const struct netbsd32_fktrace_args *, register_t *);
2577 1.30 fvdl
2578 1.72 dsl int netbsd32_preadv(struct lwp *, const struct netbsd32_preadv_args *, register_t *);
2579 1.30 fvdl
2580 1.72 dsl int netbsd32_pwritev(struct lwp *, const struct netbsd32_pwritev_args *, register_t *);
2581 1.30 fvdl
2582 1.72 dsl int netbsd32___sigaction14(struct lwp *, const struct netbsd32___sigaction14_args *, register_t *);
2583 1.30 fvdl
2584 1.72 dsl int netbsd32___sigpending14(struct lwp *, const struct netbsd32___sigpending14_args *, register_t *);
2585 1.30 fvdl
2586 1.72 dsl int netbsd32___sigprocmask14(struct lwp *, const struct netbsd32___sigprocmask14_args *, register_t *);
2587 1.30 fvdl
2588 1.72 dsl int netbsd32___sigsuspend14(struct lwp *, const struct netbsd32___sigsuspend14_args *, register_t *);
2589 1.30 fvdl
2590 1.72 dsl int compat_16_netbsd32___sigreturn14(struct lwp *, const struct compat_16_netbsd32___sigreturn14_args *, register_t *);
2591 1.30 fvdl
2592 1.72 dsl int netbsd32___getcwd(struct lwp *, const struct netbsd32___getcwd_args *, register_t *);
2593 1.30 fvdl
2594 1.72 dsl int netbsd32_fchroot(struct lwp *, const struct netbsd32_fchroot_args *, register_t *);
2595 1.30 fvdl
2596 1.72 dsl int compat_30_netbsd32_fhopen(struct lwp *, const struct compat_30_netbsd32_fhopen_args *, register_t *);
2597 1.30 fvdl
2598 1.72 dsl int compat_30_netbsd32_fhstat(struct lwp *, const struct compat_30_netbsd32_fhstat_args *, register_t *);
2599 1.30 fvdl
2600 1.72 dsl int compat_20_netbsd32_fhstatfs(struct lwp *, const struct compat_20_netbsd32_fhstatfs_args *, register_t *);
2601 1.30 fvdl
2602 1.12 eeh #if defined(SYSVSEM) || !defined(_KERNEL)
2603 1.72 dsl int netbsd32___semctl14(struct lwp *, const struct netbsd32___semctl14_args *, register_t *);
2604 1.30 fvdl
2605 1.12 eeh #else
2606 1.12 eeh #endif
2607 1.12 eeh #if defined(SYSVMSG) || !defined(_KERNEL)
2608 1.72 dsl int netbsd32___msgctl13(struct lwp *, const struct netbsd32___msgctl13_args *, register_t *);
2609 1.30 fvdl
2610 1.12 eeh #else
2611 1.12 eeh #endif
2612 1.12 eeh #if defined(SYSVSHM) || !defined(_KERNEL)
2613 1.72 dsl int netbsd32___shmctl13(struct lwp *, const struct netbsd32___shmctl13_args *, register_t *);
2614 1.30 fvdl
2615 1.12 eeh #else
2616 1.12 eeh #endif
2617 1.72 dsl int netbsd32_lchflags(struct lwp *, const struct netbsd32_lchflags_args *, register_t *);
2618 1.30 fvdl
2619 1.72 dsl int sys_issetugid(struct lwp *, const void *, register_t *);
2620 1.30 fvdl
2621 1.72 dsl int netbsd32_utrace(struct lwp *, const struct netbsd32_utrace_args *, register_t *);
2622 1.30 fvdl
2623 1.72 dsl int netbsd32_getcontext(struct lwp *, const struct netbsd32_getcontext_args *, register_t *);
2624 1.30 fvdl
2625 1.72 dsl int netbsd32_setcontext(struct lwp *, const struct netbsd32_setcontext_args *, register_t *);
2626 1.30 fvdl
2627 1.72 dsl int netbsd32__lwp_create(struct lwp *, const struct netbsd32__lwp_create_args *, register_t *);
2628 1.50 cube
2629 1.72 dsl int sys__lwp_exit(struct lwp *, const void *, register_t *);
2630 1.50 cube
2631 1.72 dsl int sys__lwp_self(struct lwp *, const void *, register_t *);
2632 1.50 cube
2633 1.72 dsl int netbsd32__lwp_wait(struct lwp *, const struct netbsd32__lwp_wait_args *, register_t *);
2634 1.50 cube
2635 1.72 dsl int netbsd32__lwp_suspend(struct lwp *, const struct netbsd32__lwp_suspend_args *, register_t *);
2636 1.50 cube
2637 1.72 dsl int netbsd32__lwp_continue(struct lwp *, const struct netbsd32__lwp_continue_args *, register_t *);
2638 1.50 cube
2639 1.72 dsl int netbsd32__lwp_wakeup(struct lwp *, const struct netbsd32__lwp_wakeup_args *, register_t *);
2640 1.50 cube
2641 1.72 dsl int sys__lwp_getprivate(struct lwp *, const void *, register_t *);
2642 1.50 cube
2643 1.72 dsl int netbsd32__lwp_setprivate(struct lwp *, const struct netbsd32__lwp_setprivate_args *, register_t *);
2644 1.50 cube
2645 1.72 dsl int netbsd32__lwp_kill(struct lwp *, const struct netbsd32__lwp_kill_args *, register_t *);
2646 1.63 cube
2647 1.72 dsl int netbsd32__lwp_detach(struct lwp *, const struct netbsd32__lwp_detach_args *, register_t *);
2648 1.63 cube
2649 1.72 dsl int netbsd32__lwp_park(struct lwp *, const struct netbsd32__lwp_park_args *, register_t *);
2650 1.63 cube
2651 1.72 dsl int netbsd32__lwp_unpark(struct lwp *, const struct netbsd32__lwp_unpark_args *, register_t *);
2652 1.63 cube
2653 1.72 dsl int netbsd32__lwp_unpark_all(struct lwp *, const struct netbsd32__lwp_unpark_all_args *, register_t *);
2654 1.63 cube
2655 1.72 dsl int netbsd32__lwp_setname(struct lwp *, const struct netbsd32__lwp_setname_args *, register_t *);
2656 1.70 ad
2657 1.72 dsl int netbsd32__lwp_getname(struct lwp *, const struct netbsd32__lwp_getname_args *, register_t *);
2658 1.70 ad
2659 1.72 dsl int netbsd32__lwp_ctl(struct lwp *, const struct netbsd32__lwp_ctl_args *, register_t *);
2660 1.70 ad
2661 1.78 wrstuden int netbsd32_sa_register(struct lwp *, const struct netbsd32_sa_register_args *, register_t *);
2662 1.78 wrstuden
2663 1.78 wrstuden int netbsd32_sa_stacks(struct lwp *, const struct netbsd32_sa_stacks_args *, register_t *);
2664 1.78 wrstuden
2665 1.78 wrstuden int sys_sa_enable(struct lwp *, const void *, register_t *);
2666 1.78 wrstuden
2667 1.78 wrstuden int netbsd32_sa_setconcurrency(struct lwp *, const struct netbsd32_sa_setconcurrency_args *, register_t *);
2668 1.78 wrstuden
2669 1.78 wrstuden int sys_sa_yield(struct lwp *, const void *, register_t *);
2670 1.78 wrstuden
2671 1.78 wrstuden int netbsd32_sa_preempt(struct lwp *, const struct netbsd32_sa_preempt_args *, register_t *);
2672 1.78 wrstuden
2673 1.72 dsl int netbsd32___sigaction_sigtramp(struct lwp *, const struct netbsd32___sigaction_sigtramp_args *, register_t *);
2674 1.30 fvdl
2675 1.72 dsl int netbsd32_rasctl(struct lwp *, const struct netbsd32_rasctl_args *, register_t *);
2676 1.41 cube
2677 1.72 dsl int sys_kqueue(struct lwp *, const void *, register_t *);
2678 1.46 cube
2679 1.72 dsl int netbsd32_kevent(struct lwp *, const struct netbsd32_kevent_args *, register_t *);
2680 1.46 cube
2681 1.72 dsl int sys_sched_yield(struct lwp *, const void *, register_t *);
2682 1.63 cube
2683 1.72 dsl int netbsd32_fsync_range(struct lwp *, const struct netbsd32_fsync_range_args *, register_t *);
2684 1.40 cube
2685 1.72 dsl int netbsd32_uuidgen(struct lwp *, const struct netbsd32_uuidgen_args *, register_t *);
2686 1.35 cube
2687 1.72 dsl int netbsd32_getvfsstat(struct lwp *, const struct netbsd32_getvfsstat_args *, register_t *);
2688 1.32 cube
2689 1.72 dsl int netbsd32_statvfs1(struct lwp *, const struct netbsd32_statvfs1_args *, register_t *);
2690 1.32 cube
2691 1.72 dsl int netbsd32_fstatvfs1(struct lwp *, const struct netbsd32_fstatvfs1_args *, register_t *);
2692 1.32 cube
2693 1.72 dsl int compat_30_netbsd32_fhstatvfs1(struct lwp *, const struct compat_30_netbsd32_fhstatvfs1_args *, register_t *);
2694 1.32 cube
2695 1.72 dsl int netbsd32_extattrctl(struct lwp *, const struct netbsd32_extattrctl_args *, register_t *);
2696 1.36 cube
2697 1.72 dsl int netbsd32_extattr_set_file(struct lwp *, const struct netbsd32_extattr_set_file_args *, register_t *);
2698 1.36 cube
2699 1.72 dsl int netbsd32_extattr_get_file(struct lwp *, const struct netbsd32_extattr_get_file_args *, register_t *);
2700 1.36 cube
2701 1.72 dsl int netbsd32_extattr_delete_file(struct lwp *, const struct netbsd32_extattr_delete_file_args *, register_t *);
2702 1.36 cube
2703 1.72 dsl int netbsd32_extattr_set_fd(struct lwp *, const struct netbsd32_extattr_set_fd_args *, register_t *);
2704 1.36 cube
2705 1.72 dsl int netbsd32_extattr_get_fd(struct lwp *, const struct netbsd32_extattr_get_fd_args *, register_t *);
2706 1.36 cube
2707 1.72 dsl int netbsd32_extattr_delete_fd(struct lwp *, const struct netbsd32_extattr_delete_fd_args *, register_t *);
2708 1.36 cube
2709 1.72 dsl int netbsd32_extattr_set_link(struct lwp *, const struct netbsd32_extattr_set_link_args *, register_t *);
2710 1.36 cube
2711 1.72 dsl int netbsd32_extattr_get_link(struct lwp *, const struct netbsd32_extattr_get_link_args *, register_t *);
2712 1.36 cube
2713 1.72 dsl int netbsd32_extattr_delete_link(struct lwp *, const struct netbsd32_extattr_delete_link_args *, register_t *);
2714 1.36 cube
2715 1.72 dsl int netbsd32_extattr_list_fd(struct lwp *, const struct netbsd32_extattr_list_fd_args *, register_t *);
2716 1.36 cube
2717 1.72 dsl int netbsd32_extattr_list_file(struct lwp *, const struct netbsd32_extattr_list_file_args *, register_t *);
2718 1.36 cube
2719 1.72 dsl int netbsd32_extattr_list_link(struct lwp *, const struct netbsd32_extattr_list_link_args *, register_t *);
2720 1.36 cube
2721 1.72 dsl int netbsd32_pselect(struct lwp *, const struct netbsd32_pselect_args *, register_t *);
2722 1.38 cube
2723 1.72 dsl int netbsd32_pollts(struct lwp *, const struct netbsd32_pollts_args *, register_t *);
2724 1.38 cube
2725 1.72 dsl int netbsd32_setxattr(struct lwp *, const struct netbsd32_setxattr_args *, register_t *);
2726 1.42 cube
2727 1.72 dsl int netbsd32_lsetxattr(struct lwp *, const struct netbsd32_lsetxattr_args *, register_t *);
2728 1.42 cube
2729 1.72 dsl int netbsd32_fsetxattr(struct lwp *, const struct netbsd32_fsetxattr_args *, register_t *);
2730 1.42 cube
2731 1.72 dsl int netbsd32_getxattr(struct lwp *, const struct netbsd32_getxattr_args *, register_t *);
2732 1.42 cube
2733 1.72 dsl int netbsd32_lgetxattr(struct lwp *, const struct netbsd32_lgetxattr_args *, register_t *);
2734 1.42 cube
2735 1.72 dsl int netbsd32_fgetxattr(struct lwp *, const struct netbsd32_fgetxattr_args *, register_t *);
2736 1.42 cube
2737 1.72 dsl int netbsd32_listxattr(struct lwp *, const struct netbsd32_listxattr_args *, register_t *);
2738 1.42 cube
2739 1.72 dsl int netbsd32_llistxattr(struct lwp *, const struct netbsd32_llistxattr_args *, register_t *);
2740 1.42 cube
2741 1.72 dsl int netbsd32_flistxattr(struct lwp *, const struct netbsd32_flistxattr_args *, register_t *);
2742 1.42 cube
2743 1.72 dsl int netbsd32_removexattr(struct lwp *, const struct netbsd32_removexattr_args *, register_t *);
2744 1.42 cube
2745 1.72 dsl int netbsd32_lremovexattr(struct lwp *, const struct netbsd32_lremovexattr_args *, register_t *);
2746 1.42 cube
2747 1.72 dsl int netbsd32_fremovexattr(struct lwp *, const struct netbsd32_fremovexattr_args *, register_t *);
2748 1.42 cube
2749 1.72 dsl int netbsd32_sys___stat30(struct lwp *, const struct netbsd32_sys___stat30_args *, register_t *);
2750 1.45 christos
2751 1.72 dsl int netbsd32_sys___fstat30(struct lwp *, const struct netbsd32_sys___fstat30_args *, register_t *);
2752 1.45 christos
2753 1.72 dsl int netbsd32_sys___lstat30(struct lwp *, const struct netbsd32_sys___lstat30_args *, register_t *);
2754 1.45 christos
2755 1.72 dsl int netbsd32_sys___getdents30(struct lwp *, const struct netbsd32_sys___getdents30_args *, register_t *);
2756 1.45 christos
2757 1.72 dsl int compat_30_netbsd32_sys___fhstat30(struct lwp *, const struct compat_30_netbsd32_sys___fhstat30_args *, register_t *);
2758 1.51 cube
2759 1.72 dsl int netbsd32_ntp_gettime(struct lwp *, const struct netbsd32_ntp_gettime_args *, register_t *);
2760 1.53 drochner
2761 1.72 dsl int netbsd32_sys___socket30(struct lwp *, const struct netbsd32_sys___socket30_args *, register_t *);
2762 1.54 mrg
2763 1.72 dsl int netbsd32___getfh30(struct lwp *, const struct netbsd32___getfh30_args *, register_t *);
2764 1.55 martin
2765 1.72 dsl int netbsd32___fhopen40(struct lwp *, const struct netbsd32___fhopen40_args *, register_t *);
2766 1.58 martin
2767 1.72 dsl int netbsd32___fhstatvfs140(struct lwp *, const struct netbsd32___fhstatvfs140_args *, register_t *);
2768 1.58 martin
2769 1.72 dsl int netbsd32___fhstat40(struct lwp *, const struct netbsd32___fhstat40_args *, register_t *);
2770 1.58 martin
2771 1.73 dsl int netbsd32_mremap(struct lwp *, const struct netbsd32_mremap_args *, register_t *);
2772 1.73 dsl
2773 1.75 martin int netbsd32___posix_fadvise50(struct lwp *, const struct netbsd32___posix_fadvise50_args *, register_t *);
2774 1.75 martin
2775 1.69 dsl #endif /* _NETBSD32_SYS_SYSCALLARGS_H_ */
2776