Home | History | Annotate | Line # | Download | only in netbsd32
netbsd32_syscallargs.h revision 1.59
      1  1.48      cube /* $NetBSD: netbsd32_syscallargs.h,v 1.59 2006/08/30 13:58:51 cube 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.59      cube  * created from	NetBSD: syscalls.master,v 1.52 2006/08/30 13:57:47 cube Exp
      8   1.1       mrg  */
      9   1.1       mrg 
     10  1.48      cube #ifndef _netbsd32_SYS_SYSCALLARGS_H_
     11  1.48      cube #define	_netbsd32_SYS_SYSCALLARGS_H_
     12   1.7       mrg 
     13   1.4       eeh #ifdef	syscallarg
     14   1.4       eeh #undef	syscallarg
     15   1.4       eeh #endif
     16   1.4       eeh 
     17  1.11       eeh #define	syscallarg(x)							\
     18  1.11       eeh 	union {								\
     19  1.11       eeh 		register32_t pad;						\
     20  1.11       eeh 		struct { x datum; } le;					\
     21  1.25     lukem 		struct { /* LINTED zero array dimension */		\
     22  1.25     lukem 			int8_t pad[  /* CONSTCOND */			\
     23  1.25     lukem 				(sizeof (register32_t) < sizeof (x))	\
     24  1.11       eeh 				? 0					\
     25  1.11       eeh 				: sizeof (register32_t) - sizeof (x)];	\
     26  1.11       eeh 			x datum;					\
     27  1.11       eeh 		} be;							\
     28  1.11       eeh 	}
     29   1.4       eeh 
     30  1.11       eeh struct netbsd32_exit_args {
     31   1.4       eeh 	syscallarg(int) rval;
     32   1.4       eeh };
     33   1.1       mrg 
     34  1.11       eeh struct netbsd32_read_args {
     35   1.1       mrg 	syscallarg(int) fd;
     36   1.8       mrg 	syscallarg(netbsd32_voidp) buf;
     37   1.8       mrg 	syscallarg(netbsd32_size_t) nbyte;
     38   1.1       mrg };
     39   1.1       mrg 
     40  1.11       eeh struct netbsd32_write_args {
     41   1.1       mrg 	syscallarg(int) fd;
     42   1.8       mrg 	syscallarg(const netbsd32_voidp) buf;
     43   1.8       mrg 	syscallarg(netbsd32_size_t) nbyte;
     44   1.1       mrg };
     45   1.1       mrg 
     46  1.11       eeh struct netbsd32_open_args {
     47   1.8       mrg 	syscallarg(const netbsd32_charp) path;
     48   1.1       mrg 	syscallarg(int) flags;
     49   1.1       mrg 	syscallarg(mode_t) mode;
     50   1.1       mrg };
     51   1.1       mrg 
     52  1.11       eeh struct netbsd32_close_args {
     53   1.4       eeh 	syscallarg(int) fd;
     54   1.4       eeh };
     55   1.4       eeh 
     56  1.11       eeh struct netbsd32_wait4_args {
     57   1.1       mrg 	syscallarg(int) pid;
     58   1.8       mrg 	syscallarg(netbsd32_intp) status;
     59   1.1       mrg 	syscallarg(int) options;
     60   1.8       mrg 	syscallarg(netbsd32_rusagep_t) rusage;
     61   1.1       mrg };
     62   1.1       mrg 
     63  1.11       eeh struct compat_43_netbsd32_ocreat_args {
     64   1.8       mrg 	syscallarg(const netbsd32_charp) path;
     65   1.1       mrg 	syscallarg(mode_t) mode;
     66   1.1       mrg };
     67   1.1       mrg 
     68  1.11       eeh struct netbsd32_link_args {
     69   1.8       mrg 	syscallarg(const netbsd32_charp) path;
     70   1.8       mrg 	syscallarg(const netbsd32_charp) link;
     71   1.1       mrg };
     72   1.1       mrg 
     73  1.11       eeh struct netbsd32_unlink_args {
     74   1.8       mrg 	syscallarg(const netbsd32_charp) path;
     75   1.1       mrg };
     76   1.1       mrg 
     77  1.11       eeh struct netbsd32_chdir_args {
     78   1.8       mrg 	syscallarg(const netbsd32_charp) path;
     79   1.1       mrg };
     80   1.1       mrg 
     81  1.11       eeh struct netbsd32_fchdir_args {
     82   1.4       eeh 	syscallarg(int) fd;
     83   1.4       eeh };
     84   1.4       eeh 
     85  1.11       eeh struct netbsd32_mknod_args {
     86   1.8       mrg 	syscallarg(const netbsd32_charp) path;
     87   1.1       mrg 	syscallarg(mode_t) mode;
     88   1.1       mrg 	syscallarg(dev_t) dev;
     89   1.1       mrg };
     90   1.1       mrg 
     91  1.11       eeh struct netbsd32_chmod_args {
     92   1.8       mrg 	syscallarg(const netbsd32_charp) path;
     93   1.1       mrg 	syscallarg(mode_t) mode;
     94   1.1       mrg };
     95   1.1       mrg 
     96  1.11       eeh struct netbsd32_chown_args {
     97   1.8       mrg 	syscallarg(const netbsd32_charp) path;
     98   1.1       mrg 	syscallarg(uid_t) uid;
     99   1.1       mrg 	syscallarg(gid_t) gid;
    100   1.1       mrg };
    101   1.1       mrg 
    102  1.11       eeh struct netbsd32_break_args {
    103   1.8       mrg 	syscallarg(netbsd32_charp) nsize;
    104   1.1       mrg };
    105   1.1       mrg 
    106  1.32      cube struct compat_20_netbsd32_getfsstat_args {
    107   1.8       mrg 	syscallarg(netbsd32_statfsp_t) buf;
    108   1.8       mrg 	syscallarg(netbsd32_long) bufsize;
    109   1.1       mrg 	syscallarg(int) flags;
    110   1.1       mrg };
    111   1.1       mrg 
    112  1.11       eeh struct compat_43_netbsd32_olseek_args {
    113   1.1       mrg 	syscallarg(int) fd;
    114   1.8       mrg 	syscallarg(netbsd32_long) offset;
    115   1.1       mrg 	syscallarg(int) whence;
    116   1.1       mrg };
    117   1.1       mrg 
    118  1.11       eeh struct netbsd32_mount_args {
    119   1.8       mrg 	syscallarg(const netbsd32_charp) type;
    120   1.8       mrg 	syscallarg(const netbsd32_charp) path;
    121   1.1       mrg 	syscallarg(int) flags;
    122   1.8       mrg 	syscallarg(netbsd32_voidp) data;
    123   1.1       mrg };
    124   1.1       mrg 
    125  1.11       eeh struct netbsd32_unmount_args {
    126   1.8       mrg 	syscallarg(const netbsd32_charp) path;
    127   1.1       mrg 	syscallarg(int) flags;
    128   1.1       mrg };
    129   1.1       mrg 
    130  1.11       eeh struct netbsd32_setuid_args {
    131   1.4       eeh 	syscallarg(uid_t) uid;
    132   1.4       eeh };
    133  1.59      cube #if defined(PTRACE) || !defined(_KERNEL)
    134   1.4       eeh 
    135  1.11       eeh struct netbsd32_ptrace_args {
    136   1.1       mrg 	syscallarg(int) req;
    137   1.1       mrg 	syscallarg(pid_t) pid;
    138   1.8       mrg 	syscallarg(netbsd32_caddr_t) addr;
    139   1.1       mrg 	syscallarg(int) data;
    140   1.1       mrg };
    141  1.59      cube #else
    142  1.59      cube #endif
    143   1.1       mrg 
    144  1.11       eeh struct netbsd32_recvmsg_args {
    145   1.1       mrg 	syscallarg(int) s;
    146   1.8       mrg 	syscallarg(netbsd32_msghdrp_t) msg;
    147   1.1       mrg 	syscallarg(int) flags;
    148   1.1       mrg };
    149   1.1       mrg 
    150  1.11       eeh struct netbsd32_sendmsg_args {
    151   1.1       mrg 	syscallarg(int) s;
    152   1.8       mrg 	syscallarg(const netbsd32_msghdrp_t) msg;
    153   1.1       mrg 	syscallarg(int) flags;
    154   1.1       mrg };
    155   1.1       mrg 
    156  1.11       eeh struct netbsd32_recvfrom_args {
    157   1.1       mrg 	syscallarg(int) s;
    158   1.8       mrg 	syscallarg(netbsd32_voidp) buf;
    159   1.8       mrg 	syscallarg(netbsd32_size_t) len;
    160   1.1       mrg 	syscallarg(int) flags;
    161   1.8       mrg 	syscallarg(netbsd32_sockaddrp_t) from;
    162   1.8       mrg 	syscallarg(netbsd32_intp) fromlenaddr;
    163   1.1       mrg };
    164   1.1       mrg 
    165  1.11       eeh struct netbsd32_accept_args {
    166   1.1       mrg 	syscallarg(int) s;
    167   1.8       mrg 	syscallarg(netbsd32_sockaddrp_t) name;
    168   1.8       mrg 	syscallarg(netbsd32_intp) anamelen;
    169   1.1       mrg };
    170   1.1       mrg 
    171  1.11       eeh struct netbsd32_getpeername_args {
    172   1.1       mrg 	syscallarg(int) fdes;
    173   1.8       mrg 	syscallarg(netbsd32_sockaddrp_t) asa;
    174   1.8       mrg 	syscallarg(netbsd32_intp) alen;
    175   1.1       mrg };
    176   1.1       mrg 
    177  1.11       eeh struct netbsd32_getsockname_args {
    178   1.1       mrg 	syscallarg(int) fdes;
    179   1.8       mrg 	syscallarg(netbsd32_sockaddrp_t) asa;
    180   1.8       mrg 	syscallarg(netbsd32_intp) alen;
    181   1.1       mrg };
    182   1.1       mrg 
    183  1.11       eeh struct netbsd32_access_args {
    184   1.8       mrg 	syscallarg(const netbsd32_charp) path;
    185   1.1       mrg 	syscallarg(int) flags;
    186   1.1       mrg };
    187   1.1       mrg 
    188  1.11       eeh struct netbsd32_chflags_args {
    189   1.8       mrg 	syscallarg(const netbsd32_charp) path;
    190   1.8       mrg 	syscallarg(netbsd32_u_long) flags;
    191   1.1       mrg };
    192   1.1       mrg 
    193  1.11       eeh struct netbsd32_fchflags_args {
    194   1.1       mrg 	syscallarg(int) fd;
    195   1.8       mrg 	syscallarg(netbsd32_u_long) flags;
    196   1.1       mrg };
    197   1.1       mrg 
    198  1.11       eeh struct netbsd32_kill_args {
    199   1.4       eeh 	syscallarg(int) pid;
    200   1.4       eeh 	syscallarg(int) signum;
    201   1.4       eeh };
    202   1.4       eeh 
    203  1.11       eeh struct compat_43_netbsd32_stat43_args {
    204   1.8       mrg 	syscallarg(const netbsd32_charp) path;
    205   1.8       mrg 	syscallarg(netbsd32_stat43p_t) ub;
    206   1.1       mrg };
    207   1.1       mrg 
    208  1.11       eeh struct compat_43_netbsd32_lstat43_args {
    209   1.8       mrg 	syscallarg(const netbsd32_charp) path;
    210   1.8       mrg 	syscallarg(netbsd32_stat43p_t) ub;
    211   1.1       mrg };
    212   1.1       mrg 
    213  1.11       eeh struct netbsd32_dup_args {
    214   1.4       eeh 	syscallarg(int) fd;
    215   1.4       eeh };
    216   1.4       eeh 
    217  1.11       eeh struct netbsd32_profil_args {
    218   1.8       mrg 	syscallarg(netbsd32_caddr_t) samples;
    219   1.8       mrg 	syscallarg(netbsd32_size_t) size;
    220   1.8       mrg 	syscallarg(netbsd32_u_long) offset;
    221   1.1       mrg 	syscallarg(u_int) scale;
    222   1.1       mrg };
    223  1.30      fvdl #if defined(KTRACE) || !defined(_KERNEL)
    224   1.1       mrg 
    225  1.11       eeh struct netbsd32_ktrace_args {
    226   1.8       mrg 	syscallarg(const netbsd32_charp) fname;
    227   1.1       mrg 	syscallarg(int) ops;
    228   1.1       mrg 	syscallarg(int) facs;
    229   1.1       mrg 	syscallarg(int) pid;
    230   1.1       mrg };
    231  1.30      fvdl #else
    232  1.30      fvdl #endif
    233   1.1       mrg 
    234  1.11       eeh struct netbsd32_sigaction_args {
    235   1.1       mrg 	syscallarg(int) signum;
    236   1.8       mrg 	syscallarg(const netbsd32_sigactionp_t) nsa;
    237   1.8       mrg 	syscallarg(netbsd32_sigactionp_t) osa;
    238   1.1       mrg };
    239   1.1       mrg 
    240  1.11       eeh struct compat_13_netbsd32_sigprocmask_args {
    241   1.4       eeh 	syscallarg(int) how;
    242   1.4       eeh 	syscallarg(int) mask;
    243   1.4       eeh };
    244   1.4       eeh 
    245  1.11       eeh struct netbsd32___getlogin_args {
    246   1.8       mrg 	syscallarg(netbsd32_charp) namebuf;
    247   1.1       mrg 	syscallarg(u_int) namelen;
    248   1.1       mrg };
    249   1.1       mrg 
    250  1.11       eeh struct netbsd32_setlogin_args {
    251   1.8       mrg 	syscallarg(const netbsd32_charp) namebuf;
    252   1.1       mrg };
    253   1.1       mrg 
    254  1.11       eeh struct netbsd32_acct_args {
    255   1.8       mrg 	syscallarg(const netbsd32_charp) path;
    256   1.1       mrg };
    257   1.1       mrg 
    258  1.11       eeh struct compat_13_netbsd32_sigaltstack13_args {
    259   1.8       mrg 	syscallarg(const netbsd32_sigaltstack13p_t) nss;
    260   1.8       mrg 	syscallarg(netbsd32_sigaltstack13p_t) oss;
    261   1.1       mrg };
    262   1.1       mrg 
    263  1.11       eeh struct netbsd32_ioctl_args {
    264   1.1       mrg 	syscallarg(int) fd;
    265   1.8       mrg 	syscallarg(netbsd32_u_long) com;
    266   1.8       mrg 	syscallarg(netbsd32_voidp) data;
    267   1.1       mrg };
    268   1.1       mrg 
    269  1.11       eeh struct compat_12_netbsd32_reboot_args {
    270   1.4       eeh 	syscallarg(int) opt;
    271   1.4       eeh };
    272   1.4       eeh 
    273  1.11       eeh struct netbsd32_revoke_args {
    274   1.8       mrg 	syscallarg(const netbsd32_charp) path;
    275   1.1       mrg };
    276   1.1       mrg 
    277  1.11       eeh struct netbsd32_symlink_args {
    278   1.8       mrg 	syscallarg(const netbsd32_charp) path;
    279   1.8       mrg 	syscallarg(const netbsd32_charp) link;
    280   1.1       mrg };
    281   1.1       mrg 
    282  1.11       eeh struct netbsd32_readlink_args {
    283   1.8       mrg 	syscallarg(const netbsd32_charp) path;
    284   1.8       mrg 	syscallarg(netbsd32_charp) buf;
    285   1.8       mrg 	syscallarg(netbsd32_size_t) count;
    286   1.1       mrg };
    287   1.1       mrg 
    288  1.11       eeh struct netbsd32_execve_args {
    289   1.8       mrg 	syscallarg(const netbsd32_charp) path;
    290   1.8       mrg 	syscallarg(netbsd32_charpp) argp;
    291   1.8       mrg 	syscallarg(netbsd32_charpp) envp;
    292   1.1       mrg };
    293   1.1       mrg 
    294  1.11       eeh struct netbsd32_umask_args {
    295   1.4       eeh 	syscallarg(mode_t) newmask;
    296   1.4       eeh };
    297   1.4       eeh 
    298  1.11       eeh struct netbsd32_chroot_args {
    299   1.8       mrg 	syscallarg(const netbsd32_charp) path;
    300   1.1       mrg };
    301   1.1       mrg 
    302  1.11       eeh struct compat_43_netbsd32_fstat43_args {
    303   1.1       mrg 	syscallarg(int) fd;
    304   1.8       mrg 	syscallarg(netbsd32_stat43p_t) sb;
    305   1.1       mrg };
    306   1.1       mrg 
    307  1.11       eeh struct compat_43_netbsd32_ogetkerninfo_args {
    308   1.1       mrg 	syscallarg(int) op;
    309   1.8       mrg 	syscallarg(netbsd32_charp) where;
    310   1.8       mrg 	syscallarg(netbsd32_intp) size;
    311   1.1       mrg 	syscallarg(int) arg;
    312   1.1       mrg };
    313   1.1       mrg 
    314  1.11       eeh struct compat_12_netbsd32_msync_args {
    315   1.8       mrg 	syscallarg(netbsd32_caddr_t) addr;
    316   1.8       mrg 	syscallarg(netbsd32_size_t) len;
    317   1.1       mrg };
    318   1.1       mrg 
    319  1.11       eeh struct netbsd32_sbrk_args {
    320  1.11       eeh 	syscallarg(netbsd32_intptr_t) incr;
    321   1.4       eeh };
    322   1.4       eeh 
    323  1.11       eeh struct netbsd32_sstk_args {
    324   1.4       eeh 	syscallarg(int) incr;
    325   1.4       eeh };
    326   1.4       eeh 
    327  1.11       eeh struct compat_43_netbsd32_ommap_args {
    328   1.8       mrg 	syscallarg(netbsd32_caddr_t) addr;
    329   1.8       mrg 	syscallarg(netbsd32_size_t) len;
    330   1.1       mrg 	syscallarg(int) prot;
    331   1.1       mrg 	syscallarg(int) flags;
    332   1.1       mrg 	syscallarg(int) fd;
    333   1.8       mrg 	syscallarg(netbsd32_long) pos;
    334   1.1       mrg };
    335   1.1       mrg 
    336  1.11       eeh struct netbsd32_ovadvise_args {
    337   1.4       eeh 	syscallarg(int) anom;
    338   1.4       eeh };
    339   1.4       eeh 
    340  1.11       eeh struct netbsd32_munmap_args {
    341   1.8       mrg 	syscallarg(netbsd32_voidp) addr;
    342   1.8       mrg 	syscallarg(netbsd32_size_t) len;
    343   1.1       mrg };
    344   1.1       mrg 
    345  1.11       eeh struct netbsd32_mprotect_args {
    346   1.8       mrg 	syscallarg(netbsd32_voidp) addr;
    347   1.8       mrg 	syscallarg(netbsd32_size_t) len;
    348   1.1       mrg 	syscallarg(int) prot;
    349   1.1       mrg };
    350   1.1       mrg 
    351  1.11       eeh struct netbsd32_madvise_args {
    352   1.8       mrg 	syscallarg(netbsd32_voidp) addr;
    353   1.8       mrg 	syscallarg(netbsd32_size_t) len;
    354   1.1       mrg 	syscallarg(int) behav;
    355   1.1       mrg };
    356   1.1       mrg 
    357  1.11       eeh struct netbsd32_mincore_args {
    358   1.8       mrg 	syscallarg(netbsd32_caddr_t) addr;
    359   1.8       mrg 	syscallarg(netbsd32_size_t) len;
    360   1.8       mrg 	syscallarg(netbsd32_charp) vec;
    361   1.1       mrg };
    362   1.1       mrg 
    363  1.11       eeh struct netbsd32_getgroups_args {
    364   1.1       mrg 	syscallarg(int) gidsetsize;
    365   1.8       mrg 	syscallarg(netbsd32_gid_tp) gidset;
    366   1.1       mrg };
    367   1.1       mrg 
    368  1.11       eeh struct netbsd32_setgroups_args {
    369   1.1       mrg 	syscallarg(int) gidsetsize;
    370   1.8       mrg 	syscallarg(const netbsd32_gid_tp) gidset;
    371   1.1       mrg };
    372   1.1       mrg 
    373  1.11       eeh struct netbsd32_setpgid_args {
    374   1.4       eeh 	syscallarg(int) pid;
    375   1.4       eeh 	syscallarg(int) pgid;
    376   1.4       eeh };
    377   1.4       eeh 
    378  1.11       eeh struct netbsd32_setitimer_args {
    379   1.1       mrg 	syscallarg(int) which;
    380   1.8       mrg 	syscallarg(const netbsd32_itimervalp_t) itv;
    381   1.8       mrg 	syscallarg(netbsd32_itimervalp_t) oitv;
    382   1.1       mrg };
    383   1.1       mrg 
    384  1.11       eeh struct compat_12_netbsd32_oswapon_args {
    385   1.8       mrg 	syscallarg(const netbsd32_charp) name;
    386   1.1       mrg };
    387   1.1       mrg 
    388  1.11       eeh struct netbsd32_getitimer_args {
    389   1.1       mrg 	syscallarg(int) which;
    390   1.8       mrg 	syscallarg(netbsd32_itimervalp_t) itv;
    391   1.1       mrg };
    392   1.1       mrg 
    393  1.11       eeh struct compat_43_netbsd32_ogethostname_args {
    394   1.8       mrg 	syscallarg(netbsd32_charp) hostname;
    395   1.1       mrg 	syscallarg(u_int) len;
    396   1.1       mrg };
    397   1.1       mrg 
    398  1.11       eeh struct compat_43_netbsd32_osethostname_args {
    399   1.8       mrg 	syscallarg(netbsd32_charp) hostname;
    400   1.1       mrg 	syscallarg(u_int) len;
    401   1.1       mrg };
    402   1.1       mrg 
    403  1.11       eeh struct netbsd32_dup2_args {
    404   1.4       eeh 	syscallarg(int) from;
    405   1.4       eeh 	syscallarg(int) to;
    406   1.4       eeh };
    407   1.4       eeh 
    408  1.11       eeh struct netbsd32_fcntl_args {
    409   1.1       mrg 	syscallarg(int) fd;
    410   1.1       mrg 	syscallarg(int) cmd;
    411   1.8       mrg 	syscallarg(netbsd32_voidp) arg;
    412   1.1       mrg };
    413   1.1       mrg 
    414  1.11       eeh struct netbsd32_select_args {
    415   1.1       mrg 	syscallarg(int) nd;
    416   1.8       mrg 	syscallarg(netbsd32_fd_setp_t) in;
    417   1.8       mrg 	syscallarg(netbsd32_fd_setp_t) ou;
    418   1.8       mrg 	syscallarg(netbsd32_fd_setp_t) ex;
    419   1.8       mrg 	syscallarg(netbsd32_timevalp_t) tv;
    420   1.1       mrg };
    421   1.1       mrg 
    422  1.11       eeh struct netbsd32_fsync_args {
    423   1.4       eeh 	syscallarg(int) fd;
    424   1.4       eeh };
    425   1.4       eeh 
    426  1.11       eeh struct netbsd32_setpriority_args {
    427   1.4       eeh 	syscallarg(int) which;
    428   1.4       eeh 	syscallarg(int) who;
    429   1.4       eeh 	syscallarg(int) prio;
    430   1.4       eeh };
    431   1.4       eeh 
    432  1.54       mrg struct compat_30_netbsd32_socket_args {
    433   1.4       eeh 	syscallarg(int) domain;
    434   1.4       eeh 	syscallarg(int) type;
    435   1.4       eeh 	syscallarg(int) protocol;
    436   1.4       eeh };
    437   1.4       eeh 
    438  1.11       eeh struct netbsd32_connect_args {
    439   1.1       mrg 	syscallarg(int) s;
    440   1.8       mrg 	syscallarg(const netbsd32_sockaddrp_t) name;
    441   1.1       mrg 	syscallarg(int) namelen;
    442   1.1       mrg };
    443   1.1       mrg 
    444  1.11       eeh struct compat_43_netbsd32_oaccept_args {
    445   1.1       mrg 	syscallarg(int) s;
    446   1.8       mrg 	syscallarg(netbsd32_caddr_t) name;
    447   1.8       mrg 	syscallarg(netbsd32_intp) anamelen;
    448   1.1       mrg };
    449   1.1       mrg 
    450  1.11       eeh struct netbsd32_getpriority_args {
    451   1.4       eeh 	syscallarg(int) which;
    452   1.4       eeh 	syscallarg(int) who;
    453   1.4       eeh };
    454   1.4       eeh 
    455  1.11       eeh struct compat_43_netbsd32_osend_args {
    456   1.1       mrg 	syscallarg(int) s;
    457   1.8       mrg 	syscallarg(netbsd32_caddr_t) buf;
    458   1.1       mrg 	syscallarg(int) len;
    459   1.1       mrg 	syscallarg(int) flags;
    460   1.1       mrg };
    461   1.1       mrg 
    462  1.11       eeh struct compat_43_netbsd32_orecv_args {
    463   1.1       mrg 	syscallarg(int) s;
    464   1.8       mrg 	syscallarg(netbsd32_caddr_t) buf;
    465   1.1       mrg 	syscallarg(int) len;
    466   1.1       mrg 	syscallarg(int) flags;
    467   1.1       mrg };
    468   1.1       mrg 
    469  1.12       eeh struct compat_13_netbsd32_sigreturn_args {
    470   1.8       mrg 	syscallarg(netbsd32_sigcontextp_t) sigcntxp;
    471   1.1       mrg };
    472   1.1       mrg 
    473  1.11       eeh struct netbsd32_bind_args {
    474   1.1       mrg 	syscallarg(int) s;
    475   1.8       mrg 	syscallarg(const netbsd32_sockaddrp_t) name;
    476   1.1       mrg 	syscallarg(int) namelen;
    477   1.1       mrg };
    478   1.1       mrg 
    479  1.11       eeh struct netbsd32_setsockopt_args {
    480   1.1       mrg 	syscallarg(int) s;
    481   1.1       mrg 	syscallarg(int) level;
    482   1.1       mrg 	syscallarg(int) name;
    483   1.8       mrg 	syscallarg(const netbsd32_voidp) val;
    484   1.1       mrg 	syscallarg(int) valsize;
    485   1.1       mrg };
    486   1.1       mrg 
    487  1.11       eeh struct netbsd32_listen_args {
    488   1.4       eeh 	syscallarg(int) s;
    489   1.4       eeh 	syscallarg(int) backlog;
    490   1.4       eeh };
    491   1.4       eeh 
    492  1.11       eeh struct compat_43_netbsd32_osigvec_args {
    493   1.1       mrg 	syscallarg(int) signum;
    494   1.8       mrg 	syscallarg(netbsd32_sigvecp_t) nsv;
    495   1.8       mrg 	syscallarg(netbsd32_sigvecp_t) osv;
    496   1.1       mrg };
    497  1.31       chs #if defined(COMPAT_43) || defined(COMPAT_SUNOS)
    498   1.1       mrg 
    499  1.11       eeh struct compat_43_netbsd32_sigblock_args {
    500   1.4       eeh 	syscallarg(int) mask;
    501   1.4       eeh };
    502   1.4       eeh 
    503  1.11       eeh struct compat_43_netbsd32_sigsetmask_args {
    504   1.4       eeh 	syscallarg(int) mask;
    505   1.4       eeh };
    506  1.30      fvdl #else
    507  1.30      fvdl #endif
    508   1.4       eeh 
    509  1.11       eeh struct compat_13_netbsd32_sigsuspend_args {
    510   1.4       eeh 	syscallarg(int) mask;
    511   1.4       eeh };
    512   1.4       eeh 
    513  1.11       eeh struct compat_43_netbsd32_osigstack_args {
    514   1.8       mrg 	syscallarg(netbsd32_sigstackp_t) nss;
    515   1.8       mrg 	syscallarg(netbsd32_sigstackp_t) oss;
    516   1.1       mrg };
    517   1.1       mrg 
    518  1.11       eeh struct compat_43_netbsd32_orecvmsg_args {
    519   1.1       mrg 	syscallarg(int) s;
    520   1.8       mrg 	syscallarg(netbsd32_omsghdrp_t) msg;
    521   1.1       mrg 	syscallarg(int) flags;
    522   1.1       mrg };
    523   1.1       mrg 
    524  1.11       eeh struct compat_43_netbsd32_osendmsg_args {
    525   1.1       mrg 	syscallarg(int) s;
    526   1.8       mrg 	syscallarg(netbsd32_caddr_t) msg;
    527   1.1       mrg 	syscallarg(int) flags;
    528   1.1       mrg };
    529   1.1       mrg 
    530  1.11       eeh struct netbsd32_gettimeofday_args {
    531   1.8       mrg 	syscallarg(netbsd32_timevalp_t) tp;
    532   1.8       mrg 	syscallarg(netbsd32_timezonep_t) tzp;
    533   1.1       mrg };
    534   1.1       mrg 
    535  1.11       eeh struct netbsd32_getrusage_args {
    536   1.1       mrg 	syscallarg(int) who;
    537   1.8       mrg 	syscallarg(netbsd32_rusagep_t) rusage;
    538   1.1       mrg };
    539   1.1       mrg 
    540  1.11       eeh struct netbsd32_getsockopt_args {
    541   1.1       mrg 	syscallarg(int) s;
    542   1.1       mrg 	syscallarg(int) level;
    543   1.1       mrg 	syscallarg(int) name;
    544   1.8       mrg 	syscallarg(netbsd32_voidp) val;
    545   1.8       mrg 	syscallarg(netbsd32_intp) avalsize;
    546   1.1       mrg };
    547   1.1       mrg 
    548  1.11       eeh struct netbsd32_readv_args {
    549   1.1       mrg 	syscallarg(int) fd;
    550   1.8       mrg 	syscallarg(const netbsd32_iovecp_t) iovp;
    551   1.1       mrg 	syscallarg(int) iovcnt;
    552   1.1       mrg };
    553   1.1       mrg 
    554  1.11       eeh struct netbsd32_writev_args {
    555   1.1       mrg 	syscallarg(int) fd;
    556   1.8       mrg 	syscallarg(const netbsd32_iovecp_t) iovp;
    557   1.1       mrg 	syscallarg(int) iovcnt;
    558   1.1       mrg };
    559   1.1       mrg 
    560  1.11       eeh struct netbsd32_settimeofday_args {
    561   1.8       mrg 	syscallarg(const netbsd32_timevalp_t) tv;
    562   1.8       mrg 	syscallarg(const netbsd32_timezonep_t) tzp;
    563   1.1       mrg };
    564   1.1       mrg 
    565  1.11       eeh struct netbsd32_fchown_args {
    566   1.4       eeh 	syscallarg(int) fd;
    567   1.4       eeh 	syscallarg(uid_t) uid;
    568   1.4       eeh 	syscallarg(gid_t) gid;
    569   1.4       eeh };
    570   1.4       eeh 
    571  1.11       eeh struct netbsd32_fchmod_args {
    572   1.4       eeh 	syscallarg(int) fd;
    573   1.4       eeh 	syscallarg(mode_t) mode;
    574   1.4       eeh };
    575   1.4       eeh 
    576  1.11       eeh struct compat_43_netbsd32_orecvfrom_args {
    577   1.1       mrg 	syscallarg(int) s;
    578   1.8       mrg 	syscallarg(netbsd32_caddr_t) buf;
    579   1.8       mrg 	syscallarg(netbsd32_size_t) len;
    580   1.1       mrg 	syscallarg(int) flags;
    581   1.8       mrg 	syscallarg(netbsd32_caddr_t) from;
    582   1.8       mrg 	syscallarg(netbsd32_intp) fromlenaddr;
    583   1.1       mrg };
    584   1.1       mrg 
    585  1.11       eeh struct netbsd32_setreuid_args {
    586   1.4       eeh 	syscallarg(uid_t) ruid;
    587   1.4       eeh 	syscallarg(uid_t) euid;
    588   1.4       eeh };
    589   1.4       eeh 
    590  1.11       eeh struct netbsd32_setregid_args {
    591   1.4       eeh 	syscallarg(gid_t) rgid;
    592   1.4       eeh 	syscallarg(gid_t) egid;
    593   1.4       eeh };
    594   1.4       eeh 
    595  1.11       eeh struct netbsd32_rename_args {
    596   1.8       mrg 	syscallarg(const netbsd32_charp) from;
    597   1.8       mrg 	syscallarg(const netbsd32_charp) to;
    598   1.1       mrg };
    599   1.1       mrg 
    600  1.11       eeh struct compat_43_netbsd32_otruncate_args {
    601   1.8       mrg 	syscallarg(const netbsd32_charp) path;
    602   1.8       mrg 	syscallarg(netbsd32_long) length;
    603   1.1       mrg };
    604   1.1       mrg 
    605  1.11       eeh struct compat_43_netbsd32_oftruncate_args {
    606   1.1       mrg 	syscallarg(int) fd;
    607   1.8       mrg 	syscallarg(netbsd32_long) length;
    608   1.1       mrg };
    609   1.1       mrg 
    610  1.11       eeh struct netbsd32_flock_args {
    611   1.4       eeh 	syscallarg(int) fd;
    612   1.4       eeh 	syscallarg(int) how;
    613   1.4       eeh };
    614   1.4       eeh 
    615  1.11       eeh struct netbsd32_mkfifo_args {
    616   1.8       mrg 	syscallarg(const netbsd32_charp) path;
    617   1.1       mrg 	syscallarg(mode_t) mode;
    618   1.1       mrg };
    619   1.1       mrg 
    620  1.11       eeh struct netbsd32_sendto_args {
    621   1.1       mrg 	syscallarg(int) s;
    622   1.8       mrg 	syscallarg(const netbsd32_voidp) buf;
    623   1.8       mrg 	syscallarg(netbsd32_size_t) len;
    624   1.1       mrg 	syscallarg(int) flags;
    625   1.8       mrg 	syscallarg(const netbsd32_sockaddrp_t) to;
    626   1.1       mrg 	syscallarg(int) tolen;
    627   1.1       mrg };
    628   1.1       mrg 
    629  1.11       eeh struct netbsd32_shutdown_args {
    630   1.4       eeh 	syscallarg(int) s;
    631   1.4       eeh 	syscallarg(int) how;
    632   1.4       eeh };
    633   1.4       eeh 
    634  1.11       eeh struct netbsd32_socketpair_args {
    635   1.1       mrg 	syscallarg(int) domain;
    636   1.1       mrg 	syscallarg(int) type;
    637   1.1       mrg 	syscallarg(int) protocol;
    638   1.8       mrg 	syscallarg(netbsd32_intp) rsv;
    639   1.1       mrg };
    640   1.1       mrg 
    641  1.11       eeh struct netbsd32_mkdir_args {
    642   1.8       mrg 	syscallarg(const netbsd32_charp) path;
    643   1.1       mrg 	syscallarg(mode_t) mode;
    644   1.1       mrg };
    645   1.1       mrg 
    646  1.11       eeh struct netbsd32_rmdir_args {
    647   1.8       mrg 	syscallarg(const netbsd32_charp) path;
    648   1.1       mrg };
    649   1.1       mrg 
    650  1.11       eeh struct netbsd32_utimes_args {
    651   1.8       mrg 	syscallarg(const netbsd32_charp) path;
    652   1.8       mrg 	syscallarg(const netbsd32_timevalp_t) tptr;
    653   1.1       mrg };
    654   1.1       mrg 
    655  1.11       eeh struct netbsd32_adjtime_args {
    656   1.8       mrg 	syscallarg(const netbsd32_timevalp_t) delta;
    657   1.8       mrg 	syscallarg(netbsd32_timevalp_t) olddelta;
    658   1.1       mrg };
    659   1.1       mrg 
    660  1.11       eeh struct compat_43_netbsd32_ogetpeername_args {
    661   1.1       mrg 	syscallarg(int) fdes;
    662   1.8       mrg 	syscallarg(netbsd32_caddr_t) asa;
    663   1.8       mrg 	syscallarg(netbsd32_intp) alen;
    664   1.1       mrg };
    665  1.31       chs #if defined(COMPAT_43) || defined(COMPAT_SUNOS)
    666   1.1       mrg 
    667  1.11       eeh struct compat_43_netbsd32_sethostid_args {
    668   1.4       eeh 	syscallarg(int32_t) hostid;
    669   1.4       eeh };
    670  1.30      fvdl #else
    671  1.30      fvdl #endif
    672   1.4       eeh 
    673  1.11       eeh struct compat_43_netbsd32_ogetrlimit_args {
    674   1.1       mrg 	syscallarg(int) which;
    675   1.8       mrg 	syscallarg(netbsd32_orlimitp_t) rlp;
    676   1.1       mrg };
    677   1.1       mrg 
    678  1.11       eeh struct compat_43_netbsd32_osetrlimit_args {
    679   1.1       mrg 	syscallarg(int) which;
    680   1.8       mrg 	syscallarg(const netbsd32_orlimitp_t) rlp;
    681   1.1       mrg };
    682  1.31       chs #if defined(COMPAT_43) || defined(COMPAT_SUNOS)
    683   1.1       mrg 
    684  1.11       eeh struct compat_43_netbsd32_killpg_args {
    685   1.4       eeh 	syscallarg(int) pgid;
    686   1.4       eeh 	syscallarg(int) signum;
    687   1.4       eeh };
    688  1.30      fvdl #else
    689  1.30      fvdl #endif
    690   1.4       eeh 
    691  1.11       eeh struct netbsd32_quotactl_args {
    692   1.8       mrg 	syscallarg(const netbsd32_charp) path;
    693   1.1       mrg 	syscallarg(int) cmd;
    694   1.1       mrg 	syscallarg(int) uid;
    695   1.8       mrg 	syscallarg(netbsd32_caddr_t) arg;
    696   1.1       mrg };
    697   1.1       mrg 
    698  1.11       eeh struct compat_43_netbsd32_ogetsockname_args {
    699   1.1       mrg 	syscallarg(int) fdec;
    700   1.8       mrg 	syscallarg(netbsd32_caddr_t) asa;
    701   1.8       mrg 	syscallarg(netbsd32_intp) alen;
    702   1.1       mrg };
    703  1.30      fvdl #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
    704   1.1       mrg 
    705  1.11       eeh struct netbsd32_nfssvc_args {
    706   1.1       mrg 	syscallarg(int) flag;
    707   1.8       mrg 	syscallarg(netbsd32_voidp) argp;
    708   1.1       mrg };
    709  1.30      fvdl #else
    710  1.30      fvdl #endif
    711   1.1       mrg 
    712  1.11       eeh struct compat_43_netbsd32_ogetdirentries_args {
    713   1.1       mrg 	syscallarg(int) fd;
    714   1.8       mrg 	syscallarg(netbsd32_charp) buf;
    715   1.1       mrg 	syscallarg(u_int) count;
    716   1.8       mrg 	syscallarg(netbsd32_longp) basep;
    717   1.1       mrg };
    718   1.1       mrg 
    719  1.32      cube struct compat_20_netbsd32_statfs_args {
    720   1.8       mrg 	syscallarg(const netbsd32_charp) path;
    721   1.8       mrg 	syscallarg(netbsd32_statfsp_t) buf;
    722   1.1       mrg };
    723   1.1       mrg 
    724  1.32      cube struct compat_20_netbsd32_fstatfs_args {
    725   1.1       mrg 	syscallarg(int) fd;
    726   1.8       mrg 	syscallarg(netbsd32_statfsp_t) buf;
    727   1.1       mrg };
    728   1.1       mrg 
    729  1.55    martin struct compat_30_netbsd32_getfh_args {
    730   1.8       mrg 	syscallarg(const netbsd32_charp) fname;
    731  1.55    martin 	syscallarg(netbsd32_compat_30_fhandlep_t) fhp;
    732   1.1       mrg };
    733   1.1       mrg 
    734  1.11       eeh struct compat_09_netbsd32_ogetdomainname_args {
    735   1.8       mrg 	syscallarg(netbsd32_charp) domainname;
    736   1.1       mrg 	syscallarg(int) len;
    737   1.1       mrg };
    738   1.1       mrg 
    739  1.11       eeh struct compat_09_netbsd32_osetdomainname_args {
    740   1.8       mrg 	syscallarg(netbsd32_charp) domainname;
    741   1.1       mrg 	syscallarg(int) len;
    742   1.1       mrg };
    743   1.1       mrg 
    744  1.11       eeh struct compat_09_netbsd32_uname_args {
    745   1.8       mrg 	syscallarg(netbsd32_outsnamep_t) name;
    746   1.1       mrg };
    747   1.1       mrg 
    748  1.11       eeh struct netbsd32_sysarch_args {
    749   1.1       mrg 	syscallarg(int) op;
    750   1.8       mrg 	syscallarg(netbsd32_voidp) parms;
    751   1.1       mrg };
    752  1.30      fvdl #if defined(SYSVSEM) || !defined(_KERNEL)
    753   1.1       mrg 
    754  1.26       mrg struct compat_10_netbsd32_sys_semsys_args {
    755   1.4       eeh 	syscallarg(int) which;
    756   1.4       eeh 	syscallarg(int) a2;
    757   1.4       eeh 	syscallarg(int) a3;
    758   1.4       eeh 	syscallarg(int) a4;
    759   1.4       eeh 	syscallarg(int) a5;
    760   1.4       eeh };
    761  1.30      fvdl #else
    762  1.30      fvdl #endif
    763  1.30      fvdl #if defined(SYSVMSG) || !defined(_KERNEL)
    764   1.4       eeh 
    765  1.26       mrg struct compat_10_netbsd32_sys_msgsys_args {
    766   1.4       eeh 	syscallarg(int) which;
    767   1.4       eeh 	syscallarg(int) a2;
    768   1.4       eeh 	syscallarg(int) a3;
    769   1.4       eeh 	syscallarg(int) a4;
    770   1.4       eeh 	syscallarg(int) a5;
    771   1.4       eeh 	syscallarg(int) a6;
    772   1.4       eeh };
    773  1.30      fvdl #else
    774  1.30      fvdl #endif
    775  1.30      fvdl #if defined(SYSVSHM) || !defined(_KERNEL)
    776   1.4       eeh 
    777  1.26       mrg struct compat_10_netbsd32_sys_shmsys_args {
    778   1.4       eeh 	syscallarg(int) which;
    779   1.4       eeh 	syscallarg(int) a2;
    780   1.4       eeh 	syscallarg(int) a3;
    781   1.4       eeh 	syscallarg(int) a4;
    782   1.4       eeh };
    783  1.30      fvdl #else
    784  1.30      fvdl #endif
    785   1.4       eeh 
    786  1.11       eeh struct netbsd32_pread_args {
    787   1.1       mrg 	syscallarg(int) fd;
    788   1.8       mrg 	syscallarg(netbsd32_voidp) buf;
    789   1.8       mrg 	syscallarg(netbsd32_size_t) nbyte;
    790   1.1       mrg 	syscallarg(int) pad;
    791   1.1       mrg 	syscallarg(off_t) offset;
    792   1.1       mrg };
    793   1.1       mrg 
    794  1.11       eeh struct netbsd32_pwrite_args {
    795   1.1       mrg 	syscallarg(int) fd;
    796   1.8       mrg 	syscallarg(const netbsd32_voidp) buf;
    797   1.8       mrg 	syscallarg(netbsd32_size_t) nbyte;
    798   1.1       mrg 	syscallarg(int) pad;
    799   1.1       mrg 	syscallarg(off_t) offset;
    800   1.1       mrg };
    801   1.1       mrg 
    802  1.53  drochner struct compat_30_netbsd32_ntp_gettime_args {
    803  1.53  drochner 	syscallarg(netbsd32_ntptimevalp_t) ntvp;
    804  1.53  drochner };
    805  1.53  drochner 
    806  1.11       eeh struct netbsd32_ntp_adjtime_args {
    807   1.8       mrg 	syscallarg(netbsd32_timexp_t) tp;
    808   1.1       mrg };
    809   1.1       mrg 
    810  1.11       eeh struct netbsd32_setgid_args {
    811   1.4       eeh 	syscallarg(gid_t) gid;
    812   1.4       eeh };
    813   1.4       eeh 
    814  1.11       eeh struct netbsd32_setegid_args {
    815   1.4       eeh 	syscallarg(gid_t) egid;
    816   1.4       eeh };
    817   1.4       eeh 
    818  1.11       eeh struct netbsd32_seteuid_args {
    819   1.4       eeh 	syscallarg(uid_t) euid;
    820   1.4       eeh };
    821  1.30      fvdl #if defined(LFS) || !defined(_KERNEL)
    822   1.4       eeh 
    823  1.11       eeh struct netbsd32_sys_lfs_bmapv_args {
    824   1.8       mrg 	syscallarg(netbsd32_fsid_tp_t) fsidp;
    825   1.8       mrg 	syscallarg(netbsd32_block_infop_t) blkiov;
    826   1.1       mrg 	syscallarg(int) blkcnt;
    827   1.1       mrg };
    828   1.1       mrg 
    829  1.11       eeh struct netbsd32_sys_lfs_markv_args {
    830   1.8       mrg 	syscallarg(netbsd32_fsid_tp_t) fsidp;
    831   1.8       mrg 	syscallarg(netbsd32_block_infop_t) blkiov;
    832   1.1       mrg 	syscallarg(int) blkcnt;
    833   1.1       mrg };
    834   1.1       mrg 
    835  1.11       eeh struct netbsd32_sys_lfs_segclean_args {
    836   1.8       mrg 	syscallarg(netbsd32_fsid_tp_t) fsidp;
    837   1.8       mrg 	syscallarg(netbsd32_u_long) segment;
    838   1.1       mrg };
    839   1.1       mrg 
    840  1.11       eeh struct netbsd32_sys_lfs_segwait_args {
    841   1.8       mrg 	syscallarg(netbsd32_fsid_tp_t) fsidp;
    842   1.8       mrg 	syscallarg(netbsd32_timevalp_t) tv;
    843   1.1       mrg };
    844  1.30      fvdl #else
    845  1.30      fvdl #endif
    846   1.1       mrg 
    847  1.11       eeh struct compat_12_netbsd32_stat12_args {
    848   1.8       mrg 	syscallarg(const netbsd32_charp) path;
    849   1.8       mrg 	syscallarg(netbsd32_stat12p_t) ub;
    850   1.1       mrg };
    851   1.1       mrg 
    852  1.11       eeh struct compat_12_netbsd32_fstat12_args {
    853   1.1       mrg 	syscallarg(int) fd;
    854   1.8       mrg 	syscallarg(netbsd32_stat12p_t) sb;
    855   1.1       mrg };
    856   1.1       mrg 
    857  1.11       eeh struct compat_12_netbsd32_lstat12_args {
    858   1.8       mrg 	syscallarg(const netbsd32_charp) path;
    859   1.8       mrg 	syscallarg(netbsd32_stat12p_t) ub;
    860   1.1       mrg };
    861   1.1       mrg 
    862  1.11       eeh struct netbsd32_pathconf_args {
    863   1.8       mrg 	syscallarg(const netbsd32_charp) path;
    864   1.1       mrg 	syscallarg(int) name;
    865   1.1       mrg };
    866   1.1       mrg 
    867  1.11       eeh struct netbsd32_fpathconf_args {
    868   1.1       mrg 	syscallarg(int) fd;
    869   1.1       mrg 	syscallarg(int) name;
    870   1.1       mrg };
    871   1.1       mrg 
    872  1.11       eeh struct netbsd32_getrlimit_args {
    873   1.1       mrg 	syscallarg(int) which;
    874   1.8       mrg 	syscallarg(netbsd32_rlimitp_t) rlp;
    875   1.1       mrg };
    876   1.1       mrg 
    877  1.11       eeh struct netbsd32_setrlimit_args {
    878   1.1       mrg 	syscallarg(int) which;
    879   1.8       mrg 	syscallarg(const netbsd32_rlimitp_t) rlp;
    880   1.1       mrg };
    881   1.1       mrg 
    882  1.11       eeh struct compat_12_netbsd32_getdirentries_args {
    883   1.1       mrg 	syscallarg(int) fd;
    884   1.8       mrg 	syscallarg(netbsd32_charp) buf;
    885   1.1       mrg 	syscallarg(u_int) count;
    886   1.8       mrg 	syscallarg(netbsd32_longp) basep;
    887   1.1       mrg };
    888   1.1       mrg 
    889  1.11       eeh struct netbsd32_mmap_args {
    890   1.8       mrg 	syscallarg(netbsd32_voidp) addr;
    891   1.8       mrg 	syscallarg(netbsd32_size_t) len;
    892   1.1       mrg 	syscallarg(int) prot;
    893   1.1       mrg 	syscallarg(int) flags;
    894   1.1       mrg 	syscallarg(int) fd;
    895   1.8       mrg 	syscallarg(netbsd32_long) pad;
    896   1.1       mrg 	syscallarg(off_t) pos;
    897   1.1       mrg };
    898   1.1       mrg 
    899  1.11       eeh struct netbsd32_lseek_args {
    900   1.4       eeh 	syscallarg(int) fd;
    901   1.4       eeh 	syscallarg(int) pad;
    902   1.4       eeh 	syscallarg(off_t) offset;
    903   1.4       eeh 	syscallarg(int) whence;
    904   1.4       eeh };
    905   1.4       eeh 
    906  1.11       eeh struct netbsd32_truncate_args {
    907   1.8       mrg 	syscallarg(const netbsd32_charp) path;
    908   1.1       mrg 	syscallarg(int) pad;
    909   1.1       mrg 	syscallarg(off_t) length;
    910   1.1       mrg };
    911   1.1       mrg 
    912  1.11       eeh struct netbsd32_ftruncate_args {
    913   1.4       eeh 	syscallarg(int) fd;
    914   1.4       eeh 	syscallarg(int) pad;
    915   1.4       eeh 	syscallarg(off_t) length;
    916   1.4       eeh };
    917   1.4       eeh 
    918  1.11       eeh struct netbsd32___sysctl_args {
    919   1.8       mrg 	syscallarg(netbsd32_intp) name;
    920   1.1       mrg 	syscallarg(u_int) namelen;
    921   1.8       mrg 	syscallarg(netbsd32_voidp) old;
    922   1.8       mrg 	syscallarg(netbsd32_size_tp) oldlenp;
    923   1.8       mrg 	syscallarg(netbsd32_voidp) new;
    924   1.8       mrg 	syscallarg(netbsd32_size_t) newlen;
    925   1.1       mrg };
    926   1.1       mrg 
    927  1.11       eeh struct netbsd32_mlock_args {
    928   1.8       mrg 	syscallarg(const netbsd32_voidp) addr;
    929   1.8       mrg 	syscallarg(netbsd32_size_t) len;
    930   1.1       mrg };
    931   1.1       mrg 
    932  1.11       eeh struct netbsd32_munlock_args {
    933   1.8       mrg 	syscallarg(const netbsd32_voidp) addr;
    934   1.8       mrg 	syscallarg(netbsd32_size_t) len;
    935   1.1       mrg };
    936   1.1       mrg 
    937  1.11       eeh struct netbsd32_undelete_args {
    938   1.8       mrg 	syscallarg(const netbsd32_charp) path;
    939   1.1       mrg };
    940   1.1       mrg 
    941  1.11       eeh struct netbsd32_futimes_args {
    942   1.1       mrg 	syscallarg(int) fd;
    943   1.8       mrg 	syscallarg(const netbsd32_timevalp_t) tptr;
    944   1.1       mrg };
    945   1.1       mrg 
    946  1.11       eeh struct netbsd32_getpgid_args {
    947   1.4       eeh 	syscallarg(pid_t) pid;
    948   1.4       eeh };
    949   1.4       eeh 
    950  1.11       eeh struct netbsd32_reboot_args {
    951   1.1       mrg 	syscallarg(int) opt;
    952   1.8       mrg 	syscallarg(netbsd32_charp) bootstr;
    953   1.1       mrg };
    954   1.1       mrg 
    955  1.11       eeh struct netbsd32_poll_args {
    956   1.8       mrg 	syscallarg(netbsd32_pollfdp_t) fds;
    957   1.1       mrg 	syscallarg(u_int) nfds;
    958   1.1       mrg 	syscallarg(int) timeout;
    959   1.1       mrg };
    960  1.30      fvdl #if defined(LKM) || !defined(_KERNEL)
    961  1.30      fvdl #else	/* !LKM || !_KERNEL */
    962  1.30      fvdl #endif	/* !LKM || !_KERNEL */
    963  1.30      fvdl #if defined(SYSVSEM) || !defined(_KERNEL)
    964   1.1       mrg 
    965  1.11       eeh struct compat_14_netbsd32___semctl_args {
    966   1.1       mrg 	syscallarg(int) semid;
    967   1.1       mrg 	syscallarg(int) semnum;
    968   1.1       mrg 	syscallarg(int) cmd;
    969   1.8       mrg 	syscallarg(netbsd32_semunu_t) arg;
    970   1.1       mrg };
    971   1.1       mrg 
    972  1.11       eeh struct netbsd32_semget_args {
    973   1.8       mrg 	syscallarg(netbsd32_key_t) key;
    974   1.1       mrg 	syscallarg(int) nsems;
    975   1.1       mrg 	syscallarg(int) semflg;
    976   1.1       mrg };
    977   1.1       mrg 
    978  1.11       eeh struct netbsd32_semop_args {
    979   1.1       mrg 	syscallarg(int) semid;
    980   1.8       mrg 	syscallarg(netbsd32_sembufp_t) sops;
    981   1.8       mrg 	syscallarg(netbsd32_size_t) nsops;
    982   1.1       mrg };
    983   1.1       mrg 
    984  1.11       eeh struct netbsd32_semconfig_args {
    985   1.4       eeh 	syscallarg(int) flag;
    986   1.4       eeh };
    987  1.30      fvdl #else
    988  1.30      fvdl #endif
    989  1.30      fvdl #if defined(SYSVMSG) || !defined(_KERNEL)
    990   1.4       eeh 
    991  1.11       eeh struct compat_14_netbsd32_msgctl_args {
    992   1.1       mrg 	syscallarg(int) msqid;
    993   1.1       mrg 	syscallarg(int) cmd;
    994   1.8       mrg 	syscallarg(netbsd32_msqid_dsp_t) buf;
    995   1.1       mrg };
    996   1.1       mrg 
    997  1.11       eeh struct netbsd32_msgget_args {
    998   1.8       mrg 	syscallarg(netbsd32_key_t) key;
    999   1.1       mrg 	syscallarg(int) msgflg;
   1000   1.1       mrg };
   1001   1.1       mrg 
   1002  1.11       eeh struct netbsd32_msgsnd_args {
   1003   1.1       mrg 	syscallarg(int) msqid;
   1004   1.8       mrg 	syscallarg(const netbsd32_voidp) msgp;
   1005   1.8       mrg 	syscallarg(netbsd32_size_t) msgsz;
   1006   1.1       mrg 	syscallarg(int) msgflg;
   1007   1.1       mrg };
   1008   1.1       mrg 
   1009  1.11       eeh struct netbsd32_msgrcv_args {
   1010   1.1       mrg 	syscallarg(int) msqid;
   1011   1.8       mrg 	syscallarg(netbsd32_voidp) msgp;
   1012   1.8       mrg 	syscallarg(netbsd32_size_t) msgsz;
   1013   1.8       mrg 	syscallarg(netbsd32_long) msgtyp;
   1014   1.1       mrg 	syscallarg(int) msgflg;
   1015   1.1       mrg };
   1016  1.30      fvdl #else
   1017  1.30      fvdl #endif
   1018  1.30      fvdl #if defined(SYSVSHM) || !defined(_KERNEL)
   1019   1.1       mrg 
   1020  1.11       eeh struct netbsd32_shmat_args {
   1021   1.1       mrg 	syscallarg(int) shmid;
   1022   1.8       mrg 	syscallarg(const netbsd32_voidp) shmaddr;
   1023   1.1       mrg 	syscallarg(int) shmflg;
   1024   1.1       mrg };
   1025   1.1       mrg 
   1026  1.11       eeh struct compat_14_netbsd32_shmctl_args {
   1027   1.1       mrg 	syscallarg(int) shmid;
   1028   1.1       mrg 	syscallarg(int) cmd;
   1029   1.8       mrg 	syscallarg(netbsd32_shmid_dsp_t) buf;
   1030   1.1       mrg };
   1031   1.1       mrg 
   1032  1.11       eeh struct netbsd32_shmdt_args {
   1033   1.8       mrg 	syscallarg(const netbsd32_voidp) shmaddr;
   1034   1.1       mrg };
   1035   1.1       mrg 
   1036  1.11       eeh struct netbsd32_shmget_args {
   1037   1.8       mrg 	syscallarg(netbsd32_key_t) key;
   1038   1.8       mrg 	syscallarg(netbsd32_size_t) size;
   1039   1.1       mrg 	syscallarg(int) shmflg;
   1040   1.1       mrg };
   1041  1.30      fvdl #else
   1042  1.30      fvdl #endif
   1043   1.1       mrg 
   1044  1.11       eeh struct netbsd32_clock_gettime_args {
   1045   1.8       mrg 	syscallarg(netbsd32_clockid_t) clock_id;
   1046   1.8       mrg 	syscallarg(netbsd32_timespecp_t) tp;
   1047   1.1       mrg };
   1048   1.1       mrg 
   1049  1.11       eeh struct netbsd32_clock_settime_args {
   1050   1.8       mrg 	syscallarg(netbsd32_clockid_t) clock_id;
   1051   1.8       mrg 	syscallarg(const netbsd32_timespecp_t) tp;
   1052   1.1       mrg };
   1053   1.1       mrg 
   1054  1.11       eeh struct netbsd32_clock_getres_args {
   1055   1.8       mrg 	syscallarg(netbsd32_clockid_t) clock_id;
   1056   1.8       mrg 	syscallarg(netbsd32_timespecp_t) tp;
   1057   1.1       mrg };
   1058   1.1       mrg 
   1059  1.43      cube struct netbsd32_timer_create_args {
   1060  1.43      cube 	syscallarg(netbsd32_clockid_t) clock_id;
   1061  1.43      cube 	syscallarg(netbsd32_sigeventp_t) evp;
   1062  1.43      cube 	syscallarg(netbsd32_timerp_t) timerid;
   1063  1.43      cube };
   1064  1.43      cube 
   1065  1.43      cube struct netbsd32_timer_delete_args {
   1066  1.43      cube 	syscallarg(netbsd32_timer_t) timerid;
   1067  1.43      cube };
   1068  1.43      cube 
   1069  1.43      cube struct netbsd32_timer_settime_args {
   1070  1.43      cube 	syscallarg(netbsd32_timer_t) timerid;
   1071  1.43      cube 	syscallarg(int) flags;
   1072  1.43      cube 	syscallarg(const netbsd32_itimerspecp_t) value;
   1073  1.43      cube 	syscallarg(netbsd32_itimerspecp_t) ovalue;
   1074  1.43      cube };
   1075  1.43      cube 
   1076  1.43      cube struct netbsd32_timer_gettime_args {
   1077  1.43      cube 	syscallarg(netbsd32_timer_t) timerid;
   1078  1.43      cube 	syscallarg(netbsd32_itimerspecp_t) value;
   1079  1.43      cube };
   1080  1.43      cube 
   1081  1.43      cube struct netbsd32_timer_getoverrun_args {
   1082  1.43      cube 	syscallarg(netbsd32_timer_t) timerid;
   1083  1.43      cube };
   1084  1.43      cube 
   1085  1.11       eeh struct netbsd32_nanosleep_args {
   1086   1.8       mrg 	syscallarg(const netbsd32_timespecp_t) rqtp;
   1087   1.8       mrg 	syscallarg(netbsd32_timespecp_t) rmtp;
   1088   1.1       mrg };
   1089   1.1       mrg 
   1090  1.11       eeh struct netbsd32_fdatasync_args {
   1091   1.4       eeh 	syscallarg(int) fd;
   1092   1.4       eeh };
   1093   1.4       eeh 
   1094  1.37      cube struct netbsd32_mlockall_args {
   1095  1.37      cube 	syscallarg(int) flags;
   1096  1.37      cube };
   1097  1.37      cube 
   1098  1.44      cube struct netbsd32___sigtimedwait_args {
   1099  1.44      cube 	syscallarg(const netbsd32_sigsetp_t) set;
   1100  1.44      cube 	syscallarg(netbsd32_siginfop_t) info;
   1101  1.44      cube 	syscallarg(netbsd32_timespecp_t) timeout;
   1102  1.44      cube };
   1103  1.48      cube #if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL) && defined(_LIBC))
   1104  1.48      cube 
   1105  1.48      cube struct netbsd32__ksem_init_args {
   1106  1.48      cube 	syscallarg(unsigned int) value;
   1107  1.48      cube 	syscallarg(netbsd32_semidp_t) idp;
   1108  1.48      cube };
   1109  1.48      cube 
   1110  1.48      cube struct netbsd32__ksem_open_args {
   1111  1.48      cube 	syscallarg(const netbsd32_charp) name;
   1112  1.48      cube 	syscallarg(int) oflag;
   1113  1.48      cube 	syscallarg(mode_t) mode;
   1114  1.48      cube 	syscallarg(unsigned int) value;
   1115  1.48      cube 	syscallarg(netbsd32_semidp_t) idp;
   1116  1.48      cube };
   1117  1.48      cube 
   1118  1.48      cube struct netbsd32__ksem_unlink_args {
   1119  1.48      cube 	syscallarg(const netbsd32_charp) name;
   1120  1.48      cube };
   1121  1.48      cube 
   1122  1.48      cube struct netbsd32__ksem_close_args {
   1123  1.48      cube 	syscallarg(netbsd32_semid_t) id;
   1124  1.48      cube };
   1125  1.48      cube 
   1126  1.48      cube struct netbsd32__ksem_post_args {
   1127  1.48      cube 	syscallarg(netbsd32_semid_t) id;
   1128  1.48      cube };
   1129  1.48      cube 
   1130  1.48      cube struct netbsd32__ksem_wait_args {
   1131  1.48      cube 	syscallarg(netbsd32_semid_t) id;
   1132  1.48      cube };
   1133  1.48      cube 
   1134  1.48      cube struct netbsd32__ksem_trywait_args {
   1135  1.48      cube 	syscallarg(netbsd32_semid_t) id;
   1136  1.48      cube };
   1137  1.48      cube 
   1138  1.48      cube struct netbsd32__ksem_getvalue_args {
   1139  1.48      cube 	syscallarg(netbsd32_semid_t) id;
   1140  1.48      cube 	syscallarg(netbsd32_intp) value;
   1141  1.48      cube };
   1142  1.48      cube 
   1143  1.48      cube struct netbsd32__ksem_destroy_args {
   1144  1.48      cube 	syscallarg(netbsd32_semid_t) id;
   1145  1.48      cube };
   1146  1.48      cube #else
   1147  1.48      cube #endif
   1148  1.44      cube 
   1149  1.11       eeh struct netbsd32___posix_rename_args {
   1150   1.8       mrg 	syscallarg(const netbsd32_charp) from;
   1151   1.8       mrg 	syscallarg(const netbsd32_charp) to;
   1152   1.1       mrg };
   1153   1.1       mrg 
   1154  1.11       eeh struct netbsd32_swapctl_args {
   1155   1.1       mrg 	syscallarg(int) cmd;
   1156  1.34       chs 	syscallarg(netbsd32_voidp) arg;
   1157   1.1       mrg 	syscallarg(int) misc;
   1158   1.1       mrg };
   1159   1.1       mrg 
   1160  1.11       eeh struct netbsd32_getdents_args {
   1161   1.1       mrg 	syscallarg(int) fd;
   1162   1.8       mrg 	syscallarg(netbsd32_charp) buf;
   1163   1.8       mrg 	syscallarg(netbsd32_size_t) count;
   1164   1.1       mrg };
   1165   1.1       mrg 
   1166  1.11       eeh struct netbsd32_minherit_args {
   1167   1.8       mrg 	syscallarg(netbsd32_voidp) addr;
   1168   1.8       mrg 	syscallarg(netbsd32_size_t) len;
   1169   1.1       mrg 	syscallarg(int) inherit;
   1170   1.1       mrg };
   1171   1.1       mrg 
   1172  1.11       eeh struct netbsd32_lchmod_args {
   1173   1.8       mrg 	syscallarg(const netbsd32_charp) path;
   1174   1.1       mrg 	syscallarg(mode_t) mode;
   1175   1.1       mrg };
   1176   1.1       mrg 
   1177  1.11       eeh struct netbsd32_lchown_args {
   1178   1.8       mrg 	syscallarg(const netbsd32_charp) path;
   1179   1.1       mrg 	syscallarg(uid_t) uid;
   1180   1.1       mrg 	syscallarg(gid_t) gid;
   1181   1.1       mrg };
   1182   1.1       mrg 
   1183  1.11       eeh struct netbsd32_lutimes_args {
   1184   1.8       mrg 	syscallarg(const netbsd32_charp) path;
   1185   1.8       mrg 	syscallarg(const netbsd32_timevalp_t) tptr;
   1186   1.1       mrg };
   1187   1.1       mrg 
   1188  1.11       eeh struct netbsd32___msync13_args {
   1189   1.8       mrg 	syscallarg(netbsd32_voidp) addr;
   1190   1.8       mrg 	syscallarg(netbsd32_size_t) len;
   1191   1.1       mrg 	syscallarg(int) flags;
   1192   1.1       mrg };
   1193   1.1       mrg 
   1194  1.11       eeh struct netbsd32___stat13_args {
   1195   1.8       mrg 	syscallarg(const netbsd32_charp) path;
   1196  1.45  christos 	syscallarg(netbsd32_stat13p_t) ub;
   1197   1.1       mrg };
   1198   1.1       mrg 
   1199  1.11       eeh struct netbsd32___fstat13_args {
   1200   1.1       mrg 	syscallarg(int) fd;
   1201  1.45  christos 	syscallarg(netbsd32_stat13p_t) sb;
   1202   1.1       mrg };
   1203   1.1       mrg 
   1204  1.11       eeh struct netbsd32___lstat13_args {
   1205   1.8       mrg 	syscallarg(const netbsd32_charp) path;
   1206  1.45  christos 	syscallarg(netbsd32_stat13p_t) ub;
   1207   1.1       mrg };
   1208   1.1       mrg 
   1209  1.11       eeh struct netbsd32___sigaltstack14_args {
   1210   1.8       mrg 	syscallarg(const netbsd32_sigaltstackp_t) nss;
   1211   1.8       mrg 	syscallarg(netbsd32_sigaltstackp_t) oss;
   1212   1.1       mrg };
   1213   1.1       mrg 
   1214  1.11       eeh struct netbsd32___posix_chown_args {
   1215   1.8       mrg 	syscallarg(const netbsd32_charp) path;
   1216   1.1       mrg 	syscallarg(uid_t) uid;
   1217   1.1       mrg 	syscallarg(gid_t) gid;
   1218   1.1       mrg };
   1219   1.1       mrg 
   1220  1.11       eeh struct netbsd32___posix_fchown_args {
   1221   1.4       eeh 	syscallarg(int) fd;
   1222   1.4       eeh 	syscallarg(uid_t) uid;
   1223   1.4       eeh 	syscallarg(gid_t) gid;
   1224   1.4       eeh };
   1225   1.4       eeh 
   1226  1.11       eeh struct netbsd32___posix_lchown_args {
   1227   1.8       mrg 	syscallarg(const netbsd32_charp) path;
   1228   1.1       mrg 	syscallarg(uid_t) uid;
   1229   1.1       mrg 	syscallarg(gid_t) gid;
   1230   1.1       mrg };
   1231   1.1       mrg 
   1232  1.11       eeh struct netbsd32_getsid_args {
   1233   1.4       eeh 	syscallarg(pid_t) pid;
   1234   1.4       eeh };
   1235  1.39      cube 
   1236  1.39      cube struct netbsd32___clone_args {
   1237  1.39      cube 	syscallarg(int) flags;
   1238  1.39      cube 	syscallarg(netbsd32_voidp) stack;
   1239  1.39      cube };
   1240  1.30      fvdl #if defined(KTRACE) || !defined(_KERNEL)
   1241   1.4       eeh 
   1242  1.11       eeh struct netbsd32_fktrace_args {
   1243   1.4       eeh 	syscallarg(const int) fd;
   1244   1.4       eeh 	syscallarg(int) ops;
   1245   1.4       eeh 	syscallarg(int) facs;
   1246   1.4       eeh 	syscallarg(int) pid;
   1247   1.4       eeh };
   1248  1.30      fvdl #else
   1249  1.30      fvdl #endif
   1250   1.4       eeh 
   1251  1.11       eeh struct netbsd32_preadv_args {
   1252   1.1       mrg 	syscallarg(int) fd;
   1253   1.8       mrg 	syscallarg(const netbsd32_iovecp_t) iovp;
   1254   1.1       mrg 	syscallarg(int) iovcnt;
   1255   1.1       mrg 	syscallarg(int) pad;
   1256   1.1       mrg 	syscallarg(off_t) offset;
   1257   1.1       mrg };
   1258   1.1       mrg 
   1259  1.11       eeh struct netbsd32_pwritev_args {
   1260   1.1       mrg 	syscallarg(int) fd;
   1261   1.8       mrg 	syscallarg(const netbsd32_iovecp_t) iovp;
   1262   1.1       mrg 	syscallarg(int) iovcnt;
   1263   1.1       mrg 	syscallarg(int) pad;
   1264   1.1       mrg 	syscallarg(off_t) offset;
   1265   1.1       mrg };
   1266   1.1       mrg 
   1267  1.12       eeh struct netbsd32___sigaction14_args {
   1268  1.12       eeh 	syscallarg(int) signum;
   1269  1.12       eeh 	syscallarg(const netbsd32_sigactionp_t) nsa;
   1270  1.12       eeh 	syscallarg(netbsd32_sigactionp_t) osa;
   1271  1.12       eeh };
   1272  1.12       eeh 
   1273  1.12       eeh struct netbsd32___sigpending14_args {
   1274  1.12       eeh 	syscallarg(netbsd32_sigsetp_t) set;
   1275  1.12       eeh };
   1276  1.12       eeh 
   1277  1.12       eeh struct netbsd32___sigprocmask14_args {
   1278  1.12       eeh 	syscallarg(int) how;
   1279  1.12       eeh 	syscallarg(const netbsd32_sigsetp_t) set;
   1280  1.12       eeh 	syscallarg(netbsd32_sigsetp_t) oset;
   1281  1.12       eeh };
   1282  1.12       eeh 
   1283  1.12       eeh struct netbsd32___sigsuspend14_args {
   1284  1.12       eeh 	syscallarg(const netbsd32_sigsetp_t) set;
   1285  1.12       eeh };
   1286  1.12       eeh 
   1287  1.30      fvdl struct compat_16_netbsd32___sigreturn14_args {
   1288  1.12       eeh 	syscallarg(netbsd32_sigcontextp_t) sigcntxp;
   1289  1.12       eeh };
   1290  1.12       eeh 
   1291  1.12       eeh struct netbsd32___getcwd_args {
   1292  1.12       eeh 	syscallarg(netbsd32_charp) bufp;
   1293  1.12       eeh 	syscallarg(netbsd32_size_t) length;
   1294  1.12       eeh };
   1295  1.12       eeh 
   1296  1.12       eeh struct netbsd32_fchroot_args {
   1297  1.12       eeh 	syscallarg(int) fd;
   1298  1.12       eeh };
   1299  1.12       eeh 
   1300  1.58    martin struct compat_30_netbsd32_fhopen_args {
   1301  1.12       eeh 	syscallarg(const netbsd32_fhandlep_t) fhp;
   1302  1.12       eeh 	syscallarg(int) flags;
   1303  1.12       eeh };
   1304  1.12       eeh 
   1305  1.51      cube struct compat_30_netbsd32_fhstat_args {
   1306  1.12       eeh 	syscallarg(const netbsd32_fhandlep_t) fhp;
   1307  1.51      cube 	syscallarg(netbsd32_stat13p_t) sb;
   1308  1.12       eeh };
   1309  1.12       eeh 
   1310  1.32      cube struct compat_20_netbsd32_fhstatfs_args {
   1311  1.12       eeh 	syscallarg(netbsd32_fhandlep_t) fhp;
   1312  1.12       eeh 	syscallarg(netbsd32_statp_t) buf;
   1313  1.12       eeh };
   1314  1.30      fvdl #if defined(SYSVSEM) || !defined(_KERNEL)
   1315  1.12       eeh 
   1316  1.13  christos struct netbsd32___semctl14_args {
   1317  1.12       eeh 	syscallarg(int) semid;
   1318  1.12       eeh 	syscallarg(int) semnum;
   1319  1.12       eeh 	syscallarg(int) cmd;
   1320  1.49      cube 	syscallarg(netbsd32_semunp_t) arg;
   1321  1.12       eeh };
   1322  1.30      fvdl #else
   1323  1.30      fvdl #endif
   1324  1.30      fvdl #if defined(SYSVMSG) || !defined(_KERNEL)
   1325  1.12       eeh 
   1326  1.12       eeh struct netbsd32___msgctl13_args {
   1327  1.12       eeh 	syscallarg(int) msqid;
   1328  1.12       eeh 	syscallarg(int) cmd;
   1329  1.12       eeh 	syscallarg(netbsd32_msqid_dsp_t) buf;
   1330  1.12       eeh };
   1331  1.30      fvdl #else
   1332  1.30      fvdl #endif
   1333  1.30      fvdl #if defined(SYSVSHM) || !defined(_KERNEL)
   1334  1.12       eeh 
   1335  1.12       eeh struct netbsd32___shmctl13_args {
   1336  1.12       eeh 	syscallarg(int) shmid;
   1337  1.12       eeh 	syscallarg(int) cmd;
   1338  1.12       eeh 	syscallarg(netbsd32_shmid_dsp_t) buf;
   1339  1.12       eeh };
   1340  1.30      fvdl #else
   1341  1.30      fvdl #endif
   1342  1.12       eeh 
   1343  1.22       mrg struct netbsd32_lchflags_args {
   1344  1.22       mrg 	syscallarg(const netbsd32_charp) path;
   1345  1.22       mrg 	syscallarg(netbsd32_u_long) flags;
   1346  1.22       mrg };
   1347  1.22       mrg 
   1348  1.22       mrg struct netbsd32_utrace_args {
   1349  1.22       mrg 	syscallarg(const netbsd32_charp) label;
   1350  1.22       mrg 	syscallarg(netbsd32_voidp) addr;
   1351  1.22       mrg 	syscallarg(netbsd32_size_t) len;
   1352  1.22       mrg };
   1353  1.22       mrg 
   1354  1.30      fvdl struct netbsd32_getcontext_args {
   1355  1.30      fvdl 	syscallarg(netbsd32_ucontextp) ucp;
   1356  1.30      fvdl };
   1357  1.30      fvdl 
   1358  1.30      fvdl struct netbsd32_setcontext_args {
   1359  1.30      fvdl 	syscallarg(netbsd32_ucontextp) ucp;
   1360  1.30      fvdl 	syscallarg(uint32_t) flags;
   1361  1.30      fvdl 	syscallarg(netbsd32_lwpidp) new_lwp;
   1362  1.30      fvdl };
   1363  1.30      fvdl 
   1364  1.50      cube struct netbsd32__lwp_create_args {
   1365  1.50      cube 	syscallarg(const netbsd32_ucontextp) ucp;
   1366  1.50      cube 	syscallarg(netbsd32_u_long) flags;
   1367  1.50      cube 	syscallarg(netbsd32_lwpidp) new_lwp;
   1368  1.50      cube };
   1369  1.50      cube 
   1370  1.50      cube struct netbsd32__lwp_wait_args {
   1371  1.50      cube 	syscallarg(lwpid_t) wait_for;
   1372  1.50      cube 	syscallarg(netbsd32_lwpidp) departed;
   1373  1.50      cube };
   1374  1.50      cube 
   1375  1.50      cube struct netbsd32__lwp_suspend_args {
   1376  1.50      cube 	syscallarg(lwpid_t) target;
   1377  1.50      cube };
   1378  1.50      cube 
   1379  1.50      cube struct netbsd32__lwp_continue_args {
   1380  1.50      cube 	syscallarg(lwpid_t) target;
   1381  1.50      cube };
   1382  1.50      cube 
   1383  1.50      cube struct netbsd32__lwp_wakeup_args {
   1384  1.50      cube 	syscallarg(lwpid_t) target;
   1385  1.50      cube };
   1386  1.50      cube 
   1387  1.50      cube struct netbsd32__lwp_setprivate_args {
   1388  1.50      cube 	syscallarg(netbsd32_voidp) ptr;
   1389  1.50      cube };
   1390  1.50      cube 
   1391  1.50      cube struct netbsd32_sa_register_args {
   1392  1.50      cube 	syscallarg(netbsd32_sa_upcall_t) new;
   1393  1.50      cube 	syscallarg(netbsd32_sa_upcallp_t) old;
   1394  1.50      cube 	syscallarg(int) flags;
   1395  1.50      cube 	syscallarg(netbsd32_ssize_t) stackinfo_offset;
   1396  1.50      cube };
   1397  1.50      cube 
   1398  1.50      cube struct netbsd32_sa_stacks_args {
   1399  1.50      cube 	syscallarg(int) num;
   1400  1.50      cube 	syscallarg(netbsd32_stackp_t) stacks;
   1401  1.50      cube };
   1402  1.50      cube 
   1403  1.50      cube struct netbsd32_sa_setconcurrency_args {
   1404  1.50      cube 	syscallarg(int) concurrency;
   1405  1.50      cube };
   1406  1.50      cube 
   1407  1.50      cube struct netbsd32_sa_preempt_args {
   1408  1.50      cube 	syscallarg(int) sa_id;
   1409  1.50      cube };
   1410  1.50      cube 
   1411  1.27       scw struct netbsd32___sigaction_sigtramp_args {
   1412  1.27       scw 	syscallarg(int) signum;
   1413  1.27       scw 	syscallarg(const netbsd32_sigactionp_t) nsa;
   1414  1.27       scw 	syscallarg(netbsd32_sigactionp_t) osa;
   1415  1.27       scw 	syscallarg(netbsd32_voidp) tramp;
   1416  1.27       scw 	syscallarg(int) vers;
   1417  1.27       scw };
   1418  1.27       scw 
   1419  1.41      cube struct netbsd32_rasctl_args {
   1420  1.41      cube 	syscallarg(netbsd32_caddr_t) addr;
   1421  1.41      cube 	syscallarg(netbsd32_size_t) len;
   1422  1.41      cube 	syscallarg(int) op;
   1423  1.41      cube };
   1424  1.41      cube 
   1425  1.46      cube struct netbsd32_kevent_args {
   1426  1.46      cube 	syscallarg(int) fd;
   1427  1.46      cube 	syscallarg(netbsd32_keventp_t) changelist;
   1428  1.46      cube 	syscallarg(netbsd32_size_t) nchanges;
   1429  1.46      cube 	syscallarg(netbsd32_keventp_t) eventlist;
   1430  1.46      cube 	syscallarg(netbsd32_size_t) nevents;
   1431  1.46      cube 	syscallarg(netbsd32_timespecp_t) timeout;
   1432  1.46      cube };
   1433  1.46      cube 
   1434  1.40      cube struct netbsd32_fsync_range_args {
   1435  1.40      cube 	syscallarg(int) fd;
   1436  1.40      cube 	syscallarg(int) flags;
   1437  1.40      cube 	syscallarg(off_t) start;
   1438  1.40      cube 	syscallarg(off_t) length;
   1439  1.40      cube };
   1440  1.40      cube 
   1441  1.35      cube struct netbsd32_uuidgen_args {
   1442  1.35      cube 	syscallarg(netbsd32_uuidp_t) store;
   1443  1.35      cube 	syscallarg(int) count;
   1444  1.35      cube };
   1445  1.35      cube 
   1446  1.32      cube struct netbsd32_getvfsstat_args {
   1447  1.32      cube 	syscallarg(netbsd32_statvfsp_t) buf;
   1448  1.32      cube 	syscallarg(netbsd32_size_t) bufsize;
   1449  1.32      cube 	syscallarg(int) flags;
   1450  1.32      cube };
   1451  1.32      cube 
   1452  1.32      cube struct netbsd32_statvfs1_args {
   1453  1.32      cube 	syscallarg(const netbsd32_charp) path;
   1454  1.32      cube 	syscallarg(netbsd32_statvfsp_t) buf;
   1455  1.32      cube 	syscallarg(int) flags;
   1456  1.32      cube };
   1457  1.32      cube 
   1458  1.32      cube struct netbsd32_fstatvfs1_args {
   1459  1.32      cube 	syscallarg(int) fd;
   1460  1.32      cube 	syscallarg(netbsd32_statvfsp_t) buf;
   1461  1.32      cube 	syscallarg(int) flags;
   1462  1.32      cube };
   1463  1.32      cube 
   1464  1.58    martin struct compat_30_netbsd32_fhstatvfs1_args {
   1465  1.32      cube 	syscallarg(const netbsd32_fhandlep_t) fhp;
   1466  1.32      cube 	syscallarg(netbsd32_statvfsp_t) buf;
   1467  1.32      cube 	syscallarg(int) flags;
   1468  1.32      cube };
   1469  1.32      cube 
   1470  1.36      cube struct netbsd32_extattrctl_args {
   1471  1.36      cube 	syscallarg(const netbsd32_charp) path;
   1472  1.36      cube 	syscallarg(int) cmd;
   1473  1.36      cube 	syscallarg(const netbsd32_charp) filename;
   1474  1.36      cube 	syscallarg(int) attrnamespace;
   1475  1.36      cube 	syscallarg(const netbsd32_charp) attrname;
   1476  1.36      cube };
   1477  1.36      cube 
   1478  1.36      cube struct netbsd32_extattr_set_file_args {
   1479  1.36      cube 	syscallarg(const netbsd32_charp) path;
   1480  1.36      cube 	syscallarg(int) attrnamespace;
   1481  1.36      cube 	syscallarg(const netbsd32_charp) attrname;
   1482  1.36      cube 	syscallarg(const netbsd32_voidp) data;
   1483  1.36      cube 	syscallarg(netbsd32_size_t) nbytes;
   1484  1.36      cube };
   1485  1.36      cube 
   1486  1.36      cube struct netbsd32_extattr_get_file_args {
   1487  1.36      cube 	syscallarg(const netbsd32_charp) path;
   1488  1.36      cube 	syscallarg(int) attrnamespace;
   1489  1.36      cube 	syscallarg(const netbsd32_charp) attrname;
   1490  1.36      cube 	syscallarg(netbsd32_voidp) data;
   1491  1.36      cube 	syscallarg(netbsd32_size_t) nbytes;
   1492  1.36      cube };
   1493  1.36      cube 
   1494  1.36      cube struct netbsd32_extattr_delete_file_args {
   1495  1.36      cube 	syscallarg(const netbsd32_charp) path;
   1496  1.36      cube 	syscallarg(int) attrnamespace;
   1497  1.36      cube 	syscallarg(const netbsd32_charp) attrname;
   1498  1.36      cube };
   1499  1.36      cube 
   1500  1.36      cube struct netbsd32_extattr_set_fd_args {
   1501  1.36      cube 	syscallarg(int) fd;
   1502  1.36      cube 	syscallarg(int) attrnamespace;
   1503  1.36      cube 	syscallarg(const netbsd32_charp) attrname;
   1504  1.36      cube 	syscallarg(const netbsd32_voidp) data;
   1505  1.36      cube 	syscallarg(netbsd32_size_t) nbytes;
   1506  1.36      cube };
   1507  1.36      cube 
   1508  1.36      cube struct netbsd32_extattr_get_fd_args {
   1509  1.36      cube 	syscallarg(int) fd;
   1510  1.36      cube 	syscallarg(int) attrnamespace;
   1511  1.36      cube 	syscallarg(const netbsd32_charp) attrname;
   1512  1.36      cube 	syscallarg(netbsd32_voidp) data;
   1513  1.36      cube 	syscallarg(netbsd32_size_t) nbytes;
   1514  1.36      cube };
   1515  1.36      cube 
   1516  1.36      cube struct netbsd32_extattr_delete_fd_args {
   1517  1.36      cube 	syscallarg(int) fd;
   1518  1.36      cube 	syscallarg(int) attrnamespace;
   1519  1.36      cube 	syscallarg(const netbsd32_charp) attrname;
   1520  1.36      cube };
   1521  1.36      cube 
   1522  1.36      cube struct netbsd32_extattr_set_link_args {
   1523  1.36      cube 	syscallarg(const netbsd32_charp) path;
   1524  1.36      cube 	syscallarg(int) attrnamespace;
   1525  1.36      cube 	syscallarg(const netbsd32_charp) attrname;
   1526  1.36      cube 	syscallarg(const netbsd32_voidp) data;
   1527  1.36      cube 	syscallarg(netbsd32_size_t) nbytes;
   1528  1.36      cube };
   1529  1.36      cube 
   1530  1.36      cube struct netbsd32_extattr_get_link_args {
   1531  1.36      cube 	syscallarg(const netbsd32_charp) path;
   1532  1.36      cube 	syscallarg(int) attrnamespace;
   1533  1.36      cube 	syscallarg(const netbsd32_charp) attrname;
   1534  1.36      cube 	syscallarg(netbsd32_voidp) data;
   1535  1.36      cube 	syscallarg(netbsd32_size_t) nbytes;
   1536  1.36      cube };
   1537  1.36      cube 
   1538  1.36      cube struct netbsd32_extattr_delete_link_args {
   1539  1.36      cube 	syscallarg(const netbsd32_charp) path;
   1540  1.36      cube 	syscallarg(int) attrnamespace;
   1541  1.36      cube 	syscallarg(const netbsd32_charp) attrname;
   1542  1.36      cube };
   1543  1.36      cube 
   1544  1.36      cube struct netbsd32_extattr_list_fd_args {
   1545  1.36      cube 	syscallarg(int) fd;
   1546  1.36      cube 	syscallarg(int) attrnamespace;
   1547  1.36      cube 	syscallarg(netbsd32_voidp) data;
   1548  1.36      cube 	syscallarg(netbsd32_size_t) nbytes;
   1549  1.36      cube };
   1550  1.36      cube 
   1551  1.36      cube struct netbsd32_extattr_list_file_args {
   1552  1.36      cube 	syscallarg(const netbsd32_charp) path;
   1553  1.36      cube 	syscallarg(int) attrnamespace;
   1554  1.36      cube 	syscallarg(netbsd32_voidp) data;
   1555  1.36      cube 	syscallarg(netbsd32_size_t) nbytes;
   1556  1.36      cube };
   1557  1.36      cube 
   1558  1.36      cube struct netbsd32_extattr_list_link_args {
   1559  1.36      cube 	syscallarg(const netbsd32_charp) path;
   1560  1.36      cube 	syscallarg(int) attrnamespace;
   1561  1.36      cube 	syscallarg(netbsd32_voidp) data;
   1562  1.36      cube 	syscallarg(netbsd32_size_t) nbytes;
   1563  1.36      cube };
   1564  1.36      cube 
   1565  1.38      cube struct netbsd32_pselect_args {
   1566  1.38      cube 	syscallarg(int) nd;
   1567  1.38      cube 	syscallarg(netbsd32_fd_setp_t) in;
   1568  1.38      cube 	syscallarg(netbsd32_fd_setp_t) ou;
   1569  1.38      cube 	syscallarg(netbsd32_fd_setp_t) ex;
   1570  1.38      cube 	syscallarg(const netbsd32_timespecp_t) ts;
   1571  1.38      cube 	syscallarg(const netbsd32_sigsetp_t) mask;
   1572  1.38      cube };
   1573  1.38      cube 
   1574  1.38      cube struct netbsd32_pollts_args {
   1575  1.38      cube 	syscallarg(netbsd32_pollfdp_t) fds;
   1576  1.38      cube 	syscallarg(u_int) nfds;
   1577  1.38      cube 	syscallarg(const netbsd32_timespecp_t) ts;
   1578  1.38      cube 	syscallarg(const netbsd32_sigsetp_t) mask;
   1579  1.38      cube };
   1580  1.38      cube 
   1581  1.42      cube struct netbsd32_setxattr_args {
   1582  1.42      cube 	syscallarg(const netbsd32_charp) path;
   1583  1.42      cube 	syscallarg(const netbsd32_charp) name;
   1584  1.42      cube 	syscallarg(netbsd32_voidp) value;
   1585  1.42      cube 	syscallarg(netbsd32_size_t) size;
   1586  1.42      cube 	syscallarg(int) flags;
   1587  1.42      cube };
   1588  1.42      cube 
   1589  1.42      cube struct netbsd32_lsetxattr_args {
   1590  1.42      cube 	syscallarg(const netbsd32_charp) path;
   1591  1.42      cube 	syscallarg(const netbsd32_charp) name;
   1592  1.42      cube 	syscallarg(netbsd32_voidp) value;
   1593  1.42      cube 	syscallarg(netbsd32_size_t) size;
   1594  1.42      cube 	syscallarg(int) flags;
   1595  1.42      cube };
   1596  1.42      cube 
   1597  1.42      cube struct netbsd32_fsetxattr_args {
   1598  1.42      cube 	syscallarg(int) fd;
   1599  1.42      cube 	syscallarg(const netbsd32_charp) name;
   1600  1.42      cube 	syscallarg(netbsd32_voidp) value;
   1601  1.42      cube 	syscallarg(netbsd32_size_t) size;
   1602  1.42      cube 	syscallarg(int) flags;
   1603  1.42      cube };
   1604  1.42      cube 
   1605  1.42      cube struct netbsd32_getxattr_args {
   1606  1.42      cube 	syscallarg(const netbsd32_charp) path;
   1607  1.42      cube 	syscallarg(const netbsd32_charp) name;
   1608  1.42      cube 	syscallarg(netbsd32_voidp) value;
   1609  1.42      cube 	syscallarg(netbsd32_size_t) size;
   1610  1.42      cube };
   1611  1.42      cube 
   1612  1.42      cube struct netbsd32_lgetxattr_args {
   1613  1.42      cube 	syscallarg(const netbsd32_charp) path;
   1614  1.42      cube 	syscallarg(const netbsd32_charp) name;
   1615  1.42      cube 	syscallarg(netbsd32_voidp) value;
   1616  1.42      cube 	syscallarg(netbsd32_size_t) size;
   1617  1.42      cube };
   1618  1.42      cube 
   1619  1.42      cube struct netbsd32_fgetxattr_args {
   1620  1.42      cube 	syscallarg(int) fd;
   1621  1.42      cube 	syscallarg(const netbsd32_charp) name;
   1622  1.42      cube 	syscallarg(netbsd32_voidp) value;
   1623  1.42      cube 	syscallarg(netbsd32_size_t) size;
   1624  1.42      cube };
   1625  1.42      cube 
   1626  1.42      cube struct netbsd32_listxattr_args {
   1627  1.42      cube 	syscallarg(const netbsd32_charp) path;
   1628  1.42      cube 	syscallarg(netbsd32_charp) list;
   1629  1.42      cube 	syscallarg(netbsd32_size_t) size;
   1630  1.42      cube };
   1631  1.42      cube 
   1632  1.42      cube struct netbsd32_llistxattr_args {
   1633  1.42      cube 	syscallarg(const netbsd32_charp) path;
   1634  1.42      cube 	syscallarg(netbsd32_charp) list;
   1635  1.42      cube 	syscallarg(netbsd32_size_t) size;
   1636  1.42      cube };
   1637  1.42      cube 
   1638  1.42      cube struct netbsd32_flistxattr_args {
   1639  1.42      cube 	syscallarg(int) fd;
   1640  1.42      cube 	syscallarg(netbsd32_charp) list;
   1641  1.42      cube 	syscallarg(netbsd32_size_t) size;
   1642  1.42      cube };
   1643  1.42      cube 
   1644  1.42      cube struct netbsd32_removexattr_args {
   1645  1.42      cube 	syscallarg(const netbsd32_charp) path;
   1646  1.42      cube 	syscallarg(const netbsd32_charp) name;
   1647  1.42      cube };
   1648  1.42      cube 
   1649  1.42      cube struct netbsd32_lremovexattr_args {
   1650  1.42      cube 	syscallarg(const netbsd32_charp) path;
   1651  1.42      cube 	syscallarg(const netbsd32_charp) name;
   1652  1.42      cube };
   1653  1.42      cube 
   1654  1.42      cube struct netbsd32_fremovexattr_args {
   1655  1.42      cube 	syscallarg(int) fd;
   1656  1.42      cube 	syscallarg(const netbsd32_charp) name;
   1657  1.42      cube };
   1658  1.42      cube 
   1659  1.45  christos struct netbsd32_sys___stat30_args {
   1660  1.45  christos 	syscallarg(const netbsd32_charp) path;
   1661  1.45  christos 	syscallarg(netbsd32_statp_t) ub;
   1662  1.45  christos };
   1663  1.45  christos 
   1664  1.45  christos struct netbsd32_sys___fstat30_args {
   1665  1.45  christos 	syscallarg(int) fd;
   1666  1.45  christos 	syscallarg(netbsd32_statp_t) sb;
   1667  1.45  christos };
   1668  1.45  christos 
   1669  1.45  christos struct netbsd32_sys___lstat30_args {
   1670  1.45  christos 	syscallarg(const netbsd32_charp) path;
   1671  1.45  christos 	syscallarg(netbsd32_statp_t) ub;
   1672  1.45  christos };
   1673  1.45  christos 
   1674  1.45  christos struct netbsd32_sys___getdents30_args {
   1675  1.45  christos 	syscallarg(int) fd;
   1676  1.45  christos 	syscallarg(netbsd32_charp) buf;
   1677  1.45  christos 	syscallarg(netbsd32_size_t) count;
   1678  1.45  christos };
   1679  1.45  christos 
   1680  1.58    martin struct compat_30_netbsd32_sys___fhstat30_args {
   1681  1.51      cube 	syscallarg(const netbsd32_fhandlep_t) fhp;
   1682  1.51      cube 	syscallarg(netbsd32_statp_t) sb;
   1683  1.51      cube };
   1684  1.51      cube 
   1685  1.53  drochner struct netbsd32_ntp_gettime_args {
   1686  1.53  drochner 	syscallarg(netbsd32_ntptimevalp_t) ntvp;
   1687  1.53  drochner };
   1688  1.53  drochner 
   1689  1.54       mrg struct netbsd32_sys___socket30_args {
   1690  1.54       mrg 	syscallarg(int) domain;
   1691  1.54       mrg 	syscallarg(int) type;
   1692  1.54       mrg 	syscallarg(int) protocol;
   1693  1.54       mrg };
   1694  1.55    martin 
   1695  1.55    martin struct netbsd32___getfh30_args {
   1696  1.55    martin 	syscallarg(const netbsd32_charp) fname;
   1697  1.58    martin 	syscallarg(netbsd32_pointer_t) fhp;
   1698  1.55    martin 	syscallarg(netbsd32_size_tp) fh_size;
   1699  1.55    martin };
   1700  1.54       mrg 
   1701  1.58    martin struct netbsd32___fhopen40_args {
   1702  1.58    martin 	syscallarg(const netbsd32_pointer_t) fhp;
   1703  1.58    martin 	syscallarg(netbsd32_size_t) fh_size;
   1704  1.58    martin 	syscallarg(int) flags;
   1705  1.58    martin };
   1706  1.58    martin 
   1707  1.58    martin struct netbsd32___fhstatvfs140_args {
   1708  1.58    martin 	syscallarg(netbsd32_pointer_t) fhp;
   1709  1.58    martin 	syscallarg(netbsd32_size_t) fh_size;
   1710  1.58    martin 	syscallarg(netbsd32_statvfsp_t) buf;
   1711  1.58    martin 	syscallarg(int) flags;
   1712  1.58    martin };
   1713  1.58    martin 
   1714  1.58    martin struct netbsd32___fhstat40_args {
   1715  1.58    martin 	syscallarg(netbsd32_pointer_t) fhp;
   1716  1.58    martin 	syscallarg(netbsd32_size_t) fh_size;
   1717  1.58    martin 	syscallarg(netbsd32_statp_t) sb;
   1718  1.58    martin };
   1719  1.58    martin 
   1720   1.1       mrg /*
   1721   1.1       mrg  * System call prototypes.
   1722   1.1       mrg  */
   1723   1.1       mrg 
   1724  1.28   thorpej int	netbsd32_exit(struct lwp *, void *, register_t *);
   1725  1.30      fvdl 
   1726  1.28   thorpej int	sys_fork(struct lwp *, void *, register_t *);
   1727  1.30      fvdl 
   1728  1.28   thorpej int	netbsd32_read(struct lwp *, void *, register_t *);
   1729  1.30      fvdl 
   1730  1.28   thorpej int	netbsd32_write(struct lwp *, void *, register_t *);
   1731  1.30      fvdl 
   1732  1.28   thorpej int	netbsd32_open(struct lwp *, void *, register_t *);
   1733  1.30      fvdl 
   1734  1.28   thorpej int	netbsd32_close(struct lwp *, void *, register_t *);
   1735  1.30      fvdl 
   1736  1.28   thorpej int	netbsd32_wait4(struct lwp *, void *, register_t *);
   1737  1.30      fvdl 
   1738  1.28   thorpej int	compat_43_netbsd32_ocreat(struct lwp *, void *, register_t *);
   1739  1.30      fvdl 
   1740  1.28   thorpej int	netbsd32_link(struct lwp *, void *, register_t *);
   1741  1.30      fvdl 
   1742  1.28   thorpej int	netbsd32_unlink(struct lwp *, void *, register_t *);
   1743  1.30      fvdl 
   1744  1.28   thorpej int	netbsd32_chdir(struct lwp *, void *, register_t *);
   1745  1.30      fvdl 
   1746  1.28   thorpej int	netbsd32_fchdir(struct lwp *, void *, register_t *);
   1747  1.30      fvdl 
   1748  1.28   thorpej int	netbsd32_mknod(struct lwp *, void *, register_t *);
   1749  1.30      fvdl 
   1750  1.28   thorpej int	netbsd32_chmod(struct lwp *, void *, register_t *);
   1751  1.30      fvdl 
   1752  1.28   thorpej int	netbsd32_chown(struct lwp *, void *, register_t *);
   1753  1.30      fvdl 
   1754  1.28   thorpej int	netbsd32_break(struct lwp *, void *, register_t *);
   1755  1.30      fvdl 
   1756  1.32      cube int	compat_20_netbsd32_getfsstat(struct lwp *, void *, register_t *);
   1757  1.30      fvdl 
   1758  1.28   thorpej int	compat_43_netbsd32_olseek(struct lwp *, void *, register_t *);
   1759  1.30      fvdl 
   1760  1.28   thorpej int	sys_getpid(struct lwp *, void *, register_t *);
   1761  1.30      fvdl 
   1762  1.28   thorpej int	netbsd32_mount(struct lwp *, void *, register_t *);
   1763  1.30      fvdl 
   1764  1.28   thorpej int	netbsd32_unmount(struct lwp *, void *, register_t *);
   1765  1.30      fvdl 
   1766  1.28   thorpej int	netbsd32_setuid(struct lwp *, void *, register_t *);
   1767  1.30      fvdl 
   1768  1.28   thorpej int	sys_getuid(struct lwp *, void *, register_t *);
   1769  1.30      fvdl 
   1770  1.28   thorpej int	sys_geteuid(struct lwp *, void *, register_t *);
   1771  1.30      fvdl 
   1772  1.59      cube #if defined(PTRACE) || !defined(_KERNEL)
   1773  1.28   thorpej int	netbsd32_ptrace(struct lwp *, void *, register_t *);
   1774  1.30      fvdl 
   1775  1.59      cube #else
   1776  1.59      cube #endif
   1777  1.28   thorpej int	netbsd32_recvmsg(struct lwp *, void *, register_t *);
   1778  1.30      fvdl 
   1779  1.28   thorpej int	netbsd32_sendmsg(struct lwp *, void *, register_t *);
   1780  1.30      fvdl 
   1781  1.28   thorpej int	netbsd32_recvfrom(struct lwp *, void *, register_t *);
   1782  1.30      fvdl 
   1783  1.28   thorpej int	netbsd32_accept(struct lwp *, void *, register_t *);
   1784  1.30      fvdl 
   1785  1.28   thorpej int	netbsd32_getpeername(struct lwp *, void *, register_t *);
   1786  1.30      fvdl 
   1787  1.28   thorpej int	netbsd32_getsockname(struct lwp *, void *, register_t *);
   1788  1.30      fvdl 
   1789  1.28   thorpej int	netbsd32_access(struct lwp *, void *, register_t *);
   1790  1.30      fvdl 
   1791  1.28   thorpej int	netbsd32_chflags(struct lwp *, void *, register_t *);
   1792  1.30      fvdl 
   1793  1.28   thorpej int	netbsd32_fchflags(struct lwp *, void *, register_t *);
   1794  1.30      fvdl 
   1795  1.28   thorpej int	sys_sync(struct lwp *, void *, register_t *);
   1796  1.30      fvdl 
   1797  1.28   thorpej int	netbsd32_kill(struct lwp *, void *, register_t *);
   1798  1.30      fvdl 
   1799  1.28   thorpej int	compat_43_netbsd32_stat43(struct lwp *, void *, register_t *);
   1800  1.30      fvdl 
   1801  1.28   thorpej int	sys_getppid(struct lwp *, void *, register_t *);
   1802  1.30      fvdl 
   1803  1.28   thorpej int	compat_43_netbsd32_lstat43(struct lwp *, void *, register_t *);
   1804  1.30      fvdl 
   1805  1.28   thorpej int	netbsd32_dup(struct lwp *, void *, register_t *);
   1806  1.30      fvdl 
   1807  1.28   thorpej int	sys_pipe(struct lwp *, void *, register_t *);
   1808  1.30      fvdl 
   1809  1.28   thorpej int	sys_getegid(struct lwp *, void *, register_t *);
   1810  1.30      fvdl 
   1811  1.28   thorpej int	netbsd32_profil(struct lwp *, void *, register_t *);
   1812  1.30      fvdl 
   1813  1.10  christos #if defined(KTRACE) || !defined(_KERNEL)
   1814  1.28   thorpej int	netbsd32_ktrace(struct lwp *, void *, register_t *);
   1815  1.30      fvdl 
   1816   1.1       mrg #else
   1817   1.1       mrg #endif
   1818  1.28   thorpej int	netbsd32_sigaction(struct lwp *, void *, register_t *);
   1819  1.30      fvdl 
   1820  1.28   thorpej int	sys_getgid(struct lwp *, void *, register_t *);
   1821  1.30      fvdl 
   1822  1.28   thorpej int	compat_13_netbsd32_sigprocmask(struct lwp *, void *, register_t *);
   1823  1.30      fvdl 
   1824  1.28   thorpej int	netbsd32___getlogin(struct lwp *, void *, register_t *);
   1825  1.30      fvdl 
   1826  1.28   thorpej int	netbsd32_setlogin(struct lwp *, void *, register_t *);
   1827  1.30      fvdl 
   1828  1.28   thorpej int	netbsd32_acct(struct lwp *, void *, register_t *);
   1829  1.30      fvdl 
   1830  1.28   thorpej int	compat_13_sys_sigpending(struct lwp *, void *, register_t *);
   1831  1.30      fvdl 
   1832  1.28   thorpej int	compat_13_netbsd32_sigaltstack13(struct lwp *, void *, register_t *);
   1833  1.30      fvdl 
   1834  1.28   thorpej int	netbsd32_ioctl(struct lwp *, void *, register_t *);
   1835  1.30      fvdl 
   1836  1.28   thorpej int	compat_12_netbsd32_reboot(struct lwp *, void *, register_t *);
   1837  1.30      fvdl 
   1838  1.28   thorpej int	netbsd32_revoke(struct lwp *, void *, register_t *);
   1839  1.30      fvdl 
   1840  1.28   thorpej int	netbsd32_symlink(struct lwp *, void *, register_t *);
   1841  1.30      fvdl 
   1842  1.28   thorpej int	netbsd32_readlink(struct lwp *, void *, register_t *);
   1843  1.30      fvdl 
   1844  1.28   thorpej int	netbsd32_execve(struct lwp *, void *, register_t *);
   1845  1.30      fvdl 
   1846  1.28   thorpej int	netbsd32_umask(struct lwp *, void *, register_t *);
   1847  1.30      fvdl 
   1848  1.28   thorpej int	netbsd32_chroot(struct lwp *, void *, register_t *);
   1849  1.30      fvdl 
   1850  1.28   thorpej int	compat_43_netbsd32_fstat43(struct lwp *, void *, register_t *);
   1851  1.30      fvdl 
   1852  1.28   thorpej int	compat_43_netbsd32_ogetkerninfo(struct lwp *, void *, register_t *);
   1853  1.30      fvdl 
   1854  1.28   thorpej int	compat_43_sys_getpagesize(struct lwp *, void *, register_t *);
   1855  1.30      fvdl 
   1856  1.28   thorpej int	compat_12_netbsd32_msync(struct lwp *, void *, register_t *);
   1857  1.30      fvdl 
   1858  1.28   thorpej int	sys_vfork(struct lwp *, void *, register_t *);
   1859  1.30      fvdl 
   1860  1.28   thorpej int	netbsd32_sbrk(struct lwp *, void *, register_t *);
   1861  1.30      fvdl 
   1862  1.28   thorpej int	netbsd32_sstk(struct lwp *, void *, register_t *);
   1863  1.30      fvdl 
   1864  1.28   thorpej int	compat_43_netbsd32_ommap(struct lwp *, void *, register_t *);
   1865  1.30      fvdl 
   1866  1.28   thorpej int	netbsd32_ovadvise(struct lwp *, void *, register_t *);
   1867  1.30      fvdl 
   1868  1.28   thorpej int	netbsd32_munmap(struct lwp *, void *, register_t *);
   1869  1.30      fvdl 
   1870  1.28   thorpej int	netbsd32_mprotect(struct lwp *, void *, register_t *);
   1871  1.30      fvdl 
   1872  1.28   thorpej int	netbsd32_madvise(struct lwp *, void *, register_t *);
   1873  1.30      fvdl 
   1874  1.28   thorpej int	netbsd32_mincore(struct lwp *, void *, register_t *);
   1875  1.30      fvdl 
   1876  1.28   thorpej int	netbsd32_getgroups(struct lwp *, void *, register_t *);
   1877  1.30      fvdl 
   1878  1.28   thorpej int	netbsd32_setgroups(struct lwp *, void *, register_t *);
   1879  1.30      fvdl 
   1880  1.28   thorpej int	sys_getpgrp(struct lwp *, void *, register_t *);
   1881  1.30      fvdl 
   1882  1.28   thorpej int	netbsd32_setpgid(struct lwp *, void *, register_t *);
   1883  1.30      fvdl 
   1884  1.28   thorpej int	netbsd32_setitimer(struct lwp *, void *, register_t *);
   1885  1.30      fvdl 
   1886  1.28   thorpej int	compat_43_sys_wait(struct lwp *, void *, register_t *);
   1887  1.30      fvdl 
   1888  1.28   thorpej int	compat_12_netbsd32_oswapon(struct lwp *, void *, register_t *);
   1889  1.30      fvdl 
   1890  1.28   thorpej int	netbsd32_getitimer(struct lwp *, void *, register_t *);
   1891  1.30      fvdl 
   1892  1.28   thorpej int	compat_43_netbsd32_ogethostname(struct lwp *, void *, register_t *);
   1893  1.30      fvdl 
   1894  1.28   thorpej int	compat_43_netbsd32_osethostname(struct lwp *, void *, register_t *);
   1895  1.30      fvdl 
   1896  1.28   thorpej int	compat_43_sys_getdtablesize(struct lwp *, void *, register_t *);
   1897  1.30      fvdl 
   1898  1.28   thorpej int	netbsd32_dup2(struct lwp *, void *, register_t *);
   1899  1.30      fvdl 
   1900  1.28   thorpej int	netbsd32_fcntl(struct lwp *, void *, register_t *);
   1901  1.30      fvdl 
   1902  1.28   thorpej int	netbsd32_select(struct lwp *, void *, register_t *);
   1903  1.30      fvdl 
   1904  1.28   thorpej int	netbsd32_fsync(struct lwp *, void *, register_t *);
   1905  1.30      fvdl 
   1906  1.28   thorpej int	netbsd32_setpriority(struct lwp *, void *, register_t *);
   1907  1.30      fvdl 
   1908  1.54       mrg int	compat_30_netbsd32_socket(struct lwp *, void *, register_t *);
   1909  1.30      fvdl 
   1910  1.28   thorpej int	netbsd32_connect(struct lwp *, void *, register_t *);
   1911  1.30      fvdl 
   1912  1.28   thorpej int	compat_43_netbsd32_oaccept(struct lwp *, void *, register_t *);
   1913  1.30      fvdl 
   1914  1.28   thorpej int	netbsd32_getpriority(struct lwp *, void *, register_t *);
   1915  1.30      fvdl 
   1916  1.28   thorpej int	compat_43_netbsd32_osend(struct lwp *, void *, register_t *);
   1917  1.30      fvdl 
   1918  1.28   thorpej int	compat_43_netbsd32_orecv(struct lwp *, void *, register_t *);
   1919  1.30      fvdl 
   1920  1.28   thorpej int	compat_13_netbsd32_sigreturn(struct lwp *, void *, register_t *);
   1921  1.30      fvdl 
   1922  1.28   thorpej int	netbsd32_bind(struct lwp *, void *, register_t *);
   1923  1.30      fvdl 
   1924  1.28   thorpej int	netbsd32_setsockopt(struct lwp *, void *, register_t *);
   1925  1.30      fvdl 
   1926  1.28   thorpej int	netbsd32_listen(struct lwp *, void *, register_t *);
   1927  1.30      fvdl 
   1928  1.28   thorpej int	compat_43_netbsd32_osigvec(struct lwp *, void *, register_t *);
   1929  1.30      fvdl 
   1930  1.31       chs #if defined(COMPAT_43) || defined(COMPAT_SUNOS)
   1931  1.28   thorpej int	compat_43_netbsd32_sigblock(struct lwp *, void *, register_t *);
   1932  1.30      fvdl 
   1933  1.28   thorpej int	compat_43_netbsd32_sigsetmask(struct lwp *, void *, register_t *);
   1934  1.30      fvdl 
   1935   1.1       mrg #else
   1936   1.1       mrg #endif
   1937  1.28   thorpej int	compat_13_netbsd32_sigsuspend(struct lwp *, void *, register_t *);
   1938  1.30      fvdl 
   1939  1.28   thorpej int	compat_43_netbsd32_osigstack(struct lwp *, void *, register_t *);
   1940  1.30      fvdl 
   1941  1.28   thorpej int	compat_43_netbsd32_orecvmsg(struct lwp *, void *, register_t *);
   1942  1.30      fvdl 
   1943  1.28   thorpej int	compat_43_netbsd32_osendmsg(struct lwp *, void *, register_t *);
   1944  1.30      fvdl 
   1945  1.28   thorpej int	netbsd32_gettimeofday(struct lwp *, void *, register_t *);
   1946  1.30      fvdl 
   1947  1.28   thorpej int	netbsd32_getrusage(struct lwp *, void *, register_t *);
   1948  1.30      fvdl 
   1949  1.28   thorpej int	netbsd32_getsockopt(struct lwp *, void *, register_t *);
   1950  1.30      fvdl 
   1951  1.28   thorpej int	netbsd32_readv(struct lwp *, void *, register_t *);
   1952  1.30      fvdl 
   1953  1.28   thorpej int	netbsd32_writev(struct lwp *, void *, register_t *);
   1954  1.30      fvdl 
   1955  1.28   thorpej int	netbsd32_settimeofday(struct lwp *, void *, register_t *);
   1956  1.30      fvdl 
   1957  1.28   thorpej int	netbsd32_fchown(struct lwp *, void *, register_t *);
   1958  1.30      fvdl 
   1959  1.28   thorpej int	netbsd32_fchmod(struct lwp *, void *, register_t *);
   1960  1.30      fvdl 
   1961  1.28   thorpej int	compat_43_netbsd32_orecvfrom(struct lwp *, void *, register_t *);
   1962  1.30      fvdl 
   1963  1.28   thorpej int	netbsd32_setreuid(struct lwp *, void *, register_t *);
   1964  1.30      fvdl 
   1965  1.28   thorpej int	netbsd32_setregid(struct lwp *, void *, register_t *);
   1966  1.30      fvdl 
   1967  1.28   thorpej int	netbsd32_rename(struct lwp *, void *, register_t *);
   1968  1.30      fvdl 
   1969  1.28   thorpej int	compat_43_netbsd32_otruncate(struct lwp *, void *, register_t *);
   1970  1.30      fvdl 
   1971  1.28   thorpej int	compat_43_netbsd32_oftruncate(struct lwp *, void *, register_t *);
   1972  1.30      fvdl 
   1973  1.28   thorpej int	netbsd32_flock(struct lwp *, void *, register_t *);
   1974  1.30      fvdl 
   1975  1.28   thorpej int	netbsd32_mkfifo(struct lwp *, void *, register_t *);
   1976  1.30      fvdl 
   1977  1.28   thorpej int	netbsd32_sendto(struct lwp *, void *, register_t *);
   1978  1.30      fvdl 
   1979  1.28   thorpej int	netbsd32_shutdown(struct lwp *, void *, register_t *);
   1980  1.30      fvdl 
   1981  1.28   thorpej int	netbsd32_socketpair(struct lwp *, void *, register_t *);
   1982  1.30      fvdl 
   1983  1.28   thorpej int	netbsd32_mkdir(struct lwp *, void *, register_t *);
   1984  1.30      fvdl 
   1985  1.28   thorpej int	netbsd32_rmdir(struct lwp *, void *, register_t *);
   1986  1.30      fvdl 
   1987  1.28   thorpej int	netbsd32_utimes(struct lwp *, void *, register_t *);
   1988  1.30      fvdl 
   1989  1.28   thorpej int	netbsd32_adjtime(struct lwp *, void *, register_t *);
   1990  1.30      fvdl 
   1991  1.28   thorpej int	compat_43_netbsd32_ogetpeername(struct lwp *, void *, register_t *);
   1992  1.30      fvdl 
   1993  1.28   thorpej int	compat_43_sys_gethostid(struct lwp *, void *, register_t *);
   1994  1.30      fvdl 
   1995  1.31       chs #if defined(COMPAT_43) || defined(COMPAT_SUNOS)
   1996  1.28   thorpej int	compat_43_netbsd32_sethostid(struct lwp *, void *, register_t *);
   1997  1.30      fvdl 
   1998   1.1       mrg #else
   1999   1.1       mrg #endif
   2000  1.28   thorpej int	compat_43_netbsd32_ogetrlimit(struct lwp *, void *, register_t *);
   2001  1.30      fvdl 
   2002  1.28   thorpej int	compat_43_netbsd32_osetrlimit(struct lwp *, void *, register_t *);
   2003  1.30      fvdl 
   2004  1.31       chs #if defined(COMPAT_43) || defined(COMPAT_SUNOS)
   2005  1.28   thorpej int	compat_43_netbsd32_killpg(struct lwp *, void *, register_t *);
   2006  1.30      fvdl 
   2007   1.1       mrg #else
   2008   1.1       mrg #endif
   2009  1.28   thorpej int	sys_setsid(struct lwp *, void *, register_t *);
   2010  1.30      fvdl 
   2011  1.28   thorpej int	netbsd32_quotactl(struct lwp *, void *, register_t *);
   2012  1.30      fvdl 
   2013  1.28   thorpej int	compat_43_sys_quota(struct lwp *, void *, register_t *);
   2014  1.30      fvdl 
   2015  1.28   thorpej int	compat_43_netbsd32_ogetsockname(struct lwp *, void *, register_t *);
   2016  1.30      fvdl 
   2017  1.10  christos #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
   2018  1.28   thorpej int	netbsd32_nfssvc(struct lwp *, void *, register_t *);
   2019  1.30      fvdl 
   2020   1.1       mrg #else
   2021   1.1       mrg #endif
   2022  1.28   thorpej int	compat_43_netbsd32_ogetdirentries(struct lwp *, void *, register_t *);
   2023  1.30      fvdl 
   2024  1.32      cube int	compat_20_netbsd32_statfs(struct lwp *, void *, register_t *);
   2025  1.30      fvdl 
   2026  1.32      cube int	compat_20_netbsd32_fstatfs(struct lwp *, void *, register_t *);
   2027  1.30      fvdl 
   2028  1.55    martin int	compat_30_netbsd32_getfh(struct lwp *, void *, register_t *);
   2029  1.30      fvdl 
   2030  1.28   thorpej int	compat_09_netbsd32_ogetdomainname(struct lwp *, void *, register_t *);
   2031  1.30      fvdl 
   2032  1.28   thorpej int	compat_09_netbsd32_osetdomainname(struct lwp *, void *, register_t *);
   2033  1.30      fvdl 
   2034  1.28   thorpej int	compat_09_netbsd32_uname(struct lwp *, void *, register_t *);
   2035  1.30      fvdl 
   2036  1.28   thorpej int	netbsd32_sysarch(struct lwp *, void *, register_t *);
   2037  1.30      fvdl 
   2038  1.26       mrg #if defined(SYSVSEM) || !defined(_KERNEL)
   2039  1.28   thorpej int	compat_10_netbsd32_sys_semsys(struct lwp *, void *, register_t *);
   2040  1.30      fvdl 
   2041   1.1       mrg #else
   2042   1.1       mrg #endif
   2043  1.26       mrg #if defined(SYSVMSG) || !defined(_KERNEL)
   2044  1.28   thorpej int	compat_10_netbsd32_sys_msgsys(struct lwp *, void *, register_t *);
   2045  1.30      fvdl 
   2046   1.1       mrg #else
   2047   1.1       mrg #endif
   2048  1.26       mrg #if defined(SYSVSHM) || !defined(_KERNEL)
   2049  1.28   thorpej int	compat_10_netbsd32_sys_shmsys(struct lwp *, void *, register_t *);
   2050  1.30      fvdl 
   2051   1.1       mrg #else
   2052   1.1       mrg #endif
   2053  1.28   thorpej int	netbsd32_pread(struct lwp *, void *, register_t *);
   2054  1.30      fvdl 
   2055  1.28   thorpej int	netbsd32_pwrite(struct lwp *, void *, register_t *);
   2056  1.30      fvdl 
   2057  1.53  drochner int	compat_30_netbsd32_ntp_gettime(struct lwp *, void *, register_t *);
   2058  1.53  drochner 
   2059  1.28   thorpej int	netbsd32_ntp_adjtime(struct lwp *, void *, register_t *);
   2060  1.30      fvdl 
   2061  1.28   thorpej int	netbsd32_setgid(struct lwp *, void *, register_t *);
   2062  1.30      fvdl 
   2063  1.28   thorpej int	netbsd32_setegid(struct lwp *, void *, register_t *);
   2064  1.30      fvdl 
   2065  1.28   thorpej int	netbsd32_seteuid(struct lwp *, void *, register_t *);
   2066  1.30      fvdl 
   2067  1.10  christos #if defined(LFS) || !defined(_KERNEL)
   2068  1.28   thorpej int	netbsd32_sys_lfs_bmapv(struct lwp *, void *, register_t *);
   2069  1.30      fvdl 
   2070  1.28   thorpej int	netbsd32_sys_lfs_markv(struct lwp *, void *, register_t *);
   2071  1.30      fvdl 
   2072  1.28   thorpej int	netbsd32_sys_lfs_segclean(struct lwp *, void *, register_t *);
   2073  1.30      fvdl 
   2074  1.28   thorpej int	netbsd32_sys_lfs_segwait(struct lwp *, void *, register_t *);
   2075  1.30      fvdl 
   2076  1.16       cgd #else
   2077  1.16       cgd #endif
   2078  1.28   thorpej int	compat_12_netbsd32_stat12(struct lwp *, void *, register_t *);
   2079  1.30      fvdl 
   2080  1.28   thorpej int	compat_12_netbsd32_fstat12(struct lwp *, void *, register_t *);
   2081  1.30      fvdl 
   2082  1.28   thorpej int	compat_12_netbsd32_lstat12(struct lwp *, void *, register_t *);
   2083  1.30      fvdl 
   2084  1.28   thorpej int	netbsd32_pathconf(struct lwp *, void *, register_t *);
   2085  1.30      fvdl 
   2086  1.28   thorpej int	netbsd32_fpathconf(struct lwp *, void *, register_t *);
   2087  1.30      fvdl 
   2088  1.28   thorpej int	netbsd32_getrlimit(struct lwp *, void *, register_t *);
   2089  1.30      fvdl 
   2090  1.28   thorpej int	netbsd32_setrlimit(struct lwp *, void *, register_t *);
   2091  1.30      fvdl 
   2092  1.28   thorpej int	compat_12_netbsd32_getdirentries(struct lwp *, void *, register_t *);
   2093  1.30      fvdl 
   2094  1.28   thorpej int	netbsd32_mmap(struct lwp *, void *, register_t *);
   2095  1.30      fvdl 
   2096  1.28   thorpej int	netbsd32_lseek(struct lwp *, void *, register_t *);
   2097  1.30      fvdl 
   2098  1.28   thorpej int	netbsd32_truncate(struct lwp *, void *, register_t *);
   2099  1.30      fvdl 
   2100  1.28   thorpej int	netbsd32_ftruncate(struct lwp *, void *, register_t *);
   2101  1.30      fvdl 
   2102  1.28   thorpej int	netbsd32___sysctl(struct lwp *, void *, register_t *);
   2103  1.30      fvdl 
   2104  1.28   thorpej int	netbsd32_mlock(struct lwp *, void *, register_t *);
   2105  1.30      fvdl 
   2106  1.28   thorpej int	netbsd32_munlock(struct lwp *, void *, register_t *);
   2107  1.30      fvdl 
   2108  1.28   thorpej int	netbsd32_undelete(struct lwp *, void *, register_t *);
   2109  1.30      fvdl 
   2110  1.28   thorpej int	netbsd32_futimes(struct lwp *, void *, register_t *);
   2111  1.30      fvdl 
   2112  1.28   thorpej int	netbsd32_getpgid(struct lwp *, void *, register_t *);
   2113  1.30      fvdl 
   2114  1.28   thorpej int	netbsd32_reboot(struct lwp *, void *, register_t *);
   2115  1.30      fvdl 
   2116  1.28   thorpej int	netbsd32_poll(struct lwp *, void *, register_t *);
   2117  1.30      fvdl 
   2118  1.10  christos #if defined(LKM) || !defined(_KERNEL)
   2119  1.28   thorpej int	sys_lkmnosys(struct lwp *, void *, register_t *);
   2120  1.30      fvdl 
   2121  1.10  christos #else	/* !LKM || !_KERNEL */
   2122  1.10  christos #endif	/* !LKM || !_KERNEL */
   2123  1.10  christos #if defined(SYSVSEM) || !defined(_KERNEL)
   2124  1.28   thorpej int	compat_14_netbsd32___semctl(struct lwp *, void *, register_t *);
   2125  1.30      fvdl 
   2126  1.28   thorpej int	netbsd32_semget(struct lwp *, void *, register_t *);
   2127  1.30      fvdl 
   2128  1.28   thorpej int	netbsd32_semop(struct lwp *, void *, register_t *);
   2129  1.30      fvdl 
   2130  1.28   thorpej int	netbsd32_semconfig(struct lwp *, void *, register_t *);
   2131  1.30      fvdl 
   2132   1.1       mrg #else
   2133   1.1       mrg #endif
   2134  1.10  christos #if defined(SYSVMSG) || !defined(_KERNEL)
   2135  1.28   thorpej int	compat_14_netbsd32_msgctl(struct lwp *, void *, register_t *);
   2136  1.30      fvdl 
   2137  1.28   thorpej int	netbsd32_msgget(struct lwp *, void *, register_t *);
   2138  1.30      fvdl 
   2139  1.28   thorpej int	netbsd32_msgsnd(struct lwp *, void *, register_t *);
   2140  1.30      fvdl 
   2141  1.28   thorpej int	netbsd32_msgrcv(struct lwp *, void *, register_t *);
   2142  1.30      fvdl 
   2143   1.1       mrg #else
   2144   1.1       mrg #endif
   2145  1.10  christos #if defined(SYSVSHM) || !defined(_KERNEL)
   2146  1.28   thorpej int	netbsd32_shmat(struct lwp *, void *, register_t *);
   2147  1.30      fvdl 
   2148  1.28   thorpej int	compat_14_netbsd32_shmctl(struct lwp *, void *, register_t *);
   2149  1.30      fvdl 
   2150  1.28   thorpej int	netbsd32_shmdt(struct lwp *, void *, register_t *);
   2151  1.30      fvdl 
   2152  1.28   thorpej int	netbsd32_shmget(struct lwp *, void *, register_t *);
   2153  1.30      fvdl 
   2154  1.16       cgd #else
   2155  1.16       cgd #endif
   2156  1.28   thorpej int	netbsd32_clock_gettime(struct lwp *, void *, register_t *);
   2157  1.30      fvdl 
   2158  1.28   thorpej int	netbsd32_clock_settime(struct lwp *, void *, register_t *);
   2159  1.30      fvdl 
   2160  1.28   thorpej int	netbsd32_clock_getres(struct lwp *, void *, register_t *);
   2161  1.30      fvdl 
   2162  1.43      cube int	netbsd32_timer_create(struct lwp *, void *, register_t *);
   2163  1.43      cube 
   2164  1.43      cube int	netbsd32_timer_delete(struct lwp *, void *, register_t *);
   2165  1.43      cube 
   2166  1.43      cube int	netbsd32_timer_settime(struct lwp *, void *, register_t *);
   2167  1.43      cube 
   2168  1.43      cube int	netbsd32_timer_gettime(struct lwp *, void *, register_t *);
   2169  1.43      cube 
   2170  1.43      cube int	netbsd32_timer_getoverrun(struct lwp *, void *, register_t *);
   2171  1.43      cube 
   2172  1.28   thorpej int	netbsd32_nanosleep(struct lwp *, void *, register_t *);
   2173  1.30      fvdl 
   2174  1.28   thorpej int	netbsd32_fdatasync(struct lwp *, void *, register_t *);
   2175  1.30      fvdl 
   2176  1.37      cube int	netbsd32_mlockall(struct lwp *, void *, register_t *);
   2177  1.37      cube 
   2178  1.37      cube int	sys_munlockall(struct lwp *, void *, register_t *);
   2179  1.37      cube 
   2180  1.44      cube int	netbsd32___sigtimedwait(struct lwp *, void *, register_t *);
   2181  1.44      cube 
   2182  1.48      cube #if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL) && defined(_LIBC))
   2183  1.48      cube int	netbsd32__ksem_init(struct lwp *, void *, register_t *);
   2184  1.48      cube 
   2185  1.48      cube int	netbsd32__ksem_open(struct lwp *, void *, register_t *);
   2186  1.48      cube 
   2187  1.48      cube int	netbsd32__ksem_unlink(struct lwp *, void *, register_t *);
   2188  1.48      cube 
   2189  1.48      cube int	netbsd32__ksem_close(struct lwp *, void *, register_t *);
   2190  1.48      cube 
   2191  1.48      cube int	netbsd32__ksem_post(struct lwp *, void *, register_t *);
   2192  1.48      cube 
   2193  1.48      cube int	netbsd32__ksem_wait(struct lwp *, void *, register_t *);
   2194  1.48      cube 
   2195  1.48      cube int	netbsd32__ksem_trywait(struct lwp *, void *, register_t *);
   2196  1.48      cube 
   2197  1.48      cube int	netbsd32__ksem_getvalue(struct lwp *, void *, register_t *);
   2198  1.48      cube 
   2199  1.48      cube int	netbsd32__ksem_destroy(struct lwp *, void *, register_t *);
   2200  1.48      cube 
   2201  1.48      cube #else
   2202  1.48      cube #endif
   2203  1.28   thorpej int	netbsd32___posix_rename(struct lwp *, void *, register_t *);
   2204  1.30      fvdl 
   2205  1.28   thorpej int	netbsd32_swapctl(struct lwp *, void *, register_t *);
   2206  1.30      fvdl 
   2207  1.28   thorpej int	netbsd32_getdents(struct lwp *, void *, register_t *);
   2208  1.30      fvdl 
   2209  1.28   thorpej int	netbsd32_minherit(struct lwp *, void *, register_t *);
   2210  1.30      fvdl 
   2211  1.28   thorpej int	netbsd32_lchmod(struct lwp *, void *, register_t *);
   2212  1.30      fvdl 
   2213  1.28   thorpej int	netbsd32_lchown(struct lwp *, void *, register_t *);
   2214  1.30      fvdl 
   2215  1.28   thorpej int	netbsd32_lutimes(struct lwp *, void *, register_t *);
   2216  1.30      fvdl 
   2217  1.28   thorpej int	netbsd32___msync13(struct lwp *, void *, register_t *);
   2218  1.30      fvdl 
   2219  1.28   thorpej int	netbsd32___stat13(struct lwp *, void *, register_t *);
   2220  1.30      fvdl 
   2221  1.28   thorpej int	netbsd32___fstat13(struct lwp *, void *, register_t *);
   2222  1.30      fvdl 
   2223  1.28   thorpej int	netbsd32___lstat13(struct lwp *, void *, register_t *);
   2224  1.30      fvdl 
   2225  1.28   thorpej int	netbsd32___sigaltstack14(struct lwp *, void *, register_t *);
   2226  1.30      fvdl 
   2227  1.28   thorpej int	sys___vfork14(struct lwp *, void *, register_t *);
   2228  1.30      fvdl 
   2229  1.28   thorpej int	netbsd32___posix_chown(struct lwp *, void *, register_t *);
   2230  1.30      fvdl 
   2231  1.28   thorpej int	netbsd32___posix_fchown(struct lwp *, void *, register_t *);
   2232  1.30      fvdl 
   2233  1.28   thorpej int	netbsd32___posix_lchown(struct lwp *, void *, register_t *);
   2234  1.30      fvdl 
   2235  1.28   thorpej int	netbsd32_getsid(struct lwp *, void *, register_t *);
   2236  1.30      fvdl 
   2237  1.39      cube int	netbsd32___clone(struct lwp *, void *, register_t *);
   2238  1.39      cube 
   2239  1.10  christos #if defined(KTRACE) || !defined(_KERNEL)
   2240  1.28   thorpej int	netbsd32_fktrace(struct lwp *, void *, register_t *);
   2241  1.30      fvdl 
   2242   1.1       mrg #else
   2243   1.1       mrg #endif
   2244  1.28   thorpej int	netbsd32_preadv(struct lwp *, void *, register_t *);
   2245  1.30      fvdl 
   2246  1.28   thorpej int	netbsd32_pwritev(struct lwp *, void *, register_t *);
   2247  1.30      fvdl 
   2248  1.28   thorpej int	netbsd32___sigaction14(struct lwp *, void *, register_t *);
   2249  1.30      fvdl 
   2250  1.28   thorpej int	netbsd32___sigpending14(struct lwp *, void *, register_t *);
   2251  1.30      fvdl 
   2252  1.28   thorpej int	netbsd32___sigprocmask14(struct lwp *, void *, register_t *);
   2253  1.30      fvdl 
   2254  1.28   thorpej int	netbsd32___sigsuspend14(struct lwp *, void *, register_t *);
   2255  1.30      fvdl 
   2256  1.30      fvdl int	compat_16_netbsd32___sigreturn14(struct lwp *, void *, register_t *);
   2257  1.30      fvdl 
   2258  1.28   thorpej int	netbsd32___getcwd(struct lwp *, void *, register_t *);
   2259  1.30      fvdl 
   2260  1.28   thorpej int	netbsd32_fchroot(struct lwp *, void *, register_t *);
   2261  1.30      fvdl 
   2262  1.58    martin int	compat_30_netbsd32_fhopen(struct lwp *, void *, register_t *);
   2263  1.30      fvdl 
   2264  1.51      cube int	compat_30_netbsd32_fhstat(struct lwp *, void *, register_t *);
   2265  1.30      fvdl 
   2266  1.32      cube int	compat_20_netbsd32_fhstatfs(struct lwp *, void *, register_t *);
   2267  1.30      fvdl 
   2268  1.12       eeh #if defined(SYSVSEM) || !defined(_KERNEL)
   2269  1.28   thorpej int	netbsd32___semctl14(struct lwp *, void *, register_t *);
   2270  1.30      fvdl 
   2271  1.12       eeh #else
   2272  1.12       eeh #endif
   2273  1.12       eeh #if defined(SYSVMSG) || !defined(_KERNEL)
   2274  1.28   thorpej int	netbsd32___msgctl13(struct lwp *, void *, register_t *);
   2275  1.30      fvdl 
   2276  1.12       eeh #else
   2277  1.12       eeh #endif
   2278  1.12       eeh #if defined(SYSVSHM) || !defined(_KERNEL)
   2279  1.28   thorpej int	netbsd32___shmctl13(struct lwp *, void *, register_t *);
   2280  1.30      fvdl 
   2281  1.12       eeh #else
   2282  1.12       eeh #endif
   2283  1.28   thorpej int	netbsd32_lchflags(struct lwp *, void *, register_t *);
   2284  1.30      fvdl 
   2285  1.28   thorpej int	sys_issetugid(struct lwp *, void *, register_t *);
   2286  1.30      fvdl 
   2287  1.28   thorpej int	netbsd32_utrace(struct lwp *, void *, register_t *);
   2288  1.30      fvdl 
   2289  1.30      fvdl int	netbsd32_getcontext(struct lwp *, void *, register_t *);
   2290  1.30      fvdl 
   2291  1.30      fvdl int	netbsd32_setcontext(struct lwp *, void *, register_t *);
   2292  1.30      fvdl 
   2293  1.50      cube int	netbsd32__lwp_create(struct lwp *, void *, register_t *);
   2294  1.50      cube 
   2295  1.50      cube int	sys__lwp_exit(struct lwp *, void *, register_t *);
   2296  1.50      cube 
   2297  1.50      cube int	sys__lwp_self(struct lwp *, void *, register_t *);
   2298  1.50      cube 
   2299  1.50      cube int	netbsd32__lwp_wait(struct lwp *, void *, register_t *);
   2300  1.50      cube 
   2301  1.50      cube int	netbsd32__lwp_suspend(struct lwp *, void *, register_t *);
   2302  1.50      cube 
   2303  1.50      cube int	netbsd32__lwp_continue(struct lwp *, void *, register_t *);
   2304  1.50      cube 
   2305  1.50      cube int	netbsd32__lwp_wakeup(struct lwp *, void *, register_t *);
   2306  1.50      cube 
   2307  1.50      cube int	sys__lwp_getprivate(struct lwp *, void *, register_t *);
   2308  1.50      cube 
   2309  1.50      cube int	netbsd32__lwp_setprivate(struct lwp *, void *, register_t *);
   2310  1.50      cube 
   2311  1.50      cube int	netbsd32_sa_register(struct lwp *, void *, register_t *);
   2312  1.50      cube 
   2313  1.50      cube int	netbsd32_sa_stacks(struct lwp *, void *, register_t *);
   2314  1.50      cube 
   2315  1.50      cube int	sys_sa_enable(struct lwp *, void *, register_t *);
   2316  1.50      cube 
   2317  1.50      cube int	netbsd32_sa_setconcurrency(struct lwp *, void *, register_t *);
   2318  1.50      cube 
   2319  1.50      cube int	sys_sa_yield(struct lwp *, void *, register_t *);
   2320  1.50      cube 
   2321  1.50      cube int	netbsd32_sa_preempt(struct lwp *, void *, register_t *);
   2322  1.50      cube 
   2323  1.28   thorpej int	netbsd32___sigaction_sigtramp(struct lwp *, void *, register_t *);
   2324  1.30      fvdl 
   2325  1.41      cube int	netbsd32_rasctl(struct lwp *, void *, register_t *);
   2326  1.41      cube 
   2327  1.46      cube int	sys_kqueue(struct lwp *, void *, register_t *);
   2328  1.46      cube 
   2329  1.46      cube int	netbsd32_kevent(struct lwp *, void *, register_t *);
   2330  1.46      cube 
   2331  1.40      cube int	netbsd32_fsync_range(struct lwp *, void *, register_t *);
   2332  1.40      cube 
   2333  1.35      cube int	netbsd32_uuidgen(struct lwp *, void *, register_t *);
   2334  1.35      cube 
   2335  1.32      cube int	netbsd32_getvfsstat(struct lwp *, void *, register_t *);
   2336  1.32      cube 
   2337  1.32      cube int	netbsd32_statvfs1(struct lwp *, void *, register_t *);
   2338  1.32      cube 
   2339  1.32      cube int	netbsd32_fstatvfs1(struct lwp *, void *, register_t *);
   2340  1.32      cube 
   2341  1.58    martin int	compat_30_netbsd32_fhstatvfs1(struct lwp *, void *, register_t *);
   2342  1.32      cube 
   2343  1.36      cube int	netbsd32_extattrctl(struct lwp *, void *, register_t *);
   2344  1.36      cube 
   2345  1.36      cube int	netbsd32_extattr_set_file(struct lwp *, void *, register_t *);
   2346  1.36      cube 
   2347  1.36      cube int	netbsd32_extattr_get_file(struct lwp *, void *, register_t *);
   2348  1.36      cube 
   2349  1.36      cube int	netbsd32_extattr_delete_file(struct lwp *, void *, register_t *);
   2350  1.36      cube 
   2351  1.36      cube int	netbsd32_extattr_set_fd(struct lwp *, void *, register_t *);
   2352  1.36      cube 
   2353  1.36      cube int	netbsd32_extattr_get_fd(struct lwp *, void *, register_t *);
   2354  1.36      cube 
   2355  1.36      cube int	netbsd32_extattr_delete_fd(struct lwp *, void *, register_t *);
   2356  1.36      cube 
   2357  1.36      cube int	netbsd32_extattr_set_link(struct lwp *, void *, register_t *);
   2358  1.36      cube 
   2359  1.36      cube int	netbsd32_extattr_get_link(struct lwp *, void *, register_t *);
   2360  1.36      cube 
   2361  1.36      cube int	netbsd32_extattr_delete_link(struct lwp *, void *, register_t *);
   2362  1.36      cube 
   2363  1.36      cube int	netbsd32_extattr_list_fd(struct lwp *, void *, register_t *);
   2364  1.36      cube 
   2365  1.36      cube int	netbsd32_extattr_list_file(struct lwp *, void *, register_t *);
   2366  1.36      cube 
   2367  1.36      cube int	netbsd32_extattr_list_link(struct lwp *, void *, register_t *);
   2368  1.36      cube 
   2369  1.38      cube int	netbsd32_pselect(struct lwp *, void *, register_t *);
   2370  1.38      cube 
   2371  1.38      cube int	netbsd32_pollts(struct lwp *, void *, register_t *);
   2372  1.38      cube 
   2373  1.42      cube int	netbsd32_setxattr(struct lwp *, void *, register_t *);
   2374  1.42      cube 
   2375  1.42      cube int	netbsd32_lsetxattr(struct lwp *, void *, register_t *);
   2376  1.42      cube 
   2377  1.42      cube int	netbsd32_fsetxattr(struct lwp *, void *, register_t *);
   2378  1.42      cube 
   2379  1.42      cube int	netbsd32_getxattr(struct lwp *, void *, register_t *);
   2380  1.42      cube 
   2381  1.42      cube int	netbsd32_lgetxattr(struct lwp *, void *, register_t *);
   2382  1.42      cube 
   2383  1.42      cube int	netbsd32_fgetxattr(struct lwp *, void *, register_t *);
   2384  1.42      cube 
   2385  1.42      cube int	netbsd32_listxattr(struct lwp *, void *, register_t *);
   2386  1.42      cube 
   2387  1.42      cube int	netbsd32_llistxattr(struct lwp *, void *, register_t *);
   2388  1.42      cube 
   2389  1.42      cube int	netbsd32_flistxattr(struct lwp *, void *, register_t *);
   2390  1.42      cube 
   2391  1.42      cube int	netbsd32_removexattr(struct lwp *, void *, register_t *);
   2392  1.42      cube 
   2393  1.42      cube int	netbsd32_lremovexattr(struct lwp *, void *, register_t *);
   2394  1.42      cube 
   2395  1.42      cube int	netbsd32_fremovexattr(struct lwp *, void *, register_t *);
   2396  1.42      cube 
   2397  1.45  christos int	netbsd32_sys___stat30(struct lwp *, void *, register_t *);
   2398  1.45  christos 
   2399  1.45  christos int	netbsd32_sys___fstat30(struct lwp *, void *, register_t *);
   2400  1.45  christos 
   2401  1.45  christos int	netbsd32_sys___lstat30(struct lwp *, void *, register_t *);
   2402  1.45  christos 
   2403  1.45  christos int	netbsd32_sys___getdents30(struct lwp *, void *, register_t *);
   2404  1.45  christos 
   2405  1.51      cube int	sys_posix_fadvise(struct lwp *, void *, register_t *);
   2406  1.51      cube 
   2407  1.58    martin int	compat_30_netbsd32_sys___fhstat30(struct lwp *, void *, register_t *);
   2408  1.51      cube 
   2409  1.53  drochner int	netbsd32_ntp_gettime(struct lwp *, void *, register_t *);
   2410  1.53  drochner 
   2411  1.54       mrg int	netbsd32_sys___socket30(struct lwp *, void *, register_t *);
   2412  1.54       mrg 
   2413  1.55    martin int	netbsd32___getfh30(struct lwp *, void *, register_t *);
   2414  1.55    martin 
   2415  1.58    martin int	netbsd32___fhopen40(struct lwp *, void *, register_t *);
   2416  1.58    martin 
   2417  1.58    martin int	netbsd32___fhstatvfs140(struct lwp *, void *, register_t *);
   2418  1.58    martin 
   2419  1.58    martin int	netbsd32___fhstat40(struct lwp *, void *, register_t *);
   2420  1.58    martin 
   2421  1.48      cube #endif /* _netbsd32_SYS_SYSCALLARGS_H_ */
   2422