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