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