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