Home | History | Annotate | Line # | Download | only in sunos32
sunos32_syscallargs.h revision 1.20.16.1
      1  1.20.16.1      haad /* $NetBSD: sunos32_syscallargs.h,v 1.20.16.1 2008/12/13 01:14:04 haad 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.16.1      haad  * created from;	NetBSD: syscalls.master,v 1.17 2008/11/19 18:36:05 ad 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.1       mrg 
    365        1.1       mrg struct sunos32_sys_nfssvc_args {
    366        1.1       mrg 	syscallarg(int) fd;
    367        1.1       mrg };
    368       1.20       dsl check_syscall_args(sunos32_sys_nfssvc)
    369        1.1       mrg 
    370       1.20       dsl struct compat_43_netbsd32_ogetdirentries_args;
    371       1.20       dsl 
    372        1.1       mrg struct sunos32_sys_statfs_args {
    373        1.1       mrg 	syscallarg(const netbsd32_charp) path;
    374        1.1       mrg 	syscallarg(sunos32_statfsp_t) buf;
    375        1.1       mrg };
    376       1.20       dsl check_syscall_args(sunos32_sys_statfs)
    377        1.1       mrg 
    378        1.1       mrg struct sunos32_sys_fstatfs_args {
    379        1.1       mrg 	syscallarg(int) fd;
    380        1.1       mrg 	syscallarg(sunos32_statfsp_t) buf;
    381        1.1       mrg };
    382       1.20       dsl check_syscall_args(sunos32_sys_fstatfs)
    383        1.1       mrg 
    384        1.1       mrg struct sunos32_sys_unmount_args {
    385        1.1       mrg 	syscallarg(netbsd32_charp) path;
    386        1.1       mrg };
    387       1.20       dsl check_syscall_args(sunos32_sys_unmount)
    388       1.12  christos #ifdef NFS
    389       1.20       dsl 
    390       1.20       dsl struct compat_30_sys_getfh_args;
    391       1.12  christos #else
    392       1.12  christos #endif
    393        1.1       mrg 
    394       1.20       dsl struct compat_09_netbsd32_ogetdomainname_args;
    395       1.20       dsl 
    396       1.20       dsl struct compat_09_netbsd32_osetdomainname_args;
    397       1.20       dsl 
    398        1.1       mrg struct sunos32_sys_quotactl_args {
    399        1.1       mrg 	syscallarg(int) cmd;
    400        1.1       mrg 	syscallarg(netbsd32_charp) special;
    401        1.1       mrg 	syscallarg(int) uid;
    402       1.19  christos 	syscallarg(netbsd32_caddr_t) addr;
    403        1.1       mrg };
    404       1.20       dsl check_syscall_args(sunos32_sys_quotactl)
    405        1.1       mrg 
    406        1.1       mrg struct sunos32_sys_exportfs_args {
    407        1.1       mrg 	syscallarg(netbsd32_charp) path;
    408        1.1       mrg 	syscallarg(netbsd32_charp) ex;
    409        1.1       mrg };
    410       1.20       dsl check_syscall_args(sunos32_sys_exportfs)
    411        1.1       mrg 
    412        1.1       mrg struct sunos32_sys_mount_args {
    413        1.1       mrg 	syscallarg(netbsd32_charp) type;
    414        1.1       mrg 	syscallarg(netbsd32_charp) path;
    415        1.1       mrg 	syscallarg(int) flags;
    416       1.19  christos 	syscallarg(netbsd32_caddr_t) data;
    417        1.1       mrg };
    418       1.20       dsl check_syscall_args(sunos32_sys_mount)
    419        1.1       mrg 
    420        1.1       mrg struct sunos32_sys_ustat_args {
    421        1.1       mrg 	syscallarg(int) dev;
    422        1.1       mrg 	syscallarg(sunos32_ustatp_t) buf;
    423        1.1       mrg };
    424       1.20       dsl check_syscall_args(sunos32_sys_ustat)
    425       1.12  christos #ifdef SYSVSEM
    426       1.20       dsl 
    427       1.20       dsl struct compat_10_netbsd32_sys_semsys_args;
    428       1.12  christos #else
    429       1.12  christos #endif
    430       1.12  christos #ifdef SYSVMSG
    431       1.20       dsl 
    432       1.20       dsl struct compat_10_netbsd32_sys_msgsys_args;
    433       1.12  christos #else
    434       1.12  christos #endif
    435       1.12  christos #ifdef SYSVSHM
    436       1.20       dsl 
    437       1.20       dsl struct compat_10_netbsd32_sys_shmsys_args;
    438       1.12  christos #else
    439       1.12  christos #endif
    440        1.1       mrg 
    441        1.1       mrg struct sunos32_sys_auditsys_args {
    442        1.1       mrg 	syscallarg(netbsd32_charp) record;
    443        1.1       mrg };
    444       1.20       dsl check_syscall_args(sunos32_sys_auditsys)
    445        1.1       mrg 
    446        1.1       mrg struct sunos32_sys_getdents_args {
    447        1.1       mrg 	syscallarg(int) fd;
    448        1.1       mrg 	syscallarg(netbsd32_charp) buf;
    449        1.1       mrg 	syscallarg(int) nbytes;
    450        1.1       mrg };
    451       1.20       dsl check_syscall_args(sunos32_sys_getdents)
    452       1.20       dsl 
    453       1.20       dsl struct netbsd32_fchdir_args;
    454       1.20       dsl 
    455       1.20       dsl struct netbsd32_fchroot_args;
    456        1.1       mrg 
    457        1.1       mrg struct sunos32_sys_sigpending_args {
    458        1.1       mrg 	syscallarg(netbsd32_intp) mask;
    459        1.1       mrg };
    460       1.20       dsl check_syscall_args(sunos32_sys_sigpending)
    461       1.20       dsl 
    462       1.20       dsl struct netbsd32_setpgid_args;
    463       1.20       dsl 
    464       1.20       dsl struct netbsd32_pathconf_args;
    465       1.20       dsl 
    466       1.20       dsl struct netbsd32_fpathconf_args;
    467        1.1       mrg 
    468        1.1       mrg struct sunos32_sys_sysconf_args {
    469        1.1       mrg 	syscallarg(int) name;
    470        1.1       mrg };
    471       1.20       dsl check_syscall_args(sunos32_sys_sysconf)
    472        1.1       mrg 
    473        1.1       mrg struct sunos32_sys_uname_args {
    474        1.1       mrg 	syscallarg(sunos32_utsnamep_t) name;
    475        1.1       mrg };
    476       1.20       dsl check_syscall_args(sunos32_sys_uname)
    477        1.1       mrg 
    478        1.1       mrg /*
    479        1.1       mrg  * System call prototypes.
    480        1.1       mrg  */
    481        1.1       mrg 
    482       1.20       dsl int	sys_nosys(struct lwp *, const void *, register_t *);
    483       1.12  christos 
    484       1.20       dsl int	netbsd32_exit(struct lwp *, const struct netbsd32_exit_args *, register_t *);
    485       1.12  christos 
    486       1.20       dsl int	sys_fork(struct lwp *, const void *, register_t *);
    487       1.12  christos 
    488       1.20       dsl int	netbsd32_read(struct lwp *, const struct netbsd32_read_args *, register_t *);
    489       1.12  christos 
    490       1.20       dsl int	netbsd32_write(struct lwp *, const struct netbsd32_write_args *, register_t *);
    491       1.12  christos 
    492       1.20       dsl int	sunos32_sys_open(struct lwp *, const struct sunos32_sys_open_args *, register_t *);
    493       1.12  christos 
    494       1.20       dsl int	netbsd32_close(struct lwp *, const struct netbsd32_close_args *, register_t *);
    495       1.12  christos 
    496       1.20       dsl int	sunos32_sys_wait4(struct lwp *, const struct sunos32_sys_wait4_args *, register_t *);
    497       1.12  christos 
    498       1.20       dsl int	sunos32_sys_creat(struct lwp *, const struct sunos32_sys_creat_args *, register_t *);
    499       1.12  christos 
    500       1.20       dsl int	netbsd32_link(struct lwp *, const struct netbsd32_link_args *, register_t *);
    501       1.12  christos 
    502       1.20       dsl int	netbsd32_unlink(struct lwp *, const struct netbsd32_unlink_args *, register_t *);
    503       1.12  christos 
    504       1.20       dsl int	sunos32_sys_execv(struct lwp *, const struct sunos32_sys_execv_args *, register_t *);
    505       1.12  christos 
    506       1.20       dsl int	netbsd32_chdir(struct lwp *, const struct netbsd32_chdir_args *, register_t *);
    507       1.12  christos 
    508       1.20       dsl int	sunos32_sys_mknod(struct lwp *, const struct sunos32_sys_mknod_args *, register_t *);
    509       1.12  christos 
    510       1.20       dsl int	netbsd32_chmod(struct lwp *, const struct netbsd32_chmod_args *, register_t *);
    511       1.12  christos 
    512       1.20       dsl int	netbsd32_chown(struct lwp *, const struct netbsd32_chown_args *, register_t *);
    513       1.12  christos 
    514       1.20       dsl int	netbsd32_break(struct lwp *, const struct netbsd32_break_args *, register_t *);
    515       1.12  christos 
    516       1.20       dsl int	compat_43_netbsd32_olseek(struct lwp *, const struct compat_43_netbsd32_olseek_args *, register_t *);
    517       1.12  christos 
    518       1.20       dsl int	sys_getpid_with_ppid(struct lwp *, const void *, register_t *);
    519       1.12  christos 
    520       1.20       dsl int	netbsd32_setuid(struct lwp *, const struct netbsd32_setuid_args *, register_t *);
    521       1.12  christos 
    522       1.20       dsl int	sys_getuid_with_euid(struct lwp *, const void *, register_t *);
    523       1.12  christos 
    524       1.20       dsl int	sunos32_sys_stime(struct lwp *, const struct sunos32_sys_stime_args *, register_t *);
    525       1.12  christos 
    526       1.20       dsl int	sunos32_sys_ptrace(struct lwp *, const struct sunos32_sys_ptrace_args *, register_t *);
    527       1.12  christos 
    528       1.20       dsl int	sunos32_sys_access(struct lwp *, const struct sunos32_sys_access_args *, register_t *);
    529       1.12  christos 
    530       1.20       dsl int	sys_sync(struct lwp *, const void *, register_t *);
    531       1.12  christos 
    532       1.20       dsl int	netbsd32_kill(struct lwp *, const struct netbsd32_kill_args *, register_t *);
    533       1.12  christos 
    534       1.20       dsl int	sunos32_sys_stat(struct lwp *, const struct sunos32_sys_stat_args *, register_t *);
    535       1.12  christos 
    536       1.20       dsl int	sunos32_sys_lstat(struct lwp *, const struct sunos32_sys_lstat_args *, register_t *);
    537       1.12  christos 
    538       1.20       dsl int	netbsd32_dup(struct lwp *, const struct netbsd32_dup_args *, register_t *);
    539       1.12  christos 
    540       1.20       dsl int	sys_pipe(struct lwp *, const void *, register_t *);
    541       1.12  christos 
    542       1.20       dsl int	netbsd32_profil(struct lwp *, const struct netbsd32_profil_args *, register_t *);
    543       1.12  christos 
    544       1.20       dsl int	netbsd32_setgid(struct lwp *, const struct netbsd32_setgid_args *, register_t *);
    545       1.12  christos 
    546       1.20       dsl int	sys_getgid_with_egid(struct lwp *, const void *, register_t *);
    547       1.12  christos 
    548       1.20       dsl int	netbsd32_acct(struct lwp *, const struct netbsd32_acct_args *, register_t *);
    549       1.12  christos 
    550       1.20       dsl int	sunos32_sys_mctl(struct lwp *, const struct sunos32_sys_mctl_args *, register_t *);
    551       1.12  christos 
    552       1.20       dsl int	sunos32_sys_ioctl(struct lwp *, const struct sunos32_sys_ioctl_args *, register_t *);
    553       1.12  christos 
    554       1.20       dsl int	sunos32_sys_reboot(struct lwp *, const struct sunos32_sys_reboot_args *, register_t *);
    555       1.12  christos 
    556       1.20       dsl int	netbsd32_symlink(struct lwp *, const struct netbsd32_symlink_args *, register_t *);
    557       1.12  christos 
    558       1.20       dsl int	netbsd32_readlink(struct lwp *, const struct netbsd32_readlink_args *, register_t *);
    559       1.12  christos 
    560       1.20       dsl int	sunos32_sys_execve(struct lwp *, const struct sunos32_sys_execve_args *, register_t *);
    561       1.12  christos 
    562       1.20       dsl int	netbsd32_umask(struct lwp *, const struct netbsd32_umask_args *, register_t *);
    563       1.12  christos 
    564       1.20       dsl int	netbsd32_chroot(struct lwp *, const struct netbsd32_chroot_args *, register_t *);
    565       1.12  christos 
    566       1.20       dsl int	compat_43_netbsd32_fstat43(struct lwp *, const struct compat_43_netbsd32_fstat43_args *, register_t *);
    567       1.12  christos 
    568       1.20       dsl int	compat_43_sys_getpagesize(struct lwp *, const void *, register_t *);
    569       1.12  christos 
    570       1.20       dsl int	sunos32_sys_omsync(struct lwp *, const struct sunos32_sys_omsync_args *, register_t *);
    571       1.12  christos 
    572       1.20       dsl int	sys_vfork(struct lwp *, const void *, register_t *);
    573       1.12  christos 
    574       1.20       dsl int	netbsd32_sbrk(struct lwp *, const struct netbsd32_sbrk_args *, register_t *);
    575       1.12  christos 
    576       1.20       dsl int	netbsd32_sstk(struct lwp *, const struct netbsd32_sstk_args *, register_t *);
    577       1.12  christos 
    578       1.20       dsl int	sunos32_sys_mmap(struct lwp *, const struct sunos32_sys_mmap_args *, register_t *);
    579       1.12  christos 
    580       1.20       dsl int	netbsd32_ovadvise(struct lwp *, const struct netbsd32_ovadvise_args *, register_t *);
    581       1.12  christos 
    582       1.20       dsl int	netbsd32_munmap(struct lwp *, const struct netbsd32_munmap_args *, register_t *);
    583       1.12  christos 
    584       1.20       dsl int	netbsd32_mprotect(struct lwp *, const struct netbsd32_mprotect_args *, register_t *);
    585       1.12  christos 
    586       1.20       dsl int	netbsd32_madvise(struct lwp *, const struct netbsd32_madvise_args *, register_t *);
    587       1.12  christos 
    588       1.20       dsl int	sunos32_sys_vhangup(struct lwp *, const void *, register_t *);
    589       1.12  christos 
    590       1.20       dsl int	netbsd32_mincore(struct lwp *, const struct netbsd32_mincore_args *, register_t *);
    591       1.12  christos 
    592       1.20       dsl int	netbsd32_getgroups(struct lwp *, const struct netbsd32_getgroups_args *, register_t *);
    593       1.12  christos 
    594       1.20       dsl int	netbsd32_setgroups(struct lwp *, const struct netbsd32_setgroups_args *, register_t *);
    595       1.12  christos 
    596       1.20       dsl int	sys_getpgrp(struct lwp *, const void *, register_t *);
    597       1.12  christos 
    598       1.20       dsl int	sunos32_sys_setpgrp(struct lwp *, const struct sunos32_sys_setpgrp_args *, register_t *);
    599       1.12  christos 
    600       1.20       dsl int	netbsd32_setitimer(struct lwp *, const struct netbsd32_setitimer_args *, register_t *);
    601       1.12  christos 
    602       1.20       dsl int	compat_12_netbsd32_oswapon(struct lwp *, const struct compat_12_netbsd32_oswapon_args *, register_t *);
    603       1.12  christos 
    604       1.20       dsl int	netbsd32_getitimer(struct lwp *, const struct netbsd32_getitimer_args *, register_t *);
    605       1.12  christos 
    606       1.20       dsl int	compat_43_netbsd32_ogethostname(struct lwp *, const struct compat_43_netbsd32_ogethostname_args *, register_t *);
    607       1.12  christos 
    608       1.20       dsl int	compat_43_netbsd32_osethostname(struct lwp *, const struct compat_43_netbsd32_osethostname_args *, register_t *);
    609       1.12  christos 
    610       1.20       dsl int	compat_43_sys_getdtablesize(struct lwp *, const void *, register_t *);
    611       1.12  christos 
    612       1.20       dsl int	netbsd32_dup2(struct lwp *, const struct netbsd32_dup2_args *, register_t *);
    613       1.12  christos 
    614       1.20       dsl int	sunos32_sys_fcntl(struct lwp *, const struct sunos32_sys_fcntl_args *, register_t *);
    615       1.12  christos 
    616       1.20       dsl int	netbsd32_select(struct lwp *, const struct netbsd32_select_args *, register_t *);
    617       1.12  christos 
    618       1.20       dsl int	netbsd32_fsync(struct lwp *, const struct netbsd32_fsync_args *, register_t *);
    619       1.12  christos 
    620       1.20       dsl int	netbsd32_setpriority(struct lwp *, const struct netbsd32_setpriority_args *, register_t *);
    621       1.12  christos 
    622       1.20       dsl int	sunos32_sys_socket(struct lwp *, const struct sunos32_sys_socket_args *, register_t *);
    623       1.12  christos 
    624       1.20       dsl int	netbsd32_connect(struct lwp *, const struct netbsd32_connect_args *, register_t *);
    625       1.12  christos 
    626       1.20       dsl int	compat_43_netbsd32_oaccept(struct lwp *, const struct compat_43_netbsd32_oaccept_args *, register_t *);
    627       1.12  christos 
    628       1.20       dsl int	netbsd32_getpriority(struct lwp *, const struct netbsd32_getpriority_args *, register_t *);
    629       1.12  christos 
    630       1.20       dsl int	compat_43_netbsd32_osend(struct lwp *, const struct compat_43_netbsd32_osend_args *, register_t *);
    631       1.12  christos 
    632       1.20       dsl int	compat_43_netbsd32_orecv(struct lwp *, const struct compat_43_netbsd32_orecv_args *, register_t *);
    633       1.12  christos 
    634       1.20       dsl int	netbsd32_bind(struct lwp *, const struct netbsd32_bind_args *, register_t *);
    635       1.12  christos 
    636       1.20       dsl int	sunos32_sys_setsockopt(struct lwp *, const struct sunos32_sys_setsockopt_args *, register_t *);
    637       1.12  christos 
    638       1.20       dsl int	netbsd32_listen(struct lwp *, const struct netbsd32_listen_args *, register_t *);
    639       1.12  christos 
    640       1.20       dsl int	sunos32_sys_sigvec(struct lwp *, const struct sunos32_sys_sigvec_args *, register_t *);
    641       1.12  christos 
    642       1.20       dsl int	compat_43_netbsd32_sigblock(struct lwp *, const struct compat_43_netbsd32_sigblock_args *, register_t *);
    643       1.12  christos 
    644       1.20       dsl int	compat_43_netbsd32_sigsetmask(struct lwp *, const struct compat_43_netbsd32_sigsetmask_args *, register_t *);
    645       1.12  christos 
    646       1.20       dsl int	sunos32_sys_sigsuspend(struct lwp *, const struct sunos32_sys_sigsuspend_args *, register_t *);
    647       1.12  christos 
    648       1.20       dsl int	compat_43_netbsd32_osigstack(struct lwp *, const struct compat_43_netbsd32_osigstack_args *, register_t *);
    649       1.12  christos 
    650       1.20       dsl int	compat_43_netbsd32_orecvmsg(struct lwp *, const struct compat_43_netbsd32_orecvmsg_args *, register_t *);
    651       1.12  christos 
    652       1.20       dsl int	compat_43_netbsd32_osendmsg(struct lwp *, const struct compat_43_netbsd32_osendmsg_args *, register_t *);
    653       1.12  christos 
    654       1.20       dsl int	netbsd32_gettimeofday(struct lwp *, const struct netbsd32_gettimeofday_args *, register_t *);
    655       1.12  christos 
    656       1.20       dsl int	netbsd32_getrusage(struct lwp *, const struct netbsd32_getrusage_args *, register_t *);
    657       1.12  christos 
    658       1.20       dsl int	netbsd32_getsockopt(struct lwp *, const struct netbsd32_getsockopt_args *, register_t *);
    659       1.12  christos 
    660       1.20       dsl int	netbsd32_readv(struct lwp *, const struct netbsd32_readv_args *, register_t *);
    661       1.12  christos 
    662       1.20       dsl int	netbsd32_writev(struct lwp *, const struct netbsd32_writev_args *, register_t *);
    663       1.12  christos 
    664       1.20       dsl int	netbsd32_settimeofday(struct lwp *, const struct netbsd32_settimeofday_args *, register_t *);
    665       1.12  christos 
    666       1.20       dsl int	netbsd32_fchown(struct lwp *, const struct netbsd32_fchown_args *, register_t *);
    667       1.12  christos 
    668       1.20       dsl int	netbsd32_fchmod(struct lwp *, const struct netbsd32_fchmod_args *, register_t *);
    669       1.12  christos 
    670       1.20       dsl int	compat_43_netbsd32_orecvfrom(struct lwp *, const struct compat_43_netbsd32_orecvfrom_args *, register_t *);
    671       1.12  christos 
    672       1.20       dsl int	netbsd32_setreuid(struct lwp *, const struct netbsd32_setreuid_args *, register_t *);
    673       1.12  christos 
    674       1.20       dsl int	netbsd32_setregid(struct lwp *, const struct netbsd32_setregid_args *, register_t *);
    675       1.12  christos 
    676       1.20       dsl int	netbsd32_rename(struct lwp *, const struct netbsd32_rename_args *, register_t *);
    677       1.12  christos 
    678       1.20       dsl int	compat_43_netbsd32_otruncate(struct lwp *, const struct compat_43_netbsd32_otruncate_args *, register_t *);
    679       1.12  christos 
    680       1.20       dsl int	compat_43_netbsd32_oftruncate(struct lwp *, const struct compat_43_netbsd32_oftruncate_args *, register_t *);
    681       1.12  christos 
    682       1.20       dsl int	netbsd32_flock(struct lwp *, const struct netbsd32_flock_args *, register_t *);
    683       1.12  christos 
    684       1.20       dsl int	netbsd32_sendto(struct lwp *, const struct netbsd32_sendto_args *, register_t *);
    685       1.12  christos 
    686       1.20       dsl int	netbsd32_shutdown(struct lwp *, const struct netbsd32_shutdown_args *, register_t *);
    687       1.12  christos 
    688       1.20       dsl int	sunos32_sys_socketpair(struct lwp *, const struct sunos32_sys_socketpair_args *, register_t *);
    689       1.12  christos 
    690       1.20       dsl int	netbsd32_mkdir(struct lwp *, const struct netbsd32_mkdir_args *, register_t *);
    691       1.12  christos 
    692       1.20       dsl int	netbsd32_rmdir(struct lwp *, const struct netbsd32_rmdir_args *, register_t *);
    693       1.12  christos 
    694       1.20       dsl int	netbsd32_utimes(struct lwp *, const struct netbsd32_utimes_args *, register_t *);
    695       1.12  christos 
    696       1.20       dsl int	sunos32_sys_sigreturn(struct lwp *, const struct sunos32_sys_sigreturn_args *, register_t *);
    697       1.12  christos 
    698       1.20       dsl int	netbsd32_adjtime(struct lwp *, const struct netbsd32_adjtime_args *, register_t *);
    699       1.12  christos 
    700       1.20       dsl int	compat_43_netbsd32_ogetpeername(struct lwp *, const struct compat_43_netbsd32_ogetpeername_args *, register_t *);
    701       1.12  christos 
    702       1.20       dsl int	compat_43_sys_gethostid(struct lwp *, const void *, register_t *);
    703       1.12  christos 
    704       1.20       dsl int	sunos32_sys_getrlimit(struct lwp *, const struct sunos32_sys_getrlimit_args *, register_t *);
    705       1.12  christos 
    706       1.20       dsl int	sunos32_sys_setrlimit(struct lwp *, const struct sunos32_sys_setrlimit_args *, register_t *);
    707       1.12  christos 
    708       1.20       dsl int	compat_43_netbsd32_killpg(struct lwp *, const struct compat_43_netbsd32_killpg_args *, register_t *);
    709       1.12  christos 
    710       1.20       dsl int	compat_43_netbsd32_ogetsockname(struct lwp *, const struct compat_43_netbsd32_ogetsockname_args *, register_t *);
    711       1.12  christos 
    712       1.20       dsl int	netbsd32_poll(struct lwp *, const struct netbsd32_poll_args *, register_t *);
    713       1.12  christos 
    714       1.20       dsl int	sunos32_sys_nfssvc(struct lwp *, const struct sunos32_sys_nfssvc_args *, register_t *);
    715       1.12  christos 
    716       1.20       dsl int	compat_43_netbsd32_ogetdirentries(struct lwp *, const struct compat_43_netbsd32_ogetdirentries_args *, register_t *);
    717       1.12  christos 
    718       1.20       dsl int	sunos32_sys_statfs(struct lwp *, const struct sunos32_sys_statfs_args *, register_t *);
    719       1.12  christos 
    720       1.20       dsl int	sunos32_sys_fstatfs(struct lwp *, const struct sunos32_sys_fstatfs_args *, register_t *);
    721       1.12  christos 
    722       1.20       dsl int	sunos32_sys_unmount(struct lwp *, const struct sunos32_sys_unmount_args *, register_t *);
    723       1.12  christos 
    724        1.1       mrg #ifdef NFS
    725       1.20       dsl int	async_daemon(struct lwp *, const void *, register_t *);
    726       1.12  christos 
    727       1.20       dsl int	compat_30_sys_getfh(struct lwp *, const struct compat_30_sys_getfh_args *, register_t *);
    728       1.12  christos 
    729        1.1       mrg #else
    730        1.1       mrg #endif
    731       1.20       dsl int	compat_09_netbsd32_ogetdomainname(struct lwp *, const struct compat_09_netbsd32_ogetdomainname_args *, register_t *);
    732       1.12  christos 
    733       1.20       dsl int	compat_09_netbsd32_osetdomainname(struct lwp *, const struct compat_09_netbsd32_osetdomainname_args *, register_t *);
    734       1.12  christos 
    735       1.20       dsl int	sunos32_sys_quotactl(struct lwp *, const struct sunos32_sys_quotactl_args *, register_t *);
    736       1.12  christos 
    737       1.20       dsl int	sunos32_sys_exportfs(struct lwp *, const struct sunos32_sys_exportfs_args *, register_t *);
    738       1.12  christos 
    739       1.20       dsl int	sunos32_sys_mount(struct lwp *, const struct sunos32_sys_mount_args *, register_t *);
    740       1.12  christos 
    741       1.20       dsl int	sunos32_sys_ustat(struct lwp *, const struct sunos32_sys_ustat_args *, register_t *);
    742       1.12  christos 
    743        1.1       mrg #ifdef SYSVSEM
    744       1.20       dsl int	compat_10_netbsd32_sys_semsys(struct lwp *, const struct compat_10_netbsd32_sys_semsys_args *, register_t *);
    745       1.12  christos 
    746        1.1       mrg #else
    747        1.1       mrg #endif
    748        1.1       mrg #ifdef SYSVMSG
    749       1.20       dsl int	compat_10_netbsd32_sys_msgsys(struct lwp *, const struct compat_10_netbsd32_sys_msgsys_args *, register_t *);
    750       1.12  christos 
    751        1.1       mrg #else
    752        1.1       mrg #endif
    753        1.1       mrg #ifdef SYSVSHM
    754       1.20       dsl int	compat_10_netbsd32_sys_shmsys(struct lwp *, const struct compat_10_netbsd32_sys_shmsys_args *, register_t *);
    755       1.12  christos 
    756        1.1       mrg #else
    757        1.1       mrg #endif
    758       1.20       dsl int	sunos32_sys_auditsys(struct lwp *, const struct sunos32_sys_auditsys_args *, register_t *);
    759       1.12  christos 
    760       1.20       dsl int	sunos32_sys_getdents(struct lwp *, const struct sunos32_sys_getdents_args *, register_t *);
    761       1.12  christos 
    762       1.20       dsl int	sys_setsid(struct lwp *, const void *, register_t *);
    763       1.12  christos 
    764       1.20       dsl int	netbsd32_fchdir(struct lwp *, const struct netbsd32_fchdir_args *, register_t *);
    765       1.12  christos 
    766       1.20       dsl int	netbsd32_fchroot(struct lwp *, const struct netbsd32_fchroot_args *, register_t *);
    767       1.12  christos 
    768       1.20       dsl int	sunos32_sys_sigpending(struct lwp *, const struct sunos32_sys_sigpending_args *, register_t *);
    769       1.12  christos 
    770       1.20       dsl int	netbsd32_setpgid(struct lwp *, const struct netbsd32_setpgid_args *, register_t *);
    771       1.12  christos 
    772       1.20       dsl int	netbsd32_pathconf(struct lwp *, const struct netbsd32_pathconf_args *, register_t *);
    773       1.12  christos 
    774       1.20       dsl int	netbsd32_fpathconf(struct lwp *, const struct netbsd32_fpathconf_args *, register_t *);
    775       1.12  christos 
    776       1.20       dsl int	sunos32_sys_sysconf(struct lwp *, const struct sunos32_sys_sysconf_args *, register_t *);
    777       1.12  christos 
    778       1.20       dsl int	sunos32_sys_uname(struct lwp *, const struct sunos32_sys_uname_args *, register_t *);
    779       1.12  christos 
    780       1.17     pavel #endif /* _SUNOS32_SYS_SYSCALLARGS_H_ */
    781