Home | History | Annotate | Line # | Download | only in netbsd32
netbsd32_sysent.c revision 1.110
      1  1.102    martin /* $NetBSD: netbsd32_sysent.c,v 1.110 2015/03/07 16:41:53 christos 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.109  christos  * created from	NetBSD: syscalls.master,v 1.102 2015/02/25 13:16:33 christos Exp
      8    1.1       mrg  */
      9   1.24     lukem 
     10   1.24     lukem #include <sys/cdefs.h>
     11  1.102    martin __KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.110 2015/03/07 16:41:53 christos 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.5      tron #include "opt_sysv.h"
     17    1.6  christos #include "opt_compat_43.h"
     18   1.17  jdolecek #endif
     19    1.1       mrg #include <sys/param.h>
     20    1.1       mrg #include <sys/systm.h>
     21    1.1       mrg #include <sys/signal.h>
     22    1.1       mrg #include <sys/mount.h>
     23    1.1       mrg #include <sys/syscallargs.h>
     24    1.8       mrg #include <compat/netbsd32/netbsd32.h>
     25    1.8       mrg #include <compat/netbsd32/netbsd32_syscallargs.h>
     26    1.1       mrg 
     27    1.1       mrg #ifdef COMPAT_43
     28   1.23       mrg #define	compat_43(func) __CONCAT(compat_43_,func)
     29    1.1       mrg #else
     30   1.23       mrg #define	compat_43(func) sys_nosys
     31    1.1       mrg #endif
     32    1.1       mrg 
     33    1.1       mrg #ifdef COMPAT_09
     34   1.23       mrg #define	compat_09(func) __CONCAT(compat_09_,func)
     35    1.1       mrg #else
     36   1.23       mrg #define	compat_09(func) sys_nosys
     37    1.1       mrg #endif
     38    1.1       mrg 
     39    1.1       mrg #ifdef COMPAT_10
     40   1.23       mrg #define	compat_10(func) __CONCAT(compat_10_,func)
     41    1.1       mrg #else
     42   1.23       mrg #define	compat_10(func) sys_nosys
     43    1.1       mrg #endif
     44    1.1       mrg 
     45    1.1       mrg #ifdef COMPAT_11
     46   1.23       mrg #define	compat_11(func) __CONCAT(compat_11_,func)
     47    1.1       mrg #else
     48   1.23       mrg #define	compat_11(func) sys_nosys
     49    1.1       mrg #endif
     50    1.1       mrg 
     51    1.1       mrg #ifdef COMPAT_12
     52   1.23       mrg #define	compat_12(func) __CONCAT(compat_12_,func)
     53    1.1       mrg #else
     54   1.23       mrg #define	compat_12(func) sys_nosys
     55    1.1       mrg #endif
     56    1.1       mrg 
     57    1.1       mrg #ifdef COMPAT_13
     58   1.23       mrg #define	compat_13(func) __CONCAT(compat_13_,func)
     59    1.1       mrg #else
     60   1.23       mrg #define	compat_13(func) sys_nosys
     61    1.1       mrg #endif
     62    1.1       mrg 
     63   1.11       eeh #ifdef COMPAT_14
     64   1.23       mrg #define	compat_14(func) __CONCAT(compat_14_,func)
     65   1.11       eeh #else
     66   1.23       mrg #define	compat_14(func) sys_nosys
     67   1.11       eeh #endif
     68   1.11       eeh 
     69   1.30      fvdl #ifdef COMPAT_15
     70   1.30      fvdl #define	compat_15(func) __CONCAT(compat_15_,func)
     71   1.30      fvdl #else
     72   1.30      fvdl #define	compat_15(func) sys_nosys
     73   1.30      fvdl #endif
     74   1.30      fvdl 
     75   1.30      fvdl #ifdef COMPAT_16
     76   1.30      fvdl #define	compat_16(func) __CONCAT(compat_16_,func)
     77   1.30      fvdl #else
     78   1.30      fvdl #define	compat_16(func) sys_nosys
     79   1.30      fvdl #endif
     80   1.30      fvdl 
     81   1.32      cube #ifdef COMPAT_20
     82   1.32      cube #define	compat_20(func) __CONCAT(compat_20_,func)
     83   1.32      cube #else
     84   1.32      cube #define	compat_20(func) sys_nosys
     85   1.32      cube #endif
     86   1.32      cube 
     87   1.51      cube #ifdef COMPAT_30
     88   1.51      cube #define	compat_30(func) __CONCAT(compat_30_,func)
     89   1.51      cube #else
     90   1.51      cube #define	compat_30(func) sys_nosys
     91   1.51      cube #endif
     92   1.51      cube 
     93   1.82  christos #ifdef COMPAT_40
     94   1.82  christos #define	compat_40(func) __CONCAT(compat_40_,func)
     95   1.82  christos #else
     96   1.82  christos #define	compat_40(func) sys_nosys
     97   1.82  christos #endif
     98   1.82  christos 
     99   1.82  christos #ifdef COMPAT_50
    100   1.82  christos #define	compat_50(func) __CONCAT(compat_50_,func)
    101   1.82  christos #else
    102   1.82  christos #define	compat_50(func) sys_nosys
    103   1.82  christos #endif
    104   1.82  christos 
    105  1.104  christos #ifdef COMPAT_60
    106  1.104  christos #define	compat_60(func) __CONCAT(compat_60_,func)
    107  1.104  christos #else
    108  1.104  christos #define	compat_60(func) sys_nosys
    109  1.104  christos #endif
    110  1.104  christos 
    111  1.109  christos #ifdef COMPAT_70
    112  1.109  christos #define	compat_70(func) __CONCAT(compat_70_,func)
    113  1.109  christos #else
    114  1.109  christos #define	compat_70(func) sys_nosys
    115  1.109  christos #endif
    116  1.109  christos 
    117    1.1       mrg #define	s(type)	sizeof(type)
    118   1.68       dsl #define	n(type)	(sizeof(type)/sizeof (register32_t))
    119   1.68       dsl #define	ns(type)	n(type), s(type)
    120    1.1       mrg 
    121    1.8       mrg struct sysent netbsd32_sysent[] = {
    122   1.82  christos 	{ ns(struct netbsd32_syscall_args), SYCALL_INDIRECT,
    123  1.110  christos 	    (sy_call_t *)netbsd32_syscall, 0, 0 },	/* 0 = netbsd32_syscall */
    124   1.68       dsl 	{ ns(struct netbsd32_exit_args), 0,
    125  1.110  christos 	    (sy_call_t *)netbsd32_exit, 0, 0 },	/* 1 = netbsd32_exit */
    126   1.19   thorpej 	{ 0, 0, 0,
    127  1.110  christos 	    (sy_call_t *)sys_fork, 0, 0 },		/* 2 = fork */
    128   1.68       dsl 	{ ns(struct netbsd32_read_args), 0,
    129  1.110  christos 	    (sy_call_t *)netbsd32_read, 0, 0 },	/* 3 = netbsd32_read */
    130   1.68       dsl 	{ ns(struct netbsd32_write_args), 0,
    131  1.110  christos 	    (sy_call_t *)netbsd32_write, 0, 0 },	/* 4 = netbsd32_write */
    132   1.68       dsl 	{ ns(struct netbsd32_open_args), 0,
    133  1.110  christos 	    (sy_call_t *)netbsd32_open, 0, 0 },	/* 5 = netbsd32_open */
    134   1.68       dsl 	{ ns(struct netbsd32_close_args), 0,
    135  1.110  christos 	    (sy_call_t *)netbsd32_close, 0, 0 },	/* 6 = netbsd32_close */
    136   1.82  christos 	{ ns(struct compat_50_netbsd32_wait4_args), 0,
    137  1.110  christos 	    (sy_call_t *)compat_50(netbsd32_wait4), 0, 0 },/* 7 = compat_50_netbsd32_wait4 */
    138   1.68       dsl 	{ ns(struct compat_43_netbsd32_ocreat_args), 0,
    139  1.110  christos 	    (sy_call_t *)compat_43(netbsd32_ocreat), 0, 0 },/* 8 = compat_43_netbsd32_ocreat */
    140   1.68       dsl 	{ ns(struct netbsd32_link_args), 0,
    141  1.110  christos 	    (sy_call_t *)netbsd32_link, 0, 0 },	/* 9 = netbsd32_link */
    142   1.68       dsl 	{ ns(struct netbsd32_unlink_args), 0,
    143  1.110  christos 	    (sy_call_t *)netbsd32_unlink, 0, 0 },	/* 10 = netbsd32_unlink */
    144   1.19   thorpej 	{ 0, 0, 0,
    145  1.110  christos 	    sys_nosys, 0, 0 },			/* 11 = obsolete execv */
    146   1.68       dsl 	{ ns(struct netbsd32_chdir_args), 0,
    147  1.110  christos 	    (sy_call_t *)netbsd32_chdir, 0, 0 },	/* 12 = netbsd32_chdir */
    148   1.68       dsl 	{ ns(struct netbsd32_fchdir_args), 0,
    149  1.110  christos 	    (sy_call_t *)netbsd32_fchdir, 0, 0 },	/* 13 = netbsd32_fchdir */
    150   1.82  christos 	{ ns(struct compat_50_netbsd32_mknod_args), 0,
    151  1.110  christos 	    (sy_call_t *)compat_50(netbsd32_mknod), 0, 0 },/* 14 = compat_50_netbsd32_mknod */
    152   1.68       dsl 	{ ns(struct netbsd32_chmod_args), 0,
    153  1.110  christos 	    (sy_call_t *)netbsd32_chmod, 0, 0 },	/* 15 = netbsd32_chmod */
    154   1.68       dsl 	{ ns(struct netbsd32_chown_args), 0,
    155  1.110  christos 	    (sy_call_t *)netbsd32_chown, 0, 0 },	/* 16 = netbsd32_chown */
    156   1.68       dsl 	{ ns(struct netbsd32_break_args), 0,
    157  1.110  christos 	    (sy_call_t *)netbsd32_break, 0, 0 },	/* 17 = netbsd32_break */
    158   1.68       dsl 	{ ns(struct compat_20_netbsd32_getfsstat_args), 0,
    159  1.110  christos 	    (sy_call_t *)compat_20(netbsd32_getfsstat), 0, 0 },/* 18 = compat_20_netbsd32_getfsstat */
    160   1.68       dsl 	{ ns(struct compat_43_netbsd32_olseek_args), 0,
    161  1.110  christos 	    (sy_call_t *)compat_43(netbsd32_olseek), 0, 0 },/* 19 = compat_43_netbsd32_olseek */
    162   1.76        ad 	{ 0, 0, 0,
    163  1.110  christos 	    (sy_call_t *)sys_getpid, 0, 0 },		/* 20 = getpid */
    164   1.68       dsl 	{ ns(struct netbsd32_mount_args), 0,
    165  1.110  christos 	    (sy_call_t *)netbsd32_mount, 0, 0 },	/* 21 = netbsd32_mount */
    166   1.68       dsl 	{ ns(struct netbsd32_unmount_args), 0,
    167  1.110  christos 	    (sy_call_t *)netbsd32_unmount, 0, 0 },	/* 22 = netbsd32_unmount */
    168   1.68       dsl 	{ ns(struct netbsd32_setuid_args), 0,
    169  1.110  christos 	    (sy_call_t *)netbsd32_setuid, 0, 0 },	/* 23 = netbsd32_setuid */
    170   1.76        ad 	{ 0, 0, 0,
    171  1.110  christos 	    (sy_call_t *)sys_getuid, 0, 0 },		/* 24 = getuid */
    172   1.76        ad 	{ 0, 0, 0,
    173  1.110  christos 	    (sy_call_t *)sys_geteuid, 0, 0 },		/* 25 = geteuid */
    174   1.68       dsl 	{ ns(struct netbsd32_ptrace_args), 0,
    175  1.110  christos 	    (sy_call_t *)netbsd32_ptrace, 0, 0 },	/* 26 = netbsd32_ptrace */
    176   1.68       dsl 	{ ns(struct netbsd32_recvmsg_args), 0,
    177  1.110  christos 	    (sy_call_t *)netbsd32_recvmsg, 0, 0 },	/* 27 = netbsd32_recvmsg */
    178   1.68       dsl 	{ ns(struct netbsd32_sendmsg_args), 0,
    179  1.110  christos 	    (sy_call_t *)netbsd32_sendmsg, 0, 0 },	/* 28 = netbsd32_sendmsg */
    180   1.68       dsl 	{ ns(struct netbsd32_recvfrom_args), 0,
    181  1.110  christos 	    (sy_call_t *)netbsd32_recvfrom, 0, 0 },	/* 29 = netbsd32_recvfrom */
    182   1.68       dsl 	{ ns(struct netbsd32_accept_args), 0,
    183  1.110  christos 	    (sy_call_t *)netbsd32_accept, 0, 0 },	/* 30 = netbsd32_accept */
    184   1.68       dsl 	{ ns(struct netbsd32_getpeername_args), 0,
    185  1.110  christos 	    (sy_call_t *)netbsd32_getpeername, 0, 0 },/* 31 = netbsd32_getpeername */
    186   1.68       dsl 	{ ns(struct netbsd32_getsockname_args), 0,
    187  1.110  christos 	    (sy_call_t *)netbsd32_getsockname, 0, 0 },/* 32 = netbsd32_getsockname */
    188   1.68       dsl 	{ ns(struct netbsd32_access_args), 0,
    189  1.110  christos 	    (sy_call_t *)netbsd32_access, 0, 0 },	/* 33 = netbsd32_access */
    190   1.68       dsl 	{ ns(struct netbsd32_chflags_args), 0,
    191  1.110  christos 	    (sy_call_t *)netbsd32_chflags, 0, 0 },	/* 34 = netbsd32_chflags */
    192   1.68       dsl 	{ ns(struct netbsd32_fchflags_args), 0,
    193  1.110  christos 	    (sy_call_t *)netbsd32_fchflags, 0, 0 },	/* 35 = netbsd32_fchflags */
    194   1.19   thorpej 	{ 0, 0, 0,
    195  1.110  christos 	    (sy_call_t *)sys_sync, 0, 0 },		/* 36 = sync */
    196   1.68       dsl 	{ ns(struct netbsd32_kill_args), 0,
    197  1.110  christos 	    (sy_call_t *)netbsd32_kill, 0, 0 },	/* 37 = netbsd32_kill */
    198   1.68       dsl 	{ ns(struct compat_43_netbsd32_stat43_args), 0,
    199  1.110  christos 	    (sy_call_t *)compat_43(netbsd32_stat43), 0, 0 },/* 38 = compat_43_netbsd32_stat43 */
    200   1.76        ad 	{ 0, 0, 0,
    201  1.110  christos 	    (sy_call_t *)sys_getppid, 0, 0 },		/* 39 = getppid */
    202   1.68       dsl 	{ ns(struct compat_43_netbsd32_lstat43_args), 0,
    203  1.110  christos 	    (sy_call_t *)compat_43(netbsd32_lstat43), 0, 0 },/* 40 = compat_43_netbsd32_lstat43 */
    204   1.68       dsl 	{ ns(struct netbsd32_dup_args), 0,
    205  1.110  christos 	    (sy_call_t *)netbsd32_dup, 0, 0 },	/* 41 = netbsd32_dup */
    206   1.19   thorpej 	{ 0, 0, 0,
    207  1.110  christos 	    (sy_call_t *)sys_pipe, 0, 0 },		/* 42 = pipe */
    208   1.76        ad 	{ 0, 0, 0,
    209  1.110  christos 	    (sy_call_t *)sys_getegid, 0, 0 },		/* 43 = getegid */
    210   1.68       dsl 	{ ns(struct netbsd32_profil_args), 0,
    211  1.110  christos 	    (sy_call_t *)netbsd32_profil, 0, 0 },	/* 44 = netbsd32_profil */
    212   1.68       dsl 	{ ns(struct netbsd32_ktrace_args), 0,
    213  1.110  christos 	    (sy_call_t *)netbsd32_ktrace, 0, 0 },	/* 45 = netbsd32_ktrace */
    214   1.68       dsl 	{ ns(struct netbsd32_sigaction_args), 0,
    215  1.110  christos 	    (sy_call_t *)netbsd32_sigaction, 0, 0 },	/* 46 = netbsd32_sigaction */
    216   1.76        ad 	{ 0, 0, 0,
    217  1.110  christos 	    (sy_call_t *)sys_getgid, 0, 0 },		/* 47 = getgid */
    218   1.68       dsl 	{ ns(struct compat_13_netbsd32_sigprocmask_args), 0,
    219  1.110  christos 	    (sy_call_t *)compat_13(netbsd32_sigprocmask), 0, 0 },/* 48 = compat_13_sigprocmask13 */
    220   1.68       dsl 	{ ns(struct netbsd32___getlogin_args), 0,
    221  1.110  christos 	    (sy_call_t *)netbsd32___getlogin, 0, 0 },	/* 49 = netbsd32___getlogin */
    222   1.68       dsl 	{ ns(struct netbsd32_setlogin_args), 0,
    223  1.110  christos 	    (sy_call_t *)netbsd32_setlogin, 0, 0 },	/* 50 = netbsd32_setlogin */
    224   1.68       dsl 	{ ns(struct netbsd32_acct_args), 0,
    225  1.110  christos 	    (sy_call_t *)netbsd32_acct, 0, 0 },	/* 51 = netbsd32_acct */
    226   1.76        ad 	{ 0, 0, 0,
    227  1.110  christos 	    (sy_call_t *)compat_13(sys_sigpending), 0, 0 },/* 52 = compat_13_sigpending13 */
    228   1.68       dsl 	{ ns(struct compat_13_netbsd32_sigaltstack13_args), 0,
    229  1.110  christos 	    (sy_call_t *)compat_13(netbsd32_sigaltstack13), 0, 0 },/* 53 = compat_13_netbsd32_sigaltstack13 */
    230   1.68       dsl 	{ ns(struct netbsd32_ioctl_args), 0,
    231  1.110  christos 	    (sy_call_t *)netbsd32_ioctl, 0, 0 },	/* 54 = netbsd32_ioctl */
    232   1.68       dsl 	{ ns(struct compat_12_netbsd32_reboot_args), 0,
    233  1.110  christos 	    (sy_call_t *)compat_12(netbsd32_reboot), 0, 0 },/* 55 = compat_12_netbsd32_reboot */
    234   1.68       dsl 	{ ns(struct netbsd32_revoke_args), 0,
    235  1.110  christos 	    (sy_call_t *)netbsd32_revoke, 0, 0 },	/* 56 = netbsd32_revoke */
    236   1.68       dsl 	{ ns(struct netbsd32_symlink_args), 0,
    237  1.110  christos 	    (sy_call_t *)netbsd32_symlink, 0, 0 },	/* 57 = netbsd32_symlink */
    238   1.68       dsl 	{ ns(struct netbsd32_readlink_args), 0,
    239  1.110  christos 	    (sy_call_t *)netbsd32_readlink, 0, 0 },	/* 58 = netbsd32_readlink */
    240   1.68       dsl 	{ ns(struct netbsd32_execve_args), 0,
    241  1.110  christos 	    (sy_call_t *)netbsd32_execve, 0, 0 },	/* 59 = netbsd32_execve */
    242   1.68       dsl 	{ ns(struct netbsd32_umask_args), 0,
    243  1.110  christos 	    (sy_call_t *)netbsd32_umask, 0, 0 },	/* 60 = netbsd32_umask */
    244   1.68       dsl 	{ ns(struct netbsd32_chroot_args), 0,
    245  1.110  christos 	    (sy_call_t *)netbsd32_chroot, 0, 0 },	/* 61 = netbsd32_chroot */
    246   1.68       dsl 	{ ns(struct compat_43_netbsd32_fstat43_args), 0,
    247  1.110  christos 	    (sy_call_t *)compat_43(netbsd32_fstat43), 0, 0 },/* 62 = compat_43_netbsd32_fstat43 */
    248   1.68       dsl 	{ ns(struct compat_43_netbsd32_ogetkerninfo_args), 0,
    249  1.110  christos 	    (sy_call_t *)compat_43(netbsd32_ogetkerninfo), 0, 0 },/* 63 = compat_43_netbsd32_ogetkerninfo */
    250   1.68       dsl 	{ 0, 0, 0,
    251  1.110  christos 	    (sy_call_t *)compat_43(sys_getpagesize), 0, 0 },/* 64 = compat_43_ogetpagesize */
    252   1.68       dsl 	{ ns(struct compat_12_netbsd32_msync_args), 0,
    253  1.110  christos 	    (sy_call_t *)compat_12(netbsd32_msync), 0, 0 },/* 65 = compat_12_netbsd32_msync */
    254   1.19   thorpej 	{ 0, 0, 0,
    255  1.110  christos 	    (sy_call_t *)sys_vfork, 0, 0 },		/* 66 = vfork */
    256   1.19   thorpej 	{ 0, 0, 0,
    257  1.110  christos 	    sys_nosys, 0, 0 },			/* 67 = obsolete vread */
    258   1.19   thorpej 	{ 0, 0, 0,
    259  1.110  christos 	    sys_nosys, 0, 0 },			/* 68 = obsolete vwrite */
    260   1.68       dsl 	{ ns(struct netbsd32_sbrk_args), 0,
    261  1.110  christos 	    (sy_call_t *)netbsd32_sbrk, 0, 0 },	/* 69 = netbsd32_sbrk */
    262   1.68       dsl 	{ ns(struct netbsd32_sstk_args), 0,
    263  1.110  christos 	    (sy_call_t *)netbsd32_sstk, 0, 0 },	/* 70 = netbsd32_sstk */
    264   1.68       dsl 	{ ns(struct compat_43_netbsd32_ommap_args), 0,
    265  1.110  christos 	    (sy_call_t *)compat_43(netbsd32_ommap), 0, 0 },/* 71 = compat_43_netbsd32_ommap */
    266   1.68       dsl 	{ ns(struct netbsd32_ovadvise_args), 0,
    267  1.110  christos 	    (sy_call_t *)netbsd32_ovadvise, 0, 0 },	/* 72 = vadvise */
    268   1.68       dsl 	{ ns(struct netbsd32_munmap_args), 0,
    269  1.110  christos 	    (sy_call_t *)netbsd32_munmap, 0, 0 },	/* 73 = netbsd32_munmap */
    270   1.68       dsl 	{ ns(struct netbsd32_mprotect_args), 0,
    271  1.110  christos 	    (sy_call_t *)netbsd32_mprotect, 0, 0 },	/* 74 = netbsd32_mprotect */
    272   1.68       dsl 	{ ns(struct netbsd32_madvise_args), 0,
    273  1.110  christos 	    (sy_call_t *)netbsd32_madvise, 0, 0 },	/* 75 = netbsd32_madvise */
    274   1.19   thorpej 	{ 0, 0, 0,
    275  1.110  christos 	    sys_nosys, 0, 0 },			/* 76 = obsolete vhangup */
    276   1.19   thorpej 	{ 0, 0, 0,
    277  1.110  christos 	    sys_nosys, 0, 0 },			/* 77 = obsolete vlimit */
    278   1.68       dsl 	{ ns(struct netbsd32_mincore_args), 0,
    279  1.110  christos 	    (sy_call_t *)netbsd32_mincore, 0, 0 },	/* 78 = netbsd32_mincore */
    280   1.68       dsl 	{ ns(struct netbsd32_getgroups_args), 0,
    281  1.110  christos 	    (sy_call_t *)netbsd32_getgroups, 0, 0 },	/* 79 = netbsd32_getgroups */
    282   1.68       dsl 	{ ns(struct netbsd32_setgroups_args), 0,
    283  1.110  christos 	    (sy_call_t *)netbsd32_setgroups, 0, 0 },	/* 80 = netbsd32_setgroups */
    284   1.76        ad 	{ 0, 0, 0,
    285  1.110  christos 	    (sy_call_t *)sys_getpgrp, 0, 0 },		/* 81 = getpgrp */
    286   1.68       dsl 	{ ns(struct netbsd32_setpgid_args), 0,
    287  1.110  christos 	    (sy_call_t *)netbsd32_setpgid, 0, 0 },	/* 82 = netbsd32_setpgid */
    288   1.82  christos 	{ ns(struct compat_50_netbsd32_setitimer_args), 0,
    289  1.110  christos 	    (sy_call_t *)compat_50(netbsd32_setitimer), 0, 0 },/* 83 = compat_50_netbsd32_setitimer */
    290   1.19   thorpej 	{ 0, 0, 0,
    291  1.110  christos 	    (sy_call_t *)compat_43(sys_wait), 0, 0 },	/* 84 = compat_43_owait */
    292   1.68       dsl 	{ ns(struct compat_12_netbsd32_oswapon_args), 0,
    293  1.110  christos 	    (sy_call_t *)compat_12(netbsd32_oswapon), 0, 0 },/* 85 = compat_12_netbsd32_oswapon */
    294   1.82  christos 	{ ns(struct compat_50_netbsd32_getitimer_args), 0,
    295  1.110  christos 	    (sy_call_t *)compat_50(netbsd32_getitimer), 0, 0 },/* 86 = compat_50_netbsd32_getitimer */
    296   1.68       dsl 	{ ns(struct compat_43_netbsd32_ogethostname_args), 0,
    297  1.110  christos 	    (sy_call_t *)compat_43(netbsd32_ogethostname), 0, 0 },/* 87 = compat_43_netbsd32_ogethostname */
    298   1.68       dsl 	{ ns(struct compat_43_netbsd32_osethostname_args), 0,
    299  1.110  christos 	    (sy_call_t *)compat_43(netbsd32_osethostname), 0, 0 },/* 88 = compat_43_netbsd32_osethostname */
    300   1.19   thorpej 	{ 0, 0, 0,
    301  1.110  christos 	    (sy_call_t *)compat_43(sys_getdtablesize), 0, 0 },/* 89 = compat_43_ogetdtablesize */
    302   1.68       dsl 	{ ns(struct netbsd32_dup2_args), 0,
    303  1.110  christos 	    (sy_call_t *)netbsd32_dup2, 0, 0 },	/* 90 = netbsd32_dup2 */
    304   1.19   thorpej 	{ 0, 0, 0,
    305  1.110  christos 	    sys_nosys, 0, 0 },			/* 91 = unimplemented getdopt */
    306   1.68       dsl 	{ ns(struct netbsd32_fcntl_args), 0,
    307  1.110  christos 	    (sy_call_t *)netbsd32_fcntl, 0, 0 },	/* 92 = netbsd32_fcntl */
    308   1.82  christos 	{ ns(struct compat_50_netbsd32_select_args), 0,
    309  1.110  christos 	    (sy_call_t *)compat_50(netbsd32_select), 0, 0 },/* 93 = compat_50_netbsd32_select */
    310   1.19   thorpej 	{ 0, 0, 0,
    311  1.110  christos 	    sys_nosys, 0, 0 },			/* 94 = unimplemented setdopt */
    312   1.68       dsl 	{ ns(struct netbsd32_fsync_args), 0,
    313  1.110  christos 	    (sy_call_t *)netbsd32_fsync, 0, 0 },	/* 95 = netbsd32_fsync */
    314   1.68       dsl 	{ ns(struct netbsd32_setpriority_args), 0,
    315  1.110  christos 	    (sy_call_t *)netbsd32_setpriority, 0, 0 },/* 96 = netbsd32_setpriority */
    316   1.68       dsl 	{ ns(struct compat_30_netbsd32_socket_args), 0,
    317  1.110  christos 	    (sy_call_t *)compat_30(netbsd32_socket), 0, 0 },/* 97 = compat_30_netbsd32_socket */
    318   1.68       dsl 	{ ns(struct netbsd32_connect_args), 0,
    319  1.110  christos 	    (sy_call_t *)netbsd32_connect, 0, 0 },	/* 98 = netbsd32_connect */
    320   1.68       dsl 	{ ns(struct compat_43_netbsd32_oaccept_args), 0,
    321  1.110  christos 	    (sy_call_t *)compat_43(netbsd32_oaccept), 0, 0 },/* 99 = compat_43_netbsd32_oaccept */
    322   1.68       dsl 	{ ns(struct netbsd32_getpriority_args), 0,
    323  1.110  christos 	    (sy_call_t *)netbsd32_getpriority, 0, 0 },/* 100 = netbsd32_getpriority */
    324   1.68       dsl 	{ ns(struct compat_43_netbsd32_osend_args), 0,
    325  1.110  christos 	    (sy_call_t *)compat_43(netbsd32_osend), 0, 0 },/* 101 = compat_43_netbsd32_osend */
    326   1.68       dsl 	{ ns(struct compat_43_netbsd32_orecv_args), 0,
    327  1.110  christos 	    (sy_call_t *)compat_43(netbsd32_orecv), 0, 0 },/* 102 = compat_43_netbsd32_orecv */
    328   1.68       dsl 	{ ns(struct compat_13_netbsd32_sigreturn_args), 0,
    329  1.110  christos 	    (sy_call_t *)compat_13(netbsd32_sigreturn), 0, 0 },/* 103 = compat_13_sigreturn13 */
    330   1.68       dsl 	{ ns(struct netbsd32_bind_args), 0,
    331  1.110  christos 	    (sy_call_t *)netbsd32_bind, 0, 0 },	/* 104 = netbsd32_bind */
    332   1.68       dsl 	{ ns(struct netbsd32_setsockopt_args), 0,
    333  1.110  christos 	    (sy_call_t *)netbsd32_setsockopt, 0, 0 },	/* 105 = netbsd32_setsockopt */
    334   1.68       dsl 	{ ns(struct netbsd32_listen_args), 0,
    335  1.110  christos 	    (sy_call_t *)netbsd32_listen, 0, 0 },	/* 106 = netbsd32_listen */
    336   1.19   thorpej 	{ 0, 0, 0,
    337  1.110  christos 	    sys_nosys, 0, 0 },			/* 107 = obsolete vtimes */
    338   1.68       dsl 	{ ns(struct compat_43_netbsd32_osigvec_args), 0,
    339  1.110  christos 	    (sy_call_t *)compat_43(netbsd32_osigvec), 0, 0 },/* 108 = compat_43_netbsd32_osigvec */
    340   1.68       dsl 	{ ns(struct compat_43_netbsd32_sigblock_args), 0,
    341  1.110  christos 	    (sy_call_t *)compat_43(netbsd32_sigblock), 0, 0 },/* 109 = compat_43_netbsd32_sigblock */
    342   1.68       dsl 	{ ns(struct compat_43_netbsd32_sigsetmask_args), 0,
    343  1.110  christos 	    (sy_call_t *)compat_43(netbsd32_sigsetmask), 0, 0 },/* 110 = compat_43_netbsd32_sigsetmask */
    344   1.68       dsl 	{ ns(struct compat_13_netbsd32_sigsuspend_args), 0,
    345  1.110  christos 	    (sy_call_t *)compat_13(netbsd32_sigsuspend), 0, 0 },/* 111 = compat_13_sigsuspend13 */
    346   1.68       dsl 	{ ns(struct compat_43_netbsd32_osigstack_args), 0,
    347  1.110  christos 	    (sy_call_t *)compat_43(netbsd32_osigstack), 0, 0 },/* 112 = compat_43_netbsd32_osigstack */
    348   1.68       dsl 	{ ns(struct compat_43_netbsd32_orecvmsg_args), 0,
    349  1.110  christos 	    (sy_call_t *)compat_43(netbsd32_orecvmsg), 0, 0 },/* 113 = compat_43_netbsd32_orecvmsg */
    350   1.68       dsl 	{ ns(struct compat_43_netbsd32_osendmsg_args), 0,
    351  1.110  christos 	    (sy_call_t *)compat_43(netbsd32_osendmsg), 0, 0 },/* 114 = compat_43_netbsd32_osendmsg */
    352   1.19   thorpej 	{ 0, 0, 0,
    353  1.110  christos 	    sys_nosys, 0, 0 },			/* 115 = obsolete vtrace */
    354   1.82  christos 	{ ns(struct compat_50_netbsd32_gettimeofday_args), 0,
    355  1.110  christos 	    (sy_call_t *)compat_50(netbsd32_gettimeofday), 0, 0 },/* 116 = compat_50_netbsd32_gettimeofday */
    356   1.82  christos 	{ ns(struct compat_50_netbsd32_getrusage_args), 0,
    357  1.110  christos 	    (sy_call_t *)compat_50(netbsd32_getrusage), 0, 0 },/* 117 = compat_50_netbsd32_getrusage */
    358   1.68       dsl 	{ ns(struct netbsd32_getsockopt_args), 0,
    359  1.110  christos 	    (sy_call_t *)netbsd32_getsockopt, 0, 0 },	/* 118 = netbsd32_getsockopt */
    360   1.19   thorpej 	{ 0, 0, 0,
    361  1.110  christos 	    sys_nosys, 0, 0 },			/* 119 = obsolete resuba */
    362   1.68       dsl 	{ ns(struct netbsd32_readv_args), 0,
    363  1.110  christos 	    (sy_call_t *)netbsd32_readv, 0, 0 },	/* 120 = netbsd32_readv */
    364   1.68       dsl 	{ ns(struct netbsd32_writev_args), 0,
    365  1.110  christos 	    (sy_call_t *)netbsd32_writev, 0, 0 },	/* 121 = netbsd32_writev */
    366   1.82  christos 	{ ns(struct compat_50_netbsd32_settimeofday_args), 0,
    367  1.110  christos 	    (sy_call_t *)compat_50(netbsd32_settimeofday), 0, 0 },/* 122 = compat_50_netbsd32_settimeofday */
    368   1.68       dsl 	{ ns(struct netbsd32_fchown_args), 0,
    369  1.110  christos 	    (sy_call_t *)netbsd32_fchown, 0, 0 },	/* 123 = netbsd32_fchown */
    370   1.68       dsl 	{ ns(struct netbsd32_fchmod_args), 0,
    371  1.110  christos 	    (sy_call_t *)netbsd32_fchmod, 0, 0 },	/* 124 = netbsd32_fchmod */
    372   1.68       dsl 	{ ns(struct compat_43_netbsd32_orecvfrom_args), 0,
    373  1.110  christos 	    (sy_call_t *)compat_43(netbsd32_orecvfrom), 0, 0 },/* 125 = compat_43_netbsd32_orecvfrom */
    374   1.68       dsl 	{ ns(struct netbsd32_setreuid_args), 0,
    375  1.110  christos 	    (sy_call_t *)netbsd32_setreuid, 0, 0 },	/* 126 = netbsd32_setreuid */
    376   1.68       dsl 	{ ns(struct netbsd32_setregid_args), 0,
    377  1.110  christos 	    (sy_call_t *)netbsd32_setregid, 0, 0 },	/* 127 = netbsd32_setregid */
    378   1.68       dsl 	{ ns(struct netbsd32_rename_args), 0,
    379  1.110  christos 	    (sy_call_t *)netbsd32_rename, 0, 0 },	/* 128 = netbsd32_rename */
    380   1.68       dsl 	{ ns(struct compat_43_netbsd32_otruncate_args), 0,
    381  1.110  christos 	    (sy_call_t *)compat_43(netbsd32_otruncate), 0, 0 },/* 129 = compat_43_netbsd32_otruncate */
    382   1.68       dsl 	{ ns(struct compat_43_netbsd32_oftruncate_args), 0,
    383  1.110  christos 	    (sy_call_t *)compat_43(netbsd32_oftruncate), 0, 0 },/* 130 = compat_43_netbsd32_oftruncate */
    384   1.68       dsl 	{ ns(struct netbsd32_flock_args), 0,
    385  1.110  christos 	    (sy_call_t *)netbsd32_flock, 0, 0 },	/* 131 = netbsd32_flock */
    386   1.68       dsl 	{ ns(struct netbsd32_mkfifo_args), 0,
    387  1.110  christos 	    (sy_call_t *)netbsd32_mkfifo, 0, 0 },	/* 132 = netbsd32_mkfifo */
    388   1.68       dsl 	{ ns(struct netbsd32_sendto_args), 0,
    389  1.110  christos 	    (sy_call_t *)netbsd32_sendto, 0, 0 },	/* 133 = netbsd32_sendto */
    390   1.68       dsl 	{ ns(struct netbsd32_shutdown_args), 0,
    391  1.110  christos 	    (sy_call_t *)netbsd32_shutdown, 0, 0 },	/* 134 = netbsd32_shutdown */
    392   1.68       dsl 	{ ns(struct netbsd32_socketpair_args), 0,
    393  1.110  christos 	    (sy_call_t *)netbsd32_socketpair, 0, 0 },	/* 135 = netbsd32_socketpair */
    394   1.68       dsl 	{ ns(struct netbsd32_mkdir_args), 0,
    395  1.110  christos 	    (sy_call_t *)netbsd32_mkdir, 0, 0 },	/* 136 = netbsd32_mkdir */
    396   1.68       dsl 	{ ns(struct netbsd32_rmdir_args), 0,
    397  1.110  christos 	    (sy_call_t *)netbsd32_rmdir, 0, 0 },	/* 137 = netbsd32_rmdir */
    398   1.82  christos 	{ ns(struct compat_50_netbsd32_utimes_args), 0,
    399  1.110  christos 	    (sy_call_t *)compat_50(netbsd32_utimes), 0, 0 },/* 138 = compat_50_netbsd32_utimes */
    400   1.19   thorpej 	{ 0, 0, 0,
    401  1.110  christos 	    sys_nosys, 0, 0 },			/* 139 = obsolete 4.2 sigreturn */
    402   1.82  christos 	{ ns(struct compat_50_netbsd32_adjtime_args), 0,
    403  1.110  christos 	    (sy_call_t *)compat_50(netbsd32_adjtime), 0, 0 },/* 140 = compat_50_netbsd32_adjtime */
    404   1.68       dsl 	{ ns(struct compat_43_netbsd32_ogetpeername_args), 0,
    405  1.110  christos 	    (sy_call_t *)compat_43(netbsd32_ogetpeername), 0, 0 },/* 141 = compat_43_netbsd32_ogetpeername */
    406   1.19   thorpej 	{ 0, 0, 0,
    407  1.110  christos 	    (sy_call_t *)compat_43(sys_gethostid), 0, 0 },/* 142 = compat_43_ogethostid */
    408   1.68       dsl 	{ ns(struct compat_43_netbsd32_sethostid_args), 0,
    409  1.110  christos 	    (sy_call_t *)compat_43(netbsd32_sethostid), 0, 0 },/* 143 = compat_43_netbsd32_sethostid */
    410   1.68       dsl 	{ ns(struct compat_43_netbsd32_ogetrlimit_args), 0,
    411  1.110  christos 	    (sy_call_t *)compat_43(netbsd32_ogetrlimit), 0, 0 },/* 144 = compat_43_netbsd32_ogetrlimit */
    412   1.68       dsl 	{ ns(struct compat_43_netbsd32_osetrlimit_args), 0,
    413  1.110  christos 	    (sy_call_t *)compat_43(netbsd32_osetrlimit), 0, 0 },/* 145 = compat_43_netbsd32_osetrlimit */
    414   1.68       dsl 	{ ns(struct compat_43_netbsd32_killpg_args), 0,
    415  1.110  christos 	    (sy_call_t *)compat_43(netbsd32_killpg), 0, 0 },/* 146 = compat_43_netbsd32_killpg */
    416   1.19   thorpej 	{ 0, 0, 0,
    417  1.110  christos 	    (sy_call_t *)sys_setsid, 0, 0 },		/* 147 = setsid */
    418   1.92    bouyer 	{ ns(struct compat_50_netbsd32_quotactl_args), 0,
    419  1.110  christos 	    (sy_call_t *)compat_50(netbsd32_quotactl), 0, 0 },/* 148 = compat_50_netbsd32_quotactl */
    420   1.19   thorpej 	{ 0, 0, 0,
    421  1.110  christos 	    (sy_call_t *)compat_43(sys_quota), 0, 0 },/* 149 = compat_43_oquota */
    422   1.68       dsl 	{ ns(struct compat_43_netbsd32_ogetsockname_args), 0,
    423  1.110  christos 	    (sy_call_t *)compat_43(netbsd32_ogetsockname), 0, 0 },/* 150 = compat_43_netbsd32_ogetsockname */
    424   1.19   thorpej 	{ 0, 0, 0,
    425  1.110  christos 	    sys_nosys, 0, 0 },			/* 151 = unimplemented */
    426   1.19   thorpej 	{ 0, 0, 0,
    427  1.110  christos 	    sys_nosys, 0, 0 },			/* 152 = unimplemented */
    428   1.19   thorpej 	{ 0, 0, 0,
    429  1.110  christos 	    sys_nosys, 0, 0 },			/* 153 = unimplemented */
    430   1.19   thorpej 	{ 0, 0, 0,
    431  1.110  christos 	    sys_nosys, 0, 0 },			/* 154 = unimplemented */
    432   1.91     pooka 	{ 0, 0, 0,
    433  1.110  christos 	    sys_nosys, 0, 0 },			/* 155 = unimplemented netbsd32_nfssvc */
    434   1.68       dsl 	{ ns(struct compat_43_netbsd32_ogetdirentries_args), 0,
    435  1.110  christos 	    (sy_call_t *)compat_43(netbsd32_ogetdirentries), 0, 0 },/* 156 = compat_43_netbsd32_ogetdirentries */
    436   1.68       dsl 	{ ns(struct compat_20_netbsd32_statfs_args), 0,
    437  1.110  christos 	    (sy_call_t *)compat_20(netbsd32_statfs), 0, 0 },/* 157 = compat_20_netbsd32_statfs */
    438   1.68       dsl 	{ ns(struct compat_20_netbsd32_fstatfs_args), 0,
    439  1.110  christos 	    (sy_call_t *)compat_20(netbsd32_fstatfs), 0, 0 },/* 158 = compat_20_netbsd32_fstatfs */
    440   1.19   thorpej 	{ 0, 0, 0,
    441  1.110  christos 	    sys_nosys, 0, 0 },			/* 159 = unimplemented */
    442   1.19   thorpej 	{ 0, 0, 0,
    443  1.110  christos 	    sys_nosys, 0, 0 },			/* 160 = unimplemented */
    444   1.68       dsl 	{ ns(struct compat_30_netbsd32_getfh_args), 0,
    445  1.110  christos 	    (sy_call_t *)compat_30(netbsd32_getfh), 0, 0 },/* 161 = compat_30_netbsd32_getfh */
    446   1.68       dsl 	{ ns(struct compat_09_netbsd32_ogetdomainname_args), 0,
    447  1.110  christos 	    (sy_call_t *)compat_09(netbsd32_ogetdomainname), 0, 0 },/* 162 = compat_09_netbsd32_ogetdomainname */
    448   1.68       dsl 	{ ns(struct compat_09_netbsd32_osetdomainname_args), 0,
    449  1.110  christos 	    (sy_call_t *)compat_09(netbsd32_osetdomainname), 0, 0 },/* 163 = compat_09_netbsd32_osetdomainname */
    450   1.68       dsl 	{ ns(struct compat_09_netbsd32_uname_args), 0,
    451  1.110  christos 	    (sy_call_t *)compat_09(netbsd32_uname), 0, 0 },/* 164 = compat_09_netbsd32_uname */
    452   1.68       dsl 	{ ns(struct netbsd32_sysarch_args), 0,
    453  1.110  christos 	    (sy_call_t *)netbsd32_sysarch, 0, 0 },	/* 165 = netbsd32_sysarch */
    454   1.19   thorpej 	{ 0, 0, 0,
    455  1.110  christos 	    sys_nosys, 0, 0 },			/* 166 = unimplemented */
    456   1.19   thorpej 	{ 0, 0, 0,
    457  1.110  christos 	    sys_nosys, 0, 0 },			/* 167 = unimplemented */
    458   1.19   thorpej 	{ 0, 0, 0,
    459  1.110  christos 	    sys_nosys, 0, 0 },			/* 168 = unimplemented */
    460   1.82  christos #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
    461   1.82  christos 	{ ns(struct compat_10_netbsd32_semsys_args), 0,
    462  1.110  christos 	    (sy_call_t *)compat_10(netbsd32_semsys), 0, 0 },/* 169 = compat_10_osemsys */
    463    1.1       mrg #else
    464   1.19   thorpej 	{ 0, 0, 0,
    465  1.110  christos 	    sys_nosys, 0, 0 },			/* 169 = excluded netbsd32_semsys */
    466    1.1       mrg #endif
    467   1.82  christos #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
    468   1.82  christos 	{ ns(struct compat_10_netbsd32_msgsys_args), 0,
    469  1.110  christos 	    (sy_call_t *)compat_10(netbsd32_msgsys), 0, 0 },/* 170 = compat_10_omsgsys */
    470    1.1       mrg #else
    471   1.19   thorpej 	{ 0, 0, 0,
    472  1.110  christos 	    sys_nosys, 0, 0 },			/* 170 = excluded netbsd32_msgsys */
    473    1.1       mrg #endif
    474   1.82  christos #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
    475   1.82  christos 	{ ns(struct compat_10_netbsd32_shmsys_args), 0,
    476  1.110  christos 	    (sy_call_t *)compat_10(netbsd32_shmsys), 0, 0 },/* 171 = compat_10_oshmsys */
    477    1.1       mrg #else
    478   1.19   thorpej 	{ 0, 0, 0,
    479  1.110  christos 	    sys_nosys, 0, 0 },			/* 171 = excluded netbsd32_shmsys */
    480    1.1       mrg #endif
    481   1.19   thorpej 	{ 0, 0, 0,
    482  1.110  christos 	    sys_nosys, 0, 0 },			/* 172 = unimplemented */
    483  1.106     njoly 	{ ns(struct netbsd32_pread_args), 0,
    484  1.110  christos 	    (sy_call_t *)netbsd32_pread, 0, 0 },	/* 173 = netbsd32_pread */
    485  1.106     njoly 	{ ns(struct netbsd32_pwrite_args), 0,
    486  1.110  christos 	    (sy_call_t *)netbsd32_pwrite, 0, 0 },	/* 174 = netbsd32_pwrite */
    487   1.85  christos #if defined(NTP) || !defined(_KERNEL_OPT)
    488   1.68       dsl 	{ ns(struct compat_30_netbsd32_ntp_gettime_args), 0,
    489  1.110  christos 	    (sy_call_t *)compat_30(netbsd32_ntp_gettime), 0, 0 },/* 175 = compat_30_netbsd32_ntp_gettime */
    490   1.68       dsl 	{ ns(struct netbsd32_ntp_adjtime_args), 0,
    491  1.110  christos 	    (sy_call_t *)netbsd32_ntp_adjtime, 0, 0 },/* 176 = netbsd32_ntp_adjtime */
    492   1.85  christos #else
    493   1.85  christos 	{ 0, 0, 0,
    494  1.110  christos 	    sys_nosys, 0, 0 },			/* 175 = excluded ntp_gettime */
    495   1.85  christos 	{ 0, 0, 0,
    496  1.110  christos 	    sys_nosys, 0, 0 },			/* 176 = excluded ntp_adjtime */
    497   1.85  christos #endif
    498   1.19   thorpej 	{ 0, 0, 0,
    499  1.110  christos 	    sys_nosys, 0, 0 },			/* 177 = unimplemented */
    500   1.19   thorpej 	{ 0, 0, 0,
    501  1.110  christos 	    sys_nosys, 0, 0 },			/* 178 = unimplemented */
    502   1.19   thorpej 	{ 0, 0, 0,
    503  1.110  christos 	    sys_nosys, 0, 0 },			/* 179 = unimplemented */
    504   1.19   thorpej 	{ 0, 0, 0,
    505  1.110  christos 	    sys_nosys, 0, 0 },			/* 180 = unimplemented */
    506   1.68       dsl 	{ ns(struct netbsd32_setgid_args), 0,
    507  1.110  christos 	    (sy_call_t *)netbsd32_setgid, 0, 0 },	/* 181 = netbsd32_setgid */
    508   1.68       dsl 	{ ns(struct netbsd32_setegid_args), 0,
    509  1.110  christos 	    (sy_call_t *)netbsd32_setegid, 0, 0 },	/* 182 = netbsd32_setegid */
    510   1.68       dsl 	{ ns(struct netbsd32_seteuid_args), 0,
    511  1.110  christos 	    (sy_call_t *)netbsd32_seteuid, 0, 0 },	/* 183 = netbsd32_seteuid */
    512   1.19   thorpej 	{ 0, 0, 0,
    513  1.110  christos 	    sys_nosys, 0, 0 },			/* 184 = excluded netbsd32_lfs_bmapv */
    514   1.19   thorpej 	{ 0, 0, 0,
    515  1.110  christos 	    sys_nosys, 0, 0 },			/* 185 = excluded netbsd32_lfs_markv */
    516   1.19   thorpej 	{ 0, 0, 0,
    517  1.110  christos 	    sys_nosys, 0, 0 },			/* 186 = excluded netbsd32_lfs_segclean */
    518   1.19   thorpej 	{ 0, 0, 0,
    519  1.110  christos 	    sys_nosys, 0, 0 },			/* 187 = excluded netbsd32_lfs_segwait */
    520   1.68       dsl 	{ ns(struct compat_12_netbsd32_stat12_args), 0,
    521  1.110  christos 	    (sy_call_t *)compat_12(netbsd32_stat12), 0, 0 },/* 188 = compat_12_netbsd32_stat12 */
    522   1.68       dsl 	{ ns(struct compat_12_netbsd32_fstat12_args), 0,
    523  1.110  christos 	    (sy_call_t *)compat_12(netbsd32_fstat12), 0, 0 },/* 189 = compat_12_netbsd32_fstat12 */
    524   1.68       dsl 	{ ns(struct compat_12_netbsd32_lstat12_args), 0,
    525  1.110  christos 	    (sy_call_t *)compat_12(netbsd32_lstat12), 0, 0 },/* 190 = compat_12_netbsd32_lstat12 */
    526   1.68       dsl 	{ ns(struct netbsd32_pathconf_args), 0,
    527  1.110  christos 	    (sy_call_t *)netbsd32_pathconf, 0, 0 },	/* 191 = netbsd32_pathconf */
    528   1.68       dsl 	{ ns(struct netbsd32_fpathconf_args), 0,
    529  1.110  christos 	    (sy_call_t *)netbsd32_fpathconf, 0, 0 },	/* 192 = netbsd32_fpathconf */
    530   1.19   thorpej 	{ 0, 0, 0,
    531  1.110  christos 	    sys_nosys, 0, 0 },			/* 193 = unimplemented */
    532   1.68       dsl 	{ ns(struct netbsd32_getrlimit_args), 0,
    533  1.110  christos 	    (sy_call_t *)netbsd32_getrlimit, 0, 0 },	/* 194 = netbsd32_getrlimit */
    534   1.68       dsl 	{ ns(struct netbsd32_setrlimit_args), 0,
    535  1.110  christos 	    (sy_call_t *)netbsd32_setrlimit, 0, 0 },	/* 195 = netbsd32_setrlimit */
    536   1.68       dsl 	{ ns(struct compat_12_netbsd32_getdirentries_args), 0,
    537  1.110  christos 	    (sy_call_t *)compat_12(netbsd32_getdirentries), 0, 0 },/* 196 = compat_12_netbsd32_getdirentries */
    538  1.106     njoly 	{ ns(struct netbsd32_mmap_args), 0,
    539  1.110  christos 	    (sy_call_t *)netbsd32_mmap, 0, 0 },	/* 197 = netbsd32_mmap */
    540   1.88      matt 	{ ns(struct netbsd32____syscall_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG0_64 | SYCALL_RET_64 | SYCALL_INDIRECT,
    541  1.110  christos 	    (sy_call_t *)netbsd32____syscall, 0, 0 },	/* 198 = netbsd32____syscall */
    542  1.106     njoly 	{ ns(struct netbsd32_lseek_args), 0,
    543  1.110  christos 	    (sy_call_t *)netbsd32_lseek, 0, 0 },	/* 199 = netbsd32_lseek */
    544  1.106     njoly 	{ ns(struct netbsd32_truncate_args), 0,
    545  1.110  christos 	    (sy_call_t *)netbsd32_truncate, 0, 0 },	/* 200 = netbsd32_truncate */
    546  1.106     njoly 	{ ns(struct netbsd32_ftruncate_args), 0,
    547  1.110  christos 	    (sy_call_t *)netbsd32_ftruncate, 0, 0 },	/* 201 = netbsd32_ftruncate */
    548   1.68       dsl 	{ ns(struct netbsd32___sysctl_args), 0,
    549  1.110  christos 	    (sy_call_t *)netbsd32___sysctl, 0, 0 },	/* 202 = netbsd32___sysctl */
    550   1.68       dsl 	{ ns(struct netbsd32_mlock_args), 0,
    551  1.110  christos 	    (sy_call_t *)netbsd32_mlock, 0, 0 },	/* 203 = netbsd32_mlock */
    552   1.68       dsl 	{ ns(struct netbsd32_munlock_args), 0,
    553  1.110  christos 	    (sy_call_t *)netbsd32_munlock, 0, 0 },	/* 204 = netbsd32_munlock */
    554   1.68       dsl 	{ ns(struct netbsd32_undelete_args), 0,
    555  1.110  christos 	    (sy_call_t *)netbsd32_undelete, 0, 0 },	/* 205 = netbsd32_undelete */
    556   1.82  christos 	{ ns(struct compat_50_netbsd32_futimes_args), 0,
    557  1.110  christos 	    (sy_call_t *)compat_50(netbsd32_futimes), 0, 0 },/* 206 = compat_50_netbsd32_futimes */
    558   1.68       dsl 	{ ns(struct netbsd32_getpgid_args), 0,
    559  1.110  christos 	    (sy_call_t *)netbsd32_getpgid, 0, 0 },	/* 207 = netbsd32_getpgid */
    560   1.68       dsl 	{ ns(struct netbsd32_reboot_args), 0,
    561  1.110  christos 	    (sy_call_t *)netbsd32_reboot, 0, 0 },	/* 208 = netbsd32_reboot */
    562   1.68       dsl 	{ ns(struct netbsd32_poll_args), 0,
    563  1.110  christos 	    (sy_call_t *)netbsd32_poll, 0, 0 },	/* 209 = netbsd32_poll */
    564   1.19   thorpej 	{ 0, 0, 0,
    565  1.110  christos 	    sys_nosys, 0, 0 },			/* 210 = unimplemented */
    566   1.19   thorpej 	{ 0, 0, 0,
    567  1.110  christos 	    sys_nosys, 0, 0 },			/* 211 = unimplemented */
    568   1.19   thorpej 	{ 0, 0, 0,
    569  1.110  christos 	    sys_nosys, 0, 0 },			/* 212 = unimplemented */
    570   1.19   thorpej 	{ 0, 0, 0,
    571  1.110  christos 	    sys_nosys, 0, 0 },			/* 213 = unimplemented */
    572   1.19   thorpej 	{ 0, 0, 0,
    573  1.110  christos 	    sys_nosys, 0, 0 },			/* 214 = unimplemented */
    574   1.19   thorpej 	{ 0, 0, 0,
    575  1.110  christos 	    sys_nosys, 0, 0 },			/* 215 = unimplemented */
    576   1.19   thorpej 	{ 0, 0, 0,
    577  1.110  christos 	    sys_nosys, 0, 0 },			/* 216 = unimplemented */
    578   1.19   thorpej 	{ 0, 0, 0,
    579  1.110  christos 	    sys_nosys, 0, 0 },			/* 217 = unimplemented */
    580   1.19   thorpej 	{ 0, 0, 0,
    581  1.110  christos 	    sys_nosys, 0, 0 },			/* 218 = unimplemented */
    582   1.19   thorpej 	{ 0, 0, 0,
    583  1.110  christos 	    sys_nosys, 0, 0 },			/* 219 = unimplemented */
    584   1.82  christos #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
    585   1.68       dsl 	{ ns(struct compat_14_netbsd32___semctl_args), 0,
    586  1.110  christos 	    (sy_call_t *)compat_14(netbsd32___semctl), 0, 0 },/* 220 = compat_14_netbsd32___semctl */
    587   1.68       dsl 	{ ns(struct netbsd32_semget_args), 0,
    588  1.110  christos 	    (sy_call_t *)netbsd32_semget, 0, 0 },	/* 221 = netbsd32_semget */
    589   1.68       dsl 	{ ns(struct netbsd32_semop_args), 0,
    590  1.110  christos 	    (sy_call_t *)netbsd32_semop, 0, 0 },	/* 222 = netbsd32_semop */
    591   1.68       dsl 	{ ns(struct netbsd32_semconfig_args), 0,
    592  1.110  christos 	    (sy_call_t *)netbsd32_semconfig, 0, 0 },	/* 223 = netbsd32_semconfig */
    593    1.1       mrg #else
    594   1.19   thorpej 	{ 0, 0, 0,
    595  1.110  christos 	    sys_nosys, 0, 0 },			/* 220 = excluded compat_14_netbsd32_semctl */
    596   1.19   thorpej 	{ 0, 0, 0,
    597  1.110  christos 	    sys_nosys, 0, 0 },			/* 221 = excluded netbsd32_semget */
    598   1.19   thorpej 	{ 0, 0, 0,
    599  1.110  christos 	    sys_nosys, 0, 0 },			/* 222 = excluded netbsd32_semop */
    600   1.19   thorpej 	{ 0, 0, 0,
    601  1.110  christos 	    sys_nosys, 0, 0 },			/* 223 = excluded netbsd32_semconfig */
    602    1.1       mrg #endif
    603   1.82  christos #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
    604   1.68       dsl 	{ ns(struct compat_14_netbsd32_msgctl_args), 0,
    605  1.110  christos 	    (sy_call_t *)compat_14(netbsd32_msgctl), 0, 0 },/* 224 = compat_14_netbsd32_msgctl */
    606   1.68       dsl 	{ ns(struct netbsd32_msgget_args), 0,
    607  1.110  christos 	    (sy_call_t *)netbsd32_msgget, 0, 0 },	/* 225 = netbsd32_msgget */
    608   1.68       dsl 	{ ns(struct netbsd32_msgsnd_args), 0,
    609  1.110  christos 	    (sy_call_t *)netbsd32_msgsnd, 0, 0 },	/* 226 = netbsd32_msgsnd */
    610   1.68       dsl 	{ ns(struct netbsd32_msgrcv_args), 0,
    611  1.110  christos 	    (sy_call_t *)netbsd32_msgrcv, 0, 0 },	/* 227 = netbsd32_msgrcv */
    612    1.1       mrg #else
    613   1.19   thorpej 	{ 0, 0, 0,
    614  1.110  christos 	    sys_nosys, 0, 0 },			/* 224 = excluded compat_14_netbsd32_msgctl */
    615   1.19   thorpej 	{ 0, 0, 0,
    616  1.110  christos 	    sys_nosys, 0, 0 },			/* 225 = excluded netbsd32_msgget */
    617   1.19   thorpej 	{ 0, 0, 0,
    618  1.110  christos 	    sys_nosys, 0, 0 },			/* 226 = excluded netbsd32_msgsnd */
    619   1.19   thorpej 	{ 0, 0, 0,
    620  1.110  christos 	    sys_nosys, 0, 0 },			/* 227 = excluded netbsd32_msgrcv */
    621    1.1       mrg #endif
    622   1.82  christos #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
    623   1.68       dsl 	{ ns(struct netbsd32_shmat_args), 0,
    624  1.110  christos 	    (sy_call_t *)netbsd32_shmat, 0, 0 },	/* 228 = netbsd32_shmat */
    625   1.68       dsl 	{ ns(struct compat_14_netbsd32_shmctl_args), 0,
    626  1.110  christos 	    (sy_call_t *)compat_14(netbsd32_shmctl), 0, 0 },/* 229 = compat_14_netbsd32_shmctl */
    627   1.68       dsl 	{ ns(struct netbsd32_shmdt_args), 0,
    628  1.110  christos 	    (sy_call_t *)netbsd32_shmdt, 0, 0 },	/* 230 = netbsd32_shmdt */
    629   1.68       dsl 	{ ns(struct netbsd32_shmget_args), 0,
    630  1.110  christos 	    (sy_call_t *)netbsd32_shmget, 0, 0 },	/* 231 = netbsd32_shmget */
    631   1.11       eeh #else
    632   1.19   thorpej 	{ 0, 0, 0,
    633  1.110  christos 	    sys_nosys, 0, 0 },			/* 228 = excluded netbsd32_shmat */
    634   1.19   thorpej 	{ 0, 0, 0,
    635  1.110  christos 	    sys_nosys, 0, 0 },			/* 229 = excluded compat_14_netbsd32_shmctl */
    636   1.19   thorpej 	{ 0, 0, 0,
    637  1.110  christos 	    sys_nosys, 0, 0 },			/* 230 = excluded netbsd32_shmdt */
    638   1.19   thorpej 	{ 0, 0, 0,
    639  1.110  christos 	    sys_nosys, 0, 0 },			/* 231 = excluded netbsd32_shmget */
    640   1.11       eeh #endif
    641   1.82  christos 	{ ns(struct compat_50_netbsd32_clock_gettime_args), 0,
    642  1.110  christos 	    (sy_call_t *)compat_50(netbsd32_clock_gettime), 0, 0 },/* 232 = compat_50_netbsd32_clock_gettime */
    643   1.82  christos 	{ ns(struct compat_50_netbsd32_clock_settime_args), 0,
    644  1.110  christos 	    (sy_call_t *)compat_50(netbsd32_clock_settime), 0, 0 },/* 233 = compat_50_netbsd32_clock_settime */
    645   1.82  christos 	{ ns(struct compat_50_netbsd32_clock_getres_args), 0,
    646  1.110  christos 	    (sy_call_t *)compat_50(netbsd32_clock_getres), 0, 0 },/* 234 = compat_50_netbsd32_clock_getres */
    647   1.68       dsl 	{ ns(struct netbsd32_timer_create_args), 0,
    648  1.110  christos 	    (sy_call_t *)netbsd32_timer_create, 0, 0 },/* 235 = netbsd32_timer_create */
    649   1.68       dsl 	{ ns(struct netbsd32_timer_delete_args), 0,
    650  1.110  christos 	    (sy_call_t *)netbsd32_timer_delete, 0, 0 },/* 236 = netbsd32_timer_delete */
    651   1.82  christos 	{ ns(struct compat_50_netbsd32_timer_settime_args), 0,
    652  1.110  christos 	    (sy_call_t *)compat_50(netbsd32_timer_settime), 0, 0 },/* 237 = compat_50_netbsd32_timer_settime */
    653   1.82  christos 	{ ns(struct compat_50_netbsd32_timer_gettime_args), 0,
    654  1.110  christos 	    (sy_call_t *)compat_50(netbsd32_timer_gettime), 0, 0 },/* 238 = compat_50_netbsd32_timer_gettime */
    655   1.68       dsl 	{ ns(struct netbsd32_timer_getoverrun_args), 0,
    656  1.110  christos 	    (sy_call_t *)netbsd32_timer_getoverrun, 0, 0 },/* 239 = netbsd32_timer_getoverrun */
    657   1.82  christos 	{ ns(struct compat_50_netbsd32_nanosleep_args), 0,
    658  1.110  christos 	    (sy_call_t *)compat_50(netbsd32_nanosleep), 0, 0 },/* 240 = compat_50_netbsd32_nanosleep */
    659   1.68       dsl 	{ ns(struct netbsd32_fdatasync_args), 0,
    660  1.110  christos 	    (sy_call_t *)netbsd32_fdatasync, 0, 0 },	/* 241 = netbsd32_fdatasync */
    661   1.68       dsl 	{ ns(struct netbsd32_mlockall_args), 0,
    662  1.110  christos 	    (sy_call_t *)netbsd32_mlockall, 0, 0 },	/* 242 = netbsd32_mlockall */
    663   1.19   thorpej 	{ 0, 0, 0,
    664  1.110  christos 	    (sy_call_t *)sys_munlockall, 0, 0 },	/* 243 = munlockall */
    665   1.82  christos 	{ ns(struct compat_50_netbsd32___sigtimedwait_args), 0,
    666  1.110  christos 	    (sy_call_t *)compat_50(netbsd32___sigtimedwait), 0, 0 },/* 244 = compat_50_netbsd32___sigtimedwait */
    667   1.19   thorpej 	{ 0, 0, 0,
    668  1.110  christos 	    sys_nosys, 0, 0 },			/* 245 = unimplemented */
    669   1.19   thorpej 	{ 0, 0, 0,
    670  1.110  christos 	    sys_nosys, 0, 0 },			/* 246 = unimplemented */
    671   1.68       dsl 	{ ns(struct netbsd32__ksem_init_args), 0,
    672  1.110  christos 	    (sy_call_t *)netbsd32__ksem_init, 0, 0 },	/* 247 = netbsd32__ksem_init */
    673   1.68       dsl 	{ ns(struct netbsd32__ksem_open_args), 0,
    674  1.110  christos 	    (sy_call_t *)netbsd32__ksem_open, 0, 0 },	/* 248 = netbsd32__ksem_open */
    675   1.68       dsl 	{ ns(struct netbsd32__ksem_unlink_args), 0,
    676  1.110  christos 	    (sy_call_t *)netbsd32__ksem_unlink, 0, 0 },/* 249 = netbsd32__ksem_unlink */
    677   1.68       dsl 	{ ns(struct netbsd32__ksem_close_args), 0,
    678  1.110  christos 	    (sy_call_t *)netbsd32__ksem_close, 0, 0 },/* 250 = netbsd32__ksem_close */
    679   1.68       dsl 	{ ns(struct netbsd32__ksem_post_args), 0,
    680  1.110  christos 	    (sy_call_t *)netbsd32__ksem_post, 0, 0 },	/* 251 = netbsd32__ksem_post */
    681   1.68       dsl 	{ ns(struct netbsd32__ksem_wait_args), 0,
    682  1.110  christos 	    (sy_call_t *)netbsd32__ksem_wait, 0, 0 },	/* 252 = netbsd32__ksem_wait */
    683   1.68       dsl 	{ ns(struct netbsd32__ksem_trywait_args), 0,
    684  1.110  christos 	    (sy_call_t *)netbsd32__ksem_trywait, 0, 0 },/* 253 = netbsd32__ksem_trywait */
    685   1.68       dsl 	{ ns(struct netbsd32__ksem_getvalue_args), 0,
    686  1.110  christos 	    (sy_call_t *)netbsd32__ksem_getvalue, 0, 0 },/* 254 = netbsd32__ksem_getvalue */
    687   1.68       dsl 	{ ns(struct netbsd32__ksem_destroy_args), 0,
    688  1.110  christos 	    (sy_call_t *)netbsd32__ksem_destroy, 0, 0 },/* 255 = netbsd32__ksem_destroy */
    689  1.100     joerg 	{ ns(struct netbsd32__ksem_timedwait_args), 0,
    690  1.110  christos 	    (sy_call_t *)netbsd32__ksem_timedwait, 0, 0 },/* 256 = netbsd32__ksem_timedwait */
    691   1.19   thorpej 	{ 0, 0, 0,
    692  1.110  christos 	    sys_nosys, 0, 0 },			/* 257 = unimplemented */
    693   1.19   thorpej 	{ 0, 0, 0,
    694  1.110  christos 	    sys_nosys, 0, 0 },			/* 258 = unimplemented */
    695   1.19   thorpej 	{ 0, 0, 0,
    696  1.110  christos 	    sys_nosys, 0, 0 },			/* 259 = unimplemented */
    697   1.19   thorpej 	{ 0, 0, 0,
    698  1.110  christos 	    sys_nosys, 0, 0 },			/* 260 = unimplemented */
    699   1.19   thorpej 	{ 0, 0, 0,
    700  1.110  christos 	    sys_nosys, 0, 0 },			/* 261 = unimplemented */
    701   1.19   thorpej 	{ 0, 0, 0,
    702  1.110  christos 	    sys_nosys, 0, 0 },			/* 262 = unimplemented */
    703   1.19   thorpej 	{ 0, 0, 0,
    704  1.110  christos 	    sys_nosys, 0, 0 },			/* 263 = unimplemented */
    705   1.19   thorpej 	{ 0, 0, 0,
    706  1.110  christos 	    sys_nosys, 0, 0 },			/* 264 = unimplemented */
    707   1.19   thorpej 	{ 0, 0, 0,
    708  1.110  christos 	    sys_nosys, 0, 0 },			/* 265 = unimplemented */
    709   1.19   thorpej 	{ 0, 0, 0,
    710  1.110  christos 	    sys_nosys, 0, 0 },			/* 266 = unimplemented */
    711   1.19   thorpej 	{ 0, 0, 0,
    712  1.110  christos 	    sys_nosys, 0, 0 },			/* 267 = unimplemented */
    713   1.19   thorpej 	{ 0, 0, 0,
    714  1.110  christos 	    sys_nosys, 0, 0 },			/* 268 = unimplemented */
    715   1.19   thorpej 	{ 0, 0, 0,
    716  1.110  christos 	    sys_nosys, 0, 0 },			/* 269 = unimplemented */
    717   1.68       dsl 	{ ns(struct netbsd32___posix_rename_args), 0,
    718  1.110  christos 	    (sy_call_t *)netbsd32___posix_rename, 0, 0 },/* 270 = netbsd32___posix_rename */
    719   1.68       dsl 	{ ns(struct netbsd32_swapctl_args), 0,
    720  1.110  christos 	    (sy_call_t *)netbsd32_swapctl, 0, 0 },	/* 271 = netbsd32_swapctl */
    721   1.68       dsl 	{ ns(struct compat_30_netbsd32_getdents_args), 0,
    722  1.110  christos 	    (sy_call_t *)compat_30(netbsd32_getdents), 0, 0 },/* 272 = compat_30_netbsd32_getdents */
    723   1.68       dsl 	{ ns(struct netbsd32_minherit_args), 0,
    724  1.110  christos 	    (sy_call_t *)netbsd32_minherit, 0, 0 },	/* 273 = netbsd32_minherit */
    725   1.68       dsl 	{ ns(struct netbsd32_lchmod_args), 0,
    726  1.110  christos 	    (sy_call_t *)netbsd32_lchmod, 0, 0 },	/* 274 = netbsd32_lchmod */
    727   1.68       dsl 	{ ns(struct netbsd32_lchown_args), 0,
    728  1.110  christos 	    (sy_call_t *)netbsd32_lchown, 0, 0 },	/* 275 = netbsd32_lchown */
    729   1.82  christos 	{ ns(struct compat_50_netbsd32_lutimes_args), 0,
    730  1.110  christos 	    (sy_call_t *)compat_50(netbsd32_lutimes), 0, 0 },/* 276 = compat_50_netbsd32_lutimes */
    731   1.68       dsl 	{ ns(struct netbsd32___msync13_args), 0,
    732  1.110  christos 	    (sy_call_t *)netbsd32___msync13, 0, 0 },	/* 277 = netbsd32___msync13 */
    733   1.68       dsl 	{ ns(struct compat_30_netbsd32___stat13_args), 0,
    734  1.110  christos 	    (sy_call_t *)compat_30(netbsd32___stat13), 0, 0 },/* 278 = compat_30_netbsd32___stat13 */
    735   1.68       dsl 	{ ns(struct compat_30_netbsd32___fstat13_args), 0,
    736  1.110  christos 	    (sy_call_t *)compat_30(netbsd32___fstat13), 0, 0 },/* 279 = compat_30_netbsd32___fstat13 */
    737   1.68       dsl 	{ ns(struct compat_30_netbsd32___lstat13_args), 0,
    738  1.110  christos 	    (sy_call_t *)compat_30(netbsd32___lstat13), 0, 0 },/* 280 = compat_30_netbsd32___lstat13 */
    739   1.68       dsl 	{ ns(struct netbsd32___sigaltstack14_args), 0,
    740  1.110  christos 	    (sy_call_t *)netbsd32___sigaltstack14, 0, 0 },/* 281 = netbsd32___sigaltstack14 */
    741   1.19   thorpej 	{ 0, 0, 0,
    742  1.110  christos 	    (sy_call_t *)sys___vfork14, 0, 0 },	/* 282 = __vfork14 */
    743   1.68       dsl 	{ ns(struct netbsd32___posix_chown_args), 0,
    744  1.110  christos 	    (sy_call_t *)netbsd32___posix_chown, 0, 0 },/* 283 = netbsd32___posix_chown */
    745   1.68       dsl 	{ ns(struct netbsd32___posix_fchown_args), 0,
    746  1.110  christos 	    (sy_call_t *)netbsd32___posix_fchown, 0, 0 },/* 284 = netbsd32___posix_fchown */
    747   1.68       dsl 	{ ns(struct netbsd32___posix_lchown_args), 0,
    748  1.110  christos 	    (sy_call_t *)netbsd32___posix_lchown, 0, 0 },/* 285 = netbsd32___posix_lchown */
    749   1.68       dsl 	{ ns(struct netbsd32_getsid_args), 0,
    750  1.110  christos 	    (sy_call_t *)netbsd32_getsid, 0, 0 },	/* 286 = netbsd32_getsid */
    751   1.68       dsl 	{ ns(struct netbsd32___clone_args), 0,
    752  1.110  christos 	    (sy_call_t *)netbsd32___clone, 0, 0 },	/* 287 = netbsd32___clone */
    753   1.68       dsl 	{ ns(struct netbsd32_fktrace_args), 0,
    754  1.110  christos 	    (sy_call_t *)netbsd32_fktrace, 0, 0 },	/* 288 = netbsd32_fktrace */
    755  1.106     njoly 	{ ns(struct netbsd32_preadv_args), 0,
    756  1.110  christos 	    (sy_call_t *)netbsd32_preadv, 0, 0 },	/* 289 = netbsd32_preadv */
    757  1.106     njoly 	{ ns(struct netbsd32_pwritev_args), 0,
    758  1.110  christos 	    (sy_call_t *)netbsd32_pwritev, 0, 0 },	/* 290 = netbsd32_pwritev */
    759   1.68       dsl 	{ ns(struct netbsd32___sigaction14_args), 0,
    760  1.110  christos 	    (sy_call_t *)netbsd32___sigaction14, 0, 0 },/* 291 = netbsd32___sigaction14 */
    761   1.68       dsl 	{ ns(struct netbsd32___sigpending14_args), 0,
    762  1.110  christos 	    (sy_call_t *)netbsd32___sigpending14, 0, 0 },/* 292 = netbsd32___sigpending14 */
    763   1.68       dsl 	{ ns(struct netbsd32___sigprocmask14_args), 0,
    764  1.110  christos 	    (sy_call_t *)netbsd32___sigprocmask14, 0, 0 },/* 293 = netbsd32___sigprocmask14 */
    765   1.68       dsl 	{ ns(struct netbsd32___sigsuspend14_args), 0,
    766  1.110  christos 	    (sy_call_t *)netbsd32___sigsuspend14, 0, 0 },/* 294 = netbsd32___sigsuspend14 */
    767   1.68       dsl 	{ ns(struct compat_16_netbsd32___sigreturn14_args), 0,
    768  1.110  christos 	    (sy_call_t *)compat_16(netbsd32___sigreturn14), 0, 0 },/* 295 = compat_16_netbsd32___sigreturn14 */
    769   1.68       dsl 	{ ns(struct netbsd32___getcwd_args), 0,
    770  1.110  christos 	    (sy_call_t *)netbsd32___getcwd, 0, 0 },	/* 296 = netbsd32___getcwd */
    771   1.68       dsl 	{ ns(struct netbsd32_fchroot_args), 0,
    772  1.110  christos 	    (sy_call_t *)netbsd32_fchroot, 0, 0 },	/* 297 = netbsd32_fchroot */
    773   1.68       dsl 	{ ns(struct compat_30_netbsd32_fhopen_args), 0,
    774  1.110  christos 	    (sy_call_t *)compat_30(netbsd32_fhopen), 0, 0 },/* 298 = compat_30_netbsd32_fhopen */
    775   1.68       dsl 	{ ns(struct compat_30_netbsd32_fhstat_args), 0,
    776  1.110  christos 	    (sy_call_t *)compat_30(netbsd32_fhstat), 0, 0 },/* 299 = compat_30_netbsd32_fhstat */
    777   1.68       dsl 	{ ns(struct compat_20_netbsd32_fhstatfs_args), 0,
    778  1.110  christos 	    (sy_call_t *)compat_20(netbsd32_fhstatfs), 0, 0 },/* 300 = compat_20_netbsd32_fhstatfs */
    779   1.82  christos #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
    780   1.82  christos 	{ ns(struct compat_50_netbsd32___semctl14_args), 0,
    781  1.110  christos 	    (sy_call_t *)compat_50(netbsd32___semctl14), 0, 0 },/* 301 = compat_50_netbsd32___semctl14 */
    782   1.12       eeh #else
    783   1.19   thorpej 	{ 0, 0, 0,
    784  1.110  christos 	    sys_nosys, 0, 0 },			/* 301 = excluded __semctl14 */
    785   1.12       eeh #endif
    786   1.82  christos #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
    787   1.82  christos 	{ ns(struct compat_50_netbsd32___msgctl13_args), 0,
    788  1.110  christos 	    (sy_call_t *)compat_50(netbsd32___msgctl13), 0, 0 },/* 302 = compat_50_netbsd32___msgctl13 */
    789   1.12       eeh #else
    790   1.19   thorpej 	{ 0, 0, 0,
    791  1.110  christos 	    sys_nosys, 0, 0 },			/* 302 = excluded __msgctl13 */
    792   1.12       eeh #endif
    793   1.82  christos #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
    794   1.82  christos 	{ ns(struct compat_50_netbsd32___shmctl13_args), 0,
    795  1.110  christos 	    (sy_call_t *)compat_50(netbsd32___shmctl13), 0, 0 },/* 303 = compat_50_netbsd32___shmctl13 */
    796   1.12       eeh #else
    797   1.19   thorpej 	{ 0, 0, 0,
    798  1.110  christos 	    sys_nosys, 0, 0 },			/* 303 = excluded __shmctl13 */
    799   1.12       eeh #endif
    800   1.68       dsl 	{ ns(struct netbsd32_lchflags_args), 0,
    801  1.110  christos 	    (sy_call_t *)netbsd32_lchflags, 0, 0 },	/* 304 = netbsd32_lchflags */
    802   1.76        ad 	{ 0, 0, 0,
    803  1.110  christos 	    (sy_call_t *)sys_issetugid, 0, 0 },	/* 305 = issetugid */
    804   1.68       dsl 	{ ns(struct netbsd32_utrace_args), 0,
    805  1.110  christos 	    (sy_call_t *)netbsd32_utrace, 0, 0 },	/* 306 = netbsd32_utrace */
    806   1.68       dsl 	{ ns(struct netbsd32_getcontext_args), 0,
    807  1.110  christos 	    (sy_call_t *)netbsd32_getcontext, 0, 0 },	/* 307 = netbsd32_getcontext */
    808   1.68       dsl 	{ ns(struct netbsd32_setcontext_args), 0,
    809  1.110  christos 	    (sy_call_t *)netbsd32_setcontext, 0, 0 },	/* 308 = netbsd32_setcontext */
    810   1.68       dsl 	{ ns(struct netbsd32__lwp_create_args), 0,
    811  1.110  christos 	    (sy_call_t *)netbsd32__lwp_create, 0, 0 },/* 309 = netbsd32__lwp_create */
    812   1.21       mrg 	{ 0, 0, 0,
    813  1.110  christos 	    (sy_call_t *)sys__lwp_exit, 0, 0 },	/* 310 = _lwp_exit */
    814   1.76        ad 	{ 0, 0, 0,
    815  1.110  christos 	    (sy_call_t *)sys__lwp_self, 0, 0 },	/* 311 = _lwp_self */
    816   1.76        ad 	{ ns(struct netbsd32__lwp_wait_args), 0,
    817  1.110  christos 	    (sy_call_t *)netbsd32__lwp_wait, 0, 0 },	/* 312 = netbsd32__lwp_wait */
    818   1.76        ad 	{ ns(struct netbsd32__lwp_suspend_args), 0,
    819  1.110  christos 	    (sy_call_t *)netbsd32__lwp_suspend, 0, 0 },/* 313 = netbsd32__lwp_suspend */
    820   1.76        ad 	{ ns(struct netbsd32__lwp_continue_args), 0,
    821  1.110  christos 	    (sy_call_t *)netbsd32__lwp_continue, 0, 0 },/* 314 = netbsd32__lwp_continue */
    822   1.76        ad 	{ ns(struct netbsd32__lwp_wakeup_args), 0,
    823  1.110  christos 	    (sy_call_t *)netbsd32__lwp_wakeup, 0, 0 },/* 315 = netbsd32__lwp_wakeup */
    824   1.76        ad 	{ 0, 0, 0,
    825  1.110  christos 	    (sy_call_t *)sys__lwp_getprivate, 0, 0 },	/* 316 = _lwp_getprivate */
    826   1.76        ad 	{ ns(struct netbsd32__lwp_setprivate_args), 0,
    827  1.110  christos 	    (sy_call_t *)netbsd32__lwp_setprivate, 0, 0 },/* 317 = netbsd32__lwp_setprivate */
    828   1.68       dsl 	{ ns(struct netbsd32__lwp_kill_args), 0,
    829  1.110  christos 	    (sy_call_t *)netbsd32__lwp_kill, 0, 0 },	/* 318 = netbsd32__lwp_kill */
    830   1.76        ad 	{ ns(struct netbsd32__lwp_detach_args), 0,
    831  1.110  christos 	    (sy_call_t *)netbsd32__lwp_detach, 0, 0 },/* 319 = netbsd32__lwp_detach */
    832   1.82  christos 	{ ns(struct compat_50_netbsd32__lwp_park_args), 0,
    833  1.110  christos 	    (sy_call_t *)compat_50(netbsd32__lwp_park), 0, 0 },/* 320 = compat_50_netbsd32__lwp_park */
    834   1.76        ad 	{ ns(struct netbsd32__lwp_unpark_args), 0,
    835  1.110  christos 	    (sy_call_t *)netbsd32__lwp_unpark, 0, 0 },/* 321 = netbsd32__lwp_unpark */
    836   1.76        ad 	{ ns(struct netbsd32__lwp_unpark_all_args), 0,
    837  1.110  christos 	    (sy_call_t *)netbsd32__lwp_unpark_all, 0, 0 },/* 322 = netbsd32__lwp_unpark_all */
    838   1.69        ad 	{ ns(struct netbsd32__lwp_setname_args), 0,
    839  1.110  christos 	    (sy_call_t *)netbsd32__lwp_setname, 0, 0 },/* 323 = netbsd32__lwp_setname */
    840   1.69        ad 	{ ns(struct netbsd32__lwp_getname_args), 0,
    841  1.110  christos 	    (sy_call_t *)netbsd32__lwp_getname, 0, 0 },/* 324 = netbsd32__lwp_getname */
    842   1.69        ad 	{ ns(struct netbsd32__lwp_ctl_args), 0,
    843  1.110  christos 	    (sy_call_t *)netbsd32__lwp_ctl, 0, 0 },	/* 325 = netbsd32__lwp_ctl */
    844   1.21       mrg 	{ 0, 0, 0,
    845  1.110  christos 	    sys_nosys, 0, 0 },			/* 326 = unimplemented */
    846   1.21       mrg 	{ 0, 0, 0,
    847  1.110  christos 	    sys_nosys, 0, 0 },			/* 327 = unimplemented */
    848   1.21       mrg 	{ 0, 0, 0,
    849  1.110  christos 	    sys_nosys, 0, 0 },			/* 328 = unimplemented */
    850   1.21       mrg 	{ 0, 0, 0,
    851  1.110  christos 	    sys_nosys, 0, 0 },			/* 329 = unimplemented */
    852   1.99     rmind 	{ 0, 0, 0,
    853  1.110  christos 	    sys_nosys, 0, 0 },			/* 330 = obsolete netbsd32_sa_register */
    854   1.99     rmind 	{ 0, 0, 0,
    855  1.110  christos 	    sys_nosys, 0, 0 },			/* 331 = obsolete netbsd32_sa_stacks */
    856   1.99     rmind 	{ 0, 0, 0,
    857  1.110  christos 	    sys_nosys, 0, 0 },			/* 332 = obsolete sa_enable */
    858   1.99     rmind 	{ 0, 0, 0,
    859  1.110  christos 	    sys_nosys, 0, 0 },			/* 333 = obsolete netbsd32_sa_setconcurrency */
    860   1.99     rmind 	{ 0, 0, 0,
    861  1.110  christos 	    sys_nosys, 0, 0 },			/* 334 = obsolete sa_yield */
    862   1.99     rmind 	{ 0, 0, 0,
    863  1.110  christos 	    sys_nosys, 0, 0 },			/* 335 = obsolete netbsd32_sa_preempt */
    864   1.21       mrg 	{ 0, 0, 0,
    865  1.110  christos 	    sys_nosys, 0, 0 },			/* 336 = obsolete sys_sa_unblockyield */
    866   1.21       mrg 	{ 0, 0, 0,
    867  1.110  christos 	    sys_nosys, 0, 0 },			/* 337 = unimplemented */
    868   1.21       mrg 	{ 0, 0, 0,
    869  1.110  christos 	    sys_nosys, 0, 0 },			/* 338 = unimplemented */
    870   1.21       mrg 	{ 0, 0, 0,
    871  1.110  christos 	    sys_nosys, 0, 0 },			/* 339 = unimplemented */
    872   1.68       dsl 	{ ns(struct netbsd32___sigaction_sigtramp_args), 0,
    873  1.110  christos 	    (sy_call_t *)netbsd32___sigaction_sigtramp, 0, 0 },/* 340 = netbsd32___sigaction_sigtramp */
    874   1.27  jdolecek 	{ 0, 0, 0,
    875  1.110  christos 	    sys_nosys, 0, 0 },			/* 341 = unimplemented */
    876   1.27  jdolecek 	{ 0, 0, 0,
    877  1.110  christos 	    sys_nosys, 0, 0 },			/* 342 = unimplemented */
    878   1.68       dsl 	{ ns(struct netbsd32_rasctl_args), 0,
    879  1.110  christos 	    (sy_call_t *)netbsd32_rasctl, 0, 0 },	/* 343 = netbsd32_rasctl */
    880   1.27  jdolecek 	{ 0, 0, 0,
    881  1.110  christos 	    (sy_call_t *)sys_kqueue, 0, 0 },		/* 344 = kqueue */
    882   1.82  christos 	{ ns(struct compat_50_netbsd32_kevent_args), 0,
    883  1.110  christos 	    (sy_call_t *)compat_50(netbsd32_kevent), 0, 0 },/* 345 = compat_50_netbsd32_kevent */
    884   1.81       mrg 	{ ns(struct netbsd32__sched_setparam_args), 0,
    885  1.110  christos 	    (sy_call_t *)netbsd32__sched_setparam, 0, 0 },/* 346 = netbsd32__sched_setparam */
    886   1.81       mrg 	{ ns(struct netbsd32__sched_getparam_args), 0,
    887  1.110  christos 	    (sy_call_t *)netbsd32__sched_getparam, 0, 0 },/* 347 = netbsd32__sched_getparam */
    888   1.81       mrg 	{ ns(struct netbsd32__sched_setaffinity_args), 0,
    889  1.110  christos 	    (sy_call_t *)netbsd32__sched_setaffinity, 0, 0 },/* 348 = netbsd32__sched_setaffinity */
    890   1.81       mrg 	{ ns(struct netbsd32__sched_getaffinity_args), 0,
    891  1.110  christos 	    (sy_call_t *)netbsd32__sched_getaffinity, 0, 0 },/* 349 = netbsd32__sched_getaffinity */
    892   1.76        ad 	{ 0, 0, 0,
    893  1.110  christos 	    (sy_call_t *)sys_sched_yield, 0, 0 },	/* 350 = sched_yield */
    894   1.27  jdolecek 	{ 0, 0, 0,
    895  1.110  christos 	    sys_nosys, 0, 0 },			/* 351 = unimplemented */
    896   1.27  jdolecek 	{ 0, 0, 0,
    897  1.110  christos 	    sys_nosys, 0, 0 },			/* 352 = unimplemented */
    898   1.27  jdolecek 	{ 0, 0, 0,
    899  1.110  christos 	    sys_nosys, 0, 0 },			/* 353 = unimplemented */
    900  1.106     njoly 	{ ns(struct netbsd32_fsync_range_args), 0,
    901  1.110  christos 	    (sy_call_t *)netbsd32_fsync_range, 0, 0 },/* 354 = netbsd32_fsync_range */
    902   1.68       dsl 	{ ns(struct netbsd32_uuidgen_args), 0,
    903  1.110  christos 	    (sy_call_t *)netbsd32_uuidgen, 0, 0 },	/* 355 = netbsd32_uuidgen */
    904   1.68       dsl 	{ ns(struct netbsd32_getvfsstat_args), 0,
    905  1.110  christos 	    (sy_call_t *)netbsd32_getvfsstat, 0, 0 },	/* 356 = netbsd32_getvfsstat */
    906   1.68       dsl 	{ ns(struct netbsd32_statvfs1_args), 0,
    907  1.110  christos 	    (sy_call_t *)netbsd32_statvfs1, 0, 0 },	/* 357 = netbsd32_statvfs1 */
    908   1.68       dsl 	{ ns(struct netbsd32_fstatvfs1_args), 0,
    909  1.110  christos 	    (sy_call_t *)netbsd32_fstatvfs1, 0, 0 },	/* 358 = netbsd32_fstatvfs1 */
    910   1.68       dsl 	{ ns(struct compat_30_netbsd32_fhstatvfs1_args), 0,
    911  1.110  christos 	    (sy_call_t *)compat_30(netbsd32_fhstatvfs1), 0, 0 },/* 359 = compat_30_netbsd32_fhstatvfs1 */
    912   1.68       dsl 	{ ns(struct netbsd32_extattrctl_args), 0,
    913  1.110  christos 	    (sy_call_t *)netbsd32_extattrctl, 0, 0 },	/* 360 = netbsd32_extattrctl */
    914   1.68       dsl 	{ ns(struct netbsd32_extattr_set_file_args), 0,
    915  1.110  christos 	    (sy_call_t *)netbsd32_extattr_set_file, 0, 0 },/* 361 = netbsd32_extattr_set_file */
    916   1.68       dsl 	{ ns(struct netbsd32_extattr_get_file_args), 0,
    917  1.110  christos 	    (sy_call_t *)netbsd32_extattr_get_file, 0, 0 },/* 362 = netbsd32_extattr_get_file */
    918   1.68       dsl 	{ ns(struct netbsd32_extattr_delete_file_args), 0,
    919  1.110  christos 	    (sy_call_t *)netbsd32_extattr_delete_file, 0, 0 },/* 363 = netbsd32_extattr_delete_file */
    920   1.68       dsl 	{ ns(struct netbsd32_extattr_set_fd_args), 0,
    921  1.110  christos 	    (sy_call_t *)netbsd32_extattr_set_fd, 0, 0 },/* 364 = netbsd32_extattr_set_fd */
    922   1.68       dsl 	{ ns(struct netbsd32_extattr_get_fd_args), 0,
    923  1.110  christos 	    (sy_call_t *)netbsd32_extattr_get_fd, 0, 0 },/* 365 = netbsd32_extattr_get_fd */
    924   1.68       dsl 	{ ns(struct netbsd32_extattr_delete_fd_args), 0,
    925  1.110  christos 	    (sy_call_t *)netbsd32_extattr_delete_fd, 0, 0 },/* 366 = netbsd32_extattr_delete_fd */
    926   1.68       dsl 	{ ns(struct netbsd32_extattr_set_link_args), 0,
    927  1.110  christos 	    (sy_call_t *)netbsd32_extattr_set_link, 0, 0 },/* 367 = netbsd32_extattr_set_link */
    928   1.68       dsl 	{ ns(struct netbsd32_extattr_get_link_args), 0,
    929  1.110  christos 	    (sy_call_t *)netbsd32_extattr_get_link, 0, 0 },/* 368 = netbsd32_extattr_get_link */
    930   1.68       dsl 	{ ns(struct netbsd32_extattr_delete_link_args), 0,
    931  1.110  christos 	    (sy_call_t *)netbsd32_extattr_delete_link, 0, 0 },/* 369 = netbsd32_extattr_delete_link */
    932   1.68       dsl 	{ ns(struct netbsd32_extattr_list_fd_args), 0,
    933  1.110  christos 	    (sy_call_t *)netbsd32_extattr_list_fd, 0, 0 },/* 370 = netbsd32_extattr_list_fd */
    934   1.68       dsl 	{ ns(struct netbsd32_extattr_list_file_args), 0,
    935  1.110  christos 	    (sy_call_t *)netbsd32_extattr_list_file, 0, 0 },/* 371 = netbsd32_extattr_list_file */
    936   1.68       dsl 	{ ns(struct netbsd32_extattr_list_link_args), 0,
    937  1.110  christos 	    (sy_call_t *)netbsd32_extattr_list_link, 0, 0 },/* 372 = netbsd32_extattr_list_link */
    938   1.82  christos 	{ ns(struct compat_50_netbsd32_pselect_args), 0,
    939  1.110  christos 	    (sy_call_t *)compat_50(netbsd32_pselect), 0, 0 },/* 373 = compat_50_netbsd32_pselect */
    940   1.82  christos 	{ ns(struct compat_50_netbsd32_pollts_args), 0,
    941  1.110  christos 	    (sy_call_t *)compat_50(netbsd32_pollts), 0, 0 },/* 374 = compat_50_netbsd32_pollts */
    942   1.68       dsl 	{ ns(struct netbsd32_setxattr_args), 0,
    943  1.110  christos 	    (sy_call_t *)netbsd32_setxattr, 0, 0 },	/* 375 = netbsd32_setxattr */
    944   1.68       dsl 	{ ns(struct netbsd32_lsetxattr_args), 0,
    945  1.110  christos 	    (sy_call_t *)netbsd32_lsetxattr, 0, 0 },	/* 376 = netbsd32_lsetxattr */
    946   1.68       dsl 	{ ns(struct netbsd32_fsetxattr_args), 0,
    947  1.110  christos 	    (sy_call_t *)netbsd32_fsetxattr, 0, 0 },	/* 377 = netbsd32_fsetxattr */
    948   1.68       dsl 	{ ns(struct netbsd32_getxattr_args), 0,
    949  1.110  christos 	    (sy_call_t *)netbsd32_getxattr, 0, 0 },	/* 378 = netbsd32_getxattr */
    950   1.68       dsl 	{ ns(struct netbsd32_lgetxattr_args), 0,
    951  1.110  christos 	    (sy_call_t *)netbsd32_lgetxattr, 0, 0 },	/* 379 = netbsd32_lgetxattr */
    952   1.68       dsl 	{ ns(struct netbsd32_fgetxattr_args), 0,
    953  1.110  christos 	    (sy_call_t *)netbsd32_fgetxattr, 0, 0 },	/* 380 = netbsd32_fgetxattr */
    954   1.68       dsl 	{ ns(struct netbsd32_listxattr_args), 0,
    955  1.110  christos 	    (sy_call_t *)netbsd32_listxattr, 0, 0 },	/* 381 = netbsd32_listxattr */
    956   1.68       dsl 	{ ns(struct netbsd32_llistxattr_args), 0,
    957  1.110  christos 	    (sy_call_t *)netbsd32_llistxattr, 0, 0 },	/* 382 = netbsd32_llistxattr */
    958   1.68       dsl 	{ ns(struct netbsd32_flistxattr_args), 0,
    959  1.110  christos 	    (sy_call_t *)netbsd32_flistxattr, 0, 0 },	/* 383 = netbsd32_flistxattr */
    960   1.68       dsl 	{ ns(struct netbsd32_removexattr_args), 0,
    961  1.110  christos 	    (sy_call_t *)netbsd32_removexattr, 0, 0 },/* 384 = netbsd32_removexattr */
    962   1.68       dsl 	{ ns(struct netbsd32_lremovexattr_args), 0,
    963  1.110  christos 	    (sy_call_t *)netbsd32_lremovexattr, 0, 0 },/* 385 = netbsd32_lremovexattr */
    964   1.68       dsl 	{ ns(struct netbsd32_fremovexattr_args), 0,
    965  1.110  christos 	    (sy_call_t *)netbsd32_fremovexattr, 0, 0 },/* 386 = netbsd32_fremovexattr */
    966   1.82  christos 	{ ns(struct compat_50_netbsd32___stat30_args), 0,
    967  1.110  christos 	    (sy_call_t *)compat_50(netbsd32___stat30), 0, 0 },/* 387 = compat_50_netbsd32___stat30 */
    968   1.82  christos 	{ ns(struct compat_50_netbsd32___fstat30_args), 0,
    969  1.110  christos 	    (sy_call_t *)compat_50(netbsd32___fstat30), 0, 0 },/* 388 = compat_50_netbsd32___fstat30 */
    970   1.82  christos 	{ ns(struct compat_50_netbsd32___lstat30_args), 0,
    971  1.110  christos 	    (sy_call_t *)compat_50(netbsd32___lstat30), 0, 0 },/* 389 = compat_50_netbsd32___lstat30 */
    972   1.82  christos 	{ ns(struct netbsd32___getdents30_args), 0,
    973  1.110  christos 	    (sy_call_t *)netbsd32___getdents30, 0, 0 },/* 390 = netbsd32___getdents30 */
    974   1.75    martin 	{ 0, 0, 0,
    975  1.110  christos 	    (sy_call_t *)nullop, 0, 0 },			/* 391 = ignored old posix fadvise */
    976   1.82  christos 	{ ns(struct compat_30_netbsd32___fhstat30_args), 0,
    977  1.110  christos 	    (sy_call_t *)compat_30(netbsd32___fhstat30), 0, 0 },/* 392 = compat_30_netbsd32___fhstat30 */
    978   1.85  christos #if defined(NTP) || !defined(_KERNEL_OPT)
    979   1.82  christos 	{ ns(struct compat_50_netbsd32_ntp_gettime_args), 0,
    980  1.110  christos 	    (sy_call_t *)compat_50(netbsd32_ntp_gettime), 0, 0 },/* 393 = compat_50_netbsd32_ntp_gettime */
    981   1.85  christos #else
    982   1.85  christos 	{ 0, 0, 0,
    983  1.110  christos 	    sys_nosys, 0, 0 },			/* 393 = excluded __ntp_gettime30 */
    984   1.85  christos #endif
    985   1.82  christos 	{ ns(struct netbsd32___socket30_args), 0,
    986  1.110  christos 	    (sy_call_t *)netbsd32___socket30, 0, 0 },	/* 394 = netbsd32___socket30 */
    987   1.68       dsl 	{ ns(struct netbsd32___getfh30_args), 0,
    988  1.110  christos 	    (sy_call_t *)netbsd32___getfh30, 0, 0 },	/* 395 = netbsd32___getfh30 */
    989   1.68       dsl 	{ ns(struct netbsd32___fhopen40_args), 0,
    990  1.110  christos 	    (sy_call_t *)netbsd32___fhopen40, 0, 0 },	/* 396 = netbsd32___fhopen40 */
    991   1.68       dsl 	{ ns(struct netbsd32___fhstatvfs140_args), 0,
    992  1.110  christos 	    (sy_call_t *)netbsd32___fhstatvfs140, 0, 0 },/* 397 = netbsd32___fhstatvfs140 */
    993   1.82  christos 	{ ns(struct compat_50_netbsd32___fhstat40_args), 0,
    994  1.110  christos 	    (sy_call_t *)compat_50(netbsd32___fhstat40), 0, 0 },/* 398 = compat_50_netbsd32___fhstat40 */
    995   1.27  jdolecek 	{ 0, 0, 0,
    996  1.110  christos 	    sys_nosys, 0, 0 },			/* 399 = unimplemented sys_aio_cancel */
    997   1.27  jdolecek 	{ 0, 0, 0,
    998  1.110  christos 	    sys_nosys, 0, 0 },			/* 400 = unimplemented sys_aio_error */
    999   1.27  jdolecek 	{ 0, 0, 0,
   1000  1.110  christos 	    sys_nosys, 0, 0 },			/* 401 = unimplemented sys_aio_fsync */
   1001   1.27  jdolecek 	{ 0, 0, 0,
   1002  1.110  christos 	    sys_nosys, 0, 0 },			/* 402 = unimplemented sys_aio_read */
   1003   1.27  jdolecek 	{ 0, 0, 0,
   1004  1.110  christos 	    sys_nosys, 0, 0 },			/* 403 = unimplemented sys_aio_return */
   1005   1.27  jdolecek 	{ 0, 0, 0,
   1006  1.110  christos 	    sys_nosys, 0, 0 },			/* 404 = unimplemented sys_aio_suspend */
   1007   1.27  jdolecek 	{ 0, 0, 0,
   1008  1.110  christos 	    sys_nosys, 0, 0 },			/* 405 = unimplemented sys_aio_write */
   1009   1.27  jdolecek 	{ 0, 0, 0,
   1010  1.110  christos 	    sys_nosys, 0, 0 },			/* 406 = unimplemented sys_lio_listio */
   1011   1.27  jdolecek 	{ 0, 0, 0,
   1012  1.110  christos 	    sys_nosys, 0, 0 },			/* 407 = unimplemented */
   1013   1.27  jdolecek 	{ 0, 0, 0,
   1014  1.110  christos 	    sys_nosys, 0, 0 },			/* 408 = unimplemented */
   1015   1.27  jdolecek 	{ 0, 0, 0,
   1016  1.110  christos 	    sys_nosys, 0, 0 },			/* 409 = unimplemented */
   1017   1.88      matt 	{ ns(struct netbsd32___mount50_args), 0,
   1018  1.110  christos 	    (sy_call_t *)netbsd32___mount50, 0, 0 },	/* 410 = netbsd32___mount50 */
   1019   1.76        ad 	{ ns(struct netbsd32_mremap_args), 0,
   1020  1.110  christos 	    (sy_call_t *)netbsd32_mremap, 0, 0 },	/* 411 = netbsd32_mremap */
   1021   1.27  jdolecek 	{ 0, 0, 0,
   1022  1.110  christos 	    sys_nosys, 0, 0 },			/* 412 = unimplemented */
   1023   1.27  jdolecek 	{ 0, 0, 0,
   1024  1.110  christos 	    sys_nosys, 0, 0 },			/* 413 = unimplemented */
   1025   1.27  jdolecek 	{ 0, 0, 0,
   1026  1.110  christos 	    sys_nosys, 0, 0 },			/* 414 = unimplemented */
   1027   1.27  jdolecek 	{ 0, 0, 0,
   1028  1.110  christos 	    sys_nosys, 0, 0 },			/* 415 = unimplemented */
   1029  1.106     njoly 	{ ns(struct netbsd32___posix_fadvise50_args), 0,
   1030  1.110  christos 	    (sy_call_t *)netbsd32___posix_fadvise50, 0, 0 },/* 416 = netbsd32___posix_fadvise50 */
   1031   1.82  christos 	{ ns(struct netbsd32___select50_args), 0,
   1032  1.110  christos 	    (sy_call_t *)netbsd32___select50, 0, 0 },	/* 417 = netbsd32___select50 */
   1033   1.82  christos 	{ ns(struct netbsd32___gettimeofday50_args), 0,
   1034  1.110  christos 	    (sy_call_t *)netbsd32___gettimeofday50, 0, 0 },/* 418 = netbsd32___gettimeofday50 */
   1035   1.82  christos 	{ ns(struct netbsd32___settimeofday50_args), 0,
   1036  1.110  christos 	    (sy_call_t *)netbsd32___settimeofday50, 0, 0 },/* 419 = netbsd32___settimeofday50 */
   1037   1.82  christos 	{ ns(struct netbsd32___utimes50_args), 0,
   1038  1.110  christos 	    (sy_call_t *)netbsd32___utimes50, 0, 0 },	/* 420 = netbsd32___utimes50 */
   1039   1.82  christos 	{ ns(struct netbsd32___adjtime50_args), 0,
   1040  1.110  christos 	    (sy_call_t *)netbsd32___adjtime50, 0, 0 },/* 421 = netbsd32___adjtime50 */
   1041   1.82  christos 	{ 0, 0, 0,
   1042  1.110  christos 	    sys_nosys, 0, 0 },			/* 422 = excluded __lfs_segwait50 */
   1043   1.82  christos 	{ ns(struct netbsd32___futimes50_args), 0,
   1044  1.110  christos 	    (sy_call_t *)netbsd32___futimes50, 0, 0 },/* 423 = netbsd32___futimes50 */
   1045   1.82  christos 	{ ns(struct netbsd32___lutimes50_args), 0,
   1046  1.110  christos 	    (sy_call_t *)netbsd32___lutimes50, 0, 0 },/* 424 = netbsd32___lutimes50 */
   1047   1.82  christos 	{ ns(struct netbsd32___setitimer50_args), 0,
   1048  1.110  christos 	    (sy_call_t *)netbsd32___setitimer50, 0, 0 },/* 425 = netbsd32___setitimer50 */
   1049   1.82  christos 	{ ns(struct netbsd32___getitimer50_args), 0,
   1050  1.110  christos 	    (sy_call_t *)netbsd32___getitimer50, 0, 0 },/* 426 = netbsd32___getitimer50 */
   1051   1.82  christos 	{ ns(struct netbsd32___clock_gettime50_args), 0,
   1052  1.110  christos 	    (sy_call_t *)netbsd32___clock_gettime50, 0, 0 },/* 427 = netbsd32___clock_gettime50 */
   1053   1.82  christos 	{ ns(struct netbsd32___clock_settime50_args), 0,
   1054  1.110  christos 	    (sy_call_t *)netbsd32___clock_settime50, 0, 0 },/* 428 = netbsd32___clock_settime50 */
   1055   1.82  christos 	{ ns(struct netbsd32___clock_getres50_args), 0,
   1056  1.110  christos 	    (sy_call_t *)netbsd32___clock_getres50, 0, 0 },/* 429 = netbsd32___clock_getres50 */
   1057   1.82  christos 	{ ns(struct netbsd32___nanosleep50_args), 0,
   1058  1.110  christos 	    (sy_call_t *)netbsd32___nanosleep50, 0, 0 },/* 430 = netbsd32___nanosleep50 */
   1059   1.82  christos 	{ ns(struct netbsd32_____sigtimedwait50_args), 0,
   1060  1.110  christos 	    (sy_call_t *)netbsd32_____sigtimedwait50, 0, 0 },/* 431 = netbsd32_____sigtimedwait50 */
   1061   1.82  christos 	{ 0, 0, 0,
   1062  1.110  christos 	    sys_nosys, 0, 0 },			/* 432 = unimplemented netbsd32___mq_timedsend50 */
   1063   1.82  christos 	{ 0, 0, 0,
   1064  1.110  christos 	    sys_nosys, 0, 0 },			/* 433 = unimplemented netbsd32___mq_timedreceive50 */
   1065  1.104  christos 	{ ns(struct compat_60_netbsd32__lwp_park_args), 0,
   1066  1.110  christos 	    (sy_call_t *)compat_60(netbsd32__lwp_park), 0, 0 },/* 434 = compat_60_netbsd32__lwp_park */
   1067   1.82  christos 	{ ns(struct netbsd32___kevent50_args), 0,
   1068  1.110  christos 	    (sy_call_t *)netbsd32___kevent50, 0, 0 },	/* 435 = netbsd32___kevent50 */
   1069   1.82  christos 	{ ns(struct netbsd32___pselect50_args), 0,
   1070  1.110  christos 	    (sy_call_t *)netbsd32___pselect50, 0, 0 },/* 436 = netbsd32___pselect50 */
   1071   1.82  christos 	{ ns(struct netbsd32___pollts50_args), 0,
   1072  1.110  christos 	    (sy_call_t *)netbsd32___pollts50, 0, 0 },	/* 437 = netbsd32___pollts50 */
   1073   1.82  christos 	{ 0, 0, 0,
   1074  1.110  christos 	    sys_nosys, 0, 0 },			/* 438 = unimplemented netbsd32___aio_suspend50 */
   1075   1.82  christos 	{ ns(struct netbsd32___stat50_args), 0,
   1076  1.110  christos 	    (sy_call_t *)netbsd32___stat50, 0, 0 },	/* 439 = netbsd32___stat50 */
   1077   1.82  christos 	{ ns(struct netbsd32___fstat50_args), 0,
   1078  1.110  christos 	    (sy_call_t *)netbsd32___fstat50, 0, 0 },	/* 440 = netbsd32___fstat50 */
   1079   1.82  christos 	{ ns(struct netbsd32___lstat50_args), 0,
   1080  1.110  christos 	    (sy_call_t *)netbsd32___lstat50, 0, 0 },	/* 441 = netbsd32___lstat50 */
   1081   1.82  christos #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
   1082   1.82  christos 	{ ns(struct netbsd32_____semctl50_args), 0,
   1083  1.110  christos 	    (sy_call_t *)netbsd32_____semctl50, 0, 0 },/* 442 = netbsd32_____semctl50 */
   1084   1.82  christos #else
   1085   1.82  christos 	{ 0, 0, 0,
   1086  1.110  christos 	    sys_nosys, 0, 0 },			/* 442 = excluded ____semctl50 */
   1087   1.82  christos #endif
   1088   1.82  christos #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
   1089   1.82  christos 	{ ns(struct netbsd32___shmctl50_args), 0,
   1090  1.110  christos 	    (sy_call_t *)netbsd32___shmctl50, 0, 0 },	/* 443 = netbsd32___shmctl50 */
   1091   1.82  christos #else
   1092   1.82  christos 	{ 0, 0, 0,
   1093  1.110  christos 	    sys_nosys, 0, 0 },			/* 443 = excluded ____shmctl50 */
   1094   1.82  christos #endif
   1095   1.82  christos #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
   1096   1.82  christos 	{ ns(struct netbsd32___msgctl50_args), 0,
   1097  1.110  christos 	    (sy_call_t *)netbsd32___msgctl50, 0, 0 },	/* 444 = netbsd32___msgctl50 */
   1098   1.82  christos #else
   1099   1.82  christos 	{ 0, 0, 0,
   1100  1.110  christos 	    sys_nosys, 0, 0 },			/* 444 = excluded ____msgctl50 */
   1101   1.82  christos #endif
   1102   1.82  christos 	{ ns(struct netbsd32___getrusage50_args), 0,
   1103  1.110  christos 	    (sy_call_t *)netbsd32___getrusage50, 0, 0 },/* 445 = netbsd32___getrusage50 */
   1104   1.82  christos 	{ ns(struct netbsd32___timer_settime50_args), 0,
   1105  1.110  christos 	    (sy_call_t *)netbsd32___timer_settime50, 0, 0 },/* 446 = netbsd32___timer_settime50 */
   1106   1.82  christos 	{ ns(struct netbsd32___timer_gettime50_args), 0,
   1107  1.110  christos 	    (sy_call_t *)netbsd32___timer_gettime50, 0, 0 },/* 447 = netbsd32___timer_gettime50 */
   1108   1.82  christos #if defined(NTP) || !defined(_KERNEL_OPT)
   1109   1.82  christos 	{ ns(struct netbsd32___ntp_gettime50_args), 0,
   1110  1.110  christos 	    (sy_call_t *)netbsd32___ntp_gettime50, 0, 0 },/* 448 = netbsd32___ntp_gettime50 */
   1111   1.82  christos #else
   1112   1.82  christos 	{ 0, 0, 0,
   1113  1.110  christos 	    sys_nosys, 0, 0 },			/* 448 = excluded ___ntp_gettime50 */
   1114   1.82  christos #endif
   1115   1.82  christos 	{ ns(struct netbsd32___wait450_args), 0,
   1116  1.110  christos 	    (sy_call_t *)netbsd32___wait450, 0, 0 },	/* 449 = netbsd32___wait450 */
   1117   1.82  christos 	{ ns(struct netbsd32___mknod50_args), 0,
   1118  1.110  christos 	    (sy_call_t *)netbsd32___mknod50, 0, 0 },	/* 450 = netbsd32___mknod50 */
   1119   1.82  christos 	{ ns(struct netbsd32___fhstat50_args), 0,
   1120  1.110  christos 	    (sy_call_t *)netbsd32___fhstat50, 0, 0 },	/* 451 = netbsd32___fhstat50 */
   1121   1.97  dholland 	{ 0, 0, 0,
   1122  1.110  christos 	    sys_nosys, 0, 0 },			/* 452 = obsolete 5.99 quotactl */
   1123   1.93     njoly 	{ ns(struct netbsd32_pipe2_args), 0,
   1124  1.110  christos 	    (sy_call_t *)netbsd32_pipe2, 0, 0 },	/* 453 = netbsd32_pipe2 */
   1125   1.94     njoly 	{ ns(struct netbsd32_dup3_args), 0,
   1126  1.110  christos 	    (sy_call_t *)netbsd32_dup3, 0, 0 },	/* 454 = netbsd32_dup3 */
   1127   1.95     njoly 	{ ns(struct netbsd32_kqueue1_args), 0,
   1128  1.110  christos 	    (sy_call_t *)netbsd32_kqueue1, 0, 0 },	/* 455 = netbsd32_kqueue1 */
   1129   1.96      matt 	{ ns(struct netbsd32_paccept_args), 0,
   1130  1.110  christos 	    (sy_call_t *)netbsd32_paccept, 0, 0 },	/* 456 = netbsd32_paccept */
   1131   1.96      matt 	{ ns(struct netbsd32_linkat_args), 0,
   1132  1.110  christos 	    (sy_call_t *)netbsd32_linkat, 0, 0 },	/* 457 = netbsd32_linkat */
   1133   1.96      matt 	{ ns(struct netbsd32_renameat_args), 0,
   1134  1.110  christos 	    (sy_call_t *)netbsd32_renameat, 0, 0 },	/* 458 = netbsd32_renameat */
   1135   1.96      matt 	{ ns(struct netbsd32_mkfifoat_args), 0,
   1136  1.110  christos 	    (sy_call_t *)netbsd32_mkfifoat, 0, 0 },	/* 459 = netbsd32_mkfifoat */
   1137   1.96      matt 	{ ns(struct netbsd32_mknodat_args), 0,
   1138  1.110  christos 	    (sy_call_t *)netbsd32_mknodat, 0, 0 },	/* 460 = netbsd32_mknodat */
   1139   1.96      matt 	{ ns(struct netbsd32_mkdirat_args), 0,
   1140  1.110  christos 	    (sy_call_t *)netbsd32_mkdirat, 0, 0 },	/* 461 = netbsd32_mkdirat */
   1141   1.96      matt 	{ ns(struct netbsd32_faccessat_args), 0,
   1142  1.110  christos 	    (sy_call_t *)netbsd32_faccessat, 0, 0 },	/* 462 = netbsd32_faccessat */
   1143   1.96      matt 	{ ns(struct netbsd32_fchmodat_args), 0,
   1144  1.110  christos 	    (sy_call_t *)netbsd32_fchmodat, 0, 0 },	/* 463 = netbsd32_fchmodat */
   1145   1.96      matt 	{ ns(struct netbsd32_fchownat_args), 0,
   1146  1.110  christos 	    (sy_call_t *)netbsd32_fchownat, 0, 0 },	/* 464 = netbsd32_fchownat */
   1147   1.96      matt 	{ ns(struct netbsd32_fexecve_args), 0,
   1148  1.110  christos 	    (sy_call_t *)netbsd32_fexecve, 0, 0 },	/* 465 = netbsd32_fexecve */
   1149   1.96      matt 	{ ns(struct netbsd32_fstatat_args), 0,
   1150  1.110  christos 	    (sy_call_t *)netbsd32_fstatat, 0, 0 },	/* 466 = netbsd32_fstatat */
   1151   1.96      matt 	{ ns(struct netbsd32_utimensat_args), 0,
   1152  1.110  christos 	    (sy_call_t *)netbsd32_utimensat, 0, 0 },	/* 467 = netbsd32_utimensat */
   1153   1.96      matt 	{ ns(struct netbsd32_openat_args), 0,
   1154  1.110  christos 	    (sy_call_t *)netbsd32_openat, 0, 0 },	/* 468 = netbsd32_openat */
   1155   1.96      matt 	{ ns(struct netbsd32_readlinkat_args), 0,
   1156  1.110  christos 	    (sy_call_t *)netbsd32_readlinkat, 0, 0 },	/* 469 = netbsd32_readlinkat */
   1157   1.96      matt 	{ ns(struct netbsd32_symlinkat_args), 0,
   1158  1.110  christos 	    (sy_call_t *)netbsd32_symlinkat, 0, 0 },	/* 470 = netbsd32_symlinkat */
   1159   1.96      matt 	{ ns(struct netbsd32_unlinkat_args), 0,
   1160  1.110  christos 	    (sy_call_t *)netbsd32_unlinkat, 0, 0 },	/* 471 = netbsd32_unlinkat */
   1161   1.96      matt 	{ ns(struct netbsd32_futimens_args), 0,
   1162  1.110  christos 	    (sy_call_t *)netbsd32_futimens, 0, 0 },	/* 472 = netbsd32_futimens */
   1163   1.98  dholland 	{ ns(struct netbsd32___quotactl_args), 0,
   1164  1.110  christos 	    (sy_call_t *)netbsd32___quotactl, 0, 0 },	/* 473 = netbsd32___quotactl */
   1165  1.102    martin 	{ ns(struct netbsd32_posix_spawn_args), 0,
   1166  1.110  christos 	    (sy_call_t *)netbsd32_posix_spawn, 0, 0 },/* 474 = netbsd32_posix_spawn */
   1167   1.27  jdolecek 	{ 0, 0, 0,
   1168  1.110  christos 	    sys_nosys, 0, 0 },			/* 475 = unimplemented { int | netbsd32 | | recvmmsg ( int s , struct mmsghdr * mmsg , unsigned int vlen , unsigned int flags , netbsd32_timespecp_t timeout ) ; } */
   1169   1.27  jdolecek 	{ 0, 0, 0,
   1170  1.110  christos 	    sys_nosys, 0, 0 },			/* 476 = unimplemented { int | netbsd32 | | sendmmsg ( int s , struct mmsghdr * mmsg , unsigned int vlen , unsigned int flags ) ; } */
   1171  1.103  christos 	{ ns(struct netbsd32_clock_nanosleep_args), 0,
   1172  1.110  christos 	    (sy_call_t *)netbsd32_clock_nanosleep, 0, 0 },/* 477 = netbsd32_clock_nanosleep */
   1173  1.104  christos 	{ ns(struct netbsd32____lwp_park60_args), 0,
   1174  1.110  christos 	    (sy_call_t *)netbsd32____lwp_park60, 0, 0 },/* 478 = netbsd32____lwp_park60 */
   1175   1.27  jdolecek 	{ 0, 0, 0,
   1176  1.110  christos 	    sys_nosys, 0, 0 },			/* 479 = filler */
   1177   1.27  jdolecek 	{ 0, 0, 0,
   1178  1.110  christos 	    sys_nosys, 0, 0 },			/* 480 = filler */
   1179   1.27  jdolecek 	{ 0, 0, 0,
   1180  1.110  christos 	    sys_nosys, 0, 0 },			/* 481 = filler */
   1181   1.27  jdolecek 	{ 0, 0, 0,
   1182  1.110  christos 	    sys_nosys, 0, 0 },			/* 482 = filler */
   1183   1.27  jdolecek 	{ 0, 0, 0,
   1184  1.110  christos 	    sys_nosys, 0, 0 },			/* 483 = filler */
   1185   1.27  jdolecek 	{ 0, 0, 0,
   1186  1.110  christos 	    sys_nosys, 0, 0 },			/* 484 = filler */
   1187   1.27  jdolecek 	{ 0, 0, 0,
   1188  1.110  christos 	    sys_nosys, 0, 0 },			/* 485 = filler */
   1189   1.27  jdolecek 	{ 0, 0, 0,
   1190  1.110  christos 	    sys_nosys, 0, 0 },			/* 486 = filler */
   1191   1.27  jdolecek 	{ 0, 0, 0,
   1192  1.110  christos 	    sys_nosys, 0, 0 },			/* 487 = filler */
   1193   1.27  jdolecek 	{ 0, 0, 0,
   1194  1.110  christos 	    sys_nosys, 0, 0 },			/* 488 = filler */
   1195   1.27  jdolecek 	{ 0, 0, 0,
   1196  1.110  christos 	    sys_nosys, 0, 0 },			/* 489 = filler */
   1197   1.27  jdolecek 	{ 0, 0, 0,
   1198  1.110  christos 	    sys_nosys, 0, 0 },			/* 490 = filler */
   1199   1.27  jdolecek 	{ 0, 0, 0,
   1200  1.110  christos 	    sys_nosys, 0, 0 },			/* 491 = filler */
   1201   1.27  jdolecek 	{ 0, 0, 0,
   1202  1.110  christos 	    sys_nosys, 0, 0 },			/* 492 = filler */
   1203   1.27  jdolecek 	{ 0, 0, 0,
   1204  1.110  christos 	    sys_nosys, 0, 0 },			/* 493 = filler */
   1205   1.27  jdolecek 	{ 0, 0, 0,
   1206  1.110  christos 	    sys_nosys, 0, 0 },			/* 494 = filler */
   1207   1.27  jdolecek 	{ 0, 0, 0,
   1208  1.110  christos 	    sys_nosys, 0, 0 },			/* 495 = filler */
   1209   1.27  jdolecek 	{ 0, 0, 0,
   1210  1.110  christos 	    sys_nosys, 0, 0 },			/* 496 = filler */
   1211   1.27  jdolecek 	{ 0, 0, 0,
   1212  1.110  christos 	    sys_nosys, 0, 0 },			/* 497 = filler */
   1213   1.27  jdolecek 	{ 0, 0, 0,
   1214  1.110  christos 	    sys_nosys, 0, 0 },			/* 498 = filler */
   1215   1.27  jdolecek 	{ 0, 0, 0,
   1216  1.110  christos 	    sys_nosys, 0, 0 },			/* 499 = filler */
   1217   1.27  jdolecek 	{ 0, 0, 0,
   1218  1.110  christos 	    sys_nosys, 0, 0 },			/* 500 = filler */
   1219   1.27  jdolecek 	{ 0, 0, 0,
   1220  1.110  christos 	    sys_nosys, 0, 0 },			/* 501 = filler */
   1221   1.27  jdolecek 	{ 0, 0, 0,
   1222  1.110  christos 	    sys_nosys, 0, 0 },			/* 502 = filler */
   1223   1.27  jdolecek 	{ 0, 0, 0,
   1224  1.110  christos 	    sys_nosys, 0, 0 },			/* 503 = filler */
   1225   1.27  jdolecek 	{ 0, 0, 0,
   1226  1.110  christos 	    sys_nosys, 0, 0 },			/* 504 = filler */
   1227   1.27  jdolecek 	{ 0, 0, 0,
   1228  1.110  christos 	    sys_nosys, 0, 0 },			/* 505 = filler */
   1229   1.27  jdolecek 	{ 0, 0, 0,
   1230  1.110  christos 	    sys_nosys, 0, 0 },			/* 506 = filler */
   1231   1.27  jdolecek 	{ 0, 0, 0,
   1232  1.110  christos 	    sys_nosys, 0, 0 },			/* 507 = filler */
   1233   1.27  jdolecek 	{ 0, 0, 0,
   1234  1.110  christos 	    sys_nosys, 0, 0 },			/* 508 = filler */
   1235   1.27  jdolecek 	{ 0, 0, 0,
   1236  1.110  christos 	    sys_nosys, 0, 0 },			/* 509 = filler */
   1237   1.27  jdolecek 	{ 0, 0, 0,
   1238  1.110  christos 	    sys_nosys, 0, 0 },			/* 510 = filler */
   1239   1.27  jdolecek 	{ 0, 0, 0,
   1240  1.110  christos 	    sys_nosys, 0, 0 },			/* 511 = filler */
   1241    1.1       mrg };
   1242