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