netbsd32_syscallargs.h revision 1.4 1 /* $NetBSD: netbsd32_syscallargs.h,v 1.4 1998/10/01 14:27:57 eeh Exp $ */
2
3 /*
4 * System call argument lists.
5 *
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.2 1998/08/26 13:42:50 mrg Exp
8 */
9
10 #ifdef syscallarg
11 #undef syscallarg
12 #endif
13
14 #define syscallarg(x) \
15 union { \
16 register32_t pad; \
17 struct { x datum; } le; \
18 struct { \
19 int8_t pad[ (sizeof (register32_t) < sizeof (x)) \
20 ? 0 \
21 : sizeof (register32_t) - sizeof (x)]; \
22 x datum; \
23 } be; \
24 }
25
26 struct compat_sparc32_exit_args {
27 syscallarg(int) rval;
28 };
29
30 struct compat_sparc32_read_args {
31 syscallarg(int) fd;
32 syscallarg(sparc32_voidp) buf;
33 syscallarg(sparc32_size_t) nbyte;
34 };
35
36 struct compat_sparc32_write_args {
37 syscallarg(int) fd;
38 syscallarg(const sparc32_voidp) buf;
39 syscallarg(sparc32_size_t) nbyte;
40 };
41
42 struct compat_sparc32_open_args {
43 syscallarg(const sparc32_charp) path;
44 syscallarg(int) flags;
45 syscallarg(mode_t) mode;
46 };
47
48 struct compat_sparc32_close_args {
49 syscallarg(int) fd;
50 };
51
52 struct compat_sparc32_wait4_args {
53 syscallarg(int) pid;
54 syscallarg(sparc32_intp) status;
55 syscallarg(int) options;
56 syscallarg(sparc32_rusagep_t) rusage;
57 };
58
59 struct compat_43_compat_sparc32_ocreat_args {
60 syscallarg(const sparc32_charp) path;
61 syscallarg(mode_t) mode;
62 };
63
64 struct compat_sparc32_link_args {
65 syscallarg(const sparc32_charp) path;
66 syscallarg(const sparc32_charp) link;
67 };
68
69 struct compat_sparc32_unlink_args {
70 syscallarg(const sparc32_charp) path;
71 };
72
73 struct compat_sparc32_chdir_args {
74 syscallarg(const sparc32_charp) path;
75 };
76
77 struct compat_sparc32_fchdir_args {
78 syscallarg(int) fd;
79 };
80
81 struct compat_sparc32_mknod_args {
82 syscallarg(const sparc32_charp) path;
83 syscallarg(mode_t) mode;
84 syscallarg(dev_t) dev;
85 };
86
87 struct compat_sparc32_chmod_args {
88 syscallarg(const sparc32_charp) path;
89 syscallarg(mode_t) mode;
90 };
91
92 struct compat_sparc32_chown_args {
93 syscallarg(const sparc32_charp) path;
94 syscallarg(uid_t) uid;
95 syscallarg(gid_t) gid;
96 };
97
98 struct compat_sparc32_break_args {
99 syscallarg(sparc32_charp) nsize;
100 };
101
102 struct compat_sparc32_getfsstat_args {
103 syscallarg(sparc32_statfsp_t) buf;
104 syscallarg(sparc32_long) bufsize;
105 syscallarg(int) flags;
106 };
107
108 struct compat_43_compat_sparc32_olseek_args {
109 syscallarg(int) fd;
110 syscallarg(sparc32_long) offset;
111 syscallarg(int) whence;
112 };
113
114 struct compat_sparc32_mount_args {
115 syscallarg(const sparc32_charp) type;
116 syscallarg(const sparc32_charp) path;
117 syscallarg(int) flags;
118 syscallarg(sparc32_voidp) data;
119 };
120
121 struct compat_sparc32_unmount_args {
122 syscallarg(const sparc32_charp) path;
123 syscallarg(int) flags;
124 };
125
126 struct compat_sparc32_setuid_args {
127 syscallarg(uid_t) uid;
128 };
129
130 struct compat_sparc32_ptrace_args {
131 syscallarg(int) req;
132 syscallarg(pid_t) pid;
133 syscallarg(sparc32_caddr_t) addr;
134 syscallarg(int) data;
135 };
136
137 struct compat_sparc32_recvmsg_args {
138 syscallarg(int) s;
139 syscallarg(sparc32_msghdrp_t) msg;
140 syscallarg(int) flags;
141 };
142
143 struct compat_sparc32_sendmsg_args {
144 syscallarg(int) s;
145 syscallarg(const sparc32_msghdrp_t) msg;
146 syscallarg(int) flags;
147 };
148
149 struct compat_sparc32_recvfrom_args {
150 syscallarg(int) s;
151 syscallarg(sparc32_voidp) buf;
152 syscallarg(sparc32_size_t) len;
153 syscallarg(int) flags;
154 syscallarg(sparc32_sockaddrp_t) from;
155 syscallarg(sparc32_intp) fromlenaddr;
156 };
157
158 struct compat_sparc32_accept_args {
159 syscallarg(int) s;
160 syscallarg(sparc32_sockaddrp_t) name;
161 syscallarg(sparc32_intp) anamelen;
162 };
163
164 struct compat_sparc32_getpeername_args {
165 syscallarg(int) fdes;
166 syscallarg(sparc32_sockaddrp_t) asa;
167 syscallarg(sparc32_intp) alen;
168 };
169
170 struct compat_sparc32_getsockname_args {
171 syscallarg(int) fdes;
172 syscallarg(sparc32_sockaddrp_t) asa;
173 syscallarg(sparc32_intp) alen;
174 };
175
176 struct compat_sparc32_access_args {
177 syscallarg(const sparc32_charp) path;
178 syscallarg(int) flags;
179 };
180
181 struct compat_sparc32_chflags_args {
182 syscallarg(const sparc32_charp) path;
183 syscallarg(sparc32_u_long) flags;
184 };
185
186 struct compat_sparc32_fchflags_args {
187 syscallarg(int) fd;
188 syscallarg(sparc32_u_long) flags;
189 };
190
191 struct compat_sparc32_kill_args {
192 syscallarg(int) pid;
193 syscallarg(int) signum;
194 };
195
196 struct compat_43_compat_sparc32_stat43_args {
197 syscallarg(const sparc32_charp) path;
198 syscallarg(sparc32_stat43p_t) ub;
199 };
200
201 struct compat_43_compat_sparc32_lstat43_args {
202 syscallarg(const sparc32_charp) path;
203 syscallarg(sparc32_stat43p_t) ub;
204 };
205
206 struct compat_sparc32_dup_args {
207 syscallarg(int) fd;
208 };
209
210 struct compat_sparc32_profil_args {
211 syscallarg(sparc32_caddr_t) samples;
212 syscallarg(sparc32_size_t) size;
213 syscallarg(sparc32_u_long) offset;
214 syscallarg(u_int) scale;
215 };
216
217 struct compat_sparc32_ktrace_args {
218 syscallarg(const sparc32_charp) fname;
219 syscallarg(int) ops;
220 syscallarg(int) facs;
221 syscallarg(int) pid;
222 };
223
224 struct compat_sparc32_sigaction_args {
225 syscallarg(int) signum;
226 syscallarg(const sparc32_sigactionp_t) nsa;
227 syscallarg(sparc32_sigactionp_t) osa;
228 };
229
230 struct compat_13_compat_sparc32_sigprocmask_args {
231 syscallarg(int) how;
232 syscallarg(int) mask;
233 };
234
235 struct compat_sparc32___getlogin_args {
236 syscallarg(sparc32_charp) namebuf;
237 syscallarg(u_int) namelen;
238 };
239
240 struct compat_sparc32_setlogin_args {
241 syscallarg(const sparc32_charp) namebuf;
242 };
243
244 struct compat_sparc32_acct_args {
245 syscallarg(const sparc32_charp) path;
246 };
247
248 struct compat_13_compat_sparc32_sigaltstack13_args {
249 syscallarg(const sparc32_sigaltstack13p_t) nss;
250 syscallarg(sparc32_sigaltstack13p_t) oss;
251 };
252
253 struct compat_sparc32_ioctl_args {
254 syscallarg(int) fd;
255 syscallarg(sparc32_u_long) com;
256 syscallarg(sparc32_voidp) data;
257 };
258
259 struct compat_12_compat_sparc32_reboot_args {
260 syscallarg(int) opt;
261 };
262
263 struct compat_sparc32_revoke_args {
264 syscallarg(const sparc32_charp) path;
265 };
266
267 struct compat_sparc32_symlink_args {
268 syscallarg(const sparc32_charp) path;
269 syscallarg(const sparc32_charp) link;
270 };
271
272 struct compat_sparc32_readlink_args {
273 syscallarg(const sparc32_charp) path;
274 syscallarg(sparc32_charp) buf;
275 syscallarg(sparc32_size_t) count;
276 };
277
278 struct compat_sparc32_execve_args {
279 syscallarg(const sparc32_charp) path;
280 syscallarg(sparc32_charpp) argp;
281 syscallarg(sparc32_charpp) envp;
282 };
283
284 struct compat_sparc32_umask_args {
285 syscallarg(mode_t) newmask;
286 };
287
288 struct compat_sparc32_chroot_args {
289 syscallarg(const sparc32_charp) path;
290 };
291
292 struct compat_43_compat_sparc32_fstat43_args {
293 syscallarg(int) fd;
294 syscallarg(sparc32_stat43p_t) sb;
295 };
296
297 struct compat_43_compat_sparc32_ogetkerninfo_args {
298 syscallarg(int) op;
299 syscallarg(sparc32_charp) where;
300 syscallarg(sparc32_intp) size;
301 syscallarg(int) arg;
302 };
303
304 struct compat_12_compat_sparc32_msync_args {
305 syscallarg(sparc32_caddr_t) addr;
306 syscallarg(sparc32_size_t) len;
307 };
308
309 struct compat_sparc32_sbrk_args {
310 syscallarg(int) incr;
311 };
312
313 struct compat_sparc32_sstk_args {
314 syscallarg(int) incr;
315 };
316
317 struct compat_43_compat_sparc32_ommap_args {
318 syscallarg(sparc32_caddr_t) addr;
319 syscallarg(sparc32_size_t) len;
320 syscallarg(int) prot;
321 syscallarg(int) flags;
322 syscallarg(int) fd;
323 syscallarg(sparc32_long) pos;
324 };
325
326 struct compat_sparc32_ovadvise_args {
327 syscallarg(int) anom;
328 };
329
330 struct compat_sparc32_munmap_args {
331 syscallarg(sparc32_voidp) addr;
332 syscallarg(sparc32_size_t) len;
333 };
334
335 struct compat_sparc32_mprotect_args {
336 syscallarg(sparc32_voidp) addr;
337 syscallarg(sparc32_size_t) len;
338 syscallarg(int) prot;
339 };
340
341 struct compat_sparc32_madvise_args {
342 syscallarg(sparc32_voidp) addr;
343 syscallarg(sparc32_size_t) len;
344 syscallarg(int) behav;
345 };
346
347 struct compat_sparc32_mincore_args {
348 syscallarg(sparc32_caddr_t) addr;
349 syscallarg(sparc32_size_t) len;
350 syscallarg(sparc32_charp) vec;
351 };
352
353 struct compat_sparc32_getgroups_args {
354 syscallarg(int) gidsetsize;
355 syscallarg(sparc32_gid_tp) gidset;
356 };
357
358 struct compat_sparc32_setgroups_args {
359 syscallarg(int) gidsetsize;
360 syscallarg(const sparc32_gid_tp) gidset;
361 };
362
363 struct compat_sparc32_setpgid_args {
364 syscallarg(int) pid;
365 syscallarg(int) pgid;
366 };
367
368 struct compat_sparc32_setitimer_args {
369 syscallarg(int) which;
370 syscallarg(const sparc32_itimervalp_t) itv;
371 syscallarg(sparc32_itimervalp_t) oitv;
372 };
373
374 struct compat_12_compat_sparc32_oswapon_args {
375 syscallarg(const sparc32_charp) name;
376 };
377
378 struct compat_sparc32_getitimer_args {
379 syscallarg(int) which;
380 syscallarg(sparc32_itimervalp_t) itv;
381 };
382
383 struct compat_43_compat_sparc32_ogethostname_args {
384 syscallarg(sparc32_charp) hostname;
385 syscallarg(u_int) len;
386 };
387
388 struct compat_43_compat_sparc32_osethostname_args {
389 syscallarg(sparc32_charp) hostname;
390 syscallarg(u_int) len;
391 };
392
393 struct compat_sparc32_dup2_args {
394 syscallarg(int) from;
395 syscallarg(int) to;
396 };
397
398 struct compat_sparc32_fcntl_args {
399 syscallarg(int) fd;
400 syscallarg(int) cmd;
401 syscallarg(sparc32_voidp) arg;
402 };
403
404 struct compat_sparc32_select_args {
405 syscallarg(int) nd;
406 syscallarg(sparc32_fd_setp_t) in;
407 syscallarg(sparc32_fd_setp_t) ou;
408 syscallarg(sparc32_fd_setp_t) ex;
409 syscallarg(sparc32_timevalp_t) tv;
410 };
411
412 struct compat_sparc32_fsync_args {
413 syscallarg(int) fd;
414 };
415
416 struct compat_sparc32_setpriority_args {
417 syscallarg(int) which;
418 syscallarg(int) who;
419 syscallarg(int) prio;
420 };
421
422 struct compat_sparc32_socket_args {
423 syscallarg(int) domain;
424 syscallarg(int) type;
425 syscallarg(int) protocol;
426 };
427
428 struct compat_sparc32_connect_args {
429 syscallarg(int) s;
430 syscallarg(const sparc32_sockaddrp_t) name;
431 syscallarg(int) namelen;
432 };
433
434 struct compat_43_compat_sparc32_oaccept_args {
435 syscallarg(int) s;
436 syscallarg(sparc32_caddr_t) name;
437 syscallarg(sparc32_intp) anamelen;
438 };
439
440 struct compat_sparc32_getpriority_args {
441 syscallarg(int) which;
442 syscallarg(int) who;
443 };
444
445 struct compat_43_compat_sparc32_osend_args {
446 syscallarg(int) s;
447 syscallarg(sparc32_caddr_t) buf;
448 syscallarg(int) len;
449 syscallarg(int) flags;
450 };
451
452 struct compat_43_compat_sparc32_orecv_args {
453 syscallarg(int) s;
454 syscallarg(sparc32_caddr_t) buf;
455 syscallarg(int) len;
456 syscallarg(int) flags;
457 };
458
459 struct compat_sparc32_sigreturn_args {
460 syscallarg(sparc32_sigcontextp_t) sigcntxp;
461 };
462
463 struct compat_sparc32_bind_args {
464 syscallarg(int) s;
465 syscallarg(const sparc32_sockaddrp_t) name;
466 syscallarg(int) namelen;
467 };
468
469 struct compat_sparc32_setsockopt_args {
470 syscallarg(int) s;
471 syscallarg(int) level;
472 syscallarg(int) name;
473 syscallarg(const sparc32_voidp) val;
474 syscallarg(int) valsize;
475 };
476
477 struct compat_sparc32_listen_args {
478 syscallarg(int) s;
479 syscallarg(int) backlog;
480 };
481
482 struct compat_43_compat_sparc32_osigvec_args {
483 syscallarg(int) signum;
484 syscallarg(sparc32_sigvecp_t) nsv;
485 syscallarg(sparc32_sigvecp_t) osv;
486 };
487
488 struct compat_43_compat_sparc32_sigblock_args {
489 syscallarg(int) mask;
490 };
491
492 struct compat_43_compat_sparc32_sigsetmask_args {
493 syscallarg(int) mask;
494 };
495
496 struct compat_13_compat_sparc32_sigsuspend_args {
497 syscallarg(int) mask;
498 };
499
500 struct compat_43_compat_sparc32_osigstack_args {
501 syscallarg(sparc32_sigstackp_t) nss;
502 syscallarg(sparc32_sigstackp_t) oss;
503 };
504
505 struct compat_43_compat_sparc32_orecvmsg_args {
506 syscallarg(int) s;
507 syscallarg(sparc32_omsghdrp_t) msg;
508 syscallarg(int) flags;
509 };
510
511 struct compat_43_compat_sparc32_osendmsg_args {
512 syscallarg(int) s;
513 syscallarg(sparc32_caddr_t) msg;
514 syscallarg(int) flags;
515 };
516
517 struct compat_sparc32_vtrace_args {
518 syscallarg(int) request;
519 syscallarg(int) value;
520 };
521
522 struct compat_sparc32_gettimeofday_args {
523 syscallarg(sparc32_timevalp_t) tp;
524 syscallarg(sparc32_timezonep_t) tzp;
525 };
526
527 struct compat_sparc32_getrusage_args {
528 syscallarg(int) who;
529 syscallarg(sparc32_rusagep_t) rusage;
530 };
531
532 struct compat_sparc32_getsockopt_args {
533 syscallarg(int) s;
534 syscallarg(int) level;
535 syscallarg(int) name;
536 syscallarg(sparc32_voidp) val;
537 syscallarg(sparc32_intp) avalsize;
538 };
539
540 struct compat_sparc32_readv_args {
541 syscallarg(int) fd;
542 syscallarg(const sparc32_iovecp_t) iovp;
543 syscallarg(int) iovcnt;
544 };
545
546 struct compat_sparc32_writev_args {
547 syscallarg(int) fd;
548 syscallarg(const sparc32_iovecp_t) iovp;
549 syscallarg(int) iovcnt;
550 };
551
552 struct compat_sparc32_settimeofday_args {
553 syscallarg(const sparc32_timevalp_t) tv;
554 syscallarg(const sparc32_timezonep_t) tzp;
555 };
556
557 struct compat_sparc32_fchown_args {
558 syscallarg(int) fd;
559 syscallarg(uid_t) uid;
560 syscallarg(gid_t) gid;
561 };
562
563 struct compat_sparc32_fchmod_args {
564 syscallarg(int) fd;
565 syscallarg(mode_t) mode;
566 };
567
568 struct compat_43_compat_sparc32_orecvfrom_args {
569 syscallarg(int) s;
570 syscallarg(sparc32_caddr_t) buf;
571 syscallarg(sparc32_size_t) len;
572 syscallarg(int) flags;
573 syscallarg(sparc32_caddr_t) from;
574 syscallarg(sparc32_intp) fromlenaddr;
575 };
576
577 struct compat_sparc32_setreuid_args {
578 syscallarg(uid_t) ruid;
579 syscallarg(uid_t) euid;
580 };
581
582 struct compat_sparc32_setregid_args {
583 syscallarg(gid_t) rgid;
584 syscallarg(gid_t) egid;
585 };
586
587 struct compat_sparc32_rename_args {
588 syscallarg(const sparc32_charp) from;
589 syscallarg(const sparc32_charp) to;
590 };
591
592 struct compat_43_compat_sparc32_otruncate_args {
593 syscallarg(const sparc32_charp) path;
594 syscallarg(sparc32_long) length;
595 };
596
597 struct compat_43_compat_sparc32_oftruncate_args {
598 syscallarg(int) fd;
599 syscallarg(sparc32_long) length;
600 };
601
602 struct compat_sparc32_flock_args {
603 syscallarg(int) fd;
604 syscallarg(int) how;
605 };
606
607 struct compat_sparc32_mkfifo_args {
608 syscallarg(const sparc32_charp) path;
609 syscallarg(mode_t) mode;
610 };
611
612 struct compat_sparc32_sendto_args {
613 syscallarg(int) s;
614 syscallarg(const sparc32_voidp) buf;
615 syscallarg(sparc32_size_t) len;
616 syscallarg(int) flags;
617 syscallarg(const sparc32_sockaddrp_t) to;
618 syscallarg(int) tolen;
619 };
620
621 struct compat_sparc32_shutdown_args {
622 syscallarg(int) s;
623 syscallarg(int) how;
624 };
625
626 struct compat_sparc32_socketpair_args {
627 syscallarg(int) domain;
628 syscallarg(int) type;
629 syscallarg(int) protocol;
630 syscallarg(sparc32_intp) rsv;
631 };
632
633 struct compat_sparc32_mkdir_args {
634 syscallarg(const sparc32_charp) path;
635 syscallarg(mode_t) mode;
636 };
637
638 struct compat_sparc32_rmdir_args {
639 syscallarg(const sparc32_charp) path;
640 };
641
642 struct compat_sparc32_utimes_args {
643 syscallarg(const sparc32_charp) path;
644 syscallarg(const sparc32_timevalp_t) tptr;
645 };
646
647 struct compat_sparc32_adjtime_args {
648 syscallarg(const sparc32_timevalp_t) delta;
649 syscallarg(sparc32_timevalp_t) olddelta;
650 };
651
652 struct compat_43_compat_sparc32_ogetpeername_args {
653 syscallarg(int) fdes;
654 syscallarg(sparc32_caddr_t) asa;
655 syscallarg(sparc32_intp) alen;
656 };
657
658 struct compat_43_compat_sparc32_sethostid_args {
659 syscallarg(int32_t) hostid;
660 };
661
662 struct compat_43_compat_sparc32_ogetrlimit_args {
663 syscallarg(int) which;
664 syscallarg(sparc32_orlimitp_t) rlp;
665 };
666
667 struct compat_43_compat_sparc32_osetrlimit_args {
668 syscallarg(int) which;
669 syscallarg(const sparc32_orlimitp_t) rlp;
670 };
671
672 struct compat_43_compat_sparc32_killpg_args {
673 syscallarg(int) pgid;
674 syscallarg(int) signum;
675 };
676
677 struct compat_sparc32_quotactl_args {
678 syscallarg(const sparc32_charp) path;
679 syscallarg(int) cmd;
680 syscallarg(int) uid;
681 syscallarg(sparc32_caddr_t) arg;
682 };
683
684 struct compat_43_compat_sparc32_ogetsockname_args {
685 syscallarg(int) fdec;
686 syscallarg(sparc32_caddr_t) asa;
687 syscallarg(sparc32_intp) alen;
688 };
689
690 struct compat_sparc32_nfssvc_args {
691 syscallarg(int) flag;
692 syscallarg(sparc32_voidp) argp;
693 };
694
695 struct compat_43_compat_sparc32_ogetdirentries_args {
696 syscallarg(int) fd;
697 syscallarg(sparc32_charp) buf;
698 syscallarg(u_int) count;
699 syscallarg(sparc32_longp) basep;
700 };
701
702 struct compat_sparc32_statfs_args {
703 syscallarg(const sparc32_charp) path;
704 syscallarg(sparc32_statfsp_t) buf;
705 };
706
707 struct compat_sparc32_fstatfs_args {
708 syscallarg(int) fd;
709 syscallarg(sparc32_statfsp_t) buf;
710 };
711
712 struct compat_sparc32_getfh_args {
713 syscallarg(const sparc32_charp) fname;
714 syscallarg(sparc32_fhandlep_t) fhp;
715 };
716
717 struct compat_09_compat_sparc32_ogetdomainname_args {
718 syscallarg(sparc32_charp) domainname;
719 syscallarg(int) len;
720 };
721
722 struct compat_09_compat_sparc32_osetdomainname_args {
723 syscallarg(sparc32_charp) domainname;
724 syscallarg(int) len;
725 };
726
727 struct compat_09_compat_sparc32_uname_args {
728 syscallarg(sparc32_outsnamep_t) name;
729 };
730
731 struct compat_sparc32_sysarch_args {
732 syscallarg(int) op;
733 syscallarg(sparc32_voidp) parms;
734 };
735
736 struct compat_sparc32_compat_10_sys_semsys_args {
737 syscallarg(int) which;
738 syscallarg(int) a2;
739 syscallarg(int) a3;
740 syscallarg(int) a4;
741 syscallarg(int) a5;
742 };
743
744 struct compat_sparc32_compat_10_sys_msgsys_args {
745 syscallarg(int) which;
746 syscallarg(int) a2;
747 syscallarg(int) a3;
748 syscallarg(int) a4;
749 syscallarg(int) a5;
750 syscallarg(int) a6;
751 };
752
753 struct compat_sparc32_compat_10_sys_shmsys_args {
754 syscallarg(int) which;
755 syscallarg(int) a2;
756 syscallarg(int) a3;
757 syscallarg(int) a4;
758 };
759
760 struct compat_sparc32_pread_args {
761 syscallarg(int) fd;
762 syscallarg(sparc32_voidp) buf;
763 syscallarg(sparc32_size_t) nbyte;
764 syscallarg(int) pad;
765 syscallarg(off_t) offset;
766 };
767
768 struct compat_sparc32_pwrite_args {
769 syscallarg(int) fd;
770 syscallarg(const sparc32_voidp) buf;
771 syscallarg(sparc32_size_t) nbyte;
772 syscallarg(int) pad;
773 syscallarg(off_t) offset;
774 };
775
776 struct compat_sparc32_ntp_gettime_args {
777 syscallarg(sparc32_ntptimevalp_t) ntvp;
778 };
779
780 struct compat_sparc32_ntp_adjtime_args {
781 syscallarg(sparc32_timexp_t) tp;
782 };
783
784 struct compat_sparc32_setgid_args {
785 syscallarg(gid_t) gid;
786 };
787
788 struct compat_sparc32_setegid_args {
789 syscallarg(gid_t) egid;
790 };
791
792 struct compat_sparc32_seteuid_args {
793 syscallarg(uid_t) euid;
794 };
795
796 struct compat_sparc32_lfs_bmapv_args {
797 syscallarg(sparc32_fsid_tp_t) fsidp;
798 syscallarg(sparc32_block_infop_t) blkiov;
799 syscallarg(int) blkcnt;
800 };
801
802 struct compat_sparc32_lfs_markv_args {
803 syscallarg(sparc32_fsid_tp_t) fsidp;
804 syscallarg(sparc32_block_infop_t) blkiov;
805 syscallarg(int) blkcnt;
806 };
807
808 struct compat_sparc32_lfs_segclean_args {
809 syscallarg(sparc32_fsid_tp_t) fsidp;
810 syscallarg(sparc32_u_long) segment;
811 };
812
813 struct compat_sparc32_lfs_segwait_args {
814 syscallarg(sparc32_fsid_tp_t) fsidp;
815 syscallarg(sparc32_timevalp_t) tv;
816 };
817
818 struct compat_12_compat_sparc32_stat12_args {
819 syscallarg(const sparc32_charp) path;
820 syscallarg(sparc32_stat12p_t) ub;
821 };
822
823 struct compat_12_compat_sparc32_fstat12_args {
824 syscallarg(int) fd;
825 syscallarg(sparc32_stat12p_t) sb;
826 };
827
828 struct compat_12_compat_sparc32_lstat12_args {
829 syscallarg(const sparc32_charp) path;
830 syscallarg(sparc32_stat12p_t) ub;
831 };
832
833 struct compat_sparc32_pathconf_args {
834 syscallarg(const sparc32_charp) path;
835 syscallarg(int) name;
836 };
837
838 struct compat_sparc32_fpathconf_args {
839 syscallarg(int) fd;
840 syscallarg(int) name;
841 };
842
843 struct compat_sparc32_getrlimit_args {
844 syscallarg(int) which;
845 syscallarg(sparc32_rlimitp_t) rlp;
846 };
847
848 struct compat_sparc32_setrlimit_args {
849 syscallarg(int) which;
850 syscallarg(const sparc32_rlimitp_t) rlp;
851 };
852
853 struct compat_12_compat_sparc32_getdirentries_args {
854 syscallarg(int) fd;
855 syscallarg(sparc32_charp) buf;
856 syscallarg(u_int) count;
857 syscallarg(sparc32_longp) basep;
858 };
859
860 struct compat_sparc32_mmap_args {
861 syscallarg(sparc32_voidp) addr;
862 syscallarg(sparc32_size_t) len;
863 syscallarg(int) prot;
864 syscallarg(int) flags;
865 syscallarg(int) fd;
866 syscallarg(sparc32_long) pad;
867 syscallarg(off_t) pos;
868 };
869
870 struct compat_sparc32_lseek_args {
871 syscallarg(int) fd;
872 syscallarg(int) pad;
873 syscallarg(off_t) offset;
874 syscallarg(int) whence;
875 };
876
877 struct compat_sparc32_truncate_args {
878 syscallarg(const sparc32_charp) path;
879 syscallarg(int) pad;
880 syscallarg(off_t) length;
881 };
882
883 struct compat_sparc32_ftruncate_args {
884 syscallarg(int) fd;
885 syscallarg(int) pad;
886 syscallarg(off_t) length;
887 };
888
889 struct compat_sparc32___sysctl_args {
890 syscallarg(sparc32_intp) name;
891 syscallarg(u_int) namelen;
892 syscallarg(sparc32_voidp) old;
893 syscallarg(sparc32_size_tp) oldlenp;
894 syscallarg(sparc32_voidp) new;
895 syscallarg(sparc32_size_t) newlen;
896 };
897
898 struct compat_sparc32_mlock_args {
899 syscallarg(const sparc32_voidp) addr;
900 syscallarg(sparc32_size_t) len;
901 };
902
903 struct compat_sparc32_munlock_args {
904 syscallarg(const sparc32_voidp) addr;
905 syscallarg(sparc32_size_t) len;
906 };
907
908 struct compat_sparc32_undelete_args {
909 syscallarg(const sparc32_charp) path;
910 };
911
912 struct compat_sparc32_futimes_args {
913 syscallarg(int) fd;
914 syscallarg(const sparc32_timevalp_t) tptr;
915 };
916
917 struct compat_sparc32_getpgid_args {
918 syscallarg(pid_t) pid;
919 };
920
921 struct compat_sparc32_reboot_args {
922 syscallarg(int) opt;
923 syscallarg(sparc32_charp) bootstr;
924 };
925
926 struct compat_sparc32_poll_args {
927 syscallarg(sparc32_pollfdp_t) fds;
928 syscallarg(u_int) nfds;
929 syscallarg(int) timeout;
930 };
931
932 struct compat_sparc32___semctl_args {
933 syscallarg(int) semid;
934 syscallarg(int) semnum;
935 syscallarg(int) cmd;
936 syscallarg(sparc32_semunu_t) arg;
937 };
938
939 struct compat_sparc32_semget_args {
940 syscallarg(sparc32_key_t) key;
941 syscallarg(int) nsems;
942 syscallarg(int) semflg;
943 };
944
945 struct compat_sparc32_semop_args {
946 syscallarg(int) semid;
947 syscallarg(sparc32_sembufp_t) sops;
948 syscallarg(sparc32_size_t) nsops;
949 };
950
951 struct compat_sparc32_semconfig_args {
952 syscallarg(int) flag;
953 };
954
955 struct compat_sparc32_msgctl_args {
956 syscallarg(int) msqid;
957 syscallarg(int) cmd;
958 syscallarg(sparc32_msqid_dsp_t) buf;
959 };
960
961 struct compat_sparc32_msgget_args {
962 syscallarg(sparc32_key_t) key;
963 syscallarg(int) msgflg;
964 };
965
966 struct compat_sparc32_msgsnd_args {
967 syscallarg(int) msqid;
968 syscallarg(const sparc32_voidp) msgp;
969 syscallarg(sparc32_size_t) msgsz;
970 syscallarg(int) msgflg;
971 };
972
973 struct compat_sparc32_msgrcv_args {
974 syscallarg(int) msqid;
975 syscallarg(sparc32_voidp) msgp;
976 syscallarg(sparc32_size_t) msgsz;
977 syscallarg(sparc32_long) msgtyp;
978 syscallarg(int) msgflg;
979 };
980
981 struct compat_sparc32_shmat_args {
982 syscallarg(int) shmid;
983 syscallarg(const sparc32_voidp) shmaddr;
984 syscallarg(int) shmflg;
985 };
986
987 struct compat_sparc32_shmctl_args {
988 syscallarg(int) shmid;
989 syscallarg(int) cmd;
990 syscallarg(sparc32_shmid_dsp_t) buf;
991 };
992
993 struct compat_sparc32_shmdt_args {
994 syscallarg(const sparc32_voidp) shmaddr;
995 };
996
997 struct compat_sparc32_shmget_args {
998 syscallarg(sparc32_key_t) key;
999 syscallarg(sparc32_size_t) size;
1000 syscallarg(int) shmflg;
1001 };
1002
1003 struct compat_sparc32_clock_gettime_args {
1004 syscallarg(sparc32_clockid_t) clock_id;
1005 syscallarg(sparc32_timespecp_t) tp;
1006 };
1007
1008 struct compat_sparc32_clock_settime_args {
1009 syscallarg(sparc32_clockid_t) clock_id;
1010 syscallarg(const sparc32_timespecp_t) tp;
1011 };
1012
1013 struct compat_sparc32_clock_getres_args {
1014 syscallarg(sparc32_clockid_t) clock_id;
1015 syscallarg(sparc32_timespecp_t) tp;
1016 };
1017
1018 struct compat_sparc32_nanosleep_args {
1019 syscallarg(const sparc32_timespecp_t) rqtp;
1020 syscallarg(sparc32_timespecp_t) rmtp;
1021 };
1022
1023 struct compat_sparc32_fdatasync_args {
1024 syscallarg(int) fd;
1025 };
1026
1027 struct compat_sparc32___posix_rename_args {
1028 syscallarg(const sparc32_charp) from;
1029 syscallarg(const sparc32_charp) to;
1030 };
1031
1032 struct compat_sparc32_swapctl_args {
1033 syscallarg(int) cmd;
1034 syscallarg(const sparc32_voidp) arg;
1035 syscallarg(int) misc;
1036 };
1037
1038 struct compat_sparc32_getdents_args {
1039 syscallarg(int) fd;
1040 syscallarg(sparc32_charp) buf;
1041 syscallarg(sparc32_size_t) count;
1042 };
1043
1044 struct compat_sparc32_minherit_args {
1045 syscallarg(sparc32_voidp) addr;
1046 syscallarg(sparc32_size_t) len;
1047 syscallarg(int) inherit;
1048 };
1049
1050 struct compat_sparc32_lchmod_args {
1051 syscallarg(const sparc32_charp) path;
1052 syscallarg(mode_t) mode;
1053 };
1054
1055 struct compat_sparc32_lchown_args {
1056 syscallarg(const sparc32_charp) path;
1057 syscallarg(uid_t) uid;
1058 syscallarg(gid_t) gid;
1059 };
1060
1061 struct compat_sparc32_lutimes_args {
1062 syscallarg(const sparc32_charp) path;
1063 syscallarg(const sparc32_timevalp_t) tptr;
1064 };
1065
1066 struct compat_sparc32___msync13_args {
1067 syscallarg(sparc32_voidp) addr;
1068 syscallarg(sparc32_size_t) len;
1069 syscallarg(int) flags;
1070 };
1071
1072 struct compat_sparc32___stat13_args {
1073 syscallarg(const sparc32_charp) path;
1074 syscallarg(sparc32_statp_t) ub;
1075 };
1076
1077 struct compat_sparc32___fstat13_args {
1078 syscallarg(int) fd;
1079 syscallarg(sparc32_statp_t) sb;
1080 };
1081
1082 struct compat_sparc32___lstat13_args {
1083 syscallarg(const sparc32_charp) path;
1084 syscallarg(sparc32_statp_t) ub;
1085 };
1086
1087 struct compat_sparc32___sigaltstack14_args {
1088 syscallarg(const sparc32_sigaltstackp_t) nss;
1089 syscallarg(sparc32_sigaltstackp_t) oss;
1090 };
1091
1092 struct compat_sparc32___posix_chown_args {
1093 syscallarg(const sparc32_charp) path;
1094 syscallarg(uid_t) uid;
1095 syscallarg(gid_t) gid;
1096 };
1097
1098 struct compat_sparc32___posix_fchown_args {
1099 syscallarg(int) fd;
1100 syscallarg(uid_t) uid;
1101 syscallarg(gid_t) gid;
1102 };
1103
1104 struct compat_sparc32___posix_lchown_args {
1105 syscallarg(const sparc32_charp) path;
1106 syscallarg(uid_t) uid;
1107 syscallarg(gid_t) gid;
1108 };
1109
1110 struct compat_sparc32_getsid_args {
1111 syscallarg(pid_t) pid;
1112 };
1113
1114 struct compat_sparc32_fktrace_args {
1115 syscallarg(const int) fd;
1116 syscallarg(int) ops;
1117 syscallarg(int) facs;
1118 syscallarg(int) pid;
1119 };
1120
1121 struct compat_sparc32_preadv_args {
1122 syscallarg(int) fd;
1123 syscallarg(const sparc32_iovecp_t) iovp;
1124 syscallarg(int) iovcnt;
1125 syscallarg(int) pad;
1126 syscallarg(off_t) offset;
1127 };
1128
1129 struct compat_sparc32_pwritev_args {
1130 syscallarg(int) fd;
1131 syscallarg(const sparc32_iovecp_t) iovp;
1132 syscallarg(int) iovcnt;
1133 syscallarg(int) pad;
1134 syscallarg(off_t) offset;
1135 };
1136
1137 /*
1138 * System call prototypes.
1139 */
1140
1141 int compat_sparc32_exit __P((struct proc *, void *, register_t *));
1142 int sys_fork __P((struct proc *, void *, register_t *));
1143 int compat_sparc32_read __P((struct proc *, void *, register_t *));
1144 int compat_sparc32_write __P((struct proc *, void *, register_t *));
1145 int compat_sparc32_open __P((struct proc *, void *, register_t *));
1146 int compat_sparc32_close __P((struct proc *, void *, register_t *));
1147 int compat_sparc32_wait4 __P((struct proc *, void *, register_t *));
1148 int compat_43_compat_sparc32_ocreat __P((struct proc *, void *, register_t *));
1149 int compat_sparc32_link __P((struct proc *, void *, register_t *));
1150 int compat_sparc32_unlink __P((struct proc *, void *, register_t *));
1151 int compat_sparc32_chdir __P((struct proc *, void *, register_t *));
1152 int compat_sparc32_fchdir __P((struct proc *, void *, register_t *));
1153 int compat_sparc32_mknod __P((struct proc *, void *, register_t *));
1154 int compat_sparc32_chmod __P((struct proc *, void *, register_t *));
1155 int compat_sparc32_chown __P((struct proc *, void *, register_t *));
1156 int compat_sparc32_break __P((struct proc *, void *, register_t *));
1157 int compat_sparc32_getfsstat __P((struct proc *, void *, register_t *));
1158 int compat_43_compat_sparc32_olseek __P((struct proc *, void *, register_t *));
1159 int sys_getpid __P((struct proc *, void *, register_t *));
1160 int compat_sparc32_mount __P((struct proc *, void *, register_t *));
1161 int compat_sparc32_unmount __P((struct proc *, void *, register_t *));
1162 int compat_sparc32_setuid __P((struct proc *, void *, register_t *));
1163 int sys_getuid __P((struct proc *, void *, register_t *));
1164 int sys_geteuid __P((struct proc *, void *, register_t *));
1165 int compat_sparc32_ptrace __P((struct proc *, void *, register_t *));
1166 int compat_sparc32_recvmsg __P((struct proc *, void *, register_t *));
1167 int compat_sparc32_sendmsg __P((struct proc *, void *, register_t *));
1168 int compat_sparc32_recvfrom __P((struct proc *, void *, register_t *));
1169 int compat_sparc32_accept __P((struct proc *, void *, register_t *));
1170 int compat_sparc32_getpeername __P((struct proc *, void *, register_t *));
1171 int compat_sparc32_getsockname __P((struct proc *, void *, register_t *));
1172 int compat_sparc32_access __P((struct proc *, void *, register_t *));
1173 int compat_sparc32_chflags __P((struct proc *, void *, register_t *));
1174 int compat_sparc32_fchflags __P((struct proc *, void *, register_t *));
1175 int sys_sync __P((struct proc *, void *, register_t *));
1176 int compat_sparc32_kill __P((struct proc *, void *, register_t *));
1177 int compat_43_compat_sparc32_stat43 __P((struct proc *, void *, register_t *));
1178 int sys_getppid __P((struct proc *, void *, register_t *));
1179 int compat_43_compat_sparc32_lstat43 __P((struct proc *, void *, register_t *));
1180 int compat_sparc32_dup __P((struct proc *, void *, register_t *));
1181 int sys_pipe __P((struct proc *, void *, register_t *));
1182 int sys_getegid __P((struct proc *, void *, register_t *));
1183 int compat_sparc32_profil __P((struct proc *, void *, register_t *));
1184 #ifdef KTRACE
1185 int compat_sparc32_ktrace __P((struct proc *, void *, register_t *));
1186 #else
1187 #endif
1188 int compat_sparc32_sigaction __P((struct proc *, void *, register_t *));
1189 int sys_getgid __P((struct proc *, void *, register_t *));
1190 int compat_13_compat_sparc32_sigprocmask __P((struct proc *, void *, register_t *));
1191 int compat_sparc32___getlogin __P((struct proc *, void *, register_t *));
1192 int compat_sparc32_setlogin __P((struct proc *, void *, register_t *));
1193 int compat_sparc32_acct __P((struct proc *, void *, register_t *));
1194 int compat_13_sys_sigpending __P((struct proc *, void *, register_t *));
1195 int compat_13_compat_sparc32_sigaltstack13 __P((struct proc *, void *, register_t *));
1196 int compat_sparc32_ioctl __P((struct proc *, void *, register_t *));
1197 #ifdef COMPAT_12
1198 int compat_12_compat_sparc32_reboot __P((struct proc *, void *, register_t *));
1199 #else
1200 #endif
1201 int compat_sparc32_revoke __P((struct proc *, void *, register_t *));
1202 int compat_sparc32_symlink __P((struct proc *, void *, register_t *));
1203 int compat_sparc32_readlink __P((struct proc *, void *, register_t *));
1204 int compat_sparc32_execve __P((struct proc *, void *, register_t *));
1205 int compat_sparc32_umask __P((struct proc *, void *, register_t *));
1206 int compat_sparc32_chroot __P((struct proc *, void *, register_t *));
1207 int compat_43_compat_sparc32_fstat43 __P((struct proc *, void *, register_t *));
1208 int compat_43_compat_sparc32_ogetkerninfo __P((struct proc *, void *, register_t *));
1209 int compat_43_sys_getpagesize __P((struct proc *, void *, register_t *));
1210 int compat_12_compat_sparc32_msync __P((struct proc *, void *, register_t *));
1211 int sys_vfork __P((struct proc *, void *, register_t *));
1212 int compat_sparc32_sbrk __P((struct proc *, void *, register_t *));
1213 int compat_sparc32_sstk __P((struct proc *, void *, register_t *));
1214 int compat_43_compat_sparc32_ommap __P((struct proc *, void *, register_t *));
1215 int compat_sparc32_ovadvise __P((struct proc *, void *, register_t *));
1216 int compat_sparc32_munmap __P((struct proc *, void *, register_t *));
1217 int compat_sparc32_mprotect __P((struct proc *, void *, register_t *));
1218 int compat_sparc32_madvise __P((struct proc *, void *, register_t *));
1219 int compat_sparc32_mincore __P((struct proc *, void *, register_t *));
1220 int compat_sparc32_getgroups __P((struct proc *, void *, register_t *));
1221 int compat_sparc32_setgroups __P((struct proc *, void *, register_t *));
1222 int sys_getpgrp __P((struct proc *, void *, register_t *));
1223 int compat_sparc32_setpgid __P((struct proc *, void *, register_t *));
1224 int compat_sparc32_setitimer __P((struct proc *, void *, register_t *));
1225 int compat_43_sys_wait __P((struct proc *, void *, register_t *));
1226 int compat_12_compat_sparc32_oswapon __P((struct proc *, void *, register_t *));
1227 int compat_sparc32_getitimer __P((struct proc *, void *, register_t *));
1228 int compat_43_compat_sparc32_ogethostname __P((struct proc *, void *, register_t *));
1229 int compat_43_compat_sparc32_osethostname __P((struct proc *, void *, register_t *));
1230 int compat_43_sys_getdtablesize __P((struct proc *, void *, register_t *));
1231 int compat_sparc32_dup2 __P((struct proc *, void *, register_t *));
1232 int compat_sparc32_fcntl __P((struct proc *, void *, register_t *));
1233 int compat_sparc32_select __P((struct proc *, void *, register_t *));
1234 int compat_sparc32_fsync __P((struct proc *, void *, register_t *));
1235 int compat_sparc32_setpriority __P((struct proc *, void *, register_t *));
1236 int compat_sparc32_socket __P((struct proc *, void *, register_t *));
1237 int compat_sparc32_connect __P((struct proc *, void *, register_t *));
1238 int compat_43_compat_sparc32_oaccept __P((struct proc *, void *, register_t *));
1239 int compat_sparc32_getpriority __P((struct proc *, void *, register_t *));
1240 int compat_43_compat_sparc32_osend __P((struct proc *, void *, register_t *));
1241 int compat_43_compat_sparc32_orecv __P((struct proc *, void *, register_t *));
1242 int compat_sparc32_sigreturn __P((struct proc *, void *, register_t *));
1243 int compat_sparc32_bind __P((struct proc *, void *, register_t *));
1244 int compat_sparc32_setsockopt __P((struct proc *, void *, register_t *));
1245 int compat_sparc32_listen __P((struct proc *, void *, register_t *));
1246 int compat_43_compat_sparc32_osigvec __P((struct proc *, void *, register_t *));
1247 #ifdef COMPAT_43
1248 int compat_43_compat_sparc32_sigblock __P((struct proc *, void *, register_t *));
1249 int compat_43_compat_sparc32_sigsetmask __P((struct proc *, void *, register_t *));
1250 #else
1251 #endif
1252 int compat_13_compat_sparc32_sigsuspend __P((struct proc *, void *, register_t *));
1253 int compat_43_compat_sparc32_osigstack __P((struct proc *, void *, register_t *));
1254 int compat_43_compat_sparc32_orecvmsg __P((struct proc *, void *, register_t *));
1255 int compat_43_compat_sparc32_osendmsg __P((struct proc *, void *, register_t *));
1256 #ifdef TRACE
1257 int compat_sparc32_vtrace __P((struct proc *, void *, register_t *));
1258 #else
1259 #endif
1260 int compat_sparc32_gettimeofday __P((struct proc *, void *, register_t *));
1261 int compat_sparc32_getrusage __P((struct proc *, void *, register_t *));
1262 int compat_sparc32_getsockopt __P((struct proc *, void *, register_t *));
1263 int compat_sparc32_readv __P((struct proc *, void *, register_t *));
1264 int compat_sparc32_writev __P((struct proc *, void *, register_t *));
1265 int compat_sparc32_settimeofday __P((struct proc *, void *, register_t *));
1266 int compat_sparc32_fchown __P((struct proc *, void *, register_t *));
1267 int compat_sparc32_fchmod __P((struct proc *, void *, register_t *));
1268 int compat_43_compat_sparc32_orecvfrom __P((struct proc *, void *, register_t *));
1269 int compat_sparc32_setreuid __P((struct proc *, void *, register_t *));
1270 int compat_sparc32_setregid __P((struct proc *, void *, register_t *));
1271 int compat_sparc32_rename __P((struct proc *, void *, register_t *));
1272 int compat_43_compat_sparc32_otruncate __P((struct proc *, void *, register_t *));
1273 int compat_43_compat_sparc32_oftruncate __P((struct proc *, void *, register_t *));
1274 int compat_sparc32_flock __P((struct proc *, void *, register_t *));
1275 int compat_sparc32_mkfifo __P((struct proc *, void *, register_t *));
1276 int compat_sparc32_sendto __P((struct proc *, void *, register_t *));
1277 int compat_sparc32_shutdown __P((struct proc *, void *, register_t *));
1278 int compat_sparc32_socketpair __P((struct proc *, void *, register_t *));
1279 int compat_sparc32_mkdir __P((struct proc *, void *, register_t *));
1280 int compat_sparc32_rmdir __P((struct proc *, void *, register_t *));
1281 int compat_sparc32_utimes __P((struct proc *, void *, register_t *));
1282 int compat_sparc32_adjtime __P((struct proc *, void *, register_t *));
1283 int compat_43_compat_sparc32_ogetpeername __P((struct proc *, void *, register_t *));
1284 int compat_43_sys_gethostid __P((struct proc *, void *, register_t *));
1285 #ifdef COMPAT_43
1286 int compat_43_compat_sparc32_sethostid __P((struct proc *, void *, register_t *));
1287 #else
1288 #endif
1289 int compat_43_compat_sparc32_ogetrlimit __P((struct proc *, void *, register_t *));
1290 int compat_43_compat_sparc32_osetrlimit __P((struct proc *, void *, register_t *));
1291 #ifdef COMPAT_43
1292 int compat_43_compat_sparc32_killpg __P((struct proc *, void *, register_t *));
1293 #else
1294 #endif
1295 int sys_setsid __P((struct proc *, void *, register_t *));
1296 int compat_sparc32_quotactl __P((struct proc *, void *, register_t *));
1297 int compat_43_sys_quota __P((struct proc *, void *, register_t *));
1298 int compat_43_compat_sparc32_ogetsockname __P((struct proc *, void *, register_t *));
1299 #if defined(NFS) || defined(NFSSERVER)
1300 int compat_sparc32_nfssvc __P((struct proc *, void *, register_t *));
1301 #else
1302 #endif
1303 int compat_43_compat_sparc32_ogetdirentries __P((struct proc *, void *, register_t *));
1304 int compat_sparc32_statfs __P((struct proc *, void *, register_t *));
1305 int compat_sparc32_fstatfs __P((struct proc *, void *, register_t *));
1306 #if defined(NFS) || defined(NFSSERVER)
1307 int compat_sparc32_getfh __P((struct proc *, void *, register_t *));
1308 #else
1309 #endif
1310 int compat_09_compat_sparc32_ogetdomainname __P((struct proc *, void *, register_t *));
1311 int compat_09_compat_sparc32_osetdomainname __P((struct proc *, void *, register_t *));
1312 int compat_09_compat_sparc32_uname __P((struct proc *, void *, register_t *));
1313 int compat_sparc32_sysarch __P((struct proc *, void *, register_t *));
1314 #if defined(SYSVSEM) && !defined(alpha)
1315 int compat_sparc32_compat_10_sys_semsys __P((struct proc *, void *, register_t *));
1316 #else
1317 #endif
1318 #if defined(SYSVMSG) && !defined(alpha)
1319 int compat_sparc32_compat_10_sys_msgsys __P((struct proc *, void *, register_t *));
1320 #else
1321 #endif
1322 #if defined(SYSVSHM) && !defined(alpha)
1323 int compat_sparc32_compat_10_sys_shmsys __P((struct proc *, void *, register_t *));
1324 #else
1325 #endif
1326 int compat_sparc32_pread __P((struct proc *, void *, register_t *));
1327 int compat_sparc32_pwrite __P((struct proc *, void *, register_t *));
1328 #ifdef NTP
1329 int compat_sparc32_ntp_gettime __P((struct proc *, void *, register_t *));
1330 int compat_sparc32_ntp_adjtime __P((struct proc *, void *, register_t *));
1331 #else
1332 #endif
1333 int compat_sparc32_setgid __P((struct proc *, void *, register_t *));
1334 int compat_sparc32_setegid __P((struct proc *, void *, register_t *));
1335 int compat_sparc32_seteuid __P((struct proc *, void *, register_t *));
1336 #ifdef LFS
1337 int compat_sparc32_lfs_bmapv __P((struct proc *, void *, register_t *));
1338 int compat_sparc32_lfs_markv __P((struct proc *, void *, register_t *));
1339 int compat_sparc32_lfs_segclean __P((struct proc *, void *, register_t *));
1340 int compat_sparc32_lfs_segwait __P((struct proc *, void *, register_t *));
1341 #else
1342 #endif
1343 int compat_12_compat_sparc32_stat12 __P((struct proc *, void *, register_t *));
1344 int compat_12_compat_sparc32_fstat12 __P((struct proc *, void *, register_t *));
1345 int compat_12_compat_sparc32_lstat12 __P((struct proc *, void *, register_t *));
1346 int compat_sparc32_pathconf __P((struct proc *, void *, register_t *));
1347 int compat_sparc32_fpathconf __P((struct proc *, void *, register_t *));
1348 int compat_sparc32_getrlimit __P((struct proc *, void *, register_t *));
1349 int compat_sparc32_setrlimit __P((struct proc *, void *, register_t *));
1350 int compat_12_compat_sparc32_getdirentries __P((struct proc *, void *, register_t *));
1351 int compat_sparc32_mmap __P((struct proc *, void *, register_t *));
1352 int compat_sparc32_lseek __P((struct proc *, void *, register_t *));
1353 int compat_sparc32_truncate __P((struct proc *, void *, register_t *));
1354 int compat_sparc32_ftruncate __P((struct proc *, void *, register_t *));
1355 int compat_sparc32___sysctl __P((struct proc *, void *, register_t *));
1356 int compat_sparc32_mlock __P((struct proc *, void *, register_t *));
1357 int compat_sparc32_munlock __P((struct proc *, void *, register_t *));
1358 int compat_sparc32_undelete __P((struct proc *, void *, register_t *));
1359 int compat_sparc32_futimes __P((struct proc *, void *, register_t *));
1360 int compat_sparc32_getpgid __P((struct proc *, void *, register_t *));
1361 int compat_sparc32_reboot __P((struct proc *, void *, register_t *));
1362 int compat_sparc32_poll __P((struct proc *, void *, register_t *));
1363 #ifdef LKM
1364 int sys_lkmnosys __P((struct proc *, void *, register_t *));
1365 int sys_lkmnosys __P((struct proc *, void *, register_t *));
1366 int sys_lkmnosys __P((struct proc *, void *, register_t *));
1367 int sys_lkmnosys __P((struct proc *, void *, register_t *));
1368 int sys_lkmnosys __P((struct proc *, void *, register_t *));
1369 int sys_lkmnosys __P((struct proc *, void *, register_t *));
1370 int sys_lkmnosys __P((struct proc *, void *, register_t *));
1371 int sys_lkmnosys __P((struct proc *, void *, register_t *));
1372 int sys_lkmnosys __P((struct proc *, void *, register_t *));
1373 int sys_lkmnosys __P((struct proc *, void *, register_t *));
1374 #else /* !LKM */
1375 #endif /* !LKM */
1376 #ifdef SYSVSEM
1377 int compat_sparc32___semctl __P((struct proc *, void *, register_t *));
1378 int compat_sparc32_semget __P((struct proc *, void *, register_t *));
1379 int compat_sparc32_semop __P((struct proc *, void *, register_t *));
1380 int compat_sparc32_semconfig __P((struct proc *, void *, register_t *));
1381 #else
1382 #endif
1383 #ifdef SYSVMSG
1384 int compat_sparc32_msgctl __P((struct proc *, void *, register_t *));
1385 int compat_sparc32_msgget __P((struct proc *, void *, register_t *));
1386 int compat_sparc32_msgsnd __P((struct proc *, void *, register_t *));
1387 int compat_sparc32_msgrcv __P((struct proc *, void *, register_t *));
1388 #else
1389 #endif
1390 #ifdef SYSVSHM
1391 int compat_sparc32_shmat __P((struct proc *, void *, register_t *));
1392 int compat_sparc32_shmctl __P((struct proc *, void *, register_t *));
1393 int compat_sparc32_shmdt __P((struct proc *, void *, register_t *));
1394 int compat_sparc32_shmget __P((struct proc *, void *, register_t *));
1395 #else
1396 #endif
1397 int compat_sparc32_clock_gettime __P((struct proc *, void *, register_t *));
1398 int compat_sparc32_clock_settime __P((struct proc *, void *, register_t *));
1399 int compat_sparc32_clock_getres __P((struct proc *, void *, register_t *));
1400 int compat_sparc32_nanosleep __P((struct proc *, void *, register_t *));
1401 int compat_sparc32_fdatasync __P((struct proc *, void *, register_t *));
1402 int compat_sparc32___posix_rename __P((struct proc *, void *, register_t *));
1403 int compat_sparc32_swapctl __P((struct proc *, void *, register_t *));
1404 int compat_sparc32_getdents __P((struct proc *, void *, register_t *));
1405 int compat_sparc32_minherit __P((struct proc *, void *, register_t *));
1406 int compat_sparc32_lchmod __P((struct proc *, void *, register_t *));
1407 int compat_sparc32_lchown __P((struct proc *, void *, register_t *));
1408 int compat_sparc32_lutimes __P((struct proc *, void *, register_t *));
1409 int compat_sparc32___msync13 __P((struct proc *, void *, register_t *));
1410 int compat_sparc32___stat13 __P((struct proc *, void *, register_t *));
1411 int compat_sparc32___fstat13 __P((struct proc *, void *, register_t *));
1412 int compat_sparc32___lstat13 __P((struct proc *, void *, register_t *));
1413 int compat_sparc32___sigaltstack14 __P((struct proc *, void *, register_t *));
1414 int sys___vfork14 __P((struct proc *, void *, register_t *));
1415 int compat_sparc32___posix_chown __P((struct proc *, void *, register_t *));
1416 int compat_sparc32___posix_fchown __P((struct proc *, void *, register_t *));
1417 int compat_sparc32___posix_lchown __P((struct proc *, void *, register_t *));
1418 int compat_sparc32_getsid __P((struct proc *, void *, register_t *));
1419 #ifdef KTRACE
1420 int compat_sparc32_fktrace __P((struct proc *, void *, register_t *));
1421 #else
1422 #endif
1423 int compat_sparc32_preadv __P((struct proc *, void *, register_t *));
1424 int compat_sparc32_pwritev __P((struct proc *, void *, register_t *));
1425