Home | History | Annotate | Line # | Download | only in sunos32
      1 /* $NetBSD: sunos32_syscallargs.h,v 1.37 2018/08/10 21:47:16 pgoyette 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.26 2018/01/06 16:41:23 kamil Exp
      8  */
      9 
     10 #ifndef _SUNOS32_SYS_SYSCALLARGS_H_
     11 #define	_SUNOS32_SYS_SYSCALLARGS_H_
     12 
     13 /* Forward declaration */
     14 struct lwp;
     15 
     16 #define	SUNOS32_SYS_MAXSYSARGS	8
     17 
     18 #undef	syscallarg
     19 #define	syscallarg(x)							\
     20 	union {								\
     21 		register32_t pad;						\
     22 		struct { x datum; } le;					\
     23 		struct { /* LINTED zero array dimension */		\
     24 			int8_t pad[  /* CONSTCOND */			\
     25 				(sizeof (register32_t) < sizeof (x))	\
     26 				? 0					\
     27 				: sizeof (register32_t) - sizeof (x)];	\
     28 			x datum;					\
     29 		} be;							\
     30 	}
     31 
     32 #undef check_syscall_args
     33 #define check_syscall_args(call) /*LINTED*/ \
     34 	typedef char call##_check_args[sizeof (struct call##_args) \
     35 		<= SUNOS32_SYS_MAXSYSARGS * sizeof (register32_t) ? 1 : -1];
     36 
     37 struct netbsd32_exit_args;
     38 
     39 struct netbsd32_read_args;
     40 
     41 struct netbsd32_write_args;
     42 
     43 struct sunos32_sys_open_args {
     44 	syscallarg(const netbsd32_charp) path;
     45 	syscallarg(int) flags;
     46 	syscallarg(int) mode;
     47 };
     48 check_syscall_args(sunos32_sys_open)
     49 
     50 struct netbsd32_close_args;
     51 
     52 struct sunos32_sys_wait4_args {
     53 	syscallarg(int) pid;
     54 	syscallarg(netbsd32_intp) status;
     55 	syscallarg(int) options;
     56 	syscallarg(netbsd32_rusagep_t) rusage;
     57 };
     58 check_syscall_args(sunos32_sys_wait4)
     59 
     60 struct sunos32_sys_creat_args {
     61 	syscallarg(const netbsd32_charp) path;
     62 	syscallarg(int) mode;
     63 };
     64 check_syscall_args(sunos32_sys_creat)
     65 
     66 struct netbsd32_link_args;
     67 
     68 struct netbsd32_unlink_args;
     69 
     70 struct sunos32_sys_execv_args {
     71 	syscallarg(const netbsd32_charp) path;
     72 	syscallarg(netbsd32_charpp) argp;
     73 };
     74 check_syscall_args(sunos32_sys_execv)
     75 
     76 struct netbsd32_chdir_args;
     77 
     78 struct sunos32_sys_mknod_args {
     79 	syscallarg(const netbsd32_charp) path;
     80 	syscallarg(int) mode;
     81 	syscallarg(int) dev;
     82 };
     83 check_syscall_args(sunos32_sys_mknod)
     84 
     85 struct netbsd32_chmod_args;
     86 
     87 struct netbsd32_chown_args;
     88 
     89 struct netbsd32_break_args;
     90 
     91 struct compat_43_netbsd32_olseek_args;
     92 
     93 struct netbsd32_setuid_args;
     94 
     95 struct sunos32_sys_stime_args {
     96 	syscallarg(sunos32_time_tp) tp;
     97 };
     98 check_syscall_args(sunos32_sys_stime)
     99 
    100 struct sunos32_sys_ptrace_args {
    101 	syscallarg(int) req;
    102 	syscallarg(pid_t) pid;
    103 	syscallarg(netbsd32_caddr_t) addr;
    104 	syscallarg(int) data;
    105 	syscallarg(netbsd32_charp) addr2;
    106 };
    107 check_syscall_args(sunos32_sys_ptrace)
    108 
    109 struct sunos32_sys_access_args {
    110 	syscallarg(const netbsd32_charp) path;
    111 	syscallarg(int) flags;
    112 };
    113 check_syscall_args(sunos32_sys_access)
    114 
    115 struct netbsd32_kill_args;
    116 
    117 struct sunos32_sys_stat_args {
    118 	syscallarg(const netbsd32_charp) path;
    119 	syscallarg(netbsd32_stat43p_t) ub;
    120 };
    121 check_syscall_args(sunos32_sys_stat)
    122 
    123 struct sunos32_sys_lstat_args {
    124 	syscallarg(const netbsd32_charp) path;
    125 	syscallarg(netbsd32_stat43p_t) ub;
    126 };
    127 check_syscall_args(sunos32_sys_lstat)
    128 
    129 struct netbsd32_dup_args;
    130 
    131 struct netbsd32_profil_args;
    132 
    133 struct netbsd32_setgid_args;
    134 
    135 struct netbsd32_acct_args;
    136 
    137 struct sunos32_sys_mctl_args {
    138 	syscallarg(netbsd32_voidp) addr;
    139 	syscallarg(int) len;
    140 	syscallarg(int) func;
    141 	syscallarg(netbsd32_voidp) arg;
    142 };
    143 check_syscall_args(sunos32_sys_mctl)
    144 
    145 struct sunos32_sys_ioctl_args {
    146 	syscallarg(int) fd;
    147 	syscallarg(netbsd32_u_long) com;
    148 	syscallarg(netbsd32_caddr_t) data;
    149 };
    150 check_syscall_args(sunos32_sys_ioctl)
    151 
    152 struct sunos32_sys_reboot_args {
    153 	syscallarg(int) howto;
    154 	syscallarg(netbsd32_charp) bootstr;
    155 };
    156 check_syscall_args(sunos32_sys_reboot)
    157 
    158 struct netbsd32_symlink_args;
    159 
    160 struct netbsd32_readlink_args;
    161 
    162 struct sunos32_sys_execve_args {
    163 	syscallarg(const netbsd32_charp) path;
    164 	syscallarg(netbsd32_charpp) argp;
    165 	syscallarg(netbsd32_charpp) envp;
    166 };
    167 check_syscall_args(sunos32_sys_execve)
    168 
    169 struct netbsd32_umask_args;
    170 
    171 struct netbsd32_chroot_args;
    172 
    173 struct compat_43_netbsd32_fstat43_args;
    174 
    175 struct sunos32_sys_omsync_args {
    176 	syscallarg(netbsd32_caddr_t) addr;
    177 	syscallarg(netbsd32_size_t) len;
    178 	syscallarg(int) flags;
    179 };
    180 check_syscall_args(sunos32_sys_omsync)
    181 
    182 struct sunos32_sys_mmap_args {
    183 	syscallarg(netbsd32_voidp) addr;
    184 	syscallarg(netbsd32_size_t) len;
    185 	syscallarg(int) prot;
    186 	syscallarg(int) flags;
    187 	syscallarg(int) fd;
    188 	syscallarg(netbsd32_long) pos;
    189 };
    190 check_syscall_args(sunos32_sys_mmap)
    191 
    192 struct netbsd32_ovadvise_args;
    193 
    194 struct netbsd32_munmap_args;
    195 
    196 struct netbsd32_mprotect_args;
    197 
    198 struct netbsd32_madvise_args;
    199 
    200 struct netbsd32_mincore_args;
    201 
    202 struct netbsd32_getgroups_args;
    203 
    204 struct netbsd32_setgroups_args;
    205 
    206 struct sunos32_sys_setpgrp_args {
    207 	syscallarg(int) pid;
    208 	syscallarg(int) pgid;
    209 };
    210 check_syscall_args(sunos32_sys_setpgrp)
    211 
    212 struct compat_50_netbsd32_setitimer_args;
    213 
    214 struct compat_12_netbsd32_oswapon_args;
    215 
    216 struct compat_50_netbsd32_getitimer_args;
    217 
    218 struct compat_43_netbsd32_ogethostname_args;
    219 
    220 struct compat_43_netbsd32_osethostname_args;
    221 
    222 struct netbsd32_dup2_args;
    223 
    224 struct sunos32_sys_fcntl_args {
    225 	syscallarg(int) fd;
    226 	syscallarg(int) cmd;
    227 	syscallarg(netbsd32_voidp) arg;
    228 };
    229 check_syscall_args(sunos32_sys_fcntl)
    230 
    231 struct compat_50_netbsd32_select_args;
    232 
    233 struct netbsd32_fsync_args;
    234 
    235 struct netbsd32_setpriority_args;
    236 
    237 struct sunos32_sys_socket_args {
    238 	syscallarg(int) domain;
    239 	syscallarg(int) type;
    240 	syscallarg(int) protocol;
    241 };
    242 check_syscall_args(sunos32_sys_socket)
    243 
    244 struct netbsd32_connect_args;
    245 
    246 struct compat_43_netbsd32_oaccept_args;
    247 
    248 struct netbsd32_getpriority_args;
    249 
    250 struct compat_43_netbsd32_osend_args;
    251 
    252 struct compat_43_netbsd32_orecv_args;
    253 
    254 struct netbsd32_bind_args;
    255 
    256 struct sunos32_sys_setsockopt_args {
    257 	syscallarg(int) s;
    258 	syscallarg(int) level;
    259 	syscallarg(int) name;
    260 	syscallarg(netbsd32_caddr_t) val;
    261 	syscallarg(int) valsize;
    262 };
    263 check_syscall_args(sunos32_sys_setsockopt)
    264 
    265 struct netbsd32_listen_args;
    266 
    267 struct sunos32_sys_sigvec_args {
    268 	syscallarg(int) signum;
    269 	syscallarg(netbsd32_sigvecp_t) nsv;
    270 	syscallarg(netbsd32_sigvecp_t) osv;
    271 };
    272 check_syscall_args(sunos32_sys_sigvec)
    273 
    274 struct compat_43_netbsd32_sigblock_args;
    275 
    276 struct compat_43_netbsd32_sigsetmask_args;
    277 
    278 struct sunos32_sys_sigsuspend_args {
    279 	syscallarg(int) mask;
    280 };
    281 check_syscall_args(sunos32_sys_sigsuspend)
    282 
    283 struct compat_43_netbsd32_osigstack_args;
    284 
    285 struct compat_43_netbsd32_orecvmsg_args;
    286 
    287 struct compat_43_netbsd32_osendmsg_args;
    288 
    289 struct compat_50_netbsd32_gettimeofday_args;
    290 
    291 struct compat_50_netbsd32_getrusage_args;
    292 
    293 struct netbsd32_getsockopt_args;
    294 
    295 struct netbsd32_readv_args;
    296 
    297 struct netbsd32_writev_args;
    298 
    299 struct compat_50_netbsd32_settimeofday_args;
    300 
    301 struct netbsd32_fchown_args;
    302 
    303 struct netbsd32_fchmod_args;
    304 
    305 struct compat_43_netbsd32_orecvfrom_args;
    306 
    307 struct netbsd32_setreuid_args;
    308 
    309 struct netbsd32_setregid_args;
    310 
    311 struct netbsd32_rename_args;
    312 
    313 struct compat_43_netbsd32_otruncate_args;
    314 
    315 struct compat_43_netbsd32_oftruncate_args;
    316 
    317 struct netbsd32_flock_args;
    318 
    319 struct netbsd32_sendto_args;
    320 
    321 struct netbsd32_shutdown_args;
    322 
    323 struct sunos32_sys_socketpair_args {
    324 	syscallarg(int) domain;
    325 	syscallarg(int) type;
    326 	syscallarg(int) protocol;
    327 	syscallarg(netbsd32_intp) rsv;
    328 };
    329 check_syscall_args(sunos32_sys_socketpair)
    330 
    331 struct netbsd32_mkdir_args;
    332 
    333 struct netbsd32_rmdir_args;
    334 
    335 struct compat_50_netbsd32_utimes_args;
    336 
    337 struct sunos32_sys_sigreturn_args {
    338 	syscallarg(netbsd32_sigcontextp_t) sigcntxp;
    339 };
    340 check_syscall_args(sunos32_sys_sigreturn)
    341 
    342 struct compat_50_netbsd32_adjtime_args;
    343 
    344 struct compat_43_netbsd32_ogetpeername_args;
    345 
    346 struct sunos32_sys_getrlimit_args {
    347 	syscallarg(u_int) which;
    348 	syscallarg(netbsd32_orlimitp_t) rlp;
    349 };
    350 check_syscall_args(sunos32_sys_getrlimit)
    351 
    352 struct sunos32_sys_setrlimit_args {
    353 	syscallarg(u_int) which;
    354 	syscallarg(netbsd32_orlimitp_t) rlp;
    355 };
    356 check_syscall_args(sunos32_sys_setrlimit)
    357 
    358 struct compat_43_netbsd32_killpg_args;
    359 
    360 struct compat_43_netbsd32_ogetsockname_args;
    361 
    362 struct netbsd32_poll_args;
    363 
    364 struct compat_43_netbsd32_ogetdirentries_args;
    365 
    366 struct sunos32_sys_statfs_args {
    367 	syscallarg(const netbsd32_charp) path;
    368 	syscallarg(sunos32_statfsp_t) buf;
    369 };
    370 check_syscall_args(sunos32_sys_statfs)
    371 
    372 struct sunos32_sys_fstatfs_args {
    373 	syscallarg(int) fd;
    374 	syscallarg(sunos32_statfsp_t) buf;
    375 };
    376 check_syscall_args(sunos32_sys_fstatfs)
    377 
    378 struct sunos32_sys_unmount_args {
    379 	syscallarg(netbsd32_charp) path;
    380 };
    381 check_syscall_args(sunos32_sys_unmount)
    382 
    383 struct compat_30_sys_getfh_args;
    384 
    385 struct compat_09_netbsd32_ogetdomainname_args;
    386 
    387 struct compat_09_netbsd32_osetdomainname_args;
    388 
    389 struct sunos32_sys_quotactl_args {
    390 	syscallarg(int) cmd;
    391 	syscallarg(netbsd32_charp) special;
    392 	syscallarg(int) uid;
    393 	syscallarg(netbsd32_caddr_t) addr;
    394 };
    395 check_syscall_args(sunos32_sys_quotactl)
    396 
    397 struct sunos32_sys_exportfs_args {
    398 	syscallarg(netbsd32_charp) path;
    399 	syscallarg(netbsd32_charp) ex;
    400 };
    401 check_syscall_args(sunos32_sys_exportfs)
    402 
    403 struct sunos32_sys_mount_args {
    404 	syscallarg(netbsd32_charp) type;
    405 	syscallarg(netbsd32_charp) path;
    406 	syscallarg(int) flags;
    407 	syscallarg(netbsd32_caddr_t) data;
    408 };
    409 check_syscall_args(sunos32_sys_mount)
    410 
    411 struct sunos32_sys_ustat_args {
    412 	syscallarg(int) dev;
    413 	syscallarg(sunos32_ustatp_t) buf;
    414 };
    415 check_syscall_args(sunos32_sys_ustat)
    416 #ifdef SYSVSEM
    417 
    418 struct compat_10_netbsd32_semsys_args;
    419 #else
    420 #endif
    421 #ifdef SYSVMSG
    422 
    423 struct compat_10_netbsd32_msgsys_args;
    424 #else
    425 #endif
    426 #ifdef SYSVSHM
    427 
    428 struct compat_10_netbsd32_shmsys_args;
    429 #else
    430 #endif
    431 
    432 struct sunos32_sys_auditsys_args {
    433 	syscallarg(netbsd32_charp) record;
    434 };
    435 check_syscall_args(sunos32_sys_auditsys)
    436 
    437 struct sunos32_sys_getdents_args {
    438 	syscallarg(int) fd;
    439 	syscallarg(netbsd32_charp) buf;
    440 	syscallarg(int) nbytes;
    441 };
    442 check_syscall_args(sunos32_sys_getdents)
    443 
    444 struct netbsd32_fchdir_args;
    445 
    446 struct netbsd32_fchroot_args;
    447 
    448 struct sunos32_sys_sigpending_args {
    449 	syscallarg(netbsd32_intp) mask;
    450 };
    451 check_syscall_args(sunos32_sys_sigpending)
    452 
    453 struct netbsd32_setpgid_args;
    454 
    455 struct netbsd32_pathconf_args;
    456 
    457 struct netbsd32_fpathconf_args;
    458 
    459 struct sunos32_sys_sysconf_args {
    460 	syscallarg(int) name;
    461 };
    462 check_syscall_args(sunos32_sys_sysconf)
    463 
    464 struct sunos32_sys_uname_args {
    465 	syscallarg(sunos32_utsnamep_t) name;
    466 };
    467 check_syscall_args(sunos32_sys_uname)
    468 
    469 /*
    470  * System call prototypes.
    471  */
    472 
    473 int	sys_nosys(struct lwp *, const void *, register_t *);
    474 
    475 int	netbsd32_exit(struct lwp *, const struct netbsd32_exit_args *, register_t *);
    476 
    477 int	sys_fork(struct lwp *, const void *, register_t *);
    478 
    479 int	netbsd32_read(struct lwp *, const struct netbsd32_read_args *, register_t *);
    480 
    481 int	netbsd32_write(struct lwp *, const struct netbsd32_write_args *, register_t *);
    482 
    483 int	sunos32_sys_open(struct lwp *, const struct sunos32_sys_open_args *, register_t *);
    484 
    485 int	netbsd32_close(struct lwp *, const struct netbsd32_close_args *, register_t *);
    486 
    487 int	sunos32_sys_wait4(struct lwp *, const struct sunos32_sys_wait4_args *, register_t *);
    488 
    489 int	sunos32_sys_creat(struct lwp *, const struct sunos32_sys_creat_args *, register_t *);
    490 
    491 int	netbsd32_link(struct lwp *, const struct netbsd32_link_args *, register_t *);
    492 
    493 int	netbsd32_unlink(struct lwp *, const struct netbsd32_unlink_args *, register_t *);
    494 
    495 int	sunos32_sys_execv(struct lwp *, const struct sunos32_sys_execv_args *, register_t *);
    496 
    497 int	netbsd32_chdir(struct lwp *, const struct netbsd32_chdir_args *, register_t *);
    498 
    499 int	sunos32_sys_mknod(struct lwp *, const struct sunos32_sys_mknod_args *, register_t *);
    500 
    501 int	netbsd32_chmod(struct lwp *, const struct netbsd32_chmod_args *, register_t *);
    502 
    503 int	netbsd32_chown(struct lwp *, const struct netbsd32_chown_args *, register_t *);
    504 
    505 int	netbsd32_break(struct lwp *, const struct netbsd32_break_args *, register_t *);
    506 
    507 int	compat_43_netbsd32_olseek(struct lwp *, const struct compat_43_netbsd32_olseek_args *, register_t *);
    508 
    509 int	sys_getpid_with_ppid(struct lwp *, const void *, register_t *);
    510 
    511 int	netbsd32_setuid(struct lwp *, const struct netbsd32_setuid_args *, register_t *);
    512 
    513 int	sys_getuid_with_euid(struct lwp *, const void *, register_t *);
    514 
    515 int	sunos32_sys_stime(struct lwp *, const struct sunos32_sys_stime_args *, register_t *);
    516 
    517 int	sunos32_sys_ptrace(struct lwp *, const struct sunos32_sys_ptrace_args *, register_t *);
    518 
    519 int	sunos32_sys_access(struct lwp *, const struct sunos32_sys_access_args *, register_t *);
    520 
    521 int	sys_sync(struct lwp *, const void *, register_t *);
    522 
    523 int	netbsd32_kill(struct lwp *, const struct netbsd32_kill_args *, register_t *);
    524 
    525 int	sunos32_sys_stat(struct lwp *, const struct sunos32_sys_stat_args *, register_t *);
    526 
    527 int	sunos32_sys_lstat(struct lwp *, const struct sunos32_sys_lstat_args *, register_t *);
    528 
    529 int	netbsd32_dup(struct lwp *, const struct netbsd32_dup_args *, register_t *);
    530 
    531 int	sys_pipe(struct lwp *, const void *, register_t *);
    532 
    533 int	netbsd32_profil(struct lwp *, const struct netbsd32_profil_args *, register_t *);
    534 
    535 int	netbsd32_setgid(struct lwp *, const struct netbsd32_setgid_args *, register_t *);
    536 
    537 int	sys_getgid_with_egid(struct lwp *, const void *, register_t *);
    538 
    539 int	netbsd32_acct(struct lwp *, const struct netbsd32_acct_args *, register_t *);
    540 
    541 int	sunos32_sys_mctl(struct lwp *, const struct sunos32_sys_mctl_args *, register_t *);
    542 
    543 int	sunos32_sys_ioctl(struct lwp *, const struct sunos32_sys_ioctl_args *, register_t *);
    544 
    545 int	sunos32_sys_reboot(struct lwp *, const struct sunos32_sys_reboot_args *, register_t *);
    546 
    547 int	netbsd32_symlink(struct lwp *, const struct netbsd32_symlink_args *, register_t *);
    548 
    549 int	netbsd32_readlink(struct lwp *, const struct netbsd32_readlink_args *, register_t *);
    550 
    551 int	sunos32_sys_execve(struct lwp *, const struct sunos32_sys_execve_args *, register_t *);
    552 
    553 int	netbsd32_umask(struct lwp *, const struct netbsd32_umask_args *, register_t *);
    554 
    555 int	netbsd32_chroot(struct lwp *, const struct netbsd32_chroot_args *, register_t *);
    556 
    557 int	compat_43_netbsd32_fstat43(struct lwp *, const struct compat_43_netbsd32_fstat43_args *, register_t *);
    558 
    559 int	compat_43_sys_getpagesize(struct lwp *, const void *, register_t *);
    560 
    561 int	sunos32_sys_omsync(struct lwp *, const struct sunos32_sys_omsync_args *, register_t *);
    562 
    563 int	sys_vfork(struct lwp *, const void *, register_t *);
    564 
    565 int	sunos32_sys_mmap(struct lwp *, const struct sunos32_sys_mmap_args *, register_t *);
    566 
    567 int	netbsd32_ovadvise(struct lwp *, const struct netbsd32_ovadvise_args *, register_t *);
    568 
    569 int	netbsd32_munmap(struct lwp *, const struct netbsd32_munmap_args *, register_t *);
    570 
    571 int	netbsd32_mprotect(struct lwp *, const struct netbsd32_mprotect_args *, register_t *);
    572 
    573 int	netbsd32_madvise(struct lwp *, const struct netbsd32_madvise_args *, register_t *);
    574 
    575 int	sunos32_sys_vhangup(struct lwp *, const void *, register_t *);
    576 
    577 int	netbsd32_mincore(struct lwp *, const struct netbsd32_mincore_args *, register_t *);
    578 
    579 int	netbsd32_getgroups(struct lwp *, const struct netbsd32_getgroups_args *, register_t *);
    580 
    581 int	netbsd32_setgroups(struct lwp *, const struct netbsd32_setgroups_args *, register_t *);
    582 
    583 int	sys_getpgrp(struct lwp *, const void *, register_t *);
    584 
    585 int	sunos32_sys_setpgrp(struct lwp *, const struct sunos32_sys_setpgrp_args *, register_t *);
    586 
    587 int	compat_50_netbsd32_setitimer(struct lwp *, const struct compat_50_netbsd32_setitimer_args *, register_t *);
    588 
    589 int	compat_12_netbsd32_oswapon(struct lwp *, const struct compat_12_netbsd32_oswapon_args *, register_t *);
    590 
    591 int	compat_50_netbsd32_getitimer(struct lwp *, const struct compat_50_netbsd32_getitimer_args *, register_t *);
    592 
    593 int	compat_43_netbsd32_ogethostname(struct lwp *, const struct compat_43_netbsd32_ogethostname_args *, register_t *);
    594 
    595 int	compat_43_netbsd32_osethostname(struct lwp *, const struct compat_43_netbsd32_osethostname_args *, register_t *);
    596 
    597 int	compat_43_sys_getdtablesize(struct lwp *, const void *, register_t *);
    598 
    599 int	netbsd32_dup2(struct lwp *, const struct netbsd32_dup2_args *, register_t *);
    600 
    601 int	sunos32_sys_fcntl(struct lwp *, const struct sunos32_sys_fcntl_args *, register_t *);
    602 
    603 int	compat_50_netbsd32_select(struct lwp *, const struct compat_50_netbsd32_select_args *, register_t *);
    604 
    605 int	netbsd32_fsync(struct lwp *, const struct netbsd32_fsync_args *, register_t *);
    606 
    607 int	netbsd32_setpriority(struct lwp *, const struct netbsd32_setpriority_args *, register_t *);
    608 
    609 int	sunos32_sys_socket(struct lwp *, const struct sunos32_sys_socket_args *, register_t *);
    610 
    611 int	netbsd32_connect(struct lwp *, const struct netbsd32_connect_args *, register_t *);
    612 
    613 int	compat_43_netbsd32_oaccept(struct lwp *, const struct compat_43_netbsd32_oaccept_args *, register_t *);
    614 
    615 int	netbsd32_getpriority(struct lwp *, const struct netbsd32_getpriority_args *, register_t *);
    616 
    617 int	compat_43_netbsd32_osend(struct lwp *, const struct compat_43_netbsd32_osend_args *, register_t *);
    618 
    619 int	compat_43_netbsd32_orecv(struct lwp *, const struct compat_43_netbsd32_orecv_args *, register_t *);
    620 
    621 int	netbsd32_bind(struct lwp *, const struct netbsd32_bind_args *, register_t *);
    622 
    623 int	sunos32_sys_setsockopt(struct lwp *, const struct sunos32_sys_setsockopt_args *, register_t *);
    624 
    625 int	netbsd32_listen(struct lwp *, const struct netbsd32_listen_args *, register_t *);
    626 
    627 int	sunos32_sys_sigvec(struct lwp *, const struct sunos32_sys_sigvec_args *, register_t *);
    628 
    629 int	compat_43_netbsd32_sigblock(struct lwp *, const struct compat_43_netbsd32_sigblock_args *, register_t *);
    630 
    631 int	compat_43_netbsd32_sigsetmask(struct lwp *, const struct compat_43_netbsd32_sigsetmask_args *, register_t *);
    632 
    633 int	sunos32_sys_sigsuspend(struct lwp *, const struct sunos32_sys_sigsuspend_args *, register_t *);
    634 
    635 int	compat_43_netbsd32_osigstack(struct lwp *, const struct compat_43_netbsd32_osigstack_args *, register_t *);
    636 
    637 int	compat_43_netbsd32_orecvmsg(struct lwp *, const struct compat_43_netbsd32_orecvmsg_args *, register_t *);
    638 
    639 int	compat_43_netbsd32_osendmsg(struct lwp *, const struct compat_43_netbsd32_osendmsg_args *, register_t *);
    640 
    641 int	compat_50_netbsd32_gettimeofday(struct lwp *, const struct compat_50_netbsd32_gettimeofday_args *, register_t *);
    642 
    643 int	compat_50_netbsd32_getrusage(struct lwp *, const struct compat_50_netbsd32_getrusage_args *, register_t *);
    644 
    645 int	netbsd32_getsockopt(struct lwp *, const struct netbsd32_getsockopt_args *, register_t *);
    646 
    647 int	netbsd32_readv(struct lwp *, const struct netbsd32_readv_args *, register_t *);
    648 
    649 int	netbsd32_writev(struct lwp *, const struct netbsd32_writev_args *, register_t *);
    650 
    651 int	compat_50_netbsd32_settimeofday(struct lwp *, const struct compat_50_netbsd32_settimeofday_args *, register_t *);
    652 
    653 int	netbsd32_fchown(struct lwp *, const struct netbsd32_fchown_args *, register_t *);
    654 
    655 int	netbsd32_fchmod(struct lwp *, const struct netbsd32_fchmod_args *, register_t *);
    656 
    657 int	compat_43_netbsd32_orecvfrom(struct lwp *, const struct compat_43_netbsd32_orecvfrom_args *, register_t *);
    658 
    659 int	netbsd32_setreuid(struct lwp *, const struct netbsd32_setreuid_args *, register_t *);
    660 
    661 int	netbsd32_setregid(struct lwp *, const struct netbsd32_setregid_args *, register_t *);
    662 
    663 int	netbsd32_rename(struct lwp *, const struct netbsd32_rename_args *, register_t *);
    664 
    665 int	compat_43_netbsd32_otruncate(struct lwp *, const struct compat_43_netbsd32_otruncate_args *, register_t *);
    666 
    667 int	compat_43_netbsd32_oftruncate(struct lwp *, const struct compat_43_netbsd32_oftruncate_args *, register_t *);
    668 
    669 int	netbsd32_flock(struct lwp *, const struct netbsd32_flock_args *, register_t *);
    670 
    671 int	netbsd32_sendto(struct lwp *, const struct netbsd32_sendto_args *, register_t *);
    672 
    673 int	netbsd32_shutdown(struct lwp *, const struct netbsd32_shutdown_args *, register_t *);
    674 
    675 int	sunos32_sys_socketpair(struct lwp *, const struct sunos32_sys_socketpair_args *, register_t *);
    676 
    677 int	netbsd32_mkdir(struct lwp *, const struct netbsd32_mkdir_args *, register_t *);
    678 
    679 int	netbsd32_rmdir(struct lwp *, const struct netbsd32_rmdir_args *, register_t *);
    680 
    681 int	compat_50_netbsd32_utimes(struct lwp *, const struct compat_50_netbsd32_utimes_args *, register_t *);
    682 
    683 int	sunos32_sys_sigreturn(struct lwp *, const struct sunos32_sys_sigreturn_args *, register_t *);
    684 
    685 int	compat_50_netbsd32_adjtime(struct lwp *, const struct compat_50_netbsd32_adjtime_args *, register_t *);
    686 
    687 int	compat_43_netbsd32_ogetpeername(struct lwp *, const struct compat_43_netbsd32_ogetpeername_args *, register_t *);
    688 
    689 int	compat_43_sys_gethostid(struct lwp *, const void *, register_t *);
    690 
    691 int	sunos32_sys_getrlimit(struct lwp *, const struct sunos32_sys_getrlimit_args *, register_t *);
    692 
    693 int	sunos32_sys_setrlimit(struct lwp *, const struct sunos32_sys_setrlimit_args *, register_t *);
    694 
    695 int	compat_43_netbsd32_killpg(struct lwp *, const struct compat_43_netbsd32_killpg_args *, register_t *);
    696 
    697 int	compat_43_netbsd32_ogetsockname(struct lwp *, const struct compat_43_netbsd32_ogetsockname_args *, register_t *);
    698 
    699 int	netbsd32_poll(struct lwp *, const struct netbsd32_poll_args *, register_t *);
    700 
    701 int	compat_43_netbsd32_ogetdirentries(struct lwp *, const struct compat_43_netbsd32_ogetdirentries_args *, register_t *);
    702 
    703 int	sunos32_sys_statfs(struct lwp *, const struct sunos32_sys_statfs_args *, register_t *);
    704 
    705 int	sunos32_sys_fstatfs(struct lwp *, const struct sunos32_sys_fstatfs_args *, register_t *);
    706 
    707 int	sunos32_sys_unmount(struct lwp *, const struct sunos32_sys_unmount_args *, register_t *);
    708 
    709 int	compat_30_sys_getfh(struct lwp *, const struct compat_30_sys_getfh_args *, register_t *);
    710 
    711 int	compat_09_netbsd32_ogetdomainname(struct lwp *, const struct compat_09_netbsd32_ogetdomainname_args *, register_t *);
    712 
    713 int	compat_09_netbsd32_osetdomainname(struct lwp *, const struct compat_09_netbsd32_osetdomainname_args *, register_t *);
    714 
    715 int	sunos32_sys_quotactl(struct lwp *, const struct sunos32_sys_quotactl_args *, register_t *);
    716 
    717 int	sunos32_sys_exportfs(struct lwp *, const struct sunos32_sys_exportfs_args *, register_t *);
    718 
    719 int	sunos32_sys_mount(struct lwp *, const struct sunos32_sys_mount_args *, register_t *);
    720 
    721 int	sunos32_sys_ustat(struct lwp *, const struct sunos32_sys_ustat_args *, register_t *);
    722 
    723 #ifdef SYSVSEM
    724 int	compat_10_netbsd32_semsys(struct lwp *, const struct compat_10_netbsd32_semsys_args *, register_t *);
    725 
    726 #else
    727 #endif
    728 #ifdef SYSVMSG
    729 int	compat_10_netbsd32_msgsys(struct lwp *, const struct compat_10_netbsd32_msgsys_args *, register_t *);
    730 
    731 #else
    732 #endif
    733 #ifdef SYSVSHM
    734 int	compat_10_netbsd32_shmsys(struct lwp *, const struct compat_10_netbsd32_shmsys_args *, register_t *);
    735 
    736 #else
    737 #endif
    738 int	sunos32_sys_auditsys(struct lwp *, const struct sunos32_sys_auditsys_args *, register_t *);
    739 
    740 int	sunos32_sys_getdents(struct lwp *, const struct sunos32_sys_getdents_args *, register_t *);
    741 
    742 int	sys_setsid(struct lwp *, const void *, register_t *);
    743 
    744 int	netbsd32_fchdir(struct lwp *, const struct netbsd32_fchdir_args *, register_t *);
    745 
    746 int	netbsd32_fchroot(struct lwp *, const struct netbsd32_fchroot_args *, register_t *);
    747 
    748 int	sunos32_sys_sigpending(struct lwp *, const struct sunos32_sys_sigpending_args *, register_t *);
    749 
    750 int	netbsd32_setpgid(struct lwp *, const struct netbsd32_setpgid_args *, register_t *);
    751 
    752 int	netbsd32_pathconf(struct lwp *, const struct netbsd32_pathconf_args *, register_t *);
    753 
    754 int	netbsd32_fpathconf(struct lwp *, const struct netbsd32_fpathconf_args *, register_t *);
    755 
    756 int	sunos32_sys_sysconf(struct lwp *, const struct sunos32_sys_sysconf_args *, register_t *);
    757 
    758 int	sunos32_sys_uname(struct lwp *, const struct sunos32_sys_uname_args *, register_t *);
    759 
    760 #endif /* _SUNOS32_SYS_SYSCALLARGS_H_ */
    761