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