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