Home | History | Annotate | Line # | Download | only in netbsd32
netbsd32_sysent.c revision 1.136
      1  1.133  christos /* $NetBSD: netbsd32_sysent.c,v 1.136 2018/12/24 21:27:06 mrg Exp $ */
      2    1.1       mrg 
      3    1.1       mrg /*
      4    1.1       mrg  * System call switch table.
      5    1.1       mrg  *
      6    1.1       mrg  * DO NOT EDIT-- this file is automatically generated.
      7  1.134       rjs  * created from	NetBSD: syscalls.master,v 1.123 2018/07/31 21:00:02 rjs Exp
      8    1.1       mrg  */
      9   1.24     lukem 
     10   1.24     lukem #include <sys/cdefs.h>
     11  1.133  christos __KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.136 2018/12/24 21:27:06 mrg Exp $");
     12    1.1       mrg 
     13   1.23       mrg #if defined(_KERNEL_OPT)
     14    1.1       mrg #include "opt_compat_netbsd.h"
     15    1.4       eeh #include "opt_ntp.h"
     16    1.6  christos #include "opt_compat_43.h"
     17   1.17  jdolecek #endif
     18    1.1       mrg #include <sys/param.h>
     19    1.1       mrg #include <sys/systm.h>
     20    1.1       mrg #include <sys/signal.h>
     21    1.1       mrg #include <sys/mount.h>
     22    1.1       mrg #include <sys/syscallargs.h>
     23    1.8       mrg #include <compat/netbsd32/netbsd32.h>
     24    1.8       mrg #include <compat/netbsd32/netbsd32_syscallargs.h>
     25    1.1       mrg 
     26    1.1       mrg #ifdef COMPAT_43
     27   1.23       mrg #define	compat_43(func) __CONCAT(compat_43_,func)
     28    1.1       mrg #else
     29   1.23       mrg #define	compat_43(func) sys_nosys
     30    1.1       mrg #endif
     31    1.1       mrg 
     32    1.1       mrg #ifdef COMPAT_09
     33   1.23       mrg #define	compat_09(func) __CONCAT(compat_09_,func)
     34    1.1       mrg #else
     35   1.23       mrg #define	compat_09(func) sys_nosys
     36    1.1       mrg #endif
     37    1.1       mrg 
     38    1.1       mrg #ifdef COMPAT_10
     39   1.23       mrg #define	compat_10(func) __CONCAT(compat_10_,func)
     40    1.1       mrg #else
     41   1.23       mrg #define	compat_10(func) sys_nosys
     42    1.1       mrg #endif
     43    1.1       mrg 
     44    1.1       mrg #ifdef COMPAT_11
     45   1.23       mrg #define	compat_11(func) __CONCAT(compat_11_,func)
     46    1.1       mrg #else
     47   1.23       mrg #define	compat_11(func) sys_nosys
     48    1.1       mrg #endif
     49    1.1       mrg 
     50    1.1       mrg #ifdef COMPAT_12
     51   1.23       mrg #define	compat_12(func) __CONCAT(compat_12_,func)
     52    1.1       mrg #else
     53   1.23       mrg #define	compat_12(func) sys_nosys
     54    1.1       mrg #endif
     55    1.1       mrg 
     56    1.1       mrg #ifdef COMPAT_13
     57   1.23       mrg #define	compat_13(func) __CONCAT(compat_13_,func)
     58    1.1       mrg #else
     59   1.23       mrg #define	compat_13(func) sys_nosys
     60    1.1       mrg #endif
     61    1.1       mrg 
     62   1.11       eeh #ifdef COMPAT_14
     63   1.23       mrg #define	compat_14(func) __CONCAT(compat_14_,func)
     64   1.11       eeh #else
     65   1.23       mrg #define	compat_14(func) sys_nosys
     66   1.11       eeh #endif
     67   1.11       eeh 
     68   1.30      fvdl #ifdef COMPAT_15
     69   1.30      fvdl #define	compat_15(func) __CONCAT(compat_15_,func)
     70   1.30      fvdl #else
     71   1.30      fvdl #define	compat_15(func) sys_nosys
     72   1.30      fvdl #endif
     73   1.30      fvdl 
     74   1.30      fvdl #ifdef COMPAT_16
     75   1.30      fvdl #define	compat_16(func) __CONCAT(compat_16_,func)
     76   1.30      fvdl #else
     77   1.30      fvdl #define	compat_16(func) sys_nosys
     78   1.30      fvdl #endif
     79   1.30      fvdl 
     80   1.32      cube #ifdef COMPAT_20
     81   1.32      cube #define	compat_20(func) __CONCAT(compat_20_,func)
     82   1.32      cube #else
     83   1.32      cube #define	compat_20(func) sys_nosys
     84   1.32      cube #endif
     85   1.32      cube 
     86   1.51      cube #ifdef COMPAT_30
     87   1.51      cube #define	compat_30(func) __CONCAT(compat_30_,func)
     88   1.51      cube #else
     89   1.51      cube #define	compat_30(func) sys_nosys
     90   1.51      cube #endif
     91   1.51      cube 
     92   1.82  christos #ifdef COMPAT_40
     93   1.82  christos #define	compat_40(func) __CONCAT(compat_40_,func)
     94   1.82  christos #else
     95   1.82  christos #define	compat_40(func) sys_nosys
     96   1.82  christos #endif
     97   1.82  christos 
     98   1.82  christos #ifdef COMPAT_50
     99   1.82  christos #define	compat_50(func) __CONCAT(compat_50_,func)
    100   1.82  christos #else
    101   1.82  christos #define	compat_50(func) sys_nosys
    102   1.82  christos #endif
    103   1.82  christos 
    104  1.104  christos #ifdef COMPAT_60
    105  1.104  christos #define	compat_60(func) __CONCAT(compat_60_,func)
    106  1.104  christos #else
    107  1.104  christos #define	compat_60(func) sys_nosys
    108  1.104  christos #endif
    109  1.104  christos 
    110  1.109  christos #ifdef COMPAT_70
    111  1.109  christos #define	compat_70(func) __CONCAT(compat_70_,func)
    112  1.109  christos #else
    113  1.109  christos #define	compat_70(func) sys_nosys
    114  1.109  christos #endif
    115  1.109  christos 
    116    1.1       mrg #define	s(type)	sizeof(type)
    117   1.68       dsl #define	n(type)	(sizeof(type)/sizeof (register32_t))
    118  1.111    martin #define	ns(type)	.sy_narg = n(type), .sy_argsize = s(type)
    119    1.1       mrg 
    120    1.8       mrg struct sysent netbsd32_sysent[] = {
    121  1.111    martin 	{
    122  1.111    martin 		ns(struct netbsd32_syscall_args),
    123  1.111    martin 		.sy_flags = SYCALL_INDIRECT,
    124  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_syscall
    125  1.111    martin 	},		/* 0 = netbsd32_syscall */
    126  1.111    martin 	{
    127  1.111    martin 		ns(struct netbsd32_exit_args),
    128  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_exit
    129  1.111    martin 	},		/* 1 = netbsd32_exit */
    130  1.111    martin 	{
    131  1.111    martin 		.sy_call = (sy_call_t *)sys_fork
    132  1.111    martin 	},		/* 2 = fork */
    133  1.111    martin 	{
    134  1.111    martin 		ns(struct netbsd32_read_args),
    135  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_read
    136  1.111    martin 	},		/* 3 = netbsd32_read */
    137  1.111    martin 	{
    138  1.111    martin 		ns(struct netbsd32_write_args),
    139  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_write
    140  1.111    martin 	},		/* 4 = netbsd32_write */
    141  1.111    martin 	{
    142  1.111    martin 		ns(struct netbsd32_open_args),
    143  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_open
    144  1.111    martin 	},		/* 5 = netbsd32_open */
    145  1.111    martin 	{
    146  1.111    martin 		ns(struct netbsd32_close_args),
    147  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_close
    148  1.111    martin 	},		/* 6 = netbsd32_close */
    149  1.111    martin 	{
    150  1.111    martin 		ns(struct compat_50_netbsd32_wait4_args),
    151  1.111    martin 		.sy_call = (sy_call_t *)compat_50(netbsd32_wait4)
    152  1.111    martin 	},		/* 7 = compat_50_netbsd32_wait4 */
    153  1.111    martin 	{
    154  1.111    martin 		ns(struct compat_43_netbsd32_ocreat_args),
    155  1.111    martin 		.sy_call = (sy_call_t *)compat_43(netbsd32_ocreat)
    156  1.111    martin 	},		/* 8 = compat_43_netbsd32_ocreat */
    157  1.111    martin 	{
    158  1.111    martin 		ns(struct netbsd32_link_args),
    159  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_link
    160  1.111    martin 	},		/* 9 = netbsd32_link */
    161  1.111    martin 	{
    162  1.111    martin 		ns(struct netbsd32_unlink_args),
    163  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_unlink
    164  1.111    martin 	},		/* 10 = netbsd32_unlink */
    165  1.111    martin 	{
    166  1.111    martin 		.sy_call = sys_nosys,
    167  1.111    martin 	},		/* 11 = filler */
    168  1.111    martin 	{
    169  1.111    martin 		ns(struct netbsd32_chdir_args),
    170  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_chdir
    171  1.111    martin 	},		/* 12 = netbsd32_chdir */
    172  1.111    martin 	{
    173  1.111    martin 		ns(struct netbsd32_fchdir_args),
    174  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_fchdir
    175  1.111    martin 	},		/* 13 = netbsd32_fchdir */
    176  1.111    martin 	{
    177  1.111    martin 		ns(struct compat_50_netbsd32_mknod_args),
    178  1.111    martin 		.sy_call = (sy_call_t *)compat_50(netbsd32_mknod)
    179  1.111    martin 	},		/* 14 = compat_50_netbsd32_mknod */
    180  1.111    martin 	{
    181  1.111    martin 		ns(struct netbsd32_chmod_args),
    182  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_chmod
    183  1.111    martin 	},		/* 15 = netbsd32_chmod */
    184  1.111    martin 	{
    185  1.111    martin 		ns(struct netbsd32_chown_args),
    186  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_chown
    187  1.111    martin 	},		/* 16 = netbsd32_chown */
    188  1.111    martin 	{
    189  1.111    martin 		ns(struct netbsd32_break_args),
    190  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_break
    191  1.111    martin 	},		/* 17 = netbsd32_break */
    192  1.111    martin 	{
    193  1.111    martin 		ns(struct compat_20_netbsd32_getfsstat_args),
    194  1.111    martin 		.sy_call = (sy_call_t *)compat_20(netbsd32_getfsstat)
    195  1.111    martin 	},		/* 18 = compat_20_netbsd32_getfsstat */
    196  1.111    martin 	{
    197  1.111    martin 		ns(struct compat_43_netbsd32_olseek_args),
    198  1.111    martin 		.sy_call = (sy_call_t *)compat_43(netbsd32_olseek)
    199  1.111    martin 	},		/* 19 = compat_43_netbsd32_olseek */
    200  1.111    martin 	{
    201  1.111    martin 		.sy_call = (sy_call_t *)sys_getpid
    202  1.111    martin 	},		/* 20 = getpid */
    203  1.111    martin 	{
    204  1.136       mrg 		ns(struct compat_40_netbsd32_mount_args),
    205  1.136       mrg 		.sy_call = (sy_call_t *)compat_40(netbsd32_mount)
    206  1.136       mrg 	},		/* 21 = compat_40_netbsd32_mount */
    207  1.111    martin 	{
    208  1.111    martin 		ns(struct netbsd32_unmount_args),
    209  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_unmount
    210  1.111    martin 	},		/* 22 = netbsd32_unmount */
    211  1.111    martin 	{
    212  1.111    martin 		ns(struct netbsd32_setuid_args),
    213  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_setuid
    214  1.111    martin 	},		/* 23 = netbsd32_setuid */
    215  1.111    martin 	{
    216  1.111    martin 		.sy_call = (sy_call_t *)sys_getuid
    217  1.111    martin 	},		/* 24 = getuid */
    218  1.111    martin 	{
    219  1.111    martin 		.sy_call = (sy_call_t *)sys_geteuid
    220  1.111    martin 	},		/* 25 = geteuid */
    221  1.111    martin 	{
    222  1.111    martin 		ns(struct netbsd32_ptrace_args),
    223  1.124     skrll 		.sy_call = (sy_call_t *)sys_nomodule
    224  1.111    martin 	},		/* 26 = netbsd32_ptrace */
    225  1.111    martin 	{
    226  1.111    martin 		ns(struct netbsd32_recvmsg_args),
    227  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_recvmsg
    228  1.111    martin 	},		/* 27 = netbsd32_recvmsg */
    229  1.111    martin 	{
    230  1.111    martin 		ns(struct netbsd32_sendmsg_args),
    231  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_sendmsg
    232  1.111    martin 	},		/* 28 = netbsd32_sendmsg */
    233  1.111    martin 	{
    234  1.111    martin 		ns(struct netbsd32_recvfrom_args),
    235  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_recvfrom
    236  1.111    martin 	},		/* 29 = netbsd32_recvfrom */
    237  1.111    martin 	{
    238  1.111    martin 		ns(struct netbsd32_accept_args),
    239  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_accept
    240  1.111    martin 	},		/* 30 = netbsd32_accept */
    241  1.111    martin 	{
    242  1.111    martin 		ns(struct netbsd32_getpeername_args),
    243  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_getpeername
    244  1.111    martin 	},		/* 31 = netbsd32_getpeername */
    245  1.111    martin 	{
    246  1.111    martin 		ns(struct netbsd32_getsockname_args),
    247  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_getsockname
    248  1.111    martin 	},		/* 32 = netbsd32_getsockname */
    249  1.111    martin 	{
    250  1.111    martin 		ns(struct netbsd32_access_args),
    251  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_access
    252  1.111    martin 	},		/* 33 = netbsd32_access */
    253  1.111    martin 	{
    254  1.111    martin 		ns(struct netbsd32_chflags_args),
    255  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_chflags
    256  1.111    martin 	},		/* 34 = netbsd32_chflags */
    257  1.111    martin 	{
    258  1.111    martin 		ns(struct netbsd32_fchflags_args),
    259  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_fchflags
    260  1.111    martin 	},		/* 35 = netbsd32_fchflags */
    261  1.111    martin 	{
    262  1.111    martin 		.sy_call = (sy_call_t *)sys_sync
    263  1.111    martin 	},		/* 36 = sync */
    264  1.111    martin 	{
    265  1.111    martin 		ns(struct netbsd32_kill_args),
    266  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_kill
    267  1.111    martin 	},		/* 37 = netbsd32_kill */
    268  1.111    martin 	{
    269  1.111    martin 		ns(struct compat_43_netbsd32_stat43_args),
    270  1.111    martin 		.sy_call = (sy_call_t *)compat_43(netbsd32_stat43)
    271  1.111    martin 	},		/* 38 = compat_43_netbsd32_stat43 */
    272  1.111    martin 	{
    273  1.111    martin 		.sy_call = (sy_call_t *)sys_getppid
    274  1.111    martin 	},		/* 39 = getppid */
    275  1.111    martin 	{
    276  1.111    martin 		ns(struct compat_43_netbsd32_lstat43_args),
    277  1.111    martin 		.sy_call = (sy_call_t *)compat_43(netbsd32_lstat43)
    278  1.111    martin 	},		/* 40 = compat_43_netbsd32_lstat43 */
    279  1.111    martin 	{
    280  1.111    martin 		ns(struct netbsd32_dup_args),
    281  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_dup
    282  1.111    martin 	},		/* 41 = netbsd32_dup */
    283  1.111    martin 	{
    284  1.111    martin 		.sy_call = (sy_call_t *)sys_pipe
    285  1.111    martin 	},		/* 42 = pipe */
    286  1.111    martin 	{
    287  1.111    martin 		.sy_call = (sy_call_t *)sys_getegid
    288  1.111    martin 	},		/* 43 = getegid */
    289  1.111    martin 	{
    290  1.111    martin 		ns(struct netbsd32_profil_args),
    291  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_profil
    292  1.111    martin 	},		/* 44 = netbsd32_profil */
    293  1.111    martin 	{
    294  1.111    martin 		ns(struct netbsd32_ktrace_args),
    295  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_ktrace
    296  1.111    martin 	},		/* 45 = netbsd32_ktrace */
    297  1.111    martin 	{
    298  1.111    martin 		ns(struct netbsd32_sigaction_args),
    299  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_sigaction
    300  1.111    martin 	},		/* 46 = netbsd32_sigaction */
    301  1.111    martin 	{
    302  1.111    martin 		.sy_call = (sy_call_t *)sys_getgid
    303  1.111    martin 	},		/* 47 = getgid */
    304  1.111    martin 	{
    305  1.111    martin 		ns(struct compat_13_netbsd32_sigprocmask_args),
    306  1.111    martin 		.sy_call = (sy_call_t *)compat_13(netbsd32_sigprocmask)
    307  1.111    martin 	},		/* 48 = compat_13_sigprocmask13 */
    308  1.111    martin 	{
    309  1.111    martin 		ns(struct netbsd32___getlogin_args),
    310  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___getlogin
    311  1.111    martin 	},		/* 49 = netbsd32___getlogin */
    312  1.111    martin 	{
    313  1.111    martin 		ns(struct netbsd32_setlogin_args),
    314  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_setlogin
    315  1.111    martin 	},		/* 50 = netbsd32_setlogin */
    316  1.111    martin 	{
    317  1.111    martin 		ns(struct netbsd32_acct_args),
    318  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_acct
    319  1.111    martin 	},		/* 51 = netbsd32_acct */
    320  1.111    martin 	{
    321  1.111    martin 		.sy_call = (sy_call_t *)compat_13(sys_sigpending)
    322  1.111    martin 	},		/* 52 = compat_13_sigpending13 */
    323  1.111    martin 	{
    324  1.111    martin 		ns(struct compat_13_netbsd32_sigaltstack13_args),
    325  1.111    martin 		.sy_call = (sy_call_t *)compat_13(netbsd32_sigaltstack13)
    326  1.111    martin 	},		/* 53 = compat_13_netbsd32_sigaltstack13 */
    327  1.111    martin 	{
    328  1.111    martin 		ns(struct netbsd32_ioctl_args),
    329  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_ioctl
    330  1.111    martin 	},		/* 54 = netbsd32_ioctl */
    331  1.111    martin 	{
    332  1.111    martin 		ns(struct compat_12_netbsd32_reboot_args),
    333  1.111    martin 		.sy_call = (sy_call_t *)compat_12(netbsd32_reboot)
    334  1.111    martin 	},		/* 55 = compat_12_netbsd32_reboot */
    335  1.111    martin 	{
    336  1.111    martin 		ns(struct netbsd32_revoke_args),
    337  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_revoke
    338  1.111    martin 	},		/* 56 = netbsd32_revoke */
    339  1.111    martin 	{
    340  1.111    martin 		ns(struct netbsd32_symlink_args),
    341  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_symlink
    342  1.111    martin 	},		/* 57 = netbsd32_symlink */
    343  1.111    martin 	{
    344  1.111    martin 		ns(struct netbsd32_readlink_args),
    345  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_readlink
    346  1.111    martin 	},		/* 58 = netbsd32_readlink */
    347  1.111    martin 	{
    348  1.111    martin 		ns(struct netbsd32_execve_args),
    349  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_execve
    350  1.111    martin 	},		/* 59 = netbsd32_execve */
    351  1.111    martin 	{
    352  1.111    martin 		ns(struct netbsd32_umask_args),
    353  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_umask
    354  1.111    martin 	},		/* 60 = netbsd32_umask */
    355  1.111    martin 	{
    356  1.111    martin 		ns(struct netbsd32_chroot_args),
    357  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_chroot
    358  1.111    martin 	},		/* 61 = netbsd32_chroot */
    359  1.111    martin 	{
    360  1.111    martin 		ns(struct compat_43_netbsd32_fstat43_args),
    361  1.111    martin 		.sy_call = (sy_call_t *)compat_43(netbsd32_fstat43)
    362  1.111    martin 	},		/* 62 = compat_43_netbsd32_fstat43 */
    363  1.111    martin 	{
    364  1.111    martin 		ns(struct compat_43_netbsd32_ogetkerninfo_args),
    365  1.111    martin 		.sy_call = (sy_call_t *)compat_43(netbsd32_ogetkerninfo)
    366  1.111    martin 	},		/* 63 = compat_43_netbsd32_ogetkerninfo */
    367  1.111    martin 	{
    368  1.111    martin 		.sy_call = (sy_call_t *)compat_43(sys_getpagesize)
    369  1.111    martin 	},		/* 64 = compat_43_ogetpagesize */
    370  1.111    martin 	{
    371  1.111    martin 		ns(struct compat_12_netbsd32_msync_args),
    372  1.111    martin 		.sy_call = (sy_call_t *)compat_12(netbsd32_msync)
    373  1.111    martin 	},		/* 65 = compat_12_netbsd32_msync */
    374  1.111    martin 	{
    375  1.111    martin 		.sy_call = (sy_call_t *)sys_vfork
    376  1.111    martin 	},		/* 66 = vfork */
    377  1.111    martin 	{
    378  1.111    martin 		.sy_call = sys_nosys,
    379  1.111    martin 	},		/* 67 = filler */
    380  1.111    martin 	{
    381  1.111    martin 		.sy_call = sys_nosys,
    382  1.111    martin 	},		/* 68 = filler */
    383  1.111    martin 	{
    384  1.130     kamil 		.sy_call = sys_nosys,
    385  1.130     kamil 	},		/* 69 = filler */
    386  1.111    martin 	{
    387  1.129     kamil 		.sy_call = sys_nosys,
    388  1.129     kamil 	},		/* 70 = filler */
    389  1.111    martin 	{
    390  1.111    martin 		ns(struct compat_43_netbsd32_ommap_args),
    391  1.111    martin 		.sy_call = (sy_call_t *)compat_43(netbsd32_ommap)
    392  1.111    martin 	},		/* 71 = compat_43_netbsd32_ommap */
    393  1.111    martin 	{
    394  1.132     kamil 		ns(struct netbsd32_ovadvise_args),
    395  1.132     kamil 		.sy_call = (sy_call_t *)netbsd32_ovadvise
    396  1.132     kamil 	},		/* 72 = vadvise */
    397  1.111    martin 	{
    398  1.111    martin 		ns(struct netbsd32_munmap_args),
    399  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_munmap
    400  1.111    martin 	},		/* 73 = netbsd32_munmap */
    401  1.111    martin 	{
    402  1.111    martin 		ns(struct netbsd32_mprotect_args),
    403  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_mprotect
    404  1.111    martin 	},		/* 74 = netbsd32_mprotect */
    405  1.111    martin 	{
    406  1.111    martin 		ns(struct netbsd32_madvise_args),
    407  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_madvise
    408  1.111    martin 	},		/* 75 = netbsd32_madvise */
    409  1.111    martin 	{
    410  1.111    martin 		.sy_call = sys_nosys,
    411  1.111    martin 	},		/* 76 = filler */
    412  1.111    martin 	{
    413  1.111    martin 		.sy_call = sys_nosys,
    414  1.111    martin 	},		/* 77 = filler */
    415  1.111    martin 	{
    416  1.111    martin 		ns(struct netbsd32_mincore_args),
    417  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_mincore
    418  1.111    martin 	},		/* 78 = netbsd32_mincore */
    419  1.111    martin 	{
    420  1.111    martin 		ns(struct netbsd32_getgroups_args),
    421  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_getgroups
    422  1.111    martin 	},		/* 79 = netbsd32_getgroups */
    423  1.111    martin 	{
    424  1.111    martin 		ns(struct netbsd32_setgroups_args),
    425  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_setgroups
    426  1.111    martin 	},		/* 80 = netbsd32_setgroups */
    427  1.111    martin 	{
    428  1.111    martin 		.sy_call = (sy_call_t *)sys_getpgrp
    429  1.111    martin 	},		/* 81 = getpgrp */
    430  1.111    martin 	{
    431  1.111    martin 		ns(struct netbsd32_setpgid_args),
    432  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_setpgid
    433  1.111    martin 	},		/* 82 = netbsd32_setpgid */
    434  1.111    martin 	{
    435  1.111    martin 		ns(struct compat_50_netbsd32_setitimer_args),
    436  1.111    martin 		.sy_call = (sy_call_t *)compat_50(netbsd32_setitimer)
    437  1.111    martin 	},		/* 83 = compat_50_netbsd32_setitimer */
    438  1.111    martin 	{
    439  1.111    martin 		.sy_call = (sy_call_t *)compat_43(sys_wait)
    440  1.111    martin 	},		/* 84 = compat_43_owait */
    441  1.111    martin 	{
    442  1.111    martin 		ns(struct compat_12_netbsd32_oswapon_args),
    443  1.111    martin 		.sy_call = (sy_call_t *)compat_12(netbsd32_oswapon)
    444  1.111    martin 	},		/* 85 = compat_12_netbsd32_oswapon */
    445  1.111    martin 	{
    446  1.111    martin 		ns(struct compat_50_netbsd32_getitimer_args),
    447  1.111    martin 		.sy_call = (sy_call_t *)compat_50(netbsd32_getitimer)
    448  1.111    martin 	},		/* 86 = compat_50_netbsd32_getitimer */
    449  1.111    martin 	{
    450  1.111    martin 		ns(struct compat_43_netbsd32_ogethostname_args),
    451  1.111    martin 		.sy_call = (sy_call_t *)compat_43(netbsd32_ogethostname)
    452  1.111    martin 	},		/* 87 = compat_43_netbsd32_ogethostname */
    453  1.111    martin 	{
    454  1.111    martin 		ns(struct compat_43_netbsd32_osethostname_args),
    455  1.111    martin 		.sy_call = (sy_call_t *)compat_43(netbsd32_osethostname)
    456  1.111    martin 	},		/* 88 = compat_43_netbsd32_osethostname */
    457  1.111    martin 	{
    458  1.111    martin 		.sy_call = (sy_call_t *)compat_43(sys_getdtablesize)
    459  1.111    martin 	},		/* 89 = compat_43_ogetdtablesize */
    460  1.111    martin 	{
    461  1.111    martin 		ns(struct netbsd32_dup2_args),
    462  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_dup2
    463  1.111    martin 	},		/* 90 = netbsd32_dup2 */
    464  1.111    martin 	{
    465  1.111    martin 		.sy_call = sys_nosys,
    466  1.111    martin 	},		/* 91 = filler */
    467  1.111    martin 	{
    468  1.111    martin 		ns(struct netbsd32_fcntl_args),
    469  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_fcntl
    470  1.111    martin 	},		/* 92 = netbsd32_fcntl */
    471  1.111    martin 	{
    472  1.111    martin 		ns(struct compat_50_netbsd32_select_args),
    473  1.111    martin 		.sy_call = (sy_call_t *)compat_50(netbsd32_select)
    474  1.111    martin 	},		/* 93 = compat_50_netbsd32_select */
    475  1.111    martin 	{
    476  1.111    martin 		.sy_call = sys_nosys,
    477  1.111    martin 	},		/* 94 = filler */
    478  1.111    martin 	{
    479  1.111    martin 		ns(struct netbsd32_fsync_args),
    480  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_fsync
    481  1.111    martin 	},		/* 95 = netbsd32_fsync */
    482  1.111    martin 	{
    483  1.111    martin 		ns(struct netbsd32_setpriority_args),
    484  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_setpriority
    485  1.111    martin 	},		/* 96 = netbsd32_setpriority */
    486  1.111    martin 	{
    487  1.111    martin 		ns(struct compat_30_netbsd32_socket_args),
    488  1.111    martin 		.sy_call = (sy_call_t *)compat_30(netbsd32_socket)
    489  1.111    martin 	},		/* 97 = compat_30_netbsd32_socket */
    490  1.111    martin 	{
    491  1.111    martin 		ns(struct netbsd32_connect_args),
    492  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_connect
    493  1.111    martin 	},		/* 98 = netbsd32_connect */
    494  1.111    martin 	{
    495  1.111    martin 		ns(struct compat_43_netbsd32_oaccept_args),
    496  1.111    martin 		.sy_call = (sy_call_t *)compat_43(netbsd32_oaccept)
    497  1.111    martin 	},		/* 99 = compat_43_netbsd32_oaccept */
    498  1.111    martin 	{
    499  1.111    martin 		ns(struct netbsd32_getpriority_args),
    500  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_getpriority
    501  1.111    martin 	},		/* 100 = netbsd32_getpriority */
    502  1.111    martin 	{
    503  1.111    martin 		ns(struct compat_43_netbsd32_osend_args),
    504  1.111    martin 		.sy_call = (sy_call_t *)compat_43(netbsd32_osend)
    505  1.111    martin 	},		/* 101 = compat_43_netbsd32_osend */
    506  1.111    martin 	{
    507  1.111    martin 		ns(struct compat_43_netbsd32_orecv_args),
    508  1.111    martin 		.sy_call = (sy_call_t *)compat_43(netbsd32_orecv)
    509  1.111    martin 	},		/* 102 = compat_43_netbsd32_orecv */
    510  1.111    martin 	{
    511  1.111    martin 		ns(struct compat_13_netbsd32_sigreturn_args),
    512  1.111    martin 		.sy_call = (sy_call_t *)compat_13(netbsd32_sigreturn)
    513  1.111    martin 	},		/* 103 = compat_13_sigreturn13 */
    514  1.111    martin 	{
    515  1.111    martin 		ns(struct netbsd32_bind_args),
    516  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_bind
    517  1.111    martin 	},		/* 104 = netbsd32_bind */
    518  1.111    martin 	{
    519  1.111    martin 		ns(struct netbsd32_setsockopt_args),
    520  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_setsockopt
    521  1.111    martin 	},		/* 105 = netbsd32_setsockopt */
    522  1.111    martin 	{
    523  1.111    martin 		ns(struct netbsd32_listen_args),
    524  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_listen
    525  1.111    martin 	},		/* 106 = netbsd32_listen */
    526  1.111    martin 	{
    527  1.111    martin 		.sy_call = sys_nosys,
    528  1.111    martin 	},		/* 107 = filler */
    529  1.111    martin 	{
    530  1.111    martin 		ns(struct compat_43_netbsd32_osigvec_args),
    531  1.111    martin 		.sy_call = (sy_call_t *)compat_43(netbsd32_osigvec)
    532  1.111    martin 	},		/* 108 = compat_43_netbsd32_osigvec */
    533  1.111    martin 	{
    534  1.111    martin 		ns(struct compat_43_netbsd32_sigblock_args),
    535  1.111    martin 		.sy_call = (sy_call_t *)compat_43(netbsd32_sigblock)
    536  1.111    martin 	},		/* 109 = compat_43_netbsd32_sigblock */
    537  1.111    martin 	{
    538  1.111    martin 		ns(struct compat_43_netbsd32_sigsetmask_args),
    539  1.111    martin 		.sy_call = (sy_call_t *)compat_43(netbsd32_sigsetmask)
    540  1.111    martin 	},		/* 110 = compat_43_netbsd32_sigsetmask */
    541  1.111    martin 	{
    542  1.111    martin 		ns(struct compat_13_netbsd32_sigsuspend_args),
    543  1.111    martin 		.sy_call = (sy_call_t *)compat_13(netbsd32_sigsuspend)
    544  1.111    martin 	},		/* 111 = compat_13_sigsuspend13 */
    545  1.111    martin 	{
    546  1.111    martin 		ns(struct compat_43_netbsd32_osigstack_args),
    547  1.111    martin 		.sy_call = (sy_call_t *)compat_43(netbsd32_osigstack)
    548  1.111    martin 	},		/* 112 = compat_43_netbsd32_osigstack */
    549  1.111    martin 	{
    550  1.111    martin 		ns(struct compat_43_netbsd32_orecvmsg_args),
    551  1.111    martin 		.sy_call = (sy_call_t *)compat_43(netbsd32_orecvmsg)
    552  1.111    martin 	},		/* 113 = compat_43_netbsd32_orecvmsg */
    553  1.111    martin 	{
    554  1.111    martin 		ns(struct compat_43_netbsd32_osendmsg_args),
    555  1.111    martin 		.sy_call = (sy_call_t *)compat_43(netbsd32_osendmsg)
    556  1.111    martin 	},		/* 114 = compat_43_netbsd32_osendmsg */
    557  1.111    martin 	{
    558  1.111    martin 		.sy_call = sys_nosys,
    559  1.111    martin 	},		/* 115 = filler */
    560  1.111    martin 	{
    561  1.111    martin 		ns(struct compat_50_netbsd32_gettimeofday_args),
    562  1.111    martin 		.sy_call = (sy_call_t *)compat_50(netbsd32_gettimeofday)
    563  1.111    martin 	},		/* 116 = compat_50_netbsd32_gettimeofday */
    564  1.111    martin 	{
    565  1.111    martin 		ns(struct compat_50_netbsd32_getrusage_args),
    566  1.111    martin 		.sy_call = (sy_call_t *)compat_50(netbsd32_getrusage)
    567  1.111    martin 	},		/* 117 = compat_50_netbsd32_getrusage */
    568  1.111    martin 	{
    569  1.111    martin 		ns(struct netbsd32_getsockopt_args),
    570  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_getsockopt
    571  1.111    martin 	},		/* 118 = netbsd32_getsockopt */
    572  1.111    martin 	{
    573  1.111    martin 		.sy_call = sys_nosys,
    574  1.111    martin 	},		/* 119 = filler */
    575  1.111    martin 	{
    576  1.111    martin 		ns(struct netbsd32_readv_args),
    577  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_readv
    578  1.111    martin 	},		/* 120 = netbsd32_readv */
    579  1.111    martin 	{
    580  1.111    martin 		ns(struct netbsd32_writev_args),
    581  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_writev
    582  1.111    martin 	},		/* 121 = netbsd32_writev */
    583  1.111    martin 	{
    584  1.111    martin 		ns(struct compat_50_netbsd32_settimeofday_args),
    585  1.111    martin 		.sy_call = (sy_call_t *)compat_50(netbsd32_settimeofday)
    586  1.111    martin 	},		/* 122 = compat_50_netbsd32_settimeofday */
    587  1.111    martin 	{
    588  1.111    martin 		ns(struct netbsd32_fchown_args),
    589  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_fchown
    590  1.111    martin 	},		/* 123 = netbsd32_fchown */
    591  1.111    martin 	{
    592  1.111    martin 		ns(struct netbsd32_fchmod_args),
    593  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_fchmod
    594  1.111    martin 	},		/* 124 = netbsd32_fchmod */
    595  1.111    martin 	{
    596  1.111    martin 		ns(struct compat_43_netbsd32_orecvfrom_args),
    597  1.111    martin 		.sy_call = (sy_call_t *)compat_43(netbsd32_orecvfrom)
    598  1.111    martin 	},		/* 125 = compat_43_netbsd32_orecvfrom */
    599  1.111    martin 	{
    600  1.111    martin 		ns(struct netbsd32_setreuid_args),
    601  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_setreuid
    602  1.111    martin 	},		/* 126 = netbsd32_setreuid */
    603  1.111    martin 	{
    604  1.111    martin 		ns(struct netbsd32_setregid_args),
    605  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_setregid
    606  1.111    martin 	},		/* 127 = netbsd32_setregid */
    607  1.111    martin 	{
    608  1.111    martin 		ns(struct netbsd32_rename_args),
    609  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_rename
    610  1.111    martin 	},		/* 128 = netbsd32_rename */
    611  1.111    martin 	{
    612  1.111    martin 		ns(struct compat_43_netbsd32_otruncate_args),
    613  1.111    martin 		.sy_call = (sy_call_t *)compat_43(netbsd32_otruncate)
    614  1.111    martin 	},		/* 129 = compat_43_netbsd32_otruncate */
    615  1.111    martin 	{
    616  1.111    martin 		ns(struct compat_43_netbsd32_oftruncate_args),
    617  1.111    martin 		.sy_call = (sy_call_t *)compat_43(netbsd32_oftruncate)
    618  1.111    martin 	},		/* 130 = compat_43_netbsd32_oftruncate */
    619  1.111    martin 	{
    620  1.111    martin 		ns(struct netbsd32_flock_args),
    621  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_flock
    622  1.111    martin 	},		/* 131 = netbsd32_flock */
    623  1.111    martin 	{
    624  1.111    martin 		ns(struct netbsd32_mkfifo_args),
    625  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_mkfifo
    626  1.111    martin 	},		/* 132 = netbsd32_mkfifo */
    627  1.111    martin 	{
    628  1.111    martin 		ns(struct netbsd32_sendto_args),
    629  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_sendto
    630  1.111    martin 	},		/* 133 = netbsd32_sendto */
    631  1.111    martin 	{
    632  1.111    martin 		ns(struct netbsd32_shutdown_args),
    633  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_shutdown
    634  1.111    martin 	},		/* 134 = netbsd32_shutdown */
    635  1.111    martin 	{
    636  1.111    martin 		ns(struct netbsd32_socketpair_args),
    637  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_socketpair
    638  1.111    martin 	},		/* 135 = netbsd32_socketpair */
    639  1.111    martin 	{
    640  1.111    martin 		ns(struct netbsd32_mkdir_args),
    641  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_mkdir
    642  1.111    martin 	},		/* 136 = netbsd32_mkdir */
    643  1.111    martin 	{
    644  1.111    martin 		ns(struct netbsd32_rmdir_args),
    645  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_rmdir
    646  1.111    martin 	},		/* 137 = netbsd32_rmdir */
    647  1.111    martin 	{
    648  1.111    martin 		ns(struct compat_50_netbsd32_utimes_args),
    649  1.111    martin 		.sy_call = (sy_call_t *)compat_50(netbsd32_utimes)
    650  1.111    martin 	},		/* 138 = compat_50_netbsd32_utimes */
    651  1.111    martin 	{
    652  1.111    martin 		.sy_call = sys_nosys,
    653  1.111    martin 	},		/* 139 = filler */
    654  1.111    martin 	{
    655  1.111    martin 		ns(struct compat_50_netbsd32_adjtime_args),
    656  1.111    martin 		.sy_call = (sy_call_t *)compat_50(netbsd32_adjtime)
    657  1.111    martin 	},		/* 140 = compat_50_netbsd32_adjtime */
    658  1.111    martin 	{
    659  1.111    martin 		ns(struct compat_43_netbsd32_ogetpeername_args),
    660  1.111    martin 		.sy_call = (sy_call_t *)compat_43(netbsd32_ogetpeername)
    661  1.111    martin 	},		/* 141 = compat_43_netbsd32_ogetpeername */
    662  1.111    martin 	{
    663  1.111    martin 		.sy_call = (sy_call_t *)compat_43(sys_gethostid)
    664  1.111    martin 	},		/* 142 = compat_43_ogethostid */
    665  1.111    martin 	{
    666  1.111    martin 		ns(struct compat_43_netbsd32_sethostid_args),
    667  1.111    martin 		.sy_call = (sy_call_t *)compat_43(netbsd32_sethostid)
    668  1.111    martin 	},		/* 143 = compat_43_netbsd32_sethostid */
    669  1.111    martin 	{
    670  1.111    martin 		ns(struct compat_43_netbsd32_ogetrlimit_args),
    671  1.111    martin 		.sy_call = (sy_call_t *)compat_43(netbsd32_ogetrlimit)
    672  1.111    martin 	},		/* 144 = compat_43_netbsd32_ogetrlimit */
    673  1.111    martin 	{
    674  1.111    martin 		ns(struct compat_43_netbsd32_osetrlimit_args),
    675  1.111    martin 		.sy_call = (sy_call_t *)compat_43(netbsd32_osetrlimit)
    676  1.111    martin 	},		/* 145 = compat_43_netbsd32_osetrlimit */
    677  1.111    martin 	{
    678  1.111    martin 		ns(struct compat_43_netbsd32_killpg_args),
    679  1.111    martin 		.sy_call = (sy_call_t *)compat_43(netbsd32_killpg)
    680  1.111    martin 	},		/* 146 = compat_43_netbsd32_killpg */
    681  1.111    martin 	{
    682  1.111    martin 		.sy_call = (sy_call_t *)sys_setsid
    683  1.111    martin 	},		/* 147 = setsid */
    684  1.111    martin 	{
    685  1.111    martin 		ns(struct compat_50_netbsd32_quotactl_args),
    686  1.111    martin 		.sy_call = (sy_call_t *)compat_50(netbsd32_quotactl)
    687  1.111    martin 	},		/* 148 = compat_50_netbsd32_quotactl */
    688  1.111    martin 	{
    689  1.111    martin 		.sy_call = (sy_call_t *)compat_43(sys_quota)
    690  1.111    martin 	},		/* 149 = compat_43_oquota */
    691  1.111    martin 	{
    692  1.111    martin 		ns(struct compat_43_netbsd32_ogetsockname_args),
    693  1.111    martin 		.sy_call = (sy_call_t *)compat_43(netbsd32_ogetsockname)
    694  1.111    martin 	},		/* 150 = compat_43_netbsd32_ogetsockname */
    695  1.111    martin 	{
    696  1.111    martin 		.sy_call = sys_nosys,
    697  1.111    martin 	},		/* 151 = filler */
    698  1.111    martin 	{
    699  1.111    martin 		.sy_call = sys_nosys,
    700  1.111    martin 	},		/* 152 = filler */
    701  1.111    martin 	{
    702  1.111    martin 		.sy_call = sys_nosys,
    703  1.111    martin 	},		/* 153 = filler */
    704  1.111    martin 	{
    705  1.111    martin 		.sy_call = sys_nosys,
    706  1.111    martin 	},		/* 154 = filler */
    707  1.111    martin 	{
    708  1.115       mrg 		ns(struct netbsd32_nfssvc_args),
    709  1.119  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
    710  1.115       mrg 	},		/* 155 = netbsd32_nfssvc */
    711  1.111    martin 	{
    712  1.111    martin 		ns(struct compat_43_netbsd32_ogetdirentries_args),
    713  1.111    martin 		.sy_call = (sy_call_t *)compat_43(netbsd32_ogetdirentries)
    714  1.111    martin 	},		/* 156 = compat_43_netbsd32_ogetdirentries */
    715  1.111    martin 	{
    716  1.111    martin 		ns(struct compat_20_netbsd32_statfs_args),
    717  1.111    martin 		.sy_call = (sy_call_t *)compat_20(netbsd32_statfs)
    718  1.111    martin 	},		/* 157 = compat_20_netbsd32_statfs */
    719  1.111    martin 	{
    720  1.111    martin 		ns(struct compat_20_netbsd32_fstatfs_args),
    721  1.111    martin 		.sy_call = (sy_call_t *)compat_20(netbsd32_fstatfs)
    722  1.111    martin 	},		/* 158 = compat_20_netbsd32_fstatfs */
    723  1.111    martin 	{
    724  1.111    martin 		.sy_call = sys_nosys,
    725  1.111    martin 	},		/* 159 = filler */
    726  1.111    martin 	{
    727  1.111    martin 		.sy_call = sys_nosys,
    728  1.111    martin 	},		/* 160 = filler */
    729  1.111    martin 	{
    730  1.111    martin 		ns(struct compat_30_netbsd32_getfh_args),
    731  1.111    martin 		.sy_call = (sy_call_t *)compat_30(netbsd32_getfh)
    732  1.111    martin 	},		/* 161 = compat_30_netbsd32_getfh */
    733  1.111    martin 	{
    734  1.111    martin 		ns(struct compat_09_netbsd32_ogetdomainname_args),
    735  1.111    martin 		.sy_call = (sy_call_t *)compat_09(netbsd32_ogetdomainname)
    736  1.111    martin 	},		/* 162 = compat_09_netbsd32_ogetdomainname */
    737  1.111    martin 	{
    738  1.111    martin 		ns(struct compat_09_netbsd32_osetdomainname_args),
    739  1.111    martin 		.sy_call = (sy_call_t *)compat_09(netbsd32_osetdomainname)
    740  1.111    martin 	},		/* 163 = compat_09_netbsd32_osetdomainname */
    741  1.111    martin 	{
    742  1.111    martin 		ns(struct compat_09_netbsd32_uname_args),
    743  1.111    martin 		.sy_call = (sy_call_t *)compat_09(netbsd32_uname)
    744  1.111    martin 	},		/* 164 = compat_09_netbsd32_uname */
    745  1.111    martin 	{
    746  1.111    martin 		ns(struct netbsd32_sysarch_args),
    747  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_sysarch
    748  1.111    martin 	},		/* 165 = netbsd32_sysarch */
    749  1.111    martin 	{
    750  1.111    martin 		.sy_call = sys_nosys,
    751  1.111    martin 	},		/* 166 = filler */
    752  1.111    martin 	{
    753  1.111    martin 		.sy_call = sys_nosys,
    754  1.111    martin 	},		/* 167 = filler */
    755  1.111    martin 	{
    756  1.111    martin 		.sy_call = sys_nosys,
    757  1.111    martin 	},		/* 168 = filler */
    758  1.111    martin 	{
    759  1.111    martin 		ns(struct compat_10_netbsd32_semsys_args),
    760  1.121  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
    761  1.111    martin 	},		/* 169 = compat_10_osemsys */
    762  1.111    martin 	{
    763  1.111    martin 		ns(struct compat_10_netbsd32_msgsys_args),
    764  1.121  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
    765  1.111    martin 	},		/* 170 = compat_10_omsgsys */
    766  1.111    martin 	{
    767  1.111    martin 		ns(struct compat_10_netbsd32_shmsys_args),
    768  1.121  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
    769  1.111    martin 	},		/* 171 = compat_10_oshmsys */
    770  1.111    martin 	{
    771  1.111    martin 		.sy_call = sys_nosys,
    772  1.111    martin 	},		/* 172 = filler */
    773  1.111    martin 	{
    774  1.111    martin 		ns(struct netbsd32_pread_args),
    775  1.125  christos 		.sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64,
    776  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_pread
    777  1.111    martin 	},		/* 173 = netbsd32_pread */
    778  1.111    martin 	{
    779  1.111    martin 		ns(struct netbsd32_pwrite_args),
    780  1.125  christos 		.sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64,
    781  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_pwrite
    782  1.111    martin 	},		/* 174 = netbsd32_pwrite */
    783   1.85  christos #if defined(NTP) || !defined(_KERNEL_OPT)
    784  1.111    martin 	{
    785  1.111    martin 		ns(struct compat_30_netbsd32_ntp_gettime_args),
    786  1.111    martin 		.sy_call = (sy_call_t *)compat_30(netbsd32_ntp_gettime)
    787  1.111    martin 	},		/* 175 = compat_30_netbsd32_ntp_gettime */
    788  1.111    martin 	{
    789  1.111    martin 		ns(struct netbsd32_ntp_adjtime_args),
    790  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_ntp_adjtime
    791  1.111    martin 	},		/* 176 = netbsd32_ntp_adjtime */
    792  1.111    martin #else
    793  1.111    martin 	{
    794  1.111    martin 		.sy_call = sys_nosys,
    795  1.111    martin 	},		/* 175 = filler */
    796  1.111    martin 	{
    797  1.111    martin 		.sy_call = sys_nosys,
    798  1.111    martin 	},		/* 176 = filler */
    799  1.111    martin #endif
    800  1.111    martin 	{
    801  1.111    martin 		.sy_call = sys_nosys,
    802  1.111    martin 	},		/* 177 = filler */
    803  1.111    martin 	{
    804  1.111    martin 		.sy_call = sys_nosys,
    805  1.111    martin 	},		/* 178 = filler */
    806  1.111    martin 	{
    807  1.111    martin 		.sy_call = sys_nosys,
    808  1.111    martin 	},		/* 179 = filler */
    809  1.111    martin 	{
    810  1.111    martin 		.sy_call = sys_nosys,
    811  1.111    martin 	},		/* 180 = filler */
    812  1.111    martin 	{
    813  1.111    martin 		ns(struct netbsd32_setgid_args),
    814  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_setgid
    815  1.111    martin 	},		/* 181 = netbsd32_setgid */
    816  1.111    martin 	{
    817  1.111    martin 		ns(struct netbsd32_setegid_args),
    818  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_setegid
    819  1.111    martin 	},		/* 182 = netbsd32_setegid */
    820  1.111    martin 	{
    821  1.111    martin 		ns(struct netbsd32_seteuid_args),
    822  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_seteuid
    823  1.111    martin 	},		/* 183 = netbsd32_seteuid */
    824  1.111    martin 	{
    825  1.111    martin 		.sy_call = sys_nosys,
    826  1.111    martin 	},		/* 184 = filler */
    827  1.111    martin 	{
    828  1.111    martin 		.sy_call = sys_nosys,
    829  1.111    martin 	},		/* 185 = filler */
    830  1.111    martin 	{
    831  1.111    martin 		.sy_call = sys_nosys,
    832  1.111    martin 	},		/* 186 = filler */
    833  1.111    martin 	{
    834  1.111    martin 		.sy_call = sys_nosys,
    835  1.111    martin 	},		/* 187 = filler */
    836  1.111    martin 	{
    837  1.111    martin 		ns(struct compat_12_netbsd32_stat12_args),
    838  1.111    martin 		.sy_call = (sy_call_t *)compat_12(netbsd32_stat12)
    839  1.111    martin 	},		/* 188 = compat_12_netbsd32_stat12 */
    840  1.111    martin 	{
    841  1.111    martin 		ns(struct compat_12_netbsd32_fstat12_args),
    842  1.111    martin 		.sy_call = (sy_call_t *)compat_12(netbsd32_fstat12)
    843  1.111    martin 	},		/* 189 = compat_12_netbsd32_fstat12 */
    844  1.111    martin 	{
    845  1.111    martin 		ns(struct compat_12_netbsd32_lstat12_args),
    846  1.111    martin 		.sy_call = (sy_call_t *)compat_12(netbsd32_lstat12)
    847  1.111    martin 	},		/* 190 = compat_12_netbsd32_lstat12 */
    848  1.111    martin 	{
    849  1.111    martin 		ns(struct netbsd32_pathconf_args),
    850  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_pathconf
    851  1.111    martin 	},		/* 191 = netbsd32_pathconf */
    852  1.111    martin 	{
    853  1.111    martin 		ns(struct netbsd32_fpathconf_args),
    854  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_fpathconf
    855  1.111    martin 	},		/* 192 = netbsd32_fpathconf */
    856  1.111    martin 	{
    857  1.134       rjs 		ns(struct netbsd32_getsockopt2_args),
    858  1.134       rjs 		.sy_call = (sy_call_t *)netbsd32_getsockopt2
    859  1.134       rjs 	},		/* 193 = netbsd32_getsockopt2 */
    860  1.111    martin 	{
    861  1.111    martin 		ns(struct netbsd32_getrlimit_args),
    862  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_getrlimit
    863  1.111    martin 	},		/* 194 = netbsd32_getrlimit */
    864  1.111    martin 	{
    865  1.111    martin 		ns(struct netbsd32_setrlimit_args),
    866  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_setrlimit
    867  1.111    martin 	},		/* 195 = netbsd32_setrlimit */
    868  1.111    martin 	{
    869  1.111    martin 		ns(struct compat_12_netbsd32_getdirentries_args),
    870  1.111    martin 		.sy_call = (sy_call_t *)compat_12(netbsd32_getdirentries)
    871  1.111    martin 	},		/* 196 = compat_12_netbsd32_getdirentries */
    872  1.111    martin 	{
    873  1.111    martin 		ns(struct netbsd32_mmap_args),
    874  1.125  christos 		.sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG6_64,
    875  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_mmap
    876  1.111    martin 	},		/* 197 = netbsd32_mmap */
    877  1.111    martin 	{
    878  1.111    martin 		ns(struct netbsd32____syscall_args),
    879  1.111    martin 		.sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG0_64 | SYCALL_RET_64 | SYCALL_INDIRECT,
    880  1.111    martin 		.sy_call = (sy_call_t *)netbsd32____syscall
    881  1.111    martin 	},		/* 198 = netbsd32____syscall */
    882  1.111    martin 	{
    883  1.111    martin 		ns(struct netbsd32_lseek_args),
    884  1.125  christos 		.sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64 | SYCALL_RET_64,
    885  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_lseek
    886  1.111    martin 	},		/* 199 = netbsd32_lseek */
    887  1.111    martin 	{
    888  1.111    martin 		ns(struct netbsd32_truncate_args),
    889  1.125  christos 		.sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64,
    890  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_truncate
    891  1.111    martin 	},		/* 200 = netbsd32_truncate */
    892  1.111    martin 	{
    893  1.111    martin 		ns(struct netbsd32_ftruncate_args),
    894  1.125  christos 		.sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64,
    895  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_ftruncate
    896  1.111    martin 	},		/* 201 = netbsd32_ftruncate */
    897  1.111    martin 	{
    898  1.111    martin 		ns(struct netbsd32___sysctl_args),
    899  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___sysctl
    900  1.111    martin 	},		/* 202 = netbsd32___sysctl */
    901  1.111    martin 	{
    902  1.111    martin 		ns(struct netbsd32_mlock_args),
    903  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_mlock
    904  1.111    martin 	},		/* 203 = netbsd32_mlock */
    905  1.111    martin 	{
    906  1.111    martin 		ns(struct netbsd32_munlock_args),
    907  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_munlock
    908  1.111    martin 	},		/* 204 = netbsd32_munlock */
    909  1.111    martin 	{
    910  1.111    martin 		ns(struct netbsd32_undelete_args),
    911  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_undelete
    912  1.111    martin 	},		/* 205 = netbsd32_undelete */
    913  1.111    martin 	{
    914  1.111    martin 		ns(struct compat_50_netbsd32_futimes_args),
    915  1.111    martin 		.sy_call = (sy_call_t *)compat_50(netbsd32_futimes)
    916  1.111    martin 	},		/* 206 = compat_50_netbsd32_futimes */
    917  1.111    martin 	{
    918  1.111    martin 		ns(struct netbsd32_getpgid_args),
    919  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_getpgid
    920  1.111    martin 	},		/* 207 = netbsd32_getpgid */
    921  1.111    martin 	{
    922  1.111    martin 		ns(struct netbsd32_reboot_args),
    923  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_reboot
    924  1.111    martin 	},		/* 208 = netbsd32_reboot */
    925  1.111    martin 	{
    926  1.111    martin 		ns(struct netbsd32_poll_args),
    927  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_poll
    928  1.111    martin 	},		/* 209 = netbsd32_poll */
    929  1.111    martin 	{
    930  1.111    martin 		.sy_call = sys_nosys,
    931  1.111    martin 	},		/* 210 = filler */
    932  1.111    martin 	{
    933  1.111    martin 		.sy_call = sys_nosys,
    934  1.111    martin 	},		/* 211 = filler */
    935  1.111    martin 	{
    936  1.111    martin 		.sy_call = sys_nosys,
    937  1.111    martin 	},		/* 212 = filler */
    938  1.111    martin 	{
    939  1.111    martin 		.sy_call = sys_nosys,
    940  1.111    martin 	},		/* 213 = filler */
    941  1.111    martin 	{
    942  1.111    martin 		.sy_call = sys_nosys,
    943  1.111    martin 	},		/* 214 = filler */
    944  1.111    martin 	{
    945  1.111    martin 		.sy_call = sys_nosys,
    946  1.111    martin 	},		/* 215 = filler */
    947  1.111    martin 	{
    948  1.111    martin 		.sy_call = sys_nosys,
    949  1.111    martin 	},		/* 216 = filler */
    950  1.111    martin 	{
    951  1.111    martin 		.sy_call = sys_nosys,
    952  1.111    martin 	},		/* 217 = filler */
    953  1.111    martin 	{
    954  1.111    martin 		.sy_call = sys_nosys,
    955  1.111    martin 	},		/* 218 = filler */
    956  1.111    martin 	{
    957  1.111    martin 		.sy_call = sys_nosys,
    958  1.111    martin 	},		/* 219 = filler */
    959  1.111    martin 	{
    960  1.111    martin 		ns(struct compat_14_netbsd32___semctl_args),
    961  1.121  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
    962  1.111    martin 	},		/* 220 = compat_14_netbsd32___semctl */
    963  1.111    martin 	{
    964  1.111    martin 		ns(struct netbsd32_semget_args),
    965  1.121  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
    966  1.111    martin 	},		/* 221 = netbsd32_semget */
    967  1.111    martin 	{
    968  1.111    martin 		ns(struct netbsd32_semop_args),
    969  1.121  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
    970  1.111    martin 	},		/* 222 = netbsd32_semop */
    971  1.111    martin 	{
    972  1.111    martin 		ns(struct netbsd32_semconfig_args),
    973  1.121  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
    974  1.111    martin 	},		/* 223 = netbsd32_semconfig */
    975  1.111    martin 	{
    976  1.111    martin 		ns(struct compat_14_netbsd32_msgctl_args),
    977  1.121  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
    978  1.111    martin 	},		/* 224 = compat_14_netbsd32_msgctl */
    979  1.111    martin 	{
    980  1.111    martin 		ns(struct netbsd32_msgget_args),
    981  1.121  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
    982  1.111    martin 	},		/* 225 = netbsd32_msgget */
    983  1.111    martin 	{
    984  1.111    martin 		ns(struct netbsd32_msgsnd_args),
    985  1.121  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
    986  1.111    martin 	},		/* 226 = netbsd32_msgsnd */
    987  1.111    martin 	{
    988  1.111    martin 		ns(struct netbsd32_msgrcv_args),
    989  1.121  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
    990  1.111    martin 	},		/* 227 = netbsd32_msgrcv */
    991  1.111    martin 	{
    992  1.111    martin 		ns(struct netbsd32_shmat_args),
    993  1.121  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
    994  1.111    martin 	},		/* 228 = netbsd32_shmat */
    995  1.111    martin 	{
    996  1.111    martin 		ns(struct compat_14_netbsd32_shmctl_args),
    997  1.121  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
    998  1.111    martin 	},		/* 229 = compat_14_netbsd32_shmctl */
    999  1.111    martin 	{
   1000  1.111    martin 		ns(struct netbsd32_shmdt_args),
   1001  1.121  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
   1002  1.111    martin 	},		/* 230 = netbsd32_shmdt */
   1003  1.111    martin 	{
   1004  1.111    martin 		ns(struct netbsd32_shmget_args),
   1005  1.121  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
   1006  1.111    martin 	},		/* 231 = netbsd32_shmget */
   1007  1.111    martin 	{
   1008  1.111    martin 		ns(struct compat_50_netbsd32_clock_gettime_args),
   1009  1.111    martin 		.sy_call = (sy_call_t *)compat_50(netbsd32_clock_gettime)
   1010  1.111    martin 	},		/* 232 = compat_50_netbsd32_clock_gettime */
   1011  1.111    martin 	{
   1012  1.111    martin 		ns(struct compat_50_netbsd32_clock_settime_args),
   1013  1.111    martin 		.sy_call = (sy_call_t *)compat_50(netbsd32_clock_settime)
   1014  1.111    martin 	},		/* 233 = compat_50_netbsd32_clock_settime */
   1015  1.111    martin 	{
   1016  1.111    martin 		ns(struct compat_50_netbsd32_clock_getres_args),
   1017  1.111    martin 		.sy_call = (sy_call_t *)compat_50(netbsd32_clock_getres)
   1018  1.111    martin 	},		/* 234 = compat_50_netbsd32_clock_getres */
   1019  1.111    martin 	{
   1020  1.111    martin 		ns(struct netbsd32_timer_create_args),
   1021  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_timer_create
   1022  1.111    martin 	},		/* 235 = netbsd32_timer_create */
   1023  1.111    martin 	{
   1024  1.111    martin 		ns(struct netbsd32_timer_delete_args),
   1025  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_timer_delete
   1026  1.111    martin 	},		/* 236 = netbsd32_timer_delete */
   1027  1.111    martin 	{
   1028  1.111    martin 		ns(struct compat_50_netbsd32_timer_settime_args),
   1029  1.111    martin 		.sy_call = (sy_call_t *)compat_50(netbsd32_timer_settime)
   1030  1.111    martin 	},		/* 237 = compat_50_netbsd32_timer_settime */
   1031  1.111    martin 	{
   1032  1.111    martin 		ns(struct compat_50_netbsd32_timer_gettime_args),
   1033  1.111    martin 		.sy_call = (sy_call_t *)compat_50(netbsd32_timer_gettime)
   1034  1.111    martin 	},		/* 238 = compat_50_netbsd32_timer_gettime */
   1035  1.111    martin 	{
   1036  1.111    martin 		ns(struct netbsd32_timer_getoverrun_args),
   1037  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_timer_getoverrun
   1038  1.111    martin 	},		/* 239 = netbsd32_timer_getoverrun */
   1039  1.111    martin 	{
   1040  1.111    martin 		ns(struct compat_50_netbsd32_nanosleep_args),
   1041  1.111    martin 		.sy_call = (sy_call_t *)compat_50(netbsd32_nanosleep)
   1042  1.111    martin 	},		/* 240 = compat_50_netbsd32_nanosleep */
   1043  1.111    martin 	{
   1044  1.111    martin 		ns(struct netbsd32_fdatasync_args),
   1045  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_fdatasync
   1046  1.111    martin 	},		/* 241 = netbsd32_fdatasync */
   1047  1.111    martin 	{
   1048  1.111    martin 		ns(struct netbsd32_mlockall_args),
   1049  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_mlockall
   1050  1.111    martin 	},		/* 242 = netbsd32_mlockall */
   1051  1.111    martin 	{
   1052  1.111    martin 		.sy_call = (sy_call_t *)sys_munlockall
   1053  1.111    martin 	},		/* 243 = munlockall */
   1054  1.111    martin 	{
   1055  1.111    martin 		ns(struct compat_50_netbsd32___sigtimedwait_args),
   1056  1.111    martin 		.sy_call = (sy_call_t *)compat_50(netbsd32___sigtimedwait)
   1057  1.111    martin 	},		/* 244 = compat_50_netbsd32___sigtimedwait */
   1058  1.111    martin 	{
   1059  1.112    martin 		ns(struct netbsd32_sigqueueinfo_args),
   1060  1.112    martin 		.sy_call = (sy_call_t *)netbsd32_sigqueueinfo
   1061  1.112    martin 	},		/* 245 = netbsd32_sigqueueinfo */
   1062  1.112    martin 	{
   1063  1.112    martin 		ns(struct netbsd32_modctl_args),
   1064  1.112    martin 		.sy_call = (sy_call_t *)netbsd32_modctl
   1065  1.112    martin 	},		/* 246 = netbsd32_modctl */
   1066  1.111    martin 	{
   1067  1.111    martin 		ns(struct netbsd32__ksem_init_args),
   1068  1.111    martin 		.sy_call = (sy_call_t *)netbsd32__ksem_init
   1069  1.111    martin 	},		/* 247 = netbsd32__ksem_init */
   1070  1.111    martin 	{
   1071  1.111    martin 		ns(struct netbsd32__ksem_open_args),
   1072  1.111    martin 		.sy_call = (sy_call_t *)netbsd32__ksem_open
   1073  1.111    martin 	},		/* 248 = netbsd32__ksem_open */
   1074  1.111    martin 	{
   1075  1.111    martin 		ns(struct netbsd32__ksem_unlink_args),
   1076  1.111    martin 		.sy_call = (sy_call_t *)netbsd32__ksem_unlink
   1077  1.111    martin 	},		/* 249 = netbsd32__ksem_unlink */
   1078  1.111    martin 	{
   1079  1.111    martin 		ns(struct netbsd32__ksem_close_args),
   1080  1.111    martin 		.sy_call = (sy_call_t *)netbsd32__ksem_close
   1081  1.111    martin 	},		/* 250 = netbsd32__ksem_close */
   1082  1.111    martin 	{
   1083  1.111    martin 		ns(struct netbsd32__ksem_post_args),
   1084  1.111    martin 		.sy_call = (sy_call_t *)netbsd32__ksem_post
   1085  1.111    martin 	},		/* 251 = netbsd32__ksem_post */
   1086  1.111    martin 	{
   1087  1.111    martin 		ns(struct netbsd32__ksem_wait_args),
   1088  1.111    martin 		.sy_call = (sy_call_t *)netbsd32__ksem_wait
   1089  1.111    martin 	},		/* 252 = netbsd32__ksem_wait */
   1090  1.111    martin 	{
   1091  1.111    martin 		ns(struct netbsd32__ksem_trywait_args),
   1092  1.111    martin 		.sy_call = (sy_call_t *)netbsd32__ksem_trywait
   1093  1.111    martin 	},		/* 253 = netbsd32__ksem_trywait */
   1094  1.111    martin 	{
   1095  1.111    martin 		ns(struct netbsd32__ksem_getvalue_args),
   1096  1.111    martin 		.sy_call = (sy_call_t *)netbsd32__ksem_getvalue
   1097  1.111    martin 	},		/* 254 = netbsd32__ksem_getvalue */
   1098  1.111    martin 	{
   1099  1.111    martin 		ns(struct netbsd32__ksem_destroy_args),
   1100  1.111    martin 		.sy_call = (sy_call_t *)netbsd32__ksem_destroy
   1101  1.111    martin 	},		/* 255 = netbsd32__ksem_destroy */
   1102  1.111    martin 	{
   1103  1.111    martin 		ns(struct netbsd32__ksem_timedwait_args),
   1104  1.111    martin 		.sy_call = (sy_call_t *)netbsd32__ksem_timedwait
   1105  1.111    martin 	},		/* 256 = netbsd32__ksem_timedwait */
   1106  1.111    martin 	{
   1107  1.112    martin 		ns(struct netbsd32_mq_open_args),
   1108  1.120  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
   1109  1.112    martin 	},		/* 257 = netbsd32_mq_open */
   1110  1.112    martin 	{
   1111  1.112    martin 		ns(struct netbsd32_mq_close_args),
   1112  1.120  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
   1113  1.112    martin 	},		/* 258 = netbsd32_mq_close */
   1114  1.112    martin 	{
   1115  1.112    martin 		ns(struct netbsd32_mq_unlink_args),
   1116  1.120  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
   1117  1.112    martin 	},		/* 259 = netbsd32_mq_unlink */
   1118  1.112    martin 	{
   1119  1.112    martin 		ns(struct netbsd32_mq_getattr_args),
   1120  1.120  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
   1121  1.112    martin 	},		/* 260 = netbsd32_mq_getattr */
   1122  1.112    martin 	{
   1123  1.112    martin 		ns(struct netbsd32_mq_setattr_args),
   1124  1.120  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
   1125  1.112    martin 	},		/* 261 = netbsd32_mq_setattr */
   1126  1.112    martin 	{
   1127  1.112    martin 		ns(struct netbsd32_mq_notify_args),
   1128  1.120  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
   1129  1.112    martin 	},		/* 262 = netbsd32_mq_notify */
   1130  1.112    martin 	{
   1131  1.112    martin 		ns(struct netbsd32_mq_send_args),
   1132  1.120  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
   1133  1.112    martin 	},		/* 263 = netbsd32_mq_send */
   1134  1.112    martin 	{
   1135  1.112    martin 		ns(struct netbsd32_mq_receive_args),
   1136  1.120  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
   1137  1.112    martin 	},		/* 264 = netbsd32_mq_receive */
   1138  1.112    martin 	{
   1139  1.112    martin 		ns(struct compat_50_netbsd32_mq_timedsend_args),
   1140  1.120  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
   1141  1.112    martin 	},		/* 265 = compat_50_netbsd32_mq_timedsend */
   1142  1.112    martin 	{
   1143  1.112    martin 		ns(struct compat_50_netbsd32_mq_timedreceive_args),
   1144  1.120  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
   1145  1.112    martin 	},		/* 266 = compat_50_netbsd32_mq_timedreceive */
   1146  1.111    martin 	{
   1147  1.111    martin 		.sy_call = sys_nosys,
   1148  1.111    martin 	},		/* 267 = filler */
   1149  1.111    martin 	{
   1150  1.111    martin 		.sy_call = sys_nosys,
   1151  1.111    martin 	},		/* 268 = filler */
   1152  1.111    martin 	{
   1153  1.111    martin 		.sy_call = sys_nosys,
   1154  1.111    martin 	},		/* 269 = filler */
   1155  1.111    martin 	{
   1156  1.111    martin 		ns(struct netbsd32___posix_rename_args),
   1157  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___posix_rename
   1158  1.111    martin 	},		/* 270 = netbsd32___posix_rename */
   1159  1.111    martin 	{
   1160  1.111    martin 		ns(struct netbsd32_swapctl_args),
   1161  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_swapctl
   1162  1.111    martin 	},		/* 271 = netbsd32_swapctl */
   1163  1.111    martin 	{
   1164  1.111    martin 		ns(struct compat_30_netbsd32_getdents_args),
   1165  1.111    martin 		.sy_call = (sy_call_t *)compat_30(netbsd32_getdents)
   1166  1.111    martin 	},		/* 272 = compat_30_netbsd32_getdents */
   1167  1.111    martin 	{
   1168  1.111    martin 		ns(struct netbsd32_minherit_args),
   1169  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_minherit
   1170  1.111    martin 	},		/* 273 = netbsd32_minherit */
   1171  1.111    martin 	{
   1172  1.111    martin 		ns(struct netbsd32_lchmod_args),
   1173  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_lchmod
   1174  1.111    martin 	},		/* 274 = netbsd32_lchmod */
   1175  1.111    martin 	{
   1176  1.111    martin 		ns(struct netbsd32_lchown_args),
   1177  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_lchown
   1178  1.111    martin 	},		/* 275 = netbsd32_lchown */
   1179  1.111    martin 	{
   1180  1.111    martin 		ns(struct compat_50_netbsd32_lutimes_args),
   1181  1.111    martin 		.sy_call = (sy_call_t *)compat_50(netbsd32_lutimes)
   1182  1.111    martin 	},		/* 276 = compat_50_netbsd32_lutimes */
   1183  1.111    martin 	{
   1184  1.111    martin 		ns(struct netbsd32___msync13_args),
   1185  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___msync13
   1186  1.111    martin 	},		/* 277 = netbsd32___msync13 */
   1187  1.111    martin 	{
   1188  1.111    martin 		ns(struct compat_30_netbsd32___stat13_args),
   1189  1.111    martin 		.sy_call = (sy_call_t *)compat_30(netbsd32___stat13)
   1190  1.111    martin 	},		/* 278 = compat_30_netbsd32___stat13 */
   1191  1.111    martin 	{
   1192  1.111    martin 		ns(struct compat_30_netbsd32___fstat13_args),
   1193  1.111    martin 		.sy_call = (sy_call_t *)compat_30(netbsd32___fstat13)
   1194  1.111    martin 	},		/* 279 = compat_30_netbsd32___fstat13 */
   1195  1.111    martin 	{
   1196  1.111    martin 		ns(struct compat_30_netbsd32___lstat13_args),
   1197  1.111    martin 		.sy_call = (sy_call_t *)compat_30(netbsd32___lstat13)
   1198  1.111    martin 	},		/* 280 = compat_30_netbsd32___lstat13 */
   1199  1.111    martin 	{
   1200  1.111    martin 		ns(struct netbsd32___sigaltstack14_args),
   1201  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___sigaltstack14
   1202  1.111    martin 	},		/* 281 = netbsd32___sigaltstack14 */
   1203  1.111    martin 	{
   1204  1.111    martin 		.sy_call = (sy_call_t *)sys___vfork14
   1205  1.111    martin 	},		/* 282 = __vfork14 */
   1206  1.111    martin 	{
   1207  1.111    martin 		ns(struct netbsd32___posix_chown_args),
   1208  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___posix_chown
   1209  1.111    martin 	},		/* 283 = netbsd32___posix_chown */
   1210  1.111    martin 	{
   1211  1.111    martin 		ns(struct netbsd32___posix_fchown_args),
   1212  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___posix_fchown
   1213  1.111    martin 	},		/* 284 = netbsd32___posix_fchown */
   1214  1.111    martin 	{
   1215  1.111    martin 		ns(struct netbsd32___posix_lchown_args),
   1216  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___posix_lchown
   1217  1.111    martin 	},		/* 285 = netbsd32___posix_lchown */
   1218  1.111    martin 	{
   1219  1.111    martin 		ns(struct netbsd32_getsid_args),
   1220  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_getsid
   1221  1.111    martin 	},		/* 286 = netbsd32_getsid */
   1222  1.111    martin 	{
   1223  1.111    martin 		ns(struct netbsd32___clone_args),
   1224  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___clone
   1225  1.111    martin 	},		/* 287 = netbsd32___clone */
   1226  1.111    martin 	{
   1227  1.111    martin 		ns(struct netbsd32_fktrace_args),
   1228  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_fktrace
   1229  1.111    martin 	},		/* 288 = netbsd32_fktrace */
   1230  1.111    martin 	{
   1231  1.111    martin 		ns(struct netbsd32_preadv_args),
   1232  1.125  christos 		.sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64,
   1233  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_preadv
   1234  1.111    martin 	},		/* 289 = netbsd32_preadv */
   1235  1.111    martin 	{
   1236  1.111    martin 		ns(struct netbsd32_pwritev_args),
   1237  1.125  christos 		.sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64,
   1238  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_pwritev
   1239  1.111    martin 	},		/* 290 = netbsd32_pwritev */
   1240  1.111    martin 	{
   1241  1.111    martin 		ns(struct netbsd32___sigaction14_args),
   1242  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___sigaction14
   1243  1.111    martin 	},		/* 291 = netbsd32___sigaction14 */
   1244  1.111    martin 	{
   1245  1.111    martin 		ns(struct netbsd32___sigpending14_args),
   1246  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___sigpending14
   1247  1.111    martin 	},		/* 292 = netbsd32___sigpending14 */
   1248  1.111    martin 	{
   1249  1.111    martin 		ns(struct netbsd32___sigprocmask14_args),
   1250  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___sigprocmask14
   1251  1.111    martin 	},		/* 293 = netbsd32___sigprocmask14 */
   1252  1.111    martin 	{
   1253  1.111    martin 		ns(struct netbsd32___sigsuspend14_args),
   1254  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___sigsuspend14
   1255  1.111    martin 	},		/* 294 = netbsd32___sigsuspend14 */
   1256  1.111    martin 	{
   1257  1.111    martin 		ns(struct compat_16_netbsd32___sigreturn14_args),
   1258  1.111    martin 		.sy_call = (sy_call_t *)compat_16(netbsd32___sigreturn14)
   1259  1.111    martin 	},		/* 295 = compat_16_netbsd32___sigreturn14 */
   1260  1.111    martin 	{
   1261  1.111    martin 		ns(struct netbsd32___getcwd_args),
   1262  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___getcwd
   1263  1.111    martin 	},		/* 296 = netbsd32___getcwd */
   1264  1.111    martin 	{
   1265  1.111    martin 		ns(struct netbsd32_fchroot_args),
   1266  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_fchroot
   1267  1.111    martin 	},		/* 297 = netbsd32_fchroot */
   1268  1.111    martin 	{
   1269  1.111    martin 		ns(struct compat_30_netbsd32_fhopen_args),
   1270  1.111    martin 		.sy_call = (sy_call_t *)compat_30(netbsd32_fhopen)
   1271  1.111    martin 	},		/* 298 = compat_30_netbsd32_fhopen */
   1272  1.111    martin 	{
   1273  1.111    martin 		ns(struct compat_30_netbsd32_fhstat_args),
   1274  1.111    martin 		.sy_call = (sy_call_t *)compat_30(netbsd32_fhstat)
   1275  1.111    martin 	},		/* 299 = compat_30_netbsd32_fhstat */
   1276  1.111    martin 	{
   1277  1.111    martin 		ns(struct compat_20_netbsd32_fhstatfs_args),
   1278  1.111    martin 		.sy_call = (sy_call_t *)compat_20(netbsd32_fhstatfs)
   1279  1.111    martin 	},		/* 300 = compat_20_netbsd32_fhstatfs */
   1280  1.111    martin 	{
   1281  1.111    martin 		ns(struct compat_50_netbsd32___semctl14_args),
   1282  1.121  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
   1283  1.111    martin 	},		/* 301 = compat_50_netbsd32___semctl14 */
   1284  1.111    martin 	{
   1285  1.111    martin 		ns(struct compat_50_netbsd32___msgctl13_args),
   1286  1.121  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
   1287  1.111    martin 	},		/* 302 = compat_50_netbsd32___msgctl13 */
   1288  1.111    martin 	{
   1289  1.111    martin 		ns(struct compat_50_netbsd32___shmctl13_args),
   1290  1.121  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
   1291  1.111    martin 	},		/* 303 = compat_50_netbsd32___shmctl13 */
   1292  1.111    martin 	{
   1293  1.111    martin 		ns(struct netbsd32_lchflags_args),
   1294  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_lchflags
   1295  1.111    martin 	},		/* 304 = netbsd32_lchflags */
   1296  1.111    martin 	{
   1297  1.111    martin 		.sy_call = (sy_call_t *)sys_issetugid
   1298  1.111    martin 	},		/* 305 = issetugid */
   1299  1.111    martin 	{
   1300  1.111    martin 		ns(struct netbsd32_utrace_args),
   1301  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_utrace
   1302  1.111    martin 	},		/* 306 = netbsd32_utrace */
   1303  1.111    martin 	{
   1304  1.111    martin 		ns(struct netbsd32_getcontext_args),
   1305  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_getcontext
   1306  1.111    martin 	},		/* 307 = netbsd32_getcontext */
   1307  1.111    martin 	{
   1308  1.111    martin 		ns(struct netbsd32_setcontext_args),
   1309  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_setcontext
   1310  1.111    martin 	},		/* 308 = netbsd32_setcontext */
   1311  1.111    martin 	{
   1312  1.111    martin 		ns(struct netbsd32__lwp_create_args),
   1313  1.111    martin 		.sy_call = (sy_call_t *)netbsd32__lwp_create
   1314  1.111    martin 	},		/* 309 = netbsd32__lwp_create */
   1315  1.111    martin 	{
   1316  1.111    martin 		.sy_call = (sy_call_t *)sys__lwp_exit
   1317  1.111    martin 	},		/* 310 = _lwp_exit */
   1318  1.111    martin 	{
   1319  1.111    martin 		.sy_call = (sy_call_t *)sys__lwp_self
   1320  1.111    martin 	},		/* 311 = _lwp_self */
   1321  1.111    martin 	{
   1322  1.111    martin 		ns(struct netbsd32__lwp_wait_args),
   1323  1.111    martin 		.sy_call = (sy_call_t *)netbsd32__lwp_wait
   1324  1.111    martin 	},		/* 312 = netbsd32__lwp_wait */
   1325  1.111    martin 	{
   1326  1.111    martin 		ns(struct netbsd32__lwp_suspend_args),
   1327  1.111    martin 		.sy_call = (sy_call_t *)netbsd32__lwp_suspend
   1328  1.111    martin 	},		/* 313 = netbsd32__lwp_suspend */
   1329  1.111    martin 	{
   1330  1.111    martin 		ns(struct netbsd32__lwp_continue_args),
   1331  1.111    martin 		.sy_call = (sy_call_t *)netbsd32__lwp_continue
   1332  1.111    martin 	},		/* 314 = netbsd32__lwp_continue */
   1333  1.111    martin 	{
   1334  1.111    martin 		ns(struct netbsd32__lwp_wakeup_args),
   1335  1.111    martin 		.sy_call = (sy_call_t *)netbsd32__lwp_wakeup
   1336  1.111    martin 	},		/* 315 = netbsd32__lwp_wakeup */
   1337  1.111    martin 	{
   1338  1.111    martin 		.sy_call = (sy_call_t *)sys__lwp_getprivate
   1339  1.111    martin 	},		/* 316 = _lwp_getprivate */
   1340  1.111    martin 	{
   1341  1.111    martin 		ns(struct netbsd32__lwp_setprivate_args),
   1342  1.111    martin 		.sy_call = (sy_call_t *)netbsd32__lwp_setprivate
   1343  1.111    martin 	},		/* 317 = netbsd32__lwp_setprivate */
   1344  1.111    martin 	{
   1345  1.111    martin 		ns(struct netbsd32__lwp_kill_args),
   1346  1.111    martin 		.sy_call = (sy_call_t *)netbsd32__lwp_kill
   1347  1.111    martin 	},		/* 318 = netbsd32__lwp_kill */
   1348  1.111    martin 	{
   1349  1.111    martin 		ns(struct netbsd32__lwp_detach_args),
   1350  1.111    martin 		.sy_call = (sy_call_t *)netbsd32__lwp_detach
   1351  1.111    martin 	},		/* 319 = netbsd32__lwp_detach */
   1352  1.111    martin 	{
   1353  1.111    martin 		ns(struct compat_50_netbsd32__lwp_park_args),
   1354  1.111    martin 		.sy_call = (sy_call_t *)compat_50(netbsd32__lwp_park)
   1355  1.111    martin 	},		/* 320 = compat_50_netbsd32__lwp_park */
   1356  1.111    martin 	{
   1357  1.111    martin 		ns(struct netbsd32__lwp_unpark_args),
   1358  1.111    martin 		.sy_call = (sy_call_t *)netbsd32__lwp_unpark
   1359  1.111    martin 	},		/* 321 = netbsd32__lwp_unpark */
   1360  1.111    martin 	{
   1361  1.111    martin 		ns(struct netbsd32__lwp_unpark_all_args),
   1362  1.111    martin 		.sy_call = (sy_call_t *)netbsd32__lwp_unpark_all
   1363  1.111    martin 	},		/* 322 = netbsd32__lwp_unpark_all */
   1364  1.111    martin 	{
   1365  1.111    martin 		ns(struct netbsd32__lwp_setname_args),
   1366  1.111    martin 		.sy_call = (sy_call_t *)netbsd32__lwp_setname
   1367  1.111    martin 	},		/* 323 = netbsd32__lwp_setname */
   1368  1.111    martin 	{
   1369  1.111    martin 		ns(struct netbsd32__lwp_getname_args),
   1370  1.111    martin 		.sy_call = (sy_call_t *)netbsd32__lwp_getname
   1371  1.111    martin 	},		/* 324 = netbsd32__lwp_getname */
   1372  1.111    martin 	{
   1373  1.111    martin 		ns(struct netbsd32__lwp_ctl_args),
   1374  1.111    martin 		.sy_call = (sy_call_t *)netbsd32__lwp_ctl
   1375  1.111    martin 	},		/* 325 = netbsd32__lwp_ctl */
   1376  1.111    martin 	{
   1377  1.111    martin 		.sy_call = sys_nosys,
   1378  1.111    martin 	},		/* 326 = filler */
   1379  1.111    martin 	{
   1380  1.111    martin 		.sy_call = sys_nosys,
   1381  1.111    martin 	},		/* 327 = filler */
   1382  1.111    martin 	{
   1383  1.111    martin 		.sy_call = sys_nosys,
   1384  1.111    martin 	},		/* 328 = filler */
   1385  1.111    martin 	{
   1386  1.111    martin 		.sy_call = sys_nosys,
   1387  1.111    martin 	},		/* 329 = filler */
   1388  1.111    martin 	{
   1389  1.111    martin 		.sy_call = sys_nosys,
   1390  1.111    martin 	},		/* 330 = filler */
   1391  1.111    martin 	{
   1392  1.111    martin 		.sy_call = sys_nosys,
   1393  1.111    martin 	},		/* 331 = filler */
   1394  1.111    martin 	{
   1395  1.111    martin 		.sy_call = sys_nosys,
   1396  1.111    martin 	},		/* 332 = filler */
   1397  1.111    martin 	{
   1398  1.111    martin 		.sy_call = sys_nosys,
   1399  1.111    martin 	},		/* 333 = filler */
   1400  1.111    martin 	{
   1401  1.111    martin 		.sy_call = sys_nosys,
   1402  1.111    martin 	},		/* 334 = filler */
   1403  1.111    martin 	{
   1404  1.111    martin 		.sy_call = sys_nosys,
   1405  1.111    martin 	},		/* 335 = filler */
   1406  1.111    martin 	{
   1407  1.111    martin 		.sy_call = sys_nosys,
   1408  1.111    martin 	},		/* 336 = filler */
   1409  1.111    martin 	{
   1410  1.111    martin 		.sy_call = sys_nosys,
   1411  1.111    martin 	},		/* 337 = filler */
   1412  1.111    martin 	{
   1413  1.111    martin 		.sy_call = sys_nosys,
   1414  1.111    martin 	},		/* 338 = filler */
   1415  1.111    martin 	{
   1416  1.111    martin 		.sy_call = sys_nosys,
   1417  1.111    martin 	},		/* 339 = filler */
   1418  1.111    martin 	{
   1419  1.111    martin 		ns(struct netbsd32___sigaction_sigtramp_args),
   1420  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___sigaction_sigtramp
   1421  1.111    martin 	},		/* 340 = netbsd32___sigaction_sigtramp */
   1422  1.111    martin 	{
   1423  1.111    martin 		.sy_call = sys_nosys,
   1424  1.111    martin 	},		/* 341 = filler */
   1425  1.111    martin 	{
   1426  1.111    martin 		.sy_call = sys_nosys,
   1427  1.111    martin 	},		/* 342 = filler */
   1428  1.111    martin 	{
   1429  1.111    martin 		ns(struct netbsd32_rasctl_args),
   1430  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_rasctl
   1431  1.111    martin 	},		/* 343 = netbsd32_rasctl */
   1432  1.111    martin 	{
   1433  1.111    martin 		.sy_call = (sy_call_t *)sys_kqueue
   1434  1.111    martin 	},		/* 344 = kqueue */
   1435  1.111    martin 	{
   1436  1.111    martin 		ns(struct compat_50_netbsd32_kevent_args),
   1437  1.111    martin 		.sy_call = (sy_call_t *)compat_50(netbsd32_kevent)
   1438  1.111    martin 	},		/* 345 = compat_50_netbsd32_kevent */
   1439  1.111    martin 	{
   1440  1.111    martin 		ns(struct netbsd32__sched_setparam_args),
   1441  1.111    martin 		.sy_call = (sy_call_t *)netbsd32__sched_setparam
   1442  1.111    martin 	},		/* 346 = netbsd32__sched_setparam */
   1443  1.111    martin 	{
   1444  1.111    martin 		ns(struct netbsd32__sched_getparam_args),
   1445  1.111    martin 		.sy_call = (sy_call_t *)netbsd32__sched_getparam
   1446  1.111    martin 	},		/* 347 = netbsd32__sched_getparam */
   1447  1.111    martin 	{
   1448  1.111    martin 		ns(struct netbsd32__sched_setaffinity_args),
   1449  1.111    martin 		.sy_call = (sy_call_t *)netbsd32__sched_setaffinity
   1450  1.111    martin 	},		/* 348 = netbsd32__sched_setaffinity */
   1451  1.111    martin 	{
   1452  1.111    martin 		ns(struct netbsd32__sched_getaffinity_args),
   1453  1.111    martin 		.sy_call = (sy_call_t *)netbsd32__sched_getaffinity
   1454  1.111    martin 	},		/* 349 = netbsd32__sched_getaffinity */
   1455  1.111    martin 	{
   1456  1.111    martin 		.sy_call = (sy_call_t *)sys_sched_yield
   1457  1.111    martin 	},		/* 350 = sched_yield */
   1458  1.111    martin 	{
   1459  1.122     skrll 		ns(struct netbsd32__sched_protect_args),
   1460  1.122     skrll 		.sy_call = (sy_call_t *)netbsd32__sched_protect
   1461  1.122     skrll 	},		/* 351 = netbsd32__sched_protect */
   1462  1.111    martin 	{
   1463  1.111    martin 		.sy_call = sys_nosys,
   1464  1.111    martin 	},		/* 352 = filler */
   1465  1.111    martin 	{
   1466  1.111    martin 		.sy_call = sys_nosys,
   1467  1.111    martin 	},		/* 353 = filler */
   1468  1.111    martin 	{
   1469  1.111    martin 		ns(struct netbsd32_fsync_range_args),
   1470  1.125  christos 		.sy_flags = SYCALL_NARGS64_VAL(2) | SYCALL_ARG3_64 | SYCALL_ARG2_64,
   1471  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_fsync_range
   1472  1.111    martin 	},		/* 354 = netbsd32_fsync_range */
   1473  1.111    martin 	{
   1474  1.111    martin 		ns(struct netbsd32_uuidgen_args),
   1475  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_uuidgen
   1476  1.111    martin 	},		/* 355 = netbsd32_uuidgen */
   1477  1.111    martin 	{
   1478  1.111    martin 		ns(struct netbsd32_getvfsstat_args),
   1479  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_getvfsstat
   1480  1.111    martin 	},		/* 356 = netbsd32_getvfsstat */
   1481  1.111    martin 	{
   1482  1.111    martin 		ns(struct netbsd32_statvfs1_args),
   1483  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_statvfs1
   1484  1.111    martin 	},		/* 357 = netbsd32_statvfs1 */
   1485  1.111    martin 	{
   1486  1.111    martin 		ns(struct netbsd32_fstatvfs1_args),
   1487  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_fstatvfs1
   1488  1.111    martin 	},		/* 358 = netbsd32_fstatvfs1 */
   1489  1.111    martin 	{
   1490  1.111    martin 		ns(struct compat_30_netbsd32_fhstatvfs1_args),
   1491  1.111    martin 		.sy_call = (sy_call_t *)compat_30(netbsd32_fhstatvfs1)
   1492  1.111    martin 	},		/* 359 = compat_30_netbsd32_fhstatvfs1 */
   1493  1.111    martin 	{
   1494  1.111    martin 		ns(struct netbsd32_extattrctl_args),
   1495  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_extattrctl
   1496  1.111    martin 	},		/* 360 = netbsd32_extattrctl */
   1497  1.111    martin 	{
   1498  1.111    martin 		ns(struct netbsd32_extattr_set_file_args),
   1499  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_extattr_set_file
   1500  1.111    martin 	},		/* 361 = netbsd32_extattr_set_file */
   1501  1.111    martin 	{
   1502  1.111    martin 		ns(struct netbsd32_extattr_get_file_args),
   1503  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_extattr_get_file
   1504  1.111    martin 	},		/* 362 = netbsd32_extattr_get_file */
   1505  1.111    martin 	{
   1506  1.111    martin 		ns(struct netbsd32_extattr_delete_file_args),
   1507  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_extattr_delete_file
   1508  1.111    martin 	},		/* 363 = netbsd32_extattr_delete_file */
   1509  1.111    martin 	{
   1510  1.111    martin 		ns(struct netbsd32_extattr_set_fd_args),
   1511  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_extattr_set_fd
   1512  1.111    martin 	},		/* 364 = netbsd32_extattr_set_fd */
   1513  1.111    martin 	{
   1514  1.111    martin 		ns(struct netbsd32_extattr_get_fd_args),
   1515  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_extattr_get_fd
   1516  1.111    martin 	},		/* 365 = netbsd32_extattr_get_fd */
   1517  1.111    martin 	{
   1518  1.111    martin 		ns(struct netbsd32_extattr_delete_fd_args),
   1519  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_extattr_delete_fd
   1520  1.111    martin 	},		/* 366 = netbsd32_extattr_delete_fd */
   1521  1.111    martin 	{
   1522  1.111    martin 		ns(struct netbsd32_extattr_set_link_args),
   1523  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_extattr_set_link
   1524  1.111    martin 	},		/* 367 = netbsd32_extattr_set_link */
   1525  1.111    martin 	{
   1526  1.111    martin 		ns(struct netbsd32_extattr_get_link_args),
   1527  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_extattr_get_link
   1528  1.111    martin 	},		/* 368 = netbsd32_extattr_get_link */
   1529  1.111    martin 	{
   1530  1.111    martin 		ns(struct netbsd32_extattr_delete_link_args),
   1531  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_extattr_delete_link
   1532  1.111    martin 	},		/* 369 = netbsd32_extattr_delete_link */
   1533  1.111    martin 	{
   1534  1.111    martin 		ns(struct netbsd32_extattr_list_fd_args),
   1535  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_extattr_list_fd
   1536  1.111    martin 	},		/* 370 = netbsd32_extattr_list_fd */
   1537  1.111    martin 	{
   1538  1.111    martin 		ns(struct netbsd32_extattr_list_file_args),
   1539  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_extattr_list_file
   1540  1.111    martin 	},		/* 371 = netbsd32_extattr_list_file */
   1541  1.111    martin 	{
   1542  1.111    martin 		ns(struct netbsd32_extattr_list_link_args),
   1543  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_extattr_list_link
   1544  1.111    martin 	},		/* 372 = netbsd32_extattr_list_link */
   1545  1.111    martin 	{
   1546  1.111    martin 		ns(struct compat_50_netbsd32_pselect_args),
   1547  1.111    martin 		.sy_call = (sy_call_t *)compat_50(netbsd32_pselect)
   1548  1.111    martin 	},		/* 373 = compat_50_netbsd32_pselect */
   1549  1.111    martin 	{
   1550  1.111    martin 		ns(struct compat_50_netbsd32_pollts_args),
   1551  1.111    martin 		.sy_call = (sy_call_t *)compat_50(netbsd32_pollts)
   1552  1.111    martin 	},		/* 374 = compat_50_netbsd32_pollts */
   1553  1.111    martin 	{
   1554  1.111    martin 		ns(struct netbsd32_setxattr_args),
   1555  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_setxattr
   1556  1.111    martin 	},		/* 375 = netbsd32_setxattr */
   1557  1.111    martin 	{
   1558  1.111    martin 		ns(struct netbsd32_lsetxattr_args),
   1559  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_lsetxattr
   1560  1.111    martin 	},		/* 376 = netbsd32_lsetxattr */
   1561  1.111    martin 	{
   1562  1.111    martin 		ns(struct netbsd32_fsetxattr_args),
   1563  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_fsetxattr
   1564  1.111    martin 	},		/* 377 = netbsd32_fsetxattr */
   1565  1.111    martin 	{
   1566  1.111    martin 		ns(struct netbsd32_getxattr_args),
   1567  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_getxattr
   1568  1.111    martin 	},		/* 378 = netbsd32_getxattr */
   1569  1.111    martin 	{
   1570  1.111    martin 		ns(struct netbsd32_lgetxattr_args),
   1571  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_lgetxattr
   1572  1.111    martin 	},		/* 379 = netbsd32_lgetxattr */
   1573  1.111    martin 	{
   1574  1.111    martin 		ns(struct netbsd32_fgetxattr_args),
   1575  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_fgetxattr
   1576  1.111    martin 	},		/* 380 = netbsd32_fgetxattr */
   1577  1.111    martin 	{
   1578  1.111    martin 		ns(struct netbsd32_listxattr_args),
   1579  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_listxattr
   1580  1.111    martin 	},		/* 381 = netbsd32_listxattr */
   1581  1.111    martin 	{
   1582  1.111    martin 		ns(struct netbsd32_llistxattr_args),
   1583  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_llistxattr
   1584  1.111    martin 	},		/* 382 = netbsd32_llistxattr */
   1585  1.111    martin 	{
   1586  1.111    martin 		ns(struct netbsd32_flistxattr_args),
   1587  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_flistxattr
   1588  1.111    martin 	},		/* 383 = netbsd32_flistxattr */
   1589  1.111    martin 	{
   1590  1.111    martin 		ns(struct netbsd32_removexattr_args),
   1591  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_removexattr
   1592  1.111    martin 	},		/* 384 = netbsd32_removexattr */
   1593  1.111    martin 	{
   1594  1.111    martin 		ns(struct netbsd32_lremovexattr_args),
   1595  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_lremovexattr
   1596  1.111    martin 	},		/* 385 = netbsd32_lremovexattr */
   1597  1.111    martin 	{
   1598  1.111    martin 		ns(struct netbsd32_fremovexattr_args),
   1599  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_fremovexattr
   1600  1.111    martin 	},		/* 386 = netbsd32_fremovexattr */
   1601  1.111    martin 	{
   1602  1.111    martin 		ns(struct compat_50_netbsd32___stat30_args),
   1603  1.111    martin 		.sy_call = (sy_call_t *)compat_50(netbsd32___stat30)
   1604  1.111    martin 	},		/* 387 = compat_50_netbsd32___stat30 */
   1605  1.111    martin 	{
   1606  1.111    martin 		ns(struct compat_50_netbsd32___fstat30_args),
   1607  1.111    martin 		.sy_call = (sy_call_t *)compat_50(netbsd32___fstat30)
   1608  1.111    martin 	},		/* 388 = compat_50_netbsd32___fstat30 */
   1609  1.111    martin 	{
   1610  1.111    martin 		ns(struct compat_50_netbsd32___lstat30_args),
   1611  1.111    martin 		.sy_call = (sy_call_t *)compat_50(netbsd32___lstat30)
   1612  1.111    martin 	},		/* 389 = compat_50_netbsd32___lstat30 */
   1613  1.111    martin 	{
   1614  1.111    martin 		ns(struct netbsd32___getdents30_args),
   1615  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___getdents30
   1616  1.111    martin 	},		/* 390 = netbsd32___getdents30 */
   1617  1.111    martin 	{
   1618  1.111    martin 		.sy_call = (sy_call_t *)nullop,
   1619  1.111    martin 	},		/* 391 = filler */
   1620  1.111    martin 	{
   1621  1.111    martin 		ns(struct compat_30_netbsd32___fhstat30_args),
   1622  1.111    martin 		.sy_call = (sy_call_t *)compat_30(netbsd32___fhstat30)
   1623  1.111    martin 	},		/* 392 = compat_30_netbsd32___fhstat30 */
   1624   1.85  christos #if defined(NTP) || !defined(_KERNEL_OPT)
   1625  1.111    martin 	{
   1626  1.111    martin 		ns(struct compat_50_netbsd32_ntp_gettime_args),
   1627  1.111    martin 		.sy_call = (sy_call_t *)compat_50(netbsd32_ntp_gettime)
   1628  1.111    martin 	},		/* 393 = compat_50_netbsd32_ntp_gettime */
   1629  1.111    martin #else
   1630  1.111    martin 	{
   1631  1.111    martin 		.sy_call = sys_nosys,
   1632  1.111    martin 	},		/* 393 = filler */
   1633  1.111    martin #endif
   1634  1.111    martin 	{
   1635  1.111    martin 		ns(struct netbsd32___socket30_args),
   1636  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___socket30
   1637  1.111    martin 	},		/* 394 = netbsd32___socket30 */
   1638  1.111    martin 	{
   1639  1.111    martin 		ns(struct netbsd32___getfh30_args),
   1640  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___getfh30
   1641  1.111    martin 	},		/* 395 = netbsd32___getfh30 */
   1642  1.111    martin 	{
   1643  1.111    martin 		ns(struct netbsd32___fhopen40_args),
   1644  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___fhopen40
   1645  1.111    martin 	},		/* 396 = netbsd32___fhopen40 */
   1646  1.111    martin 	{
   1647  1.111    martin 		ns(struct netbsd32___fhstatvfs140_args),
   1648  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___fhstatvfs140
   1649  1.111    martin 	},		/* 397 = netbsd32___fhstatvfs140 */
   1650  1.111    martin 	{
   1651  1.111    martin 		ns(struct compat_50_netbsd32___fhstat40_args),
   1652  1.111    martin 		.sy_call = (sy_call_t *)compat_50(netbsd32___fhstat40)
   1653  1.111    martin 	},		/* 398 = compat_50_netbsd32___fhstat40 */
   1654  1.111    martin 	{
   1655  1.111    martin 		.sy_call = sys_nosys,
   1656  1.111    martin 	},		/* 399 = filler */
   1657  1.111    martin 	{
   1658  1.111    martin 		.sy_call = sys_nosys,
   1659  1.111    martin 	},		/* 400 = filler */
   1660  1.111    martin 	{
   1661  1.111    martin 		.sy_call = sys_nosys,
   1662  1.111    martin 	},		/* 401 = filler */
   1663  1.111    martin 	{
   1664  1.111    martin 		.sy_call = sys_nosys,
   1665  1.111    martin 	},		/* 402 = filler */
   1666  1.111    martin 	{
   1667  1.111    martin 		.sy_call = sys_nosys,
   1668  1.111    martin 	},		/* 403 = filler */
   1669  1.111    martin 	{
   1670  1.111    martin 		.sy_call = sys_nosys,
   1671  1.111    martin 	},		/* 404 = filler */
   1672  1.111    martin 	{
   1673  1.111    martin 		.sy_call = sys_nosys,
   1674  1.111    martin 	},		/* 405 = filler */
   1675  1.111    martin 	{
   1676  1.111    martin 		.sy_call = sys_nosys,
   1677  1.111    martin 	},		/* 406 = filler */
   1678  1.111    martin 	{
   1679  1.111    martin 		.sy_call = sys_nosys,
   1680  1.111    martin 	},		/* 407 = filler */
   1681  1.111    martin 	{
   1682  1.111    martin 		.sy_call = sys_nosys,
   1683  1.111    martin 	},		/* 408 = filler */
   1684  1.111    martin 	{
   1685  1.111    martin 		.sy_call = sys_nosys,
   1686  1.111    martin 	},		/* 409 = filler */
   1687  1.111    martin 	{
   1688  1.111    martin 		ns(struct netbsd32___mount50_args),
   1689  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___mount50
   1690  1.111    martin 	},		/* 410 = netbsd32___mount50 */
   1691  1.111    martin 	{
   1692  1.111    martin 		ns(struct netbsd32_mremap_args),
   1693  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_mremap
   1694  1.111    martin 	},		/* 411 = netbsd32_mremap */
   1695  1.111    martin 	{
   1696  1.114    martin 		ns(struct netbsd32_pset_create_args),
   1697  1.114    martin 		.sy_call = (sy_call_t *)netbsd32_pset_create
   1698  1.114    martin 	},		/* 412 = netbsd32_pset_create */
   1699  1.114    martin 	{
   1700  1.114    martin 		ns(struct netbsd32_pset_destroy_args),
   1701  1.114    martin 		.sy_call = (sy_call_t *)netbsd32_pset_destroy
   1702  1.114    martin 	},		/* 413 = netbsd32_pset_destroy */
   1703  1.114    martin 	{
   1704  1.114    martin 		ns(struct netbsd32_pset_assign_args),
   1705  1.114    martin 		.sy_call = (sy_call_t *)netbsd32_pset_assign
   1706  1.114    martin 	},		/* 414 = netbsd32_pset_assign */
   1707  1.114    martin 	{
   1708  1.114    martin 		ns(struct netbsd32__pset_bind_args),
   1709  1.114    martin 		.sy_call = (sy_call_t *)netbsd32__pset_bind
   1710  1.114    martin 	},		/* 415 = netbsd32__pset_bind */
   1711  1.111    martin 	{
   1712  1.111    martin 		ns(struct netbsd32___posix_fadvise50_args),
   1713  1.125  christos 		.sy_flags = SYCALL_NARGS64_VAL(2) | SYCALL_ARG3_64 | SYCALL_ARG2_64,
   1714  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___posix_fadvise50
   1715  1.111    martin 	},		/* 416 = netbsd32___posix_fadvise50 */
   1716  1.111    martin 	{
   1717  1.111    martin 		ns(struct netbsd32___select50_args),
   1718  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___select50
   1719  1.111    martin 	},		/* 417 = netbsd32___select50 */
   1720  1.111    martin 	{
   1721  1.111    martin 		ns(struct netbsd32___gettimeofday50_args),
   1722  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___gettimeofday50
   1723  1.111    martin 	},		/* 418 = netbsd32___gettimeofday50 */
   1724  1.111    martin 	{
   1725  1.111    martin 		ns(struct netbsd32___settimeofday50_args),
   1726  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___settimeofday50
   1727  1.111    martin 	},		/* 419 = netbsd32___settimeofday50 */
   1728  1.111    martin 	{
   1729  1.111    martin 		ns(struct netbsd32___utimes50_args),
   1730  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___utimes50
   1731  1.111    martin 	},		/* 420 = netbsd32___utimes50 */
   1732  1.111    martin 	{
   1733  1.111    martin 		ns(struct netbsd32___adjtime50_args),
   1734  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___adjtime50
   1735  1.111    martin 	},		/* 421 = netbsd32___adjtime50 */
   1736  1.111    martin 	{
   1737  1.111    martin 		.sy_call = sys_nosys,
   1738  1.111    martin 	},		/* 422 = filler */
   1739  1.111    martin 	{
   1740  1.111    martin 		ns(struct netbsd32___futimes50_args),
   1741  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___futimes50
   1742  1.111    martin 	},		/* 423 = netbsd32___futimes50 */
   1743  1.111    martin 	{
   1744  1.111    martin 		ns(struct netbsd32___lutimes50_args),
   1745  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___lutimes50
   1746  1.111    martin 	},		/* 424 = netbsd32___lutimes50 */
   1747  1.111    martin 	{
   1748  1.111    martin 		ns(struct netbsd32___setitimer50_args),
   1749  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___setitimer50
   1750  1.111    martin 	},		/* 425 = netbsd32___setitimer50 */
   1751  1.111    martin 	{
   1752  1.111    martin 		ns(struct netbsd32___getitimer50_args),
   1753  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___getitimer50
   1754  1.111    martin 	},		/* 426 = netbsd32___getitimer50 */
   1755  1.111    martin 	{
   1756  1.111    martin 		ns(struct netbsd32___clock_gettime50_args),
   1757  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___clock_gettime50
   1758  1.111    martin 	},		/* 427 = netbsd32___clock_gettime50 */
   1759  1.111    martin 	{
   1760  1.111    martin 		ns(struct netbsd32___clock_settime50_args),
   1761  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___clock_settime50
   1762  1.111    martin 	},		/* 428 = netbsd32___clock_settime50 */
   1763  1.111    martin 	{
   1764  1.111    martin 		ns(struct netbsd32___clock_getres50_args),
   1765  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___clock_getres50
   1766  1.111    martin 	},		/* 429 = netbsd32___clock_getres50 */
   1767  1.111    martin 	{
   1768  1.111    martin 		ns(struct netbsd32___nanosleep50_args),
   1769  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___nanosleep50
   1770  1.111    martin 	},		/* 430 = netbsd32___nanosleep50 */
   1771  1.111    martin 	{
   1772  1.111    martin 		ns(struct netbsd32_____sigtimedwait50_args),
   1773  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_____sigtimedwait50
   1774  1.111    martin 	},		/* 431 = netbsd32_____sigtimedwait50 */
   1775  1.111    martin 	{
   1776  1.113    martin 		ns(struct netbsd32___mq_timedsend50_args),
   1777  1.120  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
   1778  1.113    martin 	},		/* 432 = netbsd32___mq_timedsend50 */
   1779  1.113    martin 	{
   1780  1.113    martin 		ns(struct netbsd32___mq_timedreceive50_args),
   1781  1.120  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
   1782  1.113    martin 	},		/* 433 = netbsd32___mq_timedreceive50 */
   1783  1.111    martin 	{
   1784  1.111    martin 		ns(struct compat_60_netbsd32__lwp_park_args),
   1785  1.111    martin 		.sy_call = (sy_call_t *)compat_60(netbsd32__lwp_park)
   1786  1.111    martin 	},		/* 434 = compat_60_netbsd32__lwp_park */
   1787  1.111    martin 	{
   1788  1.111    martin 		ns(struct netbsd32___kevent50_args),
   1789  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___kevent50
   1790  1.111    martin 	},		/* 435 = netbsd32___kevent50 */
   1791  1.111    martin 	{
   1792  1.111    martin 		ns(struct netbsd32___pselect50_args),
   1793  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___pselect50
   1794  1.111    martin 	},		/* 436 = netbsd32___pselect50 */
   1795  1.111    martin 	{
   1796  1.111    martin 		ns(struct netbsd32___pollts50_args),
   1797  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___pollts50
   1798  1.111    martin 	},		/* 437 = netbsd32___pollts50 */
   1799  1.111    martin 	{
   1800  1.111    martin 		.sy_call = sys_nosys,
   1801  1.111    martin 	},		/* 438 = filler */
   1802  1.111    martin 	{
   1803  1.111    martin 		ns(struct netbsd32___stat50_args),
   1804  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___stat50
   1805  1.111    martin 	},		/* 439 = netbsd32___stat50 */
   1806  1.111    martin 	{
   1807  1.111    martin 		ns(struct netbsd32___fstat50_args),
   1808  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___fstat50
   1809  1.111    martin 	},		/* 440 = netbsd32___fstat50 */
   1810  1.111    martin 	{
   1811  1.111    martin 		ns(struct netbsd32___lstat50_args),
   1812  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___lstat50
   1813  1.111    martin 	},		/* 441 = netbsd32___lstat50 */
   1814  1.111    martin 	{
   1815  1.111    martin 		ns(struct netbsd32_____semctl50_args),
   1816  1.121  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
   1817  1.111    martin 	},		/* 442 = netbsd32_____semctl50 */
   1818  1.111    martin 	{
   1819  1.111    martin 		ns(struct netbsd32___shmctl50_args),
   1820  1.121  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
   1821  1.111    martin 	},		/* 443 = netbsd32___shmctl50 */
   1822  1.111    martin 	{
   1823  1.111    martin 		ns(struct netbsd32___msgctl50_args),
   1824  1.121  pgoyette 		.sy_call = (sy_call_t *)sys_nomodule
   1825  1.111    martin 	},		/* 444 = netbsd32___msgctl50 */
   1826  1.111    martin 	{
   1827  1.111    martin 		ns(struct netbsd32___getrusage50_args),
   1828  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___getrusage50
   1829  1.111    martin 	},		/* 445 = netbsd32___getrusage50 */
   1830  1.111    martin 	{
   1831  1.111    martin 		ns(struct netbsd32___timer_settime50_args),
   1832  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___timer_settime50
   1833  1.111    martin 	},		/* 446 = netbsd32___timer_settime50 */
   1834  1.111    martin 	{
   1835  1.111    martin 		ns(struct netbsd32___timer_gettime50_args),
   1836  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___timer_gettime50
   1837  1.111    martin 	},		/* 447 = netbsd32___timer_gettime50 */
   1838   1.82  christos #if defined(NTP) || !defined(_KERNEL_OPT)
   1839  1.111    martin 	{
   1840  1.111    martin 		ns(struct netbsd32___ntp_gettime50_args),
   1841  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___ntp_gettime50
   1842  1.111    martin 	},		/* 448 = netbsd32___ntp_gettime50 */
   1843  1.111    martin #else
   1844  1.111    martin 	{
   1845  1.111    martin 		.sy_call = sys_nosys,
   1846  1.111    martin 	},		/* 448 = filler */
   1847  1.111    martin #endif
   1848  1.111    martin 	{
   1849  1.111    martin 		ns(struct netbsd32___wait450_args),
   1850  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___wait450
   1851  1.111    martin 	},		/* 449 = netbsd32___wait450 */
   1852  1.111    martin 	{
   1853  1.111    martin 		ns(struct netbsd32___mknod50_args),
   1854  1.125  christos 		.sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64,
   1855  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___mknod50
   1856  1.111    martin 	},		/* 450 = netbsd32___mknod50 */
   1857  1.111    martin 	{
   1858  1.111    martin 		ns(struct netbsd32___fhstat50_args),
   1859  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___fhstat50
   1860  1.111    martin 	},		/* 451 = netbsd32___fhstat50 */
   1861  1.111    martin 	{
   1862  1.111    martin 		.sy_call = sys_nosys,
   1863  1.111    martin 	},		/* 452 = filler */
   1864  1.111    martin 	{
   1865  1.111    martin 		ns(struct netbsd32_pipe2_args),
   1866  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_pipe2
   1867  1.111    martin 	},		/* 453 = netbsd32_pipe2 */
   1868  1.111    martin 	{
   1869  1.111    martin 		ns(struct netbsd32_dup3_args),
   1870  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_dup3
   1871  1.111    martin 	},		/* 454 = netbsd32_dup3 */
   1872  1.111    martin 	{
   1873  1.111    martin 		ns(struct netbsd32_kqueue1_args),
   1874  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_kqueue1
   1875  1.111    martin 	},		/* 455 = netbsd32_kqueue1 */
   1876  1.111    martin 	{
   1877  1.111    martin 		ns(struct netbsd32_paccept_args),
   1878  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_paccept
   1879  1.111    martin 	},		/* 456 = netbsd32_paccept */
   1880  1.111    martin 	{
   1881  1.111    martin 		ns(struct netbsd32_linkat_args),
   1882  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_linkat
   1883  1.111    martin 	},		/* 457 = netbsd32_linkat */
   1884  1.111    martin 	{
   1885  1.111    martin 		ns(struct netbsd32_renameat_args),
   1886  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_renameat
   1887  1.111    martin 	},		/* 458 = netbsd32_renameat */
   1888  1.111    martin 	{
   1889  1.111    martin 		ns(struct netbsd32_mkfifoat_args),
   1890  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_mkfifoat
   1891  1.111    martin 	},		/* 459 = netbsd32_mkfifoat */
   1892  1.111    martin 	{
   1893  1.111    martin 		ns(struct netbsd32_mknodat_args),
   1894  1.125  christos 		.sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64,
   1895  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_mknodat
   1896  1.111    martin 	},		/* 460 = netbsd32_mknodat */
   1897  1.111    martin 	{
   1898  1.111    martin 		ns(struct netbsd32_mkdirat_args),
   1899  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_mkdirat
   1900  1.111    martin 	},		/* 461 = netbsd32_mkdirat */
   1901  1.111    martin 	{
   1902  1.111    martin 		ns(struct netbsd32_faccessat_args),
   1903  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_faccessat
   1904  1.111    martin 	},		/* 462 = netbsd32_faccessat */
   1905  1.111    martin 	{
   1906  1.111    martin 		ns(struct netbsd32_fchmodat_args),
   1907  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_fchmodat
   1908  1.111    martin 	},		/* 463 = netbsd32_fchmodat */
   1909  1.111    martin 	{
   1910  1.111    martin 		ns(struct netbsd32_fchownat_args),
   1911  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_fchownat
   1912  1.111    martin 	},		/* 464 = netbsd32_fchownat */
   1913  1.111    martin 	{
   1914  1.111    martin 		ns(struct netbsd32_fexecve_args),
   1915  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_fexecve
   1916  1.111    martin 	},		/* 465 = netbsd32_fexecve */
   1917  1.111    martin 	{
   1918  1.111    martin 		ns(struct netbsd32_fstatat_args),
   1919  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_fstatat
   1920  1.111    martin 	},		/* 466 = netbsd32_fstatat */
   1921  1.111    martin 	{
   1922  1.111    martin 		ns(struct netbsd32_utimensat_args),
   1923  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_utimensat
   1924  1.111    martin 	},		/* 467 = netbsd32_utimensat */
   1925  1.111    martin 	{
   1926  1.111    martin 		ns(struct netbsd32_openat_args),
   1927  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_openat
   1928  1.111    martin 	},		/* 468 = netbsd32_openat */
   1929  1.111    martin 	{
   1930  1.111    martin 		ns(struct netbsd32_readlinkat_args),
   1931  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_readlinkat
   1932  1.111    martin 	},		/* 469 = netbsd32_readlinkat */
   1933  1.111    martin 	{
   1934  1.111    martin 		ns(struct netbsd32_symlinkat_args),
   1935  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_symlinkat
   1936  1.111    martin 	},		/* 470 = netbsd32_symlinkat */
   1937  1.111    martin 	{
   1938  1.111    martin 		ns(struct netbsd32_unlinkat_args),
   1939  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_unlinkat
   1940  1.111    martin 	},		/* 471 = netbsd32_unlinkat */
   1941  1.111    martin 	{
   1942  1.111    martin 		ns(struct netbsd32_futimens_args),
   1943  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_futimens
   1944  1.111    martin 	},		/* 472 = netbsd32_futimens */
   1945  1.111    martin 	{
   1946  1.111    martin 		ns(struct netbsd32___quotactl_args),
   1947  1.111    martin 		.sy_call = (sy_call_t *)netbsd32___quotactl
   1948  1.111    martin 	},		/* 473 = netbsd32___quotactl */
   1949  1.111    martin 	{
   1950  1.111    martin 		ns(struct netbsd32_posix_spawn_args),
   1951  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_posix_spawn
   1952  1.111    martin 	},		/* 474 = netbsd32_posix_spawn */
   1953  1.111    martin 	{
   1954  1.133  christos 		ns(struct netbsd32_recvmmsg_args),
   1955  1.133  christos 		.sy_call = (sy_call_t *)netbsd32_recvmmsg
   1956  1.133  christos 	},		/* 475 = netbsd32_recvmmsg */
   1957  1.133  christos 	{
   1958  1.133  christos 		ns(struct netbsd32_sendmmsg_args),
   1959  1.133  christos 		.sy_call = (sy_call_t *)netbsd32_sendmmsg
   1960  1.133  christos 	},		/* 476 = netbsd32_sendmmsg */
   1961  1.111    martin 	{
   1962  1.111    martin 		ns(struct netbsd32_clock_nanosleep_args),
   1963  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_clock_nanosleep
   1964  1.111    martin 	},		/* 477 = netbsd32_clock_nanosleep */
   1965  1.111    martin 	{
   1966  1.111    martin 		ns(struct netbsd32____lwp_park60_args),
   1967  1.111    martin 		.sy_call = (sy_call_t *)netbsd32____lwp_park60
   1968  1.111    martin 	},		/* 478 = netbsd32____lwp_park60 */
   1969  1.111    martin 	{
   1970  1.111    martin 		ns(struct netbsd32_posix_fallocate_args),
   1971  1.125  christos 		.sy_flags = SYCALL_NARGS64_VAL(2) | SYCALL_ARG3_64 | SYCALL_ARG2_64,
   1972  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_posix_fallocate
   1973  1.111    martin 	},		/* 479 = netbsd32_posix_fallocate */
   1974  1.111    martin 	{
   1975  1.111    martin 		ns(struct netbsd32_fdiscard_args),
   1976  1.125  christos 		.sy_flags = SYCALL_NARGS64_VAL(2) | SYCALL_ARG3_64 | SYCALL_ARG2_64,
   1977  1.111    martin 		.sy_call = (sy_call_t *)netbsd32_fdiscard
   1978  1.111    martin 	},		/* 480 = netbsd32_fdiscard */
   1979  1.111    martin 	{
   1980  1.123     skrll 		ns(struct netbsd32_wait6_args),
   1981  1.123     skrll 		.sy_call = (sy_call_t *)netbsd32_wait6
   1982  1.123     skrll 	},		/* 481 = netbsd32_wait6 */
   1983  1.123     skrll 	{
   1984  1.123     skrll 		ns(struct netbsd32_clock_getcpuclockid2_args),
   1985  1.123     skrll 		.sy_call = (sy_call_t *)netbsd32_clock_getcpuclockid2
   1986  1.123     skrll 	},		/* 482 = netbsd32_clock_getcpuclockid2 */
   1987  1.111    martin 	{
   1988  1.111    martin 		.sy_call = sys_nosys,
   1989  1.111    martin 	},		/* 483 = filler */
   1990  1.111    martin 	{
   1991  1.111    martin 		.sy_call = sys_nosys,
   1992  1.111    martin 	},		/* 484 = filler */
   1993  1.111    martin 	{
   1994  1.111    martin 		.sy_call = sys_nosys,
   1995  1.111    martin 	},		/* 485 = filler */
   1996  1.111    martin 	{
   1997  1.111    martin 		.sy_call = sys_nosys,
   1998  1.111    martin 	},		/* 486 = filler */
   1999  1.111    martin 	{
   2000  1.111    martin 		.sy_call = sys_nosys,
   2001  1.111    martin 	},		/* 487 = filler */
   2002  1.111    martin 	{
   2003  1.111    martin 		.sy_call = sys_nosys,
   2004  1.111    martin 	},		/* 488 = filler */
   2005  1.111    martin 	{
   2006  1.111    martin 		.sy_call = sys_nosys,
   2007  1.111    martin 	},		/* 489 = filler */
   2008  1.111    martin 	{
   2009  1.111    martin 		.sy_call = sys_nosys,
   2010  1.111    martin 	},		/* 490 = filler */
   2011  1.111    martin 	{
   2012  1.111    martin 		.sy_call = sys_nosys,
   2013  1.111    martin 	},		/* 491 = filler */
   2014  1.111    martin 	{
   2015  1.111    martin 		.sy_call = sys_nosys,
   2016  1.111    martin 	},		/* 492 = filler */
   2017  1.111    martin 	{
   2018  1.111    martin 		.sy_call = sys_nosys,
   2019  1.111    martin 	},		/* 493 = filler */
   2020  1.111    martin 	{
   2021  1.111    martin 		.sy_call = sys_nosys,
   2022  1.111    martin 	},		/* 494 = filler */
   2023  1.111    martin 	{
   2024  1.111    martin 		.sy_call = sys_nosys,
   2025  1.111    martin 	},		/* 495 = filler */
   2026  1.111    martin 	{
   2027  1.111    martin 		.sy_call = sys_nosys,
   2028  1.111    martin 	},		/* 496 = filler */
   2029  1.111    martin 	{
   2030  1.111    martin 		.sy_call = sys_nosys,
   2031  1.111    martin 	},		/* 497 = filler */
   2032  1.111    martin 	{
   2033  1.111    martin 		.sy_call = sys_nosys,
   2034  1.111    martin 	},		/* 498 = filler */
   2035  1.111    martin 	{
   2036  1.111    martin 		.sy_call = sys_nosys,
   2037  1.111    martin 	},		/* 499 = filler */
   2038  1.111    martin 	{
   2039  1.111    martin 		.sy_call = sys_nosys,
   2040  1.111    martin 	},		/* 500 = filler */
   2041  1.111    martin 	{
   2042  1.111    martin 		.sy_call = sys_nosys,
   2043  1.111    martin 	},		/* 501 = filler */
   2044  1.111    martin 	{
   2045  1.111    martin 		.sy_call = sys_nosys,
   2046  1.111    martin 	},		/* 502 = filler */
   2047  1.111    martin 	{
   2048  1.111    martin 		.sy_call = sys_nosys,
   2049  1.111    martin 	},		/* 503 = filler */
   2050  1.111    martin 	{
   2051  1.111    martin 		.sy_call = sys_nosys,
   2052  1.111    martin 	},		/* 504 = filler */
   2053  1.111    martin 	{
   2054  1.111    martin 		.sy_call = sys_nosys,
   2055  1.111    martin 	},		/* 505 = filler */
   2056  1.111    martin 	{
   2057  1.111    martin 		.sy_call = sys_nosys,
   2058  1.111    martin 	},		/* 506 = filler */
   2059  1.111    martin 	{
   2060  1.111    martin 		.sy_call = sys_nosys,
   2061  1.111    martin 	},		/* 507 = filler */
   2062  1.111    martin 	{
   2063  1.111    martin 		.sy_call = sys_nosys,
   2064  1.111    martin 	},		/* 508 = filler */
   2065  1.111    martin 	{
   2066  1.111    martin 		.sy_call = sys_nosys,
   2067  1.111    martin 	},		/* 509 = filler */
   2068  1.111    martin 	{
   2069  1.111    martin 		.sy_call = sys_nosys,
   2070  1.111    martin 	},		/* 510 = filler */
   2071  1.111    martin 	{
   2072  1.111    martin 		.sy_call = sys_nosys,
   2073  1.111    martin 	},		/* 511 = filler */
   2074    1.1       mrg };
   2075  1.135  pgoyette 
   2076  1.135  pgoyette const uint32_t netbsd32_sysent_nomodbits[] = {
   2077  1.135  pgoyette 	0x04000000,	/* syscalls   0- 31 */
   2078  1.135  pgoyette 	0x00000000,	/* syscalls  32- 63 */
   2079  1.135  pgoyette 	0x00000000,	/* syscalls  64- 95 */
   2080  1.135  pgoyette 	0x00000000,	/* syscalls  96-127 */
   2081  1.135  pgoyette 	0x08000000,	/* syscalls 128-159 */
   2082  1.135  pgoyette 	0x00000e00,	/* syscalls 160-191 */
   2083  1.135  pgoyette 	0xf0000000,	/* syscalls 192-223 */
   2084  1.135  pgoyette 	0x000000ff,	/* syscalls 224-255 */
   2085  1.135  pgoyette 	0x000007fe,	/* syscalls 256-287 */
   2086  1.135  pgoyette 	0x0000e000,	/* syscalls 288-319 */
   2087  1.135  pgoyette 	0x00000000,	/* syscalls 320-351 */
   2088  1.135  pgoyette 	0x00000000,	/* syscalls 352-383 */
   2089  1.135  pgoyette 	0x00000000,	/* syscalls 384-415 */
   2090  1.135  pgoyette 	0x1c030000,	/* syscalls 416-447 */
   2091  1.135  pgoyette 	0x00000000,	/* syscalls 448-479 */
   2092  1.135  pgoyette 	0x00000000,	/* syscalls 480-511 */
   2093  1.135  pgoyette };
   2094