Home | History | Annotate | Line # | Download | only in netbsd32
netbsd32_systrace_args.c revision 1.55
      1  1.31  christos /* $NetBSD: netbsd32_systrace_args.c,v 1.55 2025/05/09 10:20:08 martin Exp $ */
      2   1.1  christos 
      3   1.1  christos /*
      4  1.46  christos  * System call argument to DTrace register array conversion.
      5   1.1  christos  *
      6   1.1  christos  * DO NOT EDIT-- this file is automatically generated.
      7   1.1  christos  * This file is part of the DTrace syscall provider.
      8   1.1  christos  */
      9   1.1  christos 
     10   1.1  christos static void
     11   1.1  christos systrace_args(register_t sysnum, const void *params, uintptr_t *uarg, size_t *n_args)
     12   1.1  christos {
     13   1.1  christos 	intptr_t *iarg  = (intptr_t *)uarg;
     14   1.1  christos 	switch (sysnum) {
     15   1.1  christos 	/* netbsd32_syscall */
     16   1.1  christos 	case 0: {
     17  1.17  christos 		const struct netbsd32_syscall_args *p = params;
     18   1.1  christos 		iarg[0] = SCARG(p, code); /* int */
     19  1.47  christos 		iarg[1] = SCARG(p, args[0]); /* register32_t */
     20   1.1  christos 		*n_args = 2;
     21   1.1  christos 		break;
     22   1.1  christos 	}
     23   1.1  christos 	/* netbsd32_exit */
     24   1.1  christos 	case 1: {
     25  1.17  christos 		const struct netbsd32_exit_args *p = params;
     26   1.1  christos 		iarg[0] = SCARG(p, rval); /* int */
     27   1.1  christos 		*n_args = 1;
     28   1.1  christos 		break;
     29   1.1  christos 	}
     30   1.1  christos 	/* sys_fork */
     31   1.1  christos 	case 2: {
     32   1.1  christos 		*n_args = 0;
     33   1.1  christos 		break;
     34   1.1  christos 	}
     35   1.1  christos 	/* netbsd32_read */
     36   1.1  christos 	case 3: {
     37  1.17  christos 		const struct netbsd32_read_args *p = params;
     38   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
     39   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_voidp */
     40   1.1  christos 		iarg[2] = SCARG(p, nbyte); /* netbsd32_size_t */
     41   1.1  christos 		*n_args = 3;
     42   1.1  christos 		break;
     43   1.1  christos 	}
     44   1.1  christos 	/* netbsd32_write */
     45   1.1  christos 	case 4: {
     46  1.17  christos 		const struct netbsd32_write_args *p = params;
     47   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
     48   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_voidp */
     49   1.1  christos 		iarg[2] = SCARG(p, nbyte); /* netbsd32_size_t */
     50   1.1  christos 		*n_args = 3;
     51   1.1  christos 		break;
     52   1.1  christos 	}
     53   1.1  christos 	/* netbsd32_open */
     54   1.1  christos 	case 5: {
     55  1.17  christos 		const struct netbsd32_open_args *p = params;
     56   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
     57   1.1  christos 		iarg[1] = SCARG(p, flags); /* int */
     58   1.1  christos 		iarg[2] = SCARG(p, mode); /* mode_t */
     59   1.1  christos 		*n_args = 3;
     60   1.1  christos 		break;
     61   1.1  christos 	}
     62   1.1  christos 	/* netbsd32_close */
     63   1.1  christos 	case 6: {
     64  1.17  christos 		const struct netbsd32_close_args *p = params;
     65   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
     66   1.1  christos 		*n_args = 1;
     67   1.1  christos 		break;
     68   1.1  christos 	}
     69   1.1  christos 	/* netbsd32_wait4 */
     70   1.1  christos 	case 7: {
     71  1.17  christos 		const struct compat_50_netbsd32_wait4_args *p = params;
     72   1.1  christos 		iarg[0] = SCARG(p, pid); /* int */
     73   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, status).i32; /* netbsd32_intp */
     74   1.1  christos 		iarg[2] = SCARG(p, options); /* int */
     75   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, rusage).i32; /* netbsd32_rusage50p_t */
     76   1.1  christos 		*n_args = 4;
     77   1.1  christos 		break;
     78   1.1  christos 	}
     79   1.1  christos 	/* netbsd32_ocreat */
     80   1.1  christos 	case 8: {
     81  1.17  christos 		const struct compat_43_netbsd32_ocreat_args *p = params;
     82   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
     83   1.1  christos 		iarg[1] = SCARG(p, mode); /* mode_t */
     84   1.1  christos 		*n_args = 2;
     85   1.1  christos 		break;
     86   1.1  christos 	}
     87   1.1  christos 	/* netbsd32_link */
     88   1.1  christos 	case 9: {
     89  1.17  christos 		const struct netbsd32_link_args *p = params;
     90   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
     91   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, link).i32; /* netbsd32_charp */
     92   1.1  christos 		*n_args = 2;
     93   1.1  christos 		break;
     94   1.1  christos 	}
     95   1.1  christos 	/* netbsd32_unlink */
     96   1.1  christos 	case 10: {
     97  1.17  christos 		const struct netbsd32_unlink_args *p = params;
     98   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
     99   1.1  christos 		*n_args = 1;
    100   1.1  christos 		break;
    101   1.1  christos 	}
    102   1.1  christos 	/* netbsd32_chdir */
    103   1.1  christos 	case 12: {
    104  1.17  christos 		const struct netbsd32_chdir_args *p = params;
    105   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
    106   1.1  christos 		*n_args = 1;
    107   1.1  christos 		break;
    108   1.1  christos 	}
    109   1.1  christos 	/* netbsd32_fchdir */
    110   1.1  christos 	case 13: {
    111  1.17  christos 		const struct netbsd32_fchdir_args *p = params;
    112   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
    113   1.1  christos 		*n_args = 1;
    114   1.1  christos 		break;
    115   1.1  christos 	}
    116   1.1  christos 	/* netbsd32_mknod */
    117   1.1  christos 	case 14: {
    118  1.17  christos 		const struct compat_50_netbsd32_mknod_args *p = params;
    119   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
    120   1.1  christos 		iarg[1] = SCARG(p, mode); /* mode_t */
    121   1.1  christos 		uarg[2] = SCARG(p, dev); /* uint32_t */
    122   1.1  christos 		*n_args = 3;
    123   1.1  christos 		break;
    124   1.1  christos 	}
    125   1.1  christos 	/* netbsd32_chmod */
    126   1.1  christos 	case 15: {
    127  1.17  christos 		const struct netbsd32_chmod_args *p = params;
    128   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
    129   1.1  christos 		iarg[1] = SCARG(p, mode); /* mode_t */
    130   1.1  christos 		*n_args = 2;
    131   1.1  christos 		break;
    132   1.1  christos 	}
    133   1.1  christos 	/* netbsd32_chown */
    134   1.1  christos 	case 16: {
    135  1.17  christos 		const struct netbsd32_chown_args *p = params;
    136   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
    137   1.1  christos 		uarg[1] = SCARG(p, uid); /* uid_t */
    138   1.1  christos 		iarg[2] = SCARG(p, gid); /* gid_t */
    139   1.1  christos 		*n_args = 3;
    140   1.1  christos 		break;
    141   1.1  christos 	}
    142   1.1  christos 	/* netbsd32_break */
    143   1.1  christos 	case 17: {
    144  1.17  christos 		const struct netbsd32_break_args *p = params;
    145   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, nsize).i32; /* netbsd32_charp */
    146   1.1  christos 		*n_args = 1;
    147   1.1  christos 		break;
    148   1.1  christos 	}
    149   1.1  christos 	/* netbsd32_getfsstat */
    150   1.1  christos 	case 18: {
    151  1.17  christos 		const struct compat_20_netbsd32_getfsstat_args *p = params;
    152   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_statfsp_t */
    153   1.1  christos 		iarg[1] = SCARG(p, bufsize); /* netbsd32_long */
    154   1.1  christos 		iarg[2] = SCARG(p, flags); /* int */
    155   1.1  christos 		*n_args = 3;
    156   1.1  christos 		break;
    157   1.1  christos 	}
    158   1.1  christos 	/* netbsd32_olseek */
    159   1.1  christos 	case 19: {
    160  1.17  christos 		const struct compat_43_netbsd32_olseek_args *p = params;
    161   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
    162   1.1  christos 		iarg[1] = SCARG(p, offset); /* netbsd32_long */
    163   1.1  christos 		iarg[2] = SCARG(p, whence); /* int */
    164   1.1  christos 		*n_args = 3;
    165   1.1  christos 		break;
    166   1.1  christos 	}
    167  1.37     kamil 	/* sys_getpid_with_ppid */
    168   1.1  christos 	case 20: {
    169   1.1  christos 		*n_args = 0;
    170   1.1  christos 		break;
    171   1.1  christos 	}
    172   1.1  christos 	/* netbsd32_mount */
    173   1.1  christos 	case 21: {
    174  1.28       mrg 		const struct compat_40_netbsd32_mount_args *p = params;
    175   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, type).i32; /* netbsd32_charp */
    176   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
    177   1.1  christos 		iarg[2] = SCARG(p, flags); /* int */
    178   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, data).i32; /* netbsd32_voidp */
    179   1.1  christos 		*n_args = 4;
    180   1.1  christos 		break;
    181   1.1  christos 	}
    182   1.1  christos 	/* netbsd32_unmount */
    183   1.1  christos 	case 22: {
    184  1.17  christos 		const struct netbsd32_unmount_args *p = params;
    185   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
    186   1.1  christos 		iarg[1] = SCARG(p, flags); /* int */
    187   1.1  christos 		*n_args = 2;
    188   1.1  christos 		break;
    189   1.1  christos 	}
    190   1.1  christos 	/* netbsd32_setuid */
    191   1.1  christos 	case 23: {
    192  1.17  christos 		const struct netbsd32_setuid_args *p = params;
    193   1.1  christos 		uarg[0] = SCARG(p, uid); /* uid_t */
    194   1.1  christos 		*n_args = 1;
    195   1.1  christos 		break;
    196   1.1  christos 	}
    197  1.37     kamil 	/* sys_getuid_with_euid */
    198   1.1  christos 	case 24: {
    199   1.1  christos 		*n_args = 0;
    200   1.1  christos 		break;
    201   1.1  christos 	}
    202   1.1  christos 	/* sys_geteuid */
    203   1.1  christos 	case 25: {
    204   1.1  christos 		*n_args = 0;
    205   1.1  christos 		break;
    206   1.1  christos 	}
    207   1.1  christos 	/* netbsd32_ptrace */
    208   1.1  christos 	case 26: {
    209  1.17  christos 		const struct netbsd32_ptrace_args *p = params;
    210   1.1  christos 		iarg[0] = SCARG(p, req); /* int */
    211   1.1  christos 		iarg[1] = SCARG(p, pid); /* pid_t */
    212   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, addr).i32; /* netbsd32_voidp */
    213   1.1  christos 		iarg[3] = SCARG(p, data); /* int */
    214   1.1  christos 		*n_args = 4;
    215   1.1  christos 		break;
    216   1.1  christos 	}
    217   1.1  christos 	/* netbsd32_recvmsg */
    218   1.1  christos 	case 27: {
    219  1.17  christos 		const struct netbsd32_recvmsg_args *p = params;
    220   1.1  christos 		iarg[0] = SCARG(p, s); /* int */
    221   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, msg).i32; /* netbsd32_msghdrp_t */
    222   1.1  christos 		iarg[2] = SCARG(p, flags); /* int */
    223   1.1  christos 		*n_args = 3;
    224   1.1  christos 		break;
    225   1.1  christos 	}
    226   1.1  christos 	/* netbsd32_sendmsg */
    227   1.1  christos 	case 28: {
    228  1.17  christos 		const struct netbsd32_sendmsg_args *p = params;
    229   1.1  christos 		iarg[0] = SCARG(p, s); /* int */
    230   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, msg).i32; /* netbsd32_msghdrp_t */
    231   1.1  christos 		iarg[2] = SCARG(p, flags); /* int */
    232   1.1  christos 		*n_args = 3;
    233   1.1  christos 		break;
    234   1.1  christos 	}
    235   1.1  christos 	/* netbsd32_recvfrom */
    236   1.1  christos 	case 29: {
    237  1.17  christos 		const struct netbsd32_recvfrom_args *p = params;
    238   1.1  christos 		iarg[0] = SCARG(p, s); /* int */
    239   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_voidp */
    240   1.1  christos 		iarg[2] = SCARG(p, len); /* netbsd32_size_t */
    241   1.1  christos 		iarg[3] = SCARG(p, flags); /* int */
    242   1.1  christos 		uarg[4] = (intptr_t) SCARG(p, from).i32; /* netbsd32_sockaddrp_t */
    243   1.1  christos 		uarg[5] = (intptr_t) SCARG(p, fromlenaddr).i32; /* netbsd32_intp */
    244   1.1  christos 		*n_args = 6;
    245   1.1  christos 		break;
    246   1.1  christos 	}
    247   1.1  christos 	/* netbsd32_accept */
    248   1.1  christos 	case 30: {
    249  1.17  christos 		const struct netbsd32_accept_args *p = params;
    250   1.1  christos 		iarg[0] = SCARG(p, s); /* int */
    251   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_sockaddrp_t */
    252   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, anamelen).i32; /* netbsd32_intp */
    253   1.1  christos 		*n_args = 3;
    254   1.1  christos 		break;
    255   1.1  christos 	}
    256   1.1  christos 	/* netbsd32_getpeername */
    257   1.1  christos 	case 31: {
    258  1.17  christos 		const struct netbsd32_getpeername_args *p = params;
    259   1.1  christos 		iarg[0] = SCARG(p, fdes); /* int */
    260   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, asa).i32; /* netbsd32_sockaddrp_t */
    261   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, alen).i32; /* netbsd32_intp */
    262   1.1  christos 		*n_args = 3;
    263   1.1  christos 		break;
    264   1.1  christos 	}
    265   1.1  christos 	/* netbsd32_getsockname */
    266   1.1  christos 	case 32: {
    267  1.17  christos 		const struct netbsd32_getsockname_args *p = params;
    268   1.1  christos 		iarg[0] = SCARG(p, fdes); /* int */
    269   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, asa).i32; /* netbsd32_sockaddrp_t */
    270   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, alen).i32; /* netbsd32_intp */
    271   1.1  christos 		*n_args = 3;
    272   1.1  christos 		break;
    273   1.1  christos 	}
    274   1.1  christos 	/* netbsd32_access */
    275   1.1  christos 	case 33: {
    276  1.17  christos 		const struct netbsd32_access_args *p = params;
    277   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
    278   1.1  christos 		iarg[1] = SCARG(p, flags); /* int */
    279   1.1  christos 		*n_args = 2;
    280   1.1  christos 		break;
    281   1.1  christos 	}
    282   1.1  christos 	/* netbsd32_chflags */
    283   1.1  christos 	case 34: {
    284  1.17  christos 		const struct netbsd32_chflags_args *p = params;
    285   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
    286   1.1  christos 		iarg[1] = SCARG(p, flags); /* netbsd32_u_long */
    287   1.1  christos 		*n_args = 2;
    288   1.1  christos 		break;
    289   1.1  christos 	}
    290   1.1  christos 	/* netbsd32_fchflags */
    291   1.1  christos 	case 35: {
    292  1.17  christos 		const struct netbsd32_fchflags_args *p = params;
    293   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
    294   1.1  christos 		iarg[1] = SCARG(p, flags); /* netbsd32_u_long */
    295   1.1  christos 		*n_args = 2;
    296   1.1  christos 		break;
    297   1.1  christos 	}
    298   1.1  christos 	/* sys_sync */
    299   1.1  christos 	case 36: {
    300   1.1  christos 		*n_args = 0;
    301   1.1  christos 		break;
    302   1.1  christos 	}
    303   1.1  christos 	/* netbsd32_kill */
    304   1.1  christos 	case 37: {
    305  1.17  christos 		const struct netbsd32_kill_args *p = params;
    306   1.1  christos 		iarg[0] = SCARG(p, pid); /* int */
    307   1.1  christos 		iarg[1] = SCARG(p, signum); /* int */
    308   1.1  christos 		*n_args = 2;
    309   1.1  christos 		break;
    310   1.1  christos 	}
    311   1.1  christos 	/* netbsd32_stat43 */
    312   1.1  christos 	case 38: {
    313  1.17  christos 		const struct compat_43_netbsd32_stat43_args *p = params;
    314   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
    315   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, ub).i32; /* netbsd32_stat43p_t */
    316   1.1  christos 		*n_args = 2;
    317   1.1  christos 		break;
    318   1.1  christos 	}
    319   1.1  christos 	/* sys_getppid */
    320   1.1  christos 	case 39: {
    321   1.1  christos 		*n_args = 0;
    322   1.1  christos 		break;
    323   1.1  christos 	}
    324   1.1  christos 	/* netbsd32_lstat43 */
    325   1.1  christos 	case 40: {
    326  1.17  christos 		const struct compat_43_netbsd32_lstat43_args *p = params;
    327   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
    328   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, ub).i32; /* netbsd32_stat43p_t */
    329   1.1  christos 		*n_args = 2;
    330   1.1  christos 		break;
    331   1.1  christos 	}
    332   1.1  christos 	/* netbsd32_dup */
    333   1.1  christos 	case 41: {
    334  1.17  christos 		const struct netbsd32_dup_args *p = params;
    335   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
    336   1.1  christos 		*n_args = 1;
    337   1.1  christos 		break;
    338   1.1  christos 	}
    339   1.1  christos 	/* sys_pipe */
    340   1.1  christos 	case 42: {
    341   1.1  christos 		*n_args = 0;
    342   1.1  christos 		break;
    343   1.1  christos 	}
    344   1.1  christos 	/* sys_getegid */
    345   1.1  christos 	case 43: {
    346   1.1  christos 		*n_args = 0;
    347   1.1  christos 		break;
    348   1.1  christos 	}
    349   1.1  christos 	/* netbsd32_profil */
    350   1.1  christos 	case 44: {
    351  1.17  christos 		const struct netbsd32_profil_args *p = params;
    352   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, samples).i32; /* netbsd32_voidp */
    353   1.1  christos 		iarg[1] = SCARG(p, size); /* netbsd32_size_t */
    354   1.1  christos 		iarg[2] = SCARG(p, offset); /* netbsd32_u_long */
    355   1.1  christos 		uarg[3] = SCARG(p, scale); /* u_int */
    356   1.1  christos 		*n_args = 4;
    357   1.1  christos 		break;
    358   1.1  christos 	}
    359   1.1  christos 	/* netbsd32_ktrace */
    360   1.1  christos 	case 45: {
    361  1.17  christos 		const struct netbsd32_ktrace_args *p = params;
    362   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, fname).i32; /* netbsd32_charp */
    363   1.1  christos 		iarg[1] = SCARG(p, ops); /* int */
    364   1.1  christos 		iarg[2] = SCARG(p, facs); /* int */
    365   1.1  christos 		iarg[3] = SCARG(p, pid); /* int */
    366   1.1  christos 		*n_args = 4;
    367   1.1  christos 		break;
    368   1.1  christos 	}
    369   1.1  christos 	/* netbsd32_sigaction */
    370   1.1  christos 	case 46: {
    371  1.17  christos 		const struct netbsd32_sigaction_args *p = params;
    372   1.1  christos 		iarg[0] = SCARG(p, signum); /* int */
    373   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, nsa).i32; /* netbsd32_sigactionp_t */
    374   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, osa).i32; /* netbsd32_sigactionp_t */
    375   1.1  christos 		*n_args = 3;
    376   1.1  christos 		break;
    377   1.1  christos 	}
    378  1.37     kamil 	/* sys_getgid_with_egid */
    379   1.1  christos 	case 47: {
    380   1.1  christos 		*n_args = 0;
    381   1.1  christos 		break;
    382   1.1  christos 	}
    383   1.1  christos 	/* netbsd32_sigprocmask */
    384   1.1  christos 	case 48: {
    385  1.17  christos 		const struct compat_13_netbsd32_sigprocmask_args *p = params;
    386   1.1  christos 		iarg[0] = SCARG(p, how); /* int */
    387   1.1  christos 		iarg[1] = SCARG(p, mask); /* int */
    388   1.1  christos 		*n_args = 2;
    389   1.1  christos 		break;
    390   1.1  christos 	}
    391   1.1  christos 	/* netbsd32___getlogin */
    392   1.1  christos 	case 49: {
    393  1.17  christos 		const struct netbsd32___getlogin_args *p = params;
    394   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, namebuf).i32; /* netbsd32_charp */
    395   1.1  christos 		uarg[1] = SCARG(p, namelen); /* u_int */
    396   1.1  christos 		*n_args = 2;
    397   1.1  christos 		break;
    398   1.1  christos 	}
    399   1.1  christos 	/* netbsd32_setlogin */
    400   1.1  christos 	case 50: {
    401  1.17  christos 		const struct netbsd32_setlogin_args *p = params;
    402   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, namebuf).i32; /* netbsd32_charp */
    403   1.1  christos 		*n_args = 1;
    404   1.1  christos 		break;
    405   1.1  christos 	}
    406   1.1  christos 	/* netbsd32_acct */
    407   1.1  christos 	case 51: {
    408  1.17  christos 		const struct netbsd32_acct_args *p = params;
    409   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
    410   1.1  christos 		*n_args = 1;
    411   1.1  christos 		break;
    412   1.1  christos 	}
    413   1.1  christos 	/* sys_sigpending */
    414   1.1  christos 	case 52: {
    415   1.1  christos 		*n_args = 0;
    416   1.1  christos 		break;
    417   1.1  christos 	}
    418   1.1  christos 	/* netbsd32_sigaltstack13 */
    419   1.1  christos 	case 53: {
    420  1.17  christos 		const struct compat_13_netbsd32_sigaltstack13_args *p = params;
    421   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, nss).i32; /* netbsd32_sigaltstack13p_t */
    422   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, oss).i32; /* netbsd32_sigaltstack13p_t */
    423   1.1  christos 		*n_args = 2;
    424   1.1  christos 		break;
    425   1.1  christos 	}
    426   1.1  christos 	/* netbsd32_ioctl */
    427   1.1  christos 	case 54: {
    428  1.17  christos 		const struct netbsd32_ioctl_args *p = params;
    429   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
    430   1.1  christos 		iarg[1] = SCARG(p, com); /* netbsd32_u_long */
    431   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, data).i32; /* netbsd32_voidp */
    432   1.1  christos 		*n_args = 3;
    433   1.1  christos 		break;
    434   1.1  christos 	}
    435   1.1  christos 	/* netbsd32_reboot */
    436   1.1  christos 	case 55: {
    437  1.17  christos 		const struct compat_12_netbsd32_reboot_args *p = params;
    438   1.1  christos 		iarg[0] = SCARG(p, opt); /* int */
    439   1.1  christos 		*n_args = 1;
    440   1.1  christos 		break;
    441   1.1  christos 	}
    442   1.1  christos 	/* netbsd32_revoke */
    443   1.1  christos 	case 56: {
    444  1.17  christos 		const struct netbsd32_revoke_args *p = params;
    445   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
    446   1.1  christos 		*n_args = 1;
    447   1.1  christos 		break;
    448   1.1  christos 	}
    449   1.1  christos 	/* netbsd32_symlink */
    450   1.1  christos 	case 57: {
    451  1.17  christos 		const struct netbsd32_symlink_args *p = params;
    452   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
    453   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, link).i32; /* netbsd32_charp */
    454   1.1  christos 		*n_args = 2;
    455   1.1  christos 		break;
    456   1.1  christos 	}
    457   1.1  christos 	/* netbsd32_readlink */
    458   1.1  christos 	case 58: {
    459  1.17  christos 		const struct netbsd32_readlink_args *p = params;
    460   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
    461   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_charp */
    462   1.1  christos 		iarg[2] = SCARG(p, count); /* netbsd32_size_t */
    463   1.1  christos 		*n_args = 3;
    464   1.1  christos 		break;
    465   1.1  christos 	}
    466   1.1  christos 	/* netbsd32_execve */
    467   1.1  christos 	case 59: {
    468  1.17  christos 		const struct netbsd32_execve_args *p = params;
    469   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
    470   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, argp).i32; /* netbsd32_charpp */
    471   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, envp).i32; /* netbsd32_charpp */
    472   1.1  christos 		*n_args = 3;
    473   1.1  christos 		break;
    474   1.1  christos 	}
    475   1.1  christos 	/* netbsd32_umask */
    476   1.1  christos 	case 60: {
    477  1.17  christos 		const struct netbsd32_umask_args *p = params;
    478   1.1  christos 		iarg[0] = SCARG(p, newmask); /* mode_t */
    479   1.1  christos 		*n_args = 1;
    480   1.1  christos 		break;
    481   1.1  christos 	}
    482   1.1  christos 	/* netbsd32_chroot */
    483   1.1  christos 	case 61: {
    484  1.17  christos 		const struct netbsd32_chroot_args *p = params;
    485   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
    486   1.1  christos 		*n_args = 1;
    487   1.1  christos 		break;
    488   1.1  christos 	}
    489   1.1  christos 	/* netbsd32_fstat43 */
    490   1.1  christos 	case 62: {
    491  1.17  christos 		const struct compat_43_netbsd32_fstat43_args *p = params;
    492   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
    493   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, sb).i32; /* netbsd32_stat43p_t */
    494   1.1  christos 		*n_args = 2;
    495   1.1  christos 		break;
    496   1.1  christos 	}
    497   1.1  christos 	/* netbsd32_ogetkerninfo */
    498   1.1  christos 	case 63: {
    499  1.17  christos 		const struct compat_43_netbsd32_ogetkerninfo_args *p = params;
    500   1.1  christos 		iarg[0] = SCARG(p, op); /* int */
    501   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, where).i32; /* netbsd32_charp */
    502   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, size).i32; /* netbsd32_intp */
    503   1.1  christos 		iarg[3] = SCARG(p, arg); /* int */
    504   1.1  christos 		*n_args = 4;
    505   1.1  christos 		break;
    506   1.1  christos 	}
    507   1.1  christos 	/* sys_getpagesize */
    508   1.1  christos 	case 64: {
    509   1.1  christos 		*n_args = 0;
    510   1.1  christos 		break;
    511   1.1  christos 	}
    512   1.1  christos 	/* netbsd32_msync */
    513   1.1  christos 	case 65: {
    514  1.17  christos 		const struct compat_12_netbsd32_msync_args *p = params;
    515   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, addr).i32; /* netbsd32_voidp */
    516   1.1  christos 		iarg[1] = SCARG(p, len); /* netbsd32_size_t */
    517   1.1  christos 		*n_args = 2;
    518   1.1  christos 		break;
    519   1.1  christos 	}
    520   1.1  christos 	/* sys_vfork */
    521   1.1  christos 	case 66: {
    522   1.1  christos 		*n_args = 0;
    523   1.1  christos 		break;
    524   1.1  christos 	}
    525   1.1  christos 	/* netbsd32_ommap */
    526   1.1  christos 	case 71: {
    527  1.17  christos 		const struct compat_43_netbsd32_ommap_args *p = params;
    528   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, addr).i32; /* netbsd32_voidp */
    529   1.1  christos 		iarg[1] = SCARG(p, len); /* netbsd32_size_t */
    530   1.1  christos 		iarg[2] = SCARG(p, prot); /* int */
    531   1.1  christos 		iarg[3] = SCARG(p, flags); /* int */
    532   1.1  christos 		iarg[4] = SCARG(p, fd); /* int */
    533   1.1  christos 		iarg[5] = SCARG(p, pos); /* netbsd32_long */
    534   1.1  christos 		*n_args = 6;
    535   1.1  christos 		break;
    536   1.1  christos 	}
    537  1.24     kamil 	/* netbsd32_ovadvise */
    538  1.24     kamil 	case 72: {
    539  1.24     kamil 		const struct netbsd32_ovadvise_args *p = params;
    540  1.24     kamil 		iarg[0] = SCARG(p, anom); /* int */
    541  1.24     kamil 		*n_args = 1;
    542  1.24     kamil 		break;
    543  1.24     kamil 	}
    544   1.1  christos 	/* netbsd32_munmap */
    545   1.1  christos 	case 73: {
    546  1.17  christos 		const struct netbsd32_munmap_args *p = params;
    547   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, addr).i32; /* netbsd32_voidp */
    548   1.1  christos 		iarg[1] = SCARG(p, len); /* netbsd32_size_t */
    549   1.1  christos 		*n_args = 2;
    550   1.1  christos 		break;
    551   1.1  christos 	}
    552   1.1  christos 	/* netbsd32_mprotect */
    553   1.1  christos 	case 74: {
    554  1.17  christos 		const struct netbsd32_mprotect_args *p = params;
    555   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, addr).i32; /* netbsd32_voidp */
    556   1.1  christos 		iarg[1] = SCARG(p, len); /* netbsd32_size_t */
    557   1.1  christos 		iarg[2] = SCARG(p, prot); /* int */
    558   1.1  christos 		*n_args = 3;
    559   1.1  christos 		break;
    560   1.1  christos 	}
    561   1.1  christos 	/* netbsd32_madvise */
    562   1.1  christos 	case 75: {
    563  1.17  christos 		const struct netbsd32_madvise_args *p = params;
    564   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, addr).i32; /* netbsd32_voidp */
    565   1.1  christos 		iarg[1] = SCARG(p, len); /* netbsd32_size_t */
    566   1.1  christos 		iarg[2] = SCARG(p, behav); /* int */
    567   1.1  christos 		*n_args = 3;
    568   1.1  christos 		break;
    569   1.1  christos 	}
    570   1.1  christos 	/* netbsd32_mincore */
    571   1.1  christos 	case 78: {
    572  1.17  christos 		const struct netbsd32_mincore_args *p = params;
    573   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, addr).i32; /* netbsd32_voidp */
    574   1.1  christos 		iarg[1] = SCARG(p, len); /* netbsd32_size_t */
    575   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, vec).i32; /* netbsd32_charp */
    576   1.1  christos 		*n_args = 3;
    577   1.1  christos 		break;
    578   1.1  christos 	}
    579   1.1  christos 	/* netbsd32_getgroups */
    580   1.1  christos 	case 79: {
    581  1.17  christos 		const struct netbsd32_getgroups_args *p = params;
    582   1.1  christos 		iarg[0] = SCARG(p, gidsetsize); /* int */
    583   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, gidset).i32; /* netbsd32_gid_tp */
    584   1.1  christos 		*n_args = 2;
    585   1.1  christos 		break;
    586   1.1  christos 	}
    587   1.1  christos 	/* netbsd32_setgroups */
    588   1.1  christos 	case 80: {
    589  1.17  christos 		const struct netbsd32_setgroups_args *p = params;
    590   1.1  christos 		iarg[0] = SCARG(p, gidsetsize); /* int */
    591   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, gidset).i32; /* netbsd32_gid_tp */
    592   1.1  christos 		*n_args = 2;
    593   1.1  christos 		break;
    594   1.1  christos 	}
    595   1.1  christos 	/* sys_getpgrp */
    596   1.1  christos 	case 81: {
    597   1.1  christos 		*n_args = 0;
    598   1.1  christos 		break;
    599   1.1  christos 	}
    600   1.1  christos 	/* netbsd32_setpgid */
    601   1.1  christos 	case 82: {
    602  1.17  christos 		const struct netbsd32_setpgid_args *p = params;
    603   1.1  christos 		iarg[0] = SCARG(p, pid); /* int */
    604   1.1  christos 		iarg[1] = SCARG(p, pgid); /* int */
    605   1.1  christos 		*n_args = 2;
    606   1.1  christos 		break;
    607   1.1  christos 	}
    608   1.1  christos 	/* netbsd32_setitimer */
    609   1.1  christos 	case 83: {
    610  1.17  christos 		const struct compat_50_netbsd32_setitimer_args *p = params;
    611   1.1  christos 		iarg[0] = SCARG(p, which); /* int */
    612   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, itv).i32; /* netbsd32_itimerval50p_t */
    613   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, oitv).i32; /* netbsd32_itimerval50p_t */
    614   1.1  christos 		*n_args = 3;
    615   1.1  christos 		break;
    616   1.1  christos 	}
    617   1.1  christos 	/* sys_wait */
    618   1.1  christos 	case 84: {
    619   1.1  christos 		*n_args = 0;
    620   1.1  christos 		break;
    621   1.1  christos 	}
    622   1.1  christos 	/* netbsd32_oswapon */
    623   1.1  christos 	case 85: {
    624  1.17  christos 		const struct compat_12_netbsd32_oswapon_args *p = params;
    625   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
    626   1.1  christos 		*n_args = 1;
    627   1.1  christos 		break;
    628   1.1  christos 	}
    629   1.1  christos 	/* netbsd32_getitimer */
    630   1.1  christos 	case 86: {
    631  1.17  christos 		const struct compat_50_netbsd32_getitimer_args *p = params;
    632   1.1  christos 		iarg[0] = SCARG(p, which); /* int */
    633   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, itv).i32; /* netbsd32_itimerval50p_t */
    634   1.1  christos 		*n_args = 2;
    635   1.1  christos 		break;
    636   1.1  christos 	}
    637   1.1  christos 	/* netbsd32_ogethostname */
    638   1.1  christos 	case 87: {
    639  1.17  christos 		const struct compat_43_netbsd32_ogethostname_args *p = params;
    640   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, hostname).i32; /* netbsd32_charp */
    641   1.1  christos 		uarg[1] = SCARG(p, len); /* u_int */
    642   1.1  christos 		*n_args = 2;
    643   1.1  christos 		break;
    644   1.1  christos 	}
    645   1.1  christos 	/* netbsd32_osethostname */
    646   1.1  christos 	case 88: {
    647  1.17  christos 		const struct compat_43_netbsd32_osethostname_args *p = params;
    648   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, hostname).i32; /* netbsd32_charp */
    649   1.1  christos 		uarg[1] = SCARG(p, len); /* u_int */
    650   1.1  christos 		*n_args = 2;
    651   1.1  christos 		break;
    652   1.1  christos 	}
    653   1.1  christos 	/* sys_getdtablesize */
    654   1.1  christos 	case 89: {
    655   1.1  christos 		*n_args = 0;
    656   1.1  christos 		break;
    657   1.1  christos 	}
    658   1.1  christos 	/* netbsd32_dup2 */
    659   1.1  christos 	case 90: {
    660  1.17  christos 		const struct netbsd32_dup2_args *p = params;
    661   1.1  christos 		iarg[0] = SCARG(p, from); /* int */
    662   1.1  christos 		iarg[1] = SCARG(p, to); /* int */
    663   1.1  christos 		*n_args = 2;
    664   1.1  christos 		break;
    665   1.1  christos 	}
    666  1.45       rin 	/* netbsd32_getrandom */
    667  1.45       rin 	case 91: {
    668  1.45       rin 		const struct netbsd32_getrandom_args *p = params;
    669  1.45       rin 		uarg[0] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_voidp */
    670  1.45       rin 		iarg[1] = SCARG(p, buflen); /* netbsd32_size_t */
    671  1.45       rin 		uarg[2] = SCARG(p, flags); /* unsigned int */
    672  1.45       rin 		*n_args = 3;
    673  1.45       rin 		break;
    674  1.45       rin 	}
    675   1.1  christos 	/* netbsd32_fcntl */
    676   1.1  christos 	case 92: {
    677  1.17  christos 		const struct netbsd32_fcntl_args *p = params;
    678   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
    679   1.1  christos 		iarg[1] = SCARG(p, cmd); /* int */
    680   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, arg).i32; /* netbsd32_voidp */
    681   1.1  christos 		*n_args = 3;
    682   1.1  christos 		break;
    683   1.1  christos 	}
    684   1.1  christos 	/* netbsd32_select */
    685   1.1  christos 	case 93: {
    686  1.17  christos 		const struct compat_50_netbsd32_select_args *p = params;
    687   1.1  christos 		iarg[0] = SCARG(p, nd); /* int */
    688   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, in).i32; /* netbsd32_fd_setp_t */
    689   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, ou).i32; /* netbsd32_fd_setp_t */
    690   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, ex).i32; /* netbsd32_fd_setp_t */
    691   1.1  christos 		uarg[4] = (intptr_t) SCARG(p, tv).i32; /* netbsd32_timeval50p_t */
    692   1.1  christos 		*n_args = 5;
    693   1.1  christos 		break;
    694   1.1  christos 	}
    695   1.1  christos 	/* netbsd32_fsync */
    696   1.1  christos 	case 95: {
    697  1.17  christos 		const struct netbsd32_fsync_args *p = params;
    698   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
    699   1.1  christos 		*n_args = 1;
    700   1.1  christos 		break;
    701   1.1  christos 	}
    702   1.1  christos 	/* netbsd32_setpriority */
    703   1.1  christos 	case 96: {
    704  1.17  christos 		const struct netbsd32_setpriority_args *p = params;
    705   1.1  christos 		iarg[0] = SCARG(p, which); /* int */
    706   1.1  christos 		iarg[1] = SCARG(p, who); /* int */
    707   1.1  christos 		iarg[2] = SCARG(p, prio); /* int */
    708   1.1  christos 		*n_args = 3;
    709   1.1  christos 		break;
    710   1.1  christos 	}
    711   1.1  christos 	/* netbsd32_socket */
    712   1.1  christos 	case 97: {
    713  1.17  christos 		const struct compat_30_netbsd32_socket_args *p = params;
    714   1.1  christos 		iarg[0] = SCARG(p, domain); /* int */
    715   1.1  christos 		iarg[1] = SCARG(p, type); /* int */
    716   1.1  christos 		iarg[2] = SCARG(p, protocol); /* int */
    717   1.1  christos 		*n_args = 3;
    718   1.1  christos 		break;
    719   1.1  christos 	}
    720   1.1  christos 	/* netbsd32_connect */
    721   1.1  christos 	case 98: {
    722  1.17  christos 		const struct netbsd32_connect_args *p = params;
    723   1.1  christos 		iarg[0] = SCARG(p, s); /* int */
    724   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_sockaddrp_t */
    725   1.1  christos 		iarg[2] = SCARG(p, namelen); /* int */
    726   1.1  christos 		*n_args = 3;
    727   1.1  christos 		break;
    728   1.1  christos 	}
    729   1.1  christos 	/* netbsd32_oaccept */
    730   1.1  christos 	case 99: {
    731  1.17  christos 		const struct compat_43_netbsd32_oaccept_args *p = params;
    732   1.1  christos 		iarg[0] = SCARG(p, s); /* int */
    733   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_voidp */
    734   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, anamelen).i32; /* netbsd32_intp */
    735   1.1  christos 		*n_args = 3;
    736   1.1  christos 		break;
    737   1.1  christos 	}
    738   1.1  christos 	/* netbsd32_getpriority */
    739   1.1  christos 	case 100: {
    740  1.17  christos 		const struct netbsd32_getpriority_args *p = params;
    741   1.1  christos 		iarg[0] = SCARG(p, which); /* int */
    742   1.1  christos 		iarg[1] = SCARG(p, who); /* int */
    743   1.1  christos 		*n_args = 2;
    744   1.1  christos 		break;
    745   1.1  christos 	}
    746   1.1  christos 	/* netbsd32_osend */
    747   1.1  christos 	case 101: {
    748  1.17  christos 		const struct compat_43_netbsd32_osend_args *p = params;
    749   1.1  christos 		iarg[0] = SCARG(p, s); /* int */
    750   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_voidp */
    751   1.1  christos 		iarg[2] = SCARG(p, len); /* int */
    752   1.1  christos 		iarg[3] = SCARG(p, flags); /* int */
    753   1.1  christos 		*n_args = 4;
    754   1.1  christos 		break;
    755   1.1  christos 	}
    756   1.1  christos 	/* netbsd32_orecv */
    757   1.1  christos 	case 102: {
    758  1.17  christos 		const struct compat_43_netbsd32_orecv_args *p = params;
    759   1.1  christos 		iarg[0] = SCARG(p, s); /* int */
    760   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_voidp */
    761   1.1  christos 		iarg[2] = SCARG(p, len); /* int */
    762   1.1  christos 		iarg[3] = SCARG(p, flags); /* int */
    763   1.1  christos 		*n_args = 4;
    764   1.1  christos 		break;
    765   1.1  christos 	}
    766   1.1  christos 	/* netbsd32_sigreturn */
    767   1.1  christos 	case 103: {
    768  1.17  christos 		const struct compat_13_netbsd32_sigreturn_args *p = params;
    769   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, sigcntxp).i32; /* netbsd32_sigcontextp_t */
    770   1.1  christos 		*n_args = 1;
    771   1.1  christos 		break;
    772   1.1  christos 	}
    773   1.1  christos 	/* netbsd32_bind */
    774   1.1  christos 	case 104: {
    775  1.17  christos 		const struct netbsd32_bind_args *p = params;
    776   1.1  christos 		iarg[0] = SCARG(p, s); /* int */
    777   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_sockaddrp_t */
    778   1.1  christos 		iarg[2] = SCARG(p, namelen); /* int */
    779   1.1  christos 		*n_args = 3;
    780   1.1  christos 		break;
    781   1.1  christos 	}
    782   1.1  christos 	/* netbsd32_setsockopt */
    783   1.1  christos 	case 105: {
    784  1.17  christos 		const struct netbsd32_setsockopt_args *p = params;
    785   1.1  christos 		iarg[0] = SCARG(p, s); /* int */
    786   1.1  christos 		iarg[1] = SCARG(p, level); /* int */
    787   1.1  christos 		iarg[2] = SCARG(p, name); /* int */
    788   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, val).i32; /* netbsd32_voidp */
    789   1.1  christos 		iarg[4] = SCARG(p, valsize); /* int */
    790   1.1  christos 		*n_args = 5;
    791   1.1  christos 		break;
    792   1.1  christos 	}
    793   1.1  christos 	/* netbsd32_listen */
    794   1.1  christos 	case 106: {
    795  1.17  christos 		const struct netbsd32_listen_args *p = params;
    796   1.1  christos 		iarg[0] = SCARG(p, s); /* int */
    797   1.1  christos 		iarg[1] = SCARG(p, backlog); /* int */
    798   1.1  christos 		*n_args = 2;
    799   1.1  christos 		break;
    800   1.1  christos 	}
    801   1.1  christos 	/* netbsd32_osigvec */
    802   1.1  christos 	case 108: {
    803  1.17  christos 		const struct compat_43_netbsd32_osigvec_args *p = params;
    804   1.1  christos 		iarg[0] = SCARG(p, signum); /* int */
    805   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, nsv).i32; /* netbsd32_sigvecp_t */
    806   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, osv).i32; /* netbsd32_sigvecp_t */
    807   1.1  christos 		*n_args = 3;
    808   1.1  christos 		break;
    809   1.1  christos 	}
    810   1.1  christos 	/* netbsd32_sigblock */
    811   1.1  christos 	case 109: {
    812  1.17  christos 		const struct compat_43_netbsd32_sigblock_args *p = params;
    813   1.1  christos 		iarg[0] = SCARG(p, mask); /* int */
    814   1.1  christos 		*n_args = 1;
    815   1.1  christos 		break;
    816   1.1  christos 	}
    817   1.1  christos 	/* netbsd32_sigsetmask */
    818   1.1  christos 	case 110: {
    819  1.17  christos 		const struct compat_43_netbsd32_sigsetmask_args *p = params;
    820   1.1  christos 		iarg[0] = SCARG(p, mask); /* int */
    821   1.1  christos 		*n_args = 1;
    822   1.1  christos 		break;
    823   1.1  christos 	}
    824   1.1  christos 	/* netbsd32_sigsuspend */
    825   1.1  christos 	case 111: {
    826  1.17  christos 		const struct compat_13_netbsd32_sigsuspend_args *p = params;
    827   1.1  christos 		iarg[0] = SCARG(p, mask); /* int */
    828   1.1  christos 		*n_args = 1;
    829   1.1  christos 		break;
    830   1.1  christos 	}
    831   1.1  christos 	/* netbsd32_osigstack */
    832   1.1  christos 	case 112: {
    833  1.17  christos 		const struct compat_43_netbsd32_osigstack_args *p = params;
    834   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, nss).i32; /* netbsd32_sigstackp_t */
    835   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, oss).i32; /* netbsd32_sigstackp_t */
    836   1.1  christos 		*n_args = 2;
    837   1.1  christos 		break;
    838   1.1  christos 	}
    839   1.1  christos 	/* netbsd32_orecvmsg */
    840   1.1  christos 	case 113: {
    841  1.17  christos 		const struct compat_43_netbsd32_orecvmsg_args *p = params;
    842   1.1  christos 		iarg[0] = SCARG(p, s); /* int */
    843   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, msg).i32; /* netbsd32_omsghdrp_t */
    844   1.1  christos 		iarg[2] = SCARG(p, flags); /* int */
    845   1.1  christos 		*n_args = 3;
    846   1.1  christos 		break;
    847   1.1  christos 	}
    848   1.1  christos 	/* netbsd32_osendmsg */
    849   1.1  christos 	case 114: {
    850  1.17  christos 		const struct compat_43_netbsd32_osendmsg_args *p = params;
    851   1.1  christos 		iarg[0] = SCARG(p, s); /* int */
    852   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, msg).i32; /* netbsd32_voidp */
    853   1.1  christos 		iarg[2] = SCARG(p, flags); /* int */
    854   1.1  christos 		*n_args = 3;
    855   1.1  christos 		break;
    856   1.1  christos 	}
    857   1.1  christos 	/* netbsd32_gettimeofday */
    858   1.1  christos 	case 116: {
    859  1.17  christos 		const struct compat_50_netbsd32_gettimeofday_args *p = params;
    860   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, tp).i32; /* netbsd32_timeval50p_t */
    861   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tzp).i32; /* netbsd32_timezonep_t */
    862   1.1  christos 		*n_args = 2;
    863   1.1  christos 		break;
    864   1.1  christos 	}
    865   1.1  christos 	/* netbsd32_getrusage */
    866   1.1  christos 	case 117: {
    867  1.17  christos 		const struct compat_50_netbsd32_getrusage_args *p = params;
    868   1.1  christos 		iarg[0] = SCARG(p, who); /* int */
    869   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, rusage).i32; /* netbsd32_rusage50p_t */
    870   1.1  christos 		*n_args = 2;
    871   1.1  christos 		break;
    872   1.1  christos 	}
    873   1.1  christos 	/* netbsd32_getsockopt */
    874   1.1  christos 	case 118: {
    875  1.17  christos 		const struct netbsd32_getsockopt_args *p = params;
    876   1.1  christos 		iarg[0] = SCARG(p, s); /* int */
    877   1.1  christos 		iarg[1] = SCARG(p, level); /* int */
    878   1.1  christos 		iarg[2] = SCARG(p, name); /* int */
    879   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, val).i32; /* netbsd32_voidp */
    880   1.1  christos 		uarg[4] = (intptr_t) SCARG(p, avalsize).i32; /* netbsd32_intp */
    881   1.1  christos 		*n_args = 5;
    882   1.1  christos 		break;
    883   1.1  christos 	}
    884   1.1  christos 	/* netbsd32_readv */
    885   1.1  christos 	case 120: {
    886  1.17  christos 		const struct netbsd32_readv_args *p = params;
    887   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
    888   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, iovp).i32; /* netbsd32_iovecp_t */
    889   1.1  christos 		iarg[2] = SCARG(p, iovcnt); /* int */
    890   1.1  christos 		*n_args = 3;
    891   1.1  christos 		break;
    892   1.1  christos 	}
    893   1.1  christos 	/* netbsd32_writev */
    894   1.1  christos 	case 121: {
    895  1.17  christos 		const struct netbsd32_writev_args *p = params;
    896   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
    897   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, iovp).i32; /* netbsd32_iovecp_t */
    898   1.1  christos 		iarg[2] = SCARG(p, iovcnt); /* int */
    899   1.1  christos 		*n_args = 3;
    900   1.1  christos 		break;
    901   1.1  christos 	}
    902   1.1  christos 	/* netbsd32_settimeofday */
    903   1.1  christos 	case 122: {
    904  1.17  christos 		const struct compat_50_netbsd32_settimeofday_args *p = params;
    905   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, tv).i32; /* netbsd32_timeval50p_t */
    906   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tzp).i32; /* netbsd32_timezonep_t */
    907   1.1  christos 		*n_args = 2;
    908   1.1  christos 		break;
    909   1.1  christos 	}
    910   1.1  christos 	/* netbsd32_fchown */
    911   1.1  christos 	case 123: {
    912  1.17  christos 		const struct netbsd32_fchown_args *p = params;
    913   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
    914   1.1  christos 		uarg[1] = SCARG(p, uid); /* uid_t */
    915   1.1  christos 		iarg[2] = SCARG(p, gid); /* gid_t */
    916   1.1  christos 		*n_args = 3;
    917   1.1  christos 		break;
    918   1.1  christos 	}
    919   1.1  christos 	/* netbsd32_fchmod */
    920   1.1  christos 	case 124: {
    921  1.17  christos 		const struct netbsd32_fchmod_args *p = params;
    922   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
    923   1.1  christos 		iarg[1] = SCARG(p, mode); /* mode_t */
    924   1.1  christos 		*n_args = 2;
    925   1.1  christos 		break;
    926   1.1  christos 	}
    927   1.1  christos 	/* netbsd32_orecvfrom */
    928   1.1  christos 	case 125: {
    929  1.17  christos 		const struct compat_43_netbsd32_orecvfrom_args *p = params;
    930   1.1  christos 		iarg[0] = SCARG(p, s); /* int */
    931   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_voidp */
    932   1.1  christos 		iarg[2] = SCARG(p, len); /* netbsd32_size_t */
    933   1.1  christos 		iarg[3] = SCARG(p, flags); /* int */
    934   1.1  christos 		uarg[4] = (intptr_t) SCARG(p, from).i32; /* netbsd32_voidp */
    935   1.1  christos 		uarg[5] = (intptr_t) SCARG(p, fromlenaddr).i32; /* netbsd32_intp */
    936   1.1  christos 		*n_args = 6;
    937   1.1  christos 		break;
    938   1.1  christos 	}
    939   1.1  christos 	/* netbsd32_setreuid */
    940   1.1  christos 	case 126: {
    941  1.17  christos 		const struct netbsd32_setreuid_args *p = params;
    942   1.1  christos 		uarg[0] = SCARG(p, ruid); /* uid_t */
    943   1.1  christos 		uarg[1] = SCARG(p, euid); /* uid_t */
    944   1.1  christos 		*n_args = 2;
    945   1.1  christos 		break;
    946   1.1  christos 	}
    947   1.1  christos 	/* netbsd32_setregid */
    948   1.1  christos 	case 127: {
    949  1.17  christos 		const struct netbsd32_setregid_args *p = params;
    950   1.1  christos 		iarg[0] = SCARG(p, rgid); /* gid_t */
    951   1.1  christos 		iarg[1] = SCARG(p, egid); /* gid_t */
    952   1.1  christos 		*n_args = 2;
    953   1.1  christos 		break;
    954   1.1  christos 	}
    955   1.1  christos 	/* netbsd32_rename */
    956   1.1  christos 	case 128: {
    957  1.17  christos 		const struct netbsd32_rename_args *p = params;
    958   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, from).i32; /* netbsd32_charp */
    959   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, to).i32; /* netbsd32_charp */
    960   1.1  christos 		*n_args = 2;
    961   1.1  christos 		break;
    962   1.1  christos 	}
    963   1.1  christos 	/* netbsd32_otruncate */
    964   1.1  christos 	case 129: {
    965  1.17  christos 		const struct compat_43_netbsd32_otruncate_args *p = params;
    966   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
    967   1.1  christos 		iarg[1] = SCARG(p, length); /* netbsd32_long */
    968   1.1  christos 		*n_args = 2;
    969   1.1  christos 		break;
    970   1.1  christos 	}
    971   1.1  christos 	/* netbsd32_oftruncate */
    972   1.1  christos 	case 130: {
    973  1.17  christos 		const struct compat_43_netbsd32_oftruncate_args *p = params;
    974   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
    975   1.1  christos 		iarg[1] = SCARG(p, length); /* netbsd32_long */
    976   1.1  christos 		*n_args = 2;
    977   1.1  christos 		break;
    978   1.1  christos 	}
    979   1.1  christos 	/* netbsd32_flock */
    980   1.1  christos 	case 131: {
    981  1.17  christos 		const struct netbsd32_flock_args *p = params;
    982   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
    983   1.1  christos 		iarg[1] = SCARG(p, how); /* int */
    984   1.1  christos 		*n_args = 2;
    985   1.1  christos 		break;
    986   1.1  christos 	}
    987   1.1  christos 	/* netbsd32_mkfifo */
    988   1.1  christos 	case 132: {
    989  1.17  christos 		const struct netbsd32_mkfifo_args *p = params;
    990   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
    991   1.1  christos 		iarg[1] = SCARG(p, mode); /* mode_t */
    992   1.1  christos 		*n_args = 2;
    993   1.1  christos 		break;
    994   1.1  christos 	}
    995   1.1  christos 	/* netbsd32_sendto */
    996   1.1  christos 	case 133: {
    997  1.17  christos 		const struct netbsd32_sendto_args *p = params;
    998   1.1  christos 		iarg[0] = SCARG(p, s); /* int */
    999   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_voidp */
   1000   1.1  christos 		iarg[2] = SCARG(p, len); /* netbsd32_size_t */
   1001   1.1  christos 		iarg[3] = SCARG(p, flags); /* int */
   1002   1.1  christos 		uarg[4] = (intptr_t) SCARG(p, to).i32; /* netbsd32_sockaddrp_t */
   1003   1.1  christos 		iarg[5] = SCARG(p, tolen); /* int */
   1004   1.1  christos 		*n_args = 6;
   1005   1.1  christos 		break;
   1006   1.1  christos 	}
   1007   1.1  christos 	/* netbsd32_shutdown */
   1008   1.1  christos 	case 134: {
   1009  1.17  christos 		const struct netbsd32_shutdown_args *p = params;
   1010   1.1  christos 		iarg[0] = SCARG(p, s); /* int */
   1011   1.1  christos 		iarg[1] = SCARG(p, how); /* int */
   1012   1.1  christos 		*n_args = 2;
   1013   1.1  christos 		break;
   1014   1.1  christos 	}
   1015   1.1  christos 	/* netbsd32_socketpair */
   1016   1.1  christos 	case 135: {
   1017  1.17  christos 		const struct netbsd32_socketpair_args *p = params;
   1018   1.1  christos 		iarg[0] = SCARG(p, domain); /* int */
   1019   1.1  christos 		iarg[1] = SCARG(p, type); /* int */
   1020   1.1  christos 		iarg[2] = SCARG(p, protocol); /* int */
   1021   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, rsv).i32; /* netbsd32_intp */
   1022   1.1  christos 		*n_args = 4;
   1023   1.1  christos 		break;
   1024   1.1  christos 	}
   1025   1.1  christos 	/* netbsd32_mkdir */
   1026   1.1  christos 	case 136: {
   1027  1.17  christos 		const struct netbsd32_mkdir_args *p = params;
   1028   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   1029   1.1  christos 		iarg[1] = SCARG(p, mode); /* mode_t */
   1030   1.1  christos 		*n_args = 2;
   1031   1.1  christos 		break;
   1032   1.1  christos 	}
   1033   1.1  christos 	/* netbsd32_rmdir */
   1034   1.1  christos 	case 137: {
   1035  1.17  christos 		const struct netbsd32_rmdir_args *p = params;
   1036   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   1037   1.1  christos 		*n_args = 1;
   1038   1.1  christos 		break;
   1039   1.1  christos 	}
   1040   1.1  christos 	/* netbsd32_utimes */
   1041   1.1  christos 	case 138: {
   1042  1.17  christos 		const struct compat_50_netbsd32_utimes_args *p = params;
   1043   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   1044   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tptr).i32; /* netbsd32_timeval50p_t */
   1045   1.1  christos 		*n_args = 2;
   1046   1.1  christos 		break;
   1047   1.1  christos 	}
   1048   1.1  christos 	/* netbsd32_adjtime */
   1049   1.1  christos 	case 140: {
   1050  1.17  christos 		const struct compat_50_netbsd32_adjtime_args *p = params;
   1051   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, delta).i32; /* netbsd32_timeval50p_t */
   1052   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, olddelta).i32; /* netbsd32_timeval50p_t */
   1053   1.1  christos 		*n_args = 2;
   1054   1.1  christos 		break;
   1055   1.1  christos 	}
   1056   1.1  christos 	/* netbsd32_ogetpeername */
   1057   1.1  christos 	case 141: {
   1058  1.17  christos 		const struct compat_43_netbsd32_ogetpeername_args *p = params;
   1059   1.1  christos 		iarg[0] = SCARG(p, fdes); /* int */
   1060   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, asa).i32; /* netbsd32_voidp */
   1061   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, alen).i32; /* netbsd32_intp */
   1062   1.1  christos 		*n_args = 3;
   1063   1.1  christos 		break;
   1064   1.1  christos 	}
   1065   1.1  christos 	/* sys_gethostid */
   1066   1.1  christos 	case 142: {
   1067   1.1  christos 		*n_args = 0;
   1068   1.1  christos 		break;
   1069   1.1  christos 	}
   1070   1.1  christos 	/* netbsd32_sethostid */
   1071   1.1  christos 	case 143: {
   1072  1.17  christos 		const struct compat_43_netbsd32_sethostid_args *p = params;
   1073   1.1  christos 		iarg[0] = SCARG(p, hostid); /* int32_t */
   1074   1.1  christos 		*n_args = 1;
   1075   1.1  christos 		break;
   1076   1.1  christos 	}
   1077   1.1  christos 	/* netbsd32_ogetrlimit */
   1078   1.1  christos 	case 144: {
   1079  1.17  christos 		const struct compat_43_netbsd32_ogetrlimit_args *p = params;
   1080   1.1  christos 		iarg[0] = SCARG(p, which); /* int */
   1081   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, rlp).i32; /* netbsd32_orlimitp_t */
   1082   1.1  christos 		*n_args = 2;
   1083   1.1  christos 		break;
   1084   1.1  christos 	}
   1085   1.1  christos 	/* netbsd32_osetrlimit */
   1086   1.1  christos 	case 145: {
   1087  1.17  christos 		const struct compat_43_netbsd32_osetrlimit_args *p = params;
   1088   1.1  christos 		iarg[0] = SCARG(p, which); /* int */
   1089   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, rlp).i32; /* netbsd32_orlimitp_t */
   1090   1.1  christos 		*n_args = 2;
   1091   1.1  christos 		break;
   1092   1.1  christos 	}
   1093   1.1  christos 	/* netbsd32_killpg */
   1094   1.1  christos 	case 146: {
   1095  1.17  christos 		const struct compat_43_netbsd32_killpg_args *p = params;
   1096   1.1  christos 		iarg[0] = SCARG(p, pgid); /* int */
   1097   1.1  christos 		iarg[1] = SCARG(p, signum); /* int */
   1098   1.1  christos 		*n_args = 2;
   1099   1.1  christos 		break;
   1100   1.1  christos 	}
   1101   1.1  christos 	/* sys_setsid */
   1102   1.1  christos 	case 147: {
   1103   1.1  christos 		*n_args = 0;
   1104   1.1  christos 		break;
   1105   1.1  christos 	}
   1106   1.1  christos 	/* netbsd32_quotactl */
   1107   1.1  christos 	case 148: {
   1108  1.17  christos 		const struct compat_50_netbsd32_quotactl_args *p = params;
   1109   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   1110   1.1  christos 		iarg[1] = SCARG(p, cmd); /* int */
   1111   1.1  christos 		iarg[2] = SCARG(p, uid); /* int */
   1112   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, arg).i32; /* netbsd32_voidp */
   1113   1.1  christos 		*n_args = 4;
   1114   1.1  christos 		break;
   1115   1.1  christos 	}
   1116   1.1  christos 	/* netbsd32_ogetsockname */
   1117   1.1  christos 	case 150: {
   1118  1.17  christos 		const struct compat_43_netbsd32_ogetsockname_args *p = params;
   1119   1.1  christos 		iarg[0] = SCARG(p, fdec); /* int */
   1120   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, asa).i32; /* netbsd32_voidp */
   1121   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, alen).i32; /* netbsd32_intp */
   1122   1.1  christos 		*n_args = 3;
   1123   1.1  christos 		break;
   1124   1.1  christos 	}
   1125   1.6       mrg 	/* netbsd32_nfssvc */
   1126   1.6       mrg 	case 155: {
   1127  1.17  christos 		const struct netbsd32_nfssvc_args *p = params;
   1128   1.6       mrg 		iarg[0] = SCARG(p, flag); /* int */
   1129   1.6       mrg 		uarg[1] = (intptr_t) SCARG(p, argp).i32; /* netbsd32_voidp */
   1130   1.6       mrg 		*n_args = 2;
   1131   1.6       mrg 		break;
   1132   1.6       mrg 	}
   1133   1.1  christos 	/* netbsd32_ogetdirentries */
   1134   1.1  christos 	case 156: {
   1135  1.17  christos 		const struct compat_43_netbsd32_ogetdirentries_args *p = params;
   1136   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   1137   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_charp */
   1138   1.1  christos 		uarg[2] = SCARG(p, count); /* u_int */
   1139   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, basep).i32; /* netbsd32_longp */
   1140   1.1  christos 		*n_args = 4;
   1141   1.1  christos 		break;
   1142   1.1  christos 	}
   1143   1.1  christos 	/* netbsd32_statfs */
   1144   1.1  christos 	case 157: {
   1145  1.17  christos 		const struct compat_20_netbsd32_statfs_args *p = params;
   1146   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   1147   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_statfsp_t */
   1148   1.1  christos 		*n_args = 2;
   1149   1.1  christos 		break;
   1150   1.1  christos 	}
   1151   1.1  christos 	/* netbsd32_fstatfs */
   1152   1.1  christos 	case 158: {
   1153  1.17  christos 		const struct compat_20_netbsd32_fstatfs_args *p = params;
   1154   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   1155   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_statfsp_t */
   1156   1.1  christos 		*n_args = 2;
   1157   1.1  christos 		break;
   1158   1.1  christos 	}
   1159   1.1  christos 	/* netbsd32_getfh */
   1160   1.1  christos 	case 161: {
   1161  1.17  christos 		const struct compat_30_netbsd32_getfh_args *p = params;
   1162   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, fname).i32; /* netbsd32_charp */
   1163   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, fhp).i32; /* netbsd32_compat_30_fhandlep_t */
   1164   1.1  christos 		*n_args = 2;
   1165   1.1  christos 		break;
   1166   1.1  christos 	}
   1167   1.1  christos 	/* netbsd32_ogetdomainname */
   1168   1.1  christos 	case 162: {
   1169  1.17  christos 		const struct compat_09_netbsd32_ogetdomainname_args *p = params;
   1170   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, domainname).i32; /* netbsd32_charp */
   1171   1.1  christos 		iarg[1] = SCARG(p, len); /* int */
   1172   1.1  christos 		*n_args = 2;
   1173   1.1  christos 		break;
   1174   1.1  christos 	}
   1175   1.1  christos 	/* netbsd32_osetdomainname */
   1176   1.1  christos 	case 163: {
   1177  1.17  christos 		const struct compat_09_netbsd32_osetdomainname_args *p = params;
   1178   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, domainname).i32; /* netbsd32_charp */
   1179   1.1  christos 		iarg[1] = SCARG(p, len); /* int */
   1180   1.1  christos 		*n_args = 2;
   1181   1.1  christos 		break;
   1182   1.1  christos 	}
   1183   1.1  christos 	/* netbsd32_uname */
   1184   1.1  christos 	case 164: {
   1185  1.17  christos 		const struct compat_09_netbsd32_uname_args *p = params;
   1186   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, name).i32; /* netbsd32_outsnamep_t */
   1187   1.1  christos 		*n_args = 1;
   1188   1.1  christos 		break;
   1189   1.1  christos 	}
   1190   1.1  christos 	/* netbsd32_sysarch */
   1191   1.1  christos 	case 165: {
   1192  1.17  christos 		const struct netbsd32_sysarch_args *p = params;
   1193   1.1  christos 		iarg[0] = SCARG(p, op); /* int */
   1194   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, parms).i32; /* netbsd32_voidp */
   1195   1.1  christos 		*n_args = 2;
   1196   1.1  christos 		break;
   1197   1.1  christos 	}
   1198  1.43   thorpej 	/* netbsd32___futex */
   1199  1.43   thorpej 	case 166: {
   1200  1.43   thorpej 		const struct netbsd32___futex_args *p = params;
   1201  1.43   thorpej 		uarg[0] = (intptr_t) SCARG(p, uaddr).i32; /* netbsd32_intp */
   1202  1.43   thorpej 		iarg[1] = SCARG(p, op); /* int */
   1203  1.43   thorpej 		iarg[2] = SCARG(p, val); /* int */
   1204  1.43   thorpej 		uarg[3] = (intptr_t) SCARG(p, timeout).i32; /* const netbsd32_timespecp_t */
   1205  1.43   thorpej 		uarg[4] = (intptr_t) SCARG(p, uaddr2).i32; /* netbsd32_intp */
   1206  1.43   thorpej 		iarg[5] = SCARG(p, val2); /* int */
   1207  1.43   thorpej 		iarg[6] = SCARG(p, val3); /* int */
   1208  1.43   thorpej 		*n_args = 7;
   1209  1.43   thorpej 		break;
   1210  1.43   thorpej 	}
   1211  1.43   thorpej 	/* netbsd32___futex_set_robust_list */
   1212  1.43   thorpej 	case 167: {
   1213  1.43   thorpej 		const struct netbsd32___futex_set_robust_list_args *p = params;
   1214  1.43   thorpej 		uarg[0] = (intptr_t) SCARG(p, head).i32; /* netbsd32_voidp */
   1215  1.43   thorpej 		iarg[1] = SCARG(p, len); /* netbsd32_size_t */
   1216  1.43   thorpej 		*n_args = 2;
   1217  1.43   thorpej 		break;
   1218  1.43   thorpej 	}
   1219  1.43   thorpej 	/* netbsd32___futex_get_robust_list */
   1220  1.43   thorpej 	case 168: {
   1221  1.43   thorpej 		const struct netbsd32___futex_get_robust_list_args *p = params;
   1222  1.43   thorpej 		iarg[0] = SCARG(p, lwpid); /* lwpid_t */
   1223  1.43   thorpej 		uarg[1] = (intptr_t) SCARG(p, headp).i32; /* netbsd32_voidp */
   1224  1.43   thorpej 		uarg[2] = (intptr_t) SCARG(p, lenp).i32; /* netbsd32_size_tp */
   1225  1.43   thorpej 		*n_args = 3;
   1226  1.43   thorpej 		break;
   1227  1.43   thorpej 	}
   1228   1.1  christos 	/* netbsd32_semsys */
   1229   1.1  christos 	case 169: {
   1230  1.17  christos 		const struct compat_10_netbsd32_semsys_args *p = params;
   1231   1.1  christos 		iarg[0] = SCARG(p, which); /* int */
   1232   1.1  christos 		iarg[1] = SCARG(p, a2); /* int */
   1233   1.1  christos 		iarg[2] = SCARG(p, a3); /* int */
   1234   1.1  christos 		iarg[3] = SCARG(p, a4); /* int */
   1235   1.1  christos 		iarg[4] = SCARG(p, a5); /* int */
   1236   1.1  christos 		*n_args = 5;
   1237   1.1  christos 		break;
   1238   1.1  christos 	}
   1239   1.1  christos 	/* netbsd32_msgsys */
   1240   1.1  christos 	case 170: {
   1241  1.17  christos 		const struct compat_10_netbsd32_msgsys_args *p = params;
   1242   1.1  christos 		iarg[0] = SCARG(p, which); /* int */
   1243   1.1  christos 		iarg[1] = SCARG(p, a2); /* int */
   1244   1.1  christos 		iarg[2] = SCARG(p, a3); /* int */
   1245   1.1  christos 		iarg[3] = SCARG(p, a4); /* int */
   1246   1.1  christos 		iarg[4] = SCARG(p, a5); /* int */
   1247   1.1  christos 		iarg[5] = SCARG(p, a6); /* int */
   1248   1.1  christos 		*n_args = 6;
   1249   1.1  christos 		break;
   1250   1.1  christos 	}
   1251   1.1  christos 	/* netbsd32_shmsys */
   1252   1.1  christos 	case 171: {
   1253  1.17  christos 		const struct compat_10_netbsd32_shmsys_args *p = params;
   1254   1.1  christos 		iarg[0] = SCARG(p, which); /* int */
   1255   1.1  christos 		iarg[1] = SCARG(p, a2); /* int */
   1256   1.1  christos 		iarg[2] = SCARG(p, a3); /* int */
   1257   1.1  christos 		iarg[3] = SCARG(p, a4); /* int */
   1258   1.1  christos 		*n_args = 4;
   1259   1.1  christos 		break;
   1260   1.1  christos 	}
   1261   1.1  christos 	/* netbsd32_pread */
   1262   1.1  christos 	case 173: {
   1263  1.17  christos 		const struct netbsd32_pread_args *p = params;
   1264   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   1265   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_voidp */
   1266   1.1  christos 		iarg[2] = SCARG(p, nbyte); /* netbsd32_size_t */
   1267   1.1  christos 		iarg[3] = SCARG(p, PAD); /* int */
   1268   1.1  christos 		iarg[4] = SCARG(p, offset); /* netbsd32_off_t */
   1269   1.1  christos 		*n_args = 5;
   1270   1.1  christos 		break;
   1271   1.1  christos 	}
   1272   1.1  christos 	/* netbsd32_pwrite */
   1273   1.1  christos 	case 174: {
   1274  1.17  christos 		const struct netbsd32_pwrite_args *p = params;
   1275   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   1276   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_voidp */
   1277   1.1  christos 		iarg[2] = SCARG(p, nbyte); /* netbsd32_size_t */
   1278   1.1  christos 		iarg[3] = SCARG(p, PAD); /* int */
   1279   1.1  christos 		iarg[4] = SCARG(p, offset); /* netbsd32_off_t */
   1280   1.1  christos 		*n_args = 5;
   1281   1.1  christos 		break;
   1282   1.1  christos 	}
   1283   1.1  christos 	/* netbsd32_ntp_gettime */
   1284   1.1  christos 	case 175: {
   1285  1.17  christos 		const struct compat_30_netbsd32_ntp_gettime_args *p = params;
   1286   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, ntvp).i32; /* netbsd32_ntptimeval50p_t */
   1287   1.1  christos 		*n_args = 1;
   1288   1.1  christos 		break;
   1289   1.1  christos 	}
   1290  1.30  pgoyette #if defined(NTP) || !defined(_KERNEL_OPT)
   1291   1.1  christos 	/* netbsd32_ntp_adjtime */
   1292   1.1  christos 	case 176: {
   1293  1.17  christos 		const struct netbsd32_ntp_adjtime_args *p = params;
   1294   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, tp).i32; /* netbsd32_timexp_t */
   1295   1.1  christos 		*n_args = 1;
   1296   1.1  christos 		break;
   1297   1.1  christos 	}
   1298   1.1  christos #else
   1299   1.1  christos #endif
   1300  1.48   thorpej 	/* netbsd32_timerfd_create */
   1301  1.48   thorpej 	case 177: {
   1302  1.48   thorpej 		const struct netbsd32_timerfd_create_args *p = params;
   1303  1.48   thorpej 		iarg[0] = SCARG(p, clock_id); /* netbsd32_clockid_t */
   1304  1.48   thorpej 		iarg[1] = SCARG(p, flags); /* int */
   1305  1.48   thorpej 		*n_args = 2;
   1306  1.48   thorpej 		break;
   1307  1.48   thorpej 	}
   1308  1.48   thorpej 	/* netbsd32_timerfd_settime */
   1309  1.48   thorpej 	case 178: {
   1310  1.48   thorpej 		const struct netbsd32_timerfd_settime_args *p = params;
   1311  1.48   thorpej 		iarg[0] = SCARG(p, fd); /* int */
   1312  1.48   thorpej 		iarg[1] = SCARG(p, flags); /* int */
   1313  1.48   thorpej 		uarg[2] = (intptr_t) SCARG(p, new_value).i32; /* const netbsd32_itimerspecp_t */
   1314  1.48   thorpej 		uarg[3] = (intptr_t) SCARG(p, old_value).i32; /* netbsd32_itimerspecp_t */
   1315  1.48   thorpej 		*n_args = 4;
   1316  1.48   thorpej 		break;
   1317  1.48   thorpej 	}
   1318  1.48   thorpej 	/* netbsd32_timerfd_gettime */
   1319  1.48   thorpej 	case 179: {
   1320  1.48   thorpej 		const struct netbsd32_timerfd_gettime_args *p = params;
   1321  1.48   thorpej 		iarg[0] = SCARG(p, fd); /* int */
   1322  1.48   thorpej 		uarg[1] = (intptr_t) SCARG(p, curr_value).i32; /* netbsd32_itimerspecp_t */
   1323  1.48   thorpej 		*n_args = 2;
   1324  1.48   thorpej 		break;
   1325  1.48   thorpej 	}
   1326   1.1  christos 	/* netbsd32_setgid */
   1327   1.1  christos 	case 181: {
   1328  1.17  christos 		const struct netbsd32_setgid_args *p = params;
   1329   1.1  christos 		iarg[0] = SCARG(p, gid); /* gid_t */
   1330   1.1  christos 		*n_args = 1;
   1331   1.1  christos 		break;
   1332   1.1  christos 	}
   1333   1.1  christos 	/* netbsd32_setegid */
   1334   1.1  christos 	case 182: {
   1335  1.17  christos 		const struct netbsd32_setegid_args *p = params;
   1336   1.1  christos 		iarg[0] = SCARG(p, egid); /* gid_t */
   1337   1.1  christos 		*n_args = 1;
   1338   1.1  christos 		break;
   1339   1.1  christos 	}
   1340   1.1  christos 	/* netbsd32_seteuid */
   1341   1.1  christos 	case 183: {
   1342  1.17  christos 		const struct netbsd32_seteuid_args *p = params;
   1343   1.1  christos 		uarg[0] = SCARG(p, euid); /* uid_t */
   1344   1.1  christos 		*n_args = 1;
   1345   1.1  christos 		break;
   1346   1.1  christos 	}
   1347   1.1  christos 	/* netbsd32_stat12 */
   1348   1.1  christos 	case 188: {
   1349  1.17  christos 		const struct compat_12_netbsd32_stat12_args *p = params;
   1350   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   1351   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, ub).i32; /* netbsd32_stat12p_t */
   1352   1.1  christos 		*n_args = 2;
   1353   1.1  christos 		break;
   1354   1.1  christos 	}
   1355   1.1  christos 	/* netbsd32_fstat12 */
   1356   1.1  christos 	case 189: {
   1357  1.17  christos 		const struct compat_12_netbsd32_fstat12_args *p = params;
   1358   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   1359   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, sb).i32; /* netbsd32_stat12p_t */
   1360   1.1  christos 		*n_args = 2;
   1361   1.1  christos 		break;
   1362   1.1  christos 	}
   1363   1.1  christos 	/* netbsd32_lstat12 */
   1364   1.1  christos 	case 190: {
   1365  1.17  christos 		const struct compat_12_netbsd32_lstat12_args *p = params;
   1366   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   1367   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, ub).i32; /* netbsd32_stat12p_t */
   1368   1.1  christos 		*n_args = 2;
   1369   1.1  christos 		break;
   1370   1.1  christos 	}
   1371   1.1  christos 	/* netbsd32_pathconf */
   1372   1.1  christos 	case 191: {
   1373  1.17  christos 		const struct netbsd32_pathconf_args *p = params;
   1374   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   1375   1.1  christos 		iarg[1] = SCARG(p, name); /* int */
   1376   1.1  christos 		*n_args = 2;
   1377   1.1  christos 		break;
   1378   1.1  christos 	}
   1379   1.1  christos 	/* netbsd32_fpathconf */
   1380   1.1  christos 	case 192: {
   1381  1.17  christos 		const struct netbsd32_fpathconf_args *p = params;
   1382   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   1383   1.1  christos 		iarg[1] = SCARG(p, name); /* int */
   1384   1.1  christos 		*n_args = 2;
   1385   1.1  christos 		break;
   1386   1.1  christos 	}
   1387  1.26       rjs 	/* netbsd32_getsockopt2 */
   1388  1.26       rjs 	case 193: {
   1389  1.26       rjs 		const struct netbsd32_getsockopt2_args *p = params;
   1390  1.26       rjs 		iarg[0] = SCARG(p, s); /* int */
   1391  1.26       rjs 		iarg[1] = SCARG(p, level); /* int */
   1392  1.26       rjs 		iarg[2] = SCARG(p, name); /* int */
   1393  1.26       rjs 		uarg[3] = (intptr_t) SCARG(p, val).i32; /* netbsd32_voidp */
   1394  1.26       rjs 		uarg[4] = (intptr_t) SCARG(p, avalsize).i32; /* netbsd32_intp */
   1395  1.26       rjs 		*n_args = 5;
   1396  1.26       rjs 		break;
   1397  1.26       rjs 	}
   1398   1.1  christos 	/* netbsd32_getrlimit */
   1399   1.1  christos 	case 194: {
   1400  1.17  christos 		const struct netbsd32_getrlimit_args *p = params;
   1401   1.1  christos 		iarg[0] = SCARG(p, which); /* int */
   1402   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, rlp).i32; /* netbsd32_rlimitp_t */
   1403   1.1  christos 		*n_args = 2;
   1404   1.1  christos 		break;
   1405   1.1  christos 	}
   1406   1.1  christos 	/* netbsd32_setrlimit */
   1407   1.1  christos 	case 195: {
   1408  1.17  christos 		const struct netbsd32_setrlimit_args *p = params;
   1409   1.1  christos 		iarg[0] = SCARG(p, which); /* int */
   1410   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, rlp).i32; /* netbsd32_rlimitp_t */
   1411   1.1  christos 		*n_args = 2;
   1412   1.1  christos 		break;
   1413   1.1  christos 	}
   1414   1.1  christos 	/* netbsd32_getdirentries */
   1415   1.1  christos 	case 196: {
   1416  1.17  christos 		const struct compat_12_netbsd32_getdirentries_args *p = params;
   1417   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   1418   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_charp */
   1419   1.1  christos 		uarg[2] = SCARG(p, count); /* u_int */
   1420   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, basep).i32; /* netbsd32_longp */
   1421   1.1  christos 		*n_args = 4;
   1422   1.1  christos 		break;
   1423   1.1  christos 	}
   1424   1.1  christos 	/* netbsd32_mmap */
   1425   1.1  christos 	case 197: {
   1426  1.17  christos 		const struct netbsd32_mmap_args *p = params;
   1427   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, addr).i32; /* netbsd32_voidp */
   1428   1.1  christos 		iarg[1] = SCARG(p, len); /* netbsd32_size_t */
   1429   1.1  christos 		iarg[2] = SCARG(p, prot); /* int */
   1430   1.1  christos 		iarg[3] = SCARG(p, flags); /* int */
   1431   1.1  christos 		iarg[4] = SCARG(p, fd); /* int */
   1432   1.1  christos 		iarg[5] = SCARG(p, PAD); /* netbsd32_long */
   1433   1.1  christos 		iarg[6] = SCARG(p, pos); /* netbsd32_off_t */
   1434   1.1  christos 		*n_args = 7;
   1435   1.1  christos 		break;
   1436   1.1  christos 	}
   1437   1.1  christos 	/* netbsd32____syscall */
   1438   1.1  christos 	case 198: {
   1439  1.17  christos 		const struct netbsd32____syscall_args *p = params;
   1440   1.1  christos 		iarg[0] = SCARG(p, code); /* quad_t */
   1441  1.47  christos 		iarg[1] = SCARG(p, args[0]); /* register32_t */
   1442   1.1  christos 		*n_args = 2;
   1443   1.1  christos 		break;
   1444   1.1  christos 	}
   1445   1.1  christos 	/* netbsd32_lseek */
   1446   1.1  christos 	case 199: {
   1447  1.17  christos 		const struct netbsd32_lseek_args *p = params;
   1448   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   1449   1.1  christos 		iarg[1] = SCARG(p, PAD); /* int */
   1450   1.1  christos 		iarg[2] = SCARG(p, offset); /* netbsd32_off_t */
   1451   1.1  christos 		iarg[3] = SCARG(p, whence); /* int */
   1452   1.1  christos 		*n_args = 4;
   1453   1.1  christos 		break;
   1454   1.1  christos 	}
   1455   1.1  christos 	/* netbsd32_truncate */
   1456   1.1  christos 	case 200: {
   1457  1.17  christos 		const struct netbsd32_truncate_args *p = params;
   1458   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   1459   1.1  christos 		iarg[1] = SCARG(p, PAD); /* int */
   1460   1.1  christos 		iarg[2] = SCARG(p, length); /* netbsd32_off_t */
   1461   1.1  christos 		*n_args = 3;
   1462   1.1  christos 		break;
   1463   1.1  christos 	}
   1464   1.1  christos 	/* netbsd32_ftruncate */
   1465   1.1  christos 	case 201: {
   1466  1.17  christos 		const struct netbsd32_ftruncate_args *p = params;
   1467   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   1468   1.1  christos 		iarg[1] = SCARG(p, PAD); /* int */
   1469   1.1  christos 		iarg[2] = SCARG(p, length); /* netbsd32_off_t */
   1470   1.1  christos 		*n_args = 3;
   1471   1.1  christos 		break;
   1472   1.1  christos 	}
   1473   1.1  christos 	/* netbsd32___sysctl */
   1474   1.1  christos 	case 202: {
   1475  1.17  christos 		const struct netbsd32___sysctl_args *p = params;
   1476   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, name).i32; /* netbsd32_intp */
   1477   1.1  christos 		uarg[1] = SCARG(p, namelen); /* u_int */
   1478   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, oldv).i32; /* netbsd32_voidp */
   1479   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, oldlenp).i32; /* netbsd32_size_tp */
   1480   1.1  christos 		uarg[4] = (intptr_t) SCARG(p, newv).i32; /* netbsd32_voidp */
   1481   1.1  christos 		iarg[5] = SCARG(p, newlen); /* netbsd32_size_t */
   1482   1.1  christos 		*n_args = 6;
   1483   1.1  christos 		break;
   1484   1.1  christos 	}
   1485   1.1  christos 	/* netbsd32_mlock */
   1486   1.1  christos 	case 203: {
   1487  1.17  christos 		const struct netbsd32_mlock_args *p = params;
   1488   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, addr).i32; /* netbsd32_voidp */
   1489   1.1  christos 		iarg[1] = SCARG(p, len); /* netbsd32_size_t */
   1490   1.1  christos 		*n_args = 2;
   1491   1.1  christos 		break;
   1492   1.1  christos 	}
   1493   1.1  christos 	/* netbsd32_munlock */
   1494   1.1  christos 	case 204: {
   1495  1.17  christos 		const struct netbsd32_munlock_args *p = params;
   1496   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, addr).i32; /* netbsd32_voidp */
   1497   1.1  christos 		iarg[1] = SCARG(p, len); /* netbsd32_size_t */
   1498   1.1  christos 		*n_args = 2;
   1499   1.1  christos 		break;
   1500   1.1  christos 	}
   1501   1.1  christos 	/* netbsd32_undelete */
   1502   1.1  christos 	case 205: {
   1503  1.17  christos 		const struct netbsd32_undelete_args *p = params;
   1504   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   1505   1.1  christos 		*n_args = 1;
   1506   1.1  christos 		break;
   1507   1.1  christos 	}
   1508   1.1  christos 	/* netbsd32_futimes */
   1509   1.1  christos 	case 206: {
   1510  1.17  christos 		const struct compat_50_netbsd32_futimes_args *p = params;
   1511   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   1512   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tptr).i32; /* netbsd32_timeval50p_t */
   1513   1.1  christos 		*n_args = 2;
   1514   1.1  christos 		break;
   1515   1.1  christos 	}
   1516   1.1  christos 	/* netbsd32_getpgid */
   1517   1.1  christos 	case 207: {
   1518  1.17  christos 		const struct netbsd32_getpgid_args *p = params;
   1519   1.1  christos 		iarg[0] = SCARG(p, pid); /* pid_t */
   1520   1.1  christos 		*n_args = 1;
   1521   1.1  christos 		break;
   1522   1.1  christos 	}
   1523   1.1  christos 	/* netbsd32_reboot */
   1524   1.1  christos 	case 208: {
   1525  1.17  christos 		const struct netbsd32_reboot_args *p = params;
   1526   1.1  christos 		iarg[0] = SCARG(p, opt); /* int */
   1527   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, bootstr).i32; /* netbsd32_charp */
   1528   1.1  christos 		*n_args = 2;
   1529   1.1  christos 		break;
   1530   1.1  christos 	}
   1531   1.1  christos 	/* netbsd32_poll */
   1532   1.1  christos 	case 209: {
   1533  1.17  christos 		const struct netbsd32_poll_args *p = params;
   1534   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, fds).i32; /* netbsd32_pollfdp_t */
   1535   1.1  christos 		uarg[1] = SCARG(p, nfds); /* u_int */
   1536   1.1  christos 		iarg[2] = SCARG(p, timeout); /* int */
   1537   1.1  christos 		*n_args = 3;
   1538   1.1  christos 		break;
   1539   1.1  christos 	}
   1540   1.1  christos 	/* netbsd32___semctl */
   1541   1.1  christos 	case 220: {
   1542  1.17  christos 		const struct compat_14_netbsd32___semctl_args *p = params;
   1543   1.1  christos 		iarg[0] = SCARG(p, semid); /* int */
   1544   1.1  christos 		iarg[1] = SCARG(p, semnum); /* int */
   1545   1.1  christos 		iarg[2] = SCARG(p, cmd); /* int */
   1546   1.1  christos 		iarg[3] = SCARG(p, arg); /* netbsd32_semunu_t */
   1547   1.1  christos 		*n_args = 4;
   1548   1.1  christos 		break;
   1549   1.1  christos 	}
   1550   1.1  christos 	/* netbsd32_semget */
   1551   1.1  christos 	case 221: {
   1552  1.17  christos 		const struct netbsd32_semget_args *p = params;
   1553   1.1  christos 		iarg[0] = SCARG(p, key); /* netbsd32_key_t */
   1554   1.1  christos 		iarg[1] = SCARG(p, nsems); /* int */
   1555   1.1  christos 		iarg[2] = SCARG(p, semflg); /* int */
   1556   1.1  christos 		*n_args = 3;
   1557   1.1  christos 		break;
   1558   1.1  christos 	}
   1559   1.1  christos 	/* netbsd32_semop */
   1560   1.1  christos 	case 222: {
   1561  1.17  christos 		const struct netbsd32_semop_args *p = params;
   1562   1.1  christos 		iarg[0] = SCARG(p, semid); /* int */
   1563   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, sops).i32; /* netbsd32_sembufp_t */
   1564   1.1  christos 		iarg[2] = SCARG(p, nsops); /* netbsd32_size_t */
   1565   1.1  christos 		*n_args = 3;
   1566   1.1  christos 		break;
   1567   1.1  christos 	}
   1568   1.1  christos 	/* netbsd32_semconfig */
   1569   1.1  christos 	case 223: {
   1570  1.17  christos 		const struct netbsd32_semconfig_args *p = params;
   1571   1.1  christos 		iarg[0] = SCARG(p, flag); /* int */
   1572   1.1  christos 		*n_args = 1;
   1573   1.1  christos 		break;
   1574   1.1  christos 	}
   1575   1.1  christos 	/* netbsd32_msgctl */
   1576   1.1  christos 	case 224: {
   1577  1.17  christos 		const struct compat_14_netbsd32_msgctl_args *p = params;
   1578   1.1  christos 		iarg[0] = SCARG(p, msqid); /* int */
   1579   1.1  christos 		iarg[1] = SCARG(p, cmd); /* int */
   1580   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_msqid_ds14p_t */
   1581   1.1  christos 		*n_args = 3;
   1582   1.1  christos 		break;
   1583   1.1  christos 	}
   1584   1.1  christos 	/* netbsd32_msgget */
   1585   1.1  christos 	case 225: {
   1586  1.17  christos 		const struct netbsd32_msgget_args *p = params;
   1587   1.1  christos 		iarg[0] = SCARG(p, key); /* netbsd32_key_t */
   1588   1.1  christos 		iarg[1] = SCARG(p, msgflg); /* int */
   1589   1.1  christos 		*n_args = 2;
   1590   1.1  christos 		break;
   1591   1.1  christos 	}
   1592   1.1  christos 	/* netbsd32_msgsnd */
   1593   1.1  christos 	case 226: {
   1594  1.17  christos 		const struct netbsd32_msgsnd_args *p = params;
   1595   1.1  christos 		iarg[0] = SCARG(p, msqid); /* int */
   1596   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, msgp).i32; /* netbsd32_voidp */
   1597   1.1  christos 		iarg[2] = SCARG(p, msgsz); /* netbsd32_size_t */
   1598   1.1  christos 		iarg[3] = SCARG(p, msgflg); /* int */
   1599   1.1  christos 		*n_args = 4;
   1600   1.1  christos 		break;
   1601   1.1  christos 	}
   1602   1.1  christos 	/* netbsd32_msgrcv */
   1603   1.1  christos 	case 227: {
   1604  1.17  christos 		const struct netbsd32_msgrcv_args *p = params;
   1605   1.1  christos 		iarg[0] = SCARG(p, msqid); /* int */
   1606   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, msgp).i32; /* netbsd32_voidp */
   1607   1.1  christos 		iarg[2] = SCARG(p, msgsz); /* netbsd32_size_t */
   1608   1.1  christos 		iarg[3] = SCARG(p, msgtyp); /* netbsd32_long */
   1609   1.1  christos 		iarg[4] = SCARG(p, msgflg); /* int */
   1610   1.1  christos 		*n_args = 5;
   1611   1.1  christos 		break;
   1612   1.1  christos 	}
   1613   1.1  christos 	/* netbsd32_shmat */
   1614   1.1  christos 	case 228: {
   1615  1.17  christos 		const struct netbsd32_shmat_args *p = params;
   1616   1.1  christos 		iarg[0] = SCARG(p, shmid); /* int */
   1617   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, shmaddr).i32; /* netbsd32_voidp */
   1618   1.1  christos 		iarg[2] = SCARG(p, shmflg); /* int */
   1619   1.1  christos 		*n_args = 3;
   1620   1.1  christos 		break;
   1621   1.1  christos 	}
   1622   1.1  christos 	/* netbsd32_shmctl */
   1623   1.1  christos 	case 229: {
   1624  1.17  christos 		const struct compat_14_netbsd32_shmctl_args *p = params;
   1625   1.1  christos 		iarg[0] = SCARG(p, shmid); /* int */
   1626   1.1  christos 		iarg[1] = SCARG(p, cmd); /* int */
   1627   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_shmid_dsp_t */
   1628   1.1  christos 		*n_args = 3;
   1629   1.1  christos 		break;
   1630   1.1  christos 	}
   1631   1.1  christos 	/* netbsd32_shmdt */
   1632   1.1  christos 	case 230: {
   1633  1.17  christos 		const struct netbsd32_shmdt_args *p = params;
   1634   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, shmaddr).i32; /* netbsd32_voidp */
   1635   1.1  christos 		*n_args = 1;
   1636   1.1  christos 		break;
   1637   1.1  christos 	}
   1638   1.1  christos 	/* netbsd32_shmget */
   1639   1.1  christos 	case 231: {
   1640  1.17  christos 		const struct netbsd32_shmget_args *p = params;
   1641   1.1  christos 		iarg[0] = SCARG(p, key); /* netbsd32_key_t */
   1642   1.1  christos 		iarg[1] = SCARG(p, size); /* netbsd32_size_t */
   1643   1.1  christos 		iarg[2] = SCARG(p, shmflg); /* int */
   1644   1.1  christos 		*n_args = 3;
   1645   1.1  christos 		break;
   1646   1.1  christos 	}
   1647   1.1  christos 	/* netbsd32_clock_gettime */
   1648   1.1  christos 	case 232: {
   1649  1.17  christos 		const struct compat_50_netbsd32_clock_gettime_args *p = params;
   1650   1.1  christos 		iarg[0] = SCARG(p, clock_id); /* netbsd32_clockid_t */
   1651   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tp).i32; /* netbsd32_timespec50p_t */
   1652   1.1  christos 		*n_args = 2;
   1653   1.1  christos 		break;
   1654   1.1  christos 	}
   1655   1.1  christos 	/* netbsd32_clock_settime */
   1656   1.1  christos 	case 233: {
   1657  1.17  christos 		const struct compat_50_netbsd32_clock_settime_args *p = params;
   1658   1.1  christos 		iarg[0] = SCARG(p, clock_id); /* netbsd32_clockid_t */
   1659   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tp).i32; /* netbsd32_timespec50p_t */
   1660   1.1  christos 		*n_args = 2;
   1661   1.1  christos 		break;
   1662   1.1  christos 	}
   1663   1.1  christos 	/* netbsd32_clock_getres */
   1664   1.1  christos 	case 234: {
   1665  1.17  christos 		const struct compat_50_netbsd32_clock_getres_args *p = params;
   1666   1.1  christos 		iarg[0] = SCARG(p, clock_id); /* netbsd32_clockid_t */
   1667   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tp).i32; /* netbsd32_timespec50p_t */
   1668   1.1  christos 		*n_args = 2;
   1669   1.1  christos 		break;
   1670   1.1  christos 	}
   1671   1.1  christos 	/* netbsd32_timer_create */
   1672   1.1  christos 	case 235: {
   1673  1.17  christos 		const struct netbsd32_timer_create_args *p = params;
   1674   1.1  christos 		iarg[0] = SCARG(p, clock_id); /* netbsd32_clockid_t */
   1675   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, evp).i32; /* netbsd32_sigeventp_t */
   1676   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, timerid).i32; /* netbsd32_timerp_t */
   1677   1.1  christos 		*n_args = 3;
   1678   1.1  christos 		break;
   1679   1.1  christos 	}
   1680   1.1  christos 	/* netbsd32_timer_delete */
   1681   1.1  christos 	case 236: {
   1682  1.17  christos 		const struct netbsd32_timer_delete_args *p = params;
   1683   1.1  christos 		iarg[0] = SCARG(p, timerid); /* netbsd32_timer_t */
   1684   1.1  christos 		*n_args = 1;
   1685   1.1  christos 		break;
   1686   1.1  christos 	}
   1687   1.1  christos 	/* netbsd32_timer_settime */
   1688   1.1  christos 	case 237: {
   1689  1.17  christos 		const struct compat_50_netbsd32_timer_settime_args *p = params;
   1690   1.1  christos 		iarg[0] = SCARG(p, timerid); /* netbsd32_timer_t */
   1691   1.1  christos 		iarg[1] = SCARG(p, flags); /* int */
   1692   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, value).i32; /* netbsd32_itimerspec50p_t */
   1693   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, ovalue).i32; /* netbsd32_itimerspec50p_t */
   1694   1.1  christos 		*n_args = 4;
   1695   1.1  christos 		break;
   1696   1.1  christos 	}
   1697   1.1  christos 	/* netbsd32_timer_gettime */
   1698   1.1  christos 	case 238: {
   1699  1.17  christos 		const struct compat_50_netbsd32_timer_gettime_args *p = params;
   1700   1.1  christos 		iarg[0] = SCARG(p, timerid); /* netbsd32_timer_t */
   1701   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, value).i32; /* netbsd32_itimerspec50p_t */
   1702   1.1  christos 		*n_args = 2;
   1703   1.1  christos 		break;
   1704   1.1  christos 	}
   1705   1.1  christos 	/* netbsd32_timer_getoverrun */
   1706   1.1  christos 	case 239: {
   1707  1.17  christos 		const struct netbsd32_timer_getoverrun_args *p = params;
   1708   1.1  christos 		iarg[0] = SCARG(p, timerid); /* netbsd32_timer_t */
   1709   1.1  christos 		*n_args = 1;
   1710   1.1  christos 		break;
   1711   1.1  christos 	}
   1712   1.1  christos 	/* netbsd32_nanosleep */
   1713   1.1  christos 	case 240: {
   1714  1.17  christos 		const struct compat_50_netbsd32_nanosleep_args *p = params;
   1715   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, rqtp).i32; /* netbsd32_timespec50p_t */
   1716   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, rmtp).i32; /* netbsd32_timespec50p_t */
   1717   1.1  christos 		*n_args = 2;
   1718   1.1  christos 		break;
   1719   1.1  christos 	}
   1720   1.1  christos 	/* netbsd32_fdatasync */
   1721   1.1  christos 	case 241: {
   1722  1.17  christos 		const struct netbsd32_fdatasync_args *p = params;
   1723   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   1724   1.1  christos 		*n_args = 1;
   1725   1.1  christos 		break;
   1726   1.1  christos 	}
   1727   1.1  christos 	/* netbsd32_mlockall */
   1728   1.1  christos 	case 242: {
   1729  1.17  christos 		const struct netbsd32_mlockall_args *p = params;
   1730   1.1  christos 		iarg[0] = SCARG(p, flags); /* int */
   1731   1.1  christos 		*n_args = 1;
   1732   1.1  christos 		break;
   1733   1.1  christos 	}
   1734   1.1  christos 	/* sys_munlockall */
   1735   1.1  christos 	case 243: {
   1736   1.1  christos 		*n_args = 0;
   1737   1.1  christos 		break;
   1738   1.1  christos 	}
   1739   1.1  christos 	/* netbsd32___sigtimedwait */
   1740   1.1  christos 	case 244: {
   1741  1.17  christos 		const struct compat_50_netbsd32___sigtimedwait_args *p = params;
   1742   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, set).i32; /* netbsd32_sigsetp_t */
   1743   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, info).i32; /* netbsd32_siginfop_t */
   1744   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, timeout).i32; /* netbsd32_timespec50p_t */
   1745   1.1  christos 		*n_args = 3;
   1746   1.1  christos 		break;
   1747   1.1  christos 	}
   1748   1.3    martin 	/* netbsd32_sigqueueinfo */
   1749   1.3    martin 	case 245: {
   1750  1.17  christos 		const struct netbsd32_sigqueueinfo_args *p = params;
   1751   1.3    martin 		iarg[0] = SCARG(p, pid); /* pid_t */
   1752   1.3    martin 		uarg[1] = (intptr_t) SCARG(p, info).i32; /* const netbsd32_siginfop_t */
   1753   1.3    martin 		*n_args = 2;
   1754   1.3    martin 		break;
   1755   1.3    martin 	}
   1756   1.3    martin 	/* netbsd32_modctl */
   1757   1.3    martin 	case 246: {
   1758  1.17  christos 		const struct netbsd32_modctl_args *p = params;
   1759   1.3    martin 		iarg[0] = SCARG(p, cmd); /* int */
   1760   1.3    martin 		uarg[1] = (intptr_t) SCARG(p, arg).i32; /* netbsd32_voidp */
   1761   1.3    martin 		*n_args = 2;
   1762   1.3    martin 		break;
   1763   1.3    martin 	}
   1764   1.1  christos 	/* netbsd32__ksem_init */
   1765   1.1  christos 	case 247: {
   1766  1.17  christos 		const struct netbsd32__ksem_init_args *p = params;
   1767   1.1  christos 		uarg[0] = SCARG(p, value); /* unsigned int */
   1768   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, idp).i32; /* netbsd32_semidp_t */
   1769   1.1  christos 		*n_args = 2;
   1770   1.1  christos 		break;
   1771   1.1  christos 	}
   1772   1.1  christos 	/* netbsd32__ksem_open */
   1773   1.1  christos 	case 248: {
   1774  1.17  christos 		const struct netbsd32__ksem_open_args *p = params;
   1775   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
   1776   1.1  christos 		iarg[1] = SCARG(p, oflag); /* int */
   1777   1.1  christos 		iarg[2] = SCARG(p, mode); /* mode_t */
   1778   1.1  christos 		uarg[3] = SCARG(p, value); /* unsigned int */
   1779   1.1  christos 		uarg[4] = (intptr_t) SCARG(p, idp).i32; /* netbsd32_semidp_t */
   1780   1.1  christos 		*n_args = 5;
   1781   1.1  christos 		break;
   1782   1.1  christos 	}
   1783   1.1  christos 	/* netbsd32__ksem_unlink */
   1784   1.1  christos 	case 249: {
   1785  1.17  christos 		const struct netbsd32__ksem_unlink_args *p = params;
   1786   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
   1787   1.1  christos 		*n_args = 1;
   1788   1.1  christos 		break;
   1789   1.1  christos 	}
   1790   1.1  christos 	/* netbsd32__ksem_close */
   1791   1.1  christos 	case 250: {
   1792  1.17  christos 		const struct netbsd32__ksem_close_args *p = params;
   1793   1.1  christos 		iarg[0] = SCARG(p, id); /* netbsd32_intptr_t */
   1794   1.1  christos 		*n_args = 1;
   1795   1.1  christos 		break;
   1796   1.1  christos 	}
   1797   1.1  christos 	/* netbsd32__ksem_post */
   1798   1.1  christos 	case 251: {
   1799  1.17  christos 		const struct netbsd32__ksem_post_args *p = params;
   1800   1.1  christos 		iarg[0] = SCARG(p, id); /* netbsd32_intptr_t */
   1801   1.1  christos 		*n_args = 1;
   1802   1.1  christos 		break;
   1803   1.1  christos 	}
   1804   1.1  christos 	/* netbsd32__ksem_wait */
   1805   1.1  christos 	case 252: {
   1806  1.17  christos 		const struct netbsd32__ksem_wait_args *p = params;
   1807   1.1  christos 		iarg[0] = SCARG(p, id); /* netbsd32_intptr_t */
   1808   1.1  christos 		*n_args = 1;
   1809   1.1  christos 		break;
   1810   1.1  christos 	}
   1811   1.1  christos 	/* netbsd32__ksem_trywait */
   1812   1.1  christos 	case 253: {
   1813  1.17  christos 		const struct netbsd32__ksem_trywait_args *p = params;
   1814   1.1  christos 		iarg[0] = SCARG(p, id); /* netbsd32_intptr_t */
   1815   1.1  christos 		*n_args = 1;
   1816   1.1  christos 		break;
   1817   1.1  christos 	}
   1818   1.1  christos 	/* netbsd32__ksem_getvalue */
   1819   1.1  christos 	case 254: {
   1820  1.17  christos 		const struct netbsd32__ksem_getvalue_args *p = params;
   1821   1.1  christos 		iarg[0] = SCARG(p, id); /* netbsd32_intptr_t */
   1822   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, value).i32; /* netbsd32_intp */
   1823   1.1  christos 		*n_args = 2;
   1824   1.1  christos 		break;
   1825   1.1  christos 	}
   1826   1.1  christos 	/* netbsd32__ksem_destroy */
   1827   1.1  christos 	case 255: {
   1828  1.17  christos 		const struct netbsd32__ksem_destroy_args *p = params;
   1829   1.1  christos 		iarg[0] = SCARG(p, id); /* netbsd32_intptr_t */
   1830   1.1  christos 		*n_args = 1;
   1831   1.1  christos 		break;
   1832   1.1  christos 	}
   1833   1.1  christos 	/* netbsd32__ksem_timedwait */
   1834   1.1  christos 	case 256: {
   1835  1.17  christos 		const struct netbsd32__ksem_timedwait_args *p = params;
   1836   1.1  christos 		iarg[0] = SCARG(p, id); /* intptr_t */
   1837   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, abstime).i32; /* const netbsd32_timespecp_t */
   1838   1.1  christos 		*n_args = 2;
   1839   1.1  christos 		break;
   1840   1.1  christos 	}
   1841   1.3    martin 	/* netbsd32_mq_open */
   1842   1.3    martin 	case 257: {
   1843  1.17  christos 		const struct netbsd32_mq_open_args *p = params;
   1844   1.3    martin 		uarg[0] = (intptr_t) SCARG(p, name).i32; /* const netbsd32_charp */
   1845   1.3    martin 		iarg[1] = SCARG(p, oflag); /* int */
   1846   1.3    martin 		iarg[2] = SCARG(p, mode); /* mode_t */
   1847   1.3    martin 		uarg[3] = (intptr_t) SCARG(p, attr).i32; /* netbsd32_mq_attrp_t */
   1848   1.3    martin 		*n_args = 4;
   1849   1.3    martin 		break;
   1850   1.3    martin 	}
   1851   1.3    martin 	/* netbsd32_mq_close */
   1852   1.3    martin 	case 258: {
   1853  1.17  christos 		const struct netbsd32_mq_close_args *p = params;
   1854   1.3    martin 		iarg[0] = SCARG(p, mqdes); /* mqd_t */
   1855   1.3    martin 		*n_args = 1;
   1856   1.3    martin 		break;
   1857   1.3    martin 	}
   1858   1.3    martin 	/* netbsd32_mq_unlink */
   1859   1.3    martin 	case 259: {
   1860  1.17  christos 		const struct netbsd32_mq_unlink_args *p = params;
   1861   1.3    martin 		uarg[0] = (intptr_t) SCARG(p, name).i32; /* const netbsd32_charp */
   1862   1.3    martin 		*n_args = 1;
   1863   1.3    martin 		break;
   1864   1.3    martin 	}
   1865   1.3    martin 	/* netbsd32_mq_getattr */
   1866   1.3    martin 	case 260: {
   1867  1.17  christos 		const struct netbsd32_mq_getattr_args *p = params;
   1868   1.3    martin 		iarg[0] = SCARG(p, mqdes); /* mqd_t */
   1869   1.3    martin 		uarg[1] = (intptr_t) SCARG(p, mqstat).i32; /* netbsd32_mq_attrp_t */
   1870   1.3    martin 		*n_args = 2;
   1871   1.3    martin 		break;
   1872   1.3    martin 	}
   1873   1.3    martin 	/* netbsd32_mq_setattr */
   1874   1.3    martin 	case 261: {
   1875  1.17  christos 		const struct netbsd32_mq_setattr_args *p = params;
   1876   1.3    martin 		iarg[0] = SCARG(p, mqdes); /* mqd_t */
   1877   1.3    martin 		uarg[1] = (intptr_t) SCARG(p, mqstat).i32; /* const netbsd32_mq_attrp_t */
   1878   1.3    martin 		uarg[2] = (intptr_t) SCARG(p, omqstat).i32; /* netbsd32_mq_attrp_t */
   1879   1.3    martin 		*n_args = 3;
   1880   1.3    martin 		break;
   1881   1.3    martin 	}
   1882   1.3    martin 	/* netbsd32_mq_notify */
   1883   1.3    martin 	case 262: {
   1884  1.17  christos 		const struct netbsd32_mq_notify_args *p = params;
   1885   1.3    martin 		iarg[0] = SCARG(p, mqdes); /* mqd_t */
   1886   1.3    martin 		uarg[1] = (intptr_t) SCARG(p, notification).i32; /* const netbsd32_sigeventp_t */
   1887   1.3    martin 		*n_args = 2;
   1888   1.3    martin 		break;
   1889   1.3    martin 	}
   1890   1.3    martin 	/* netbsd32_mq_send */
   1891   1.3    martin 	case 263: {
   1892  1.17  christos 		const struct netbsd32_mq_send_args *p = params;
   1893   1.3    martin 		iarg[0] = SCARG(p, mqdes); /* mqd_t */
   1894   1.3    martin 		uarg[1] = (intptr_t) SCARG(p, msg_ptr).i32; /* const netbsd32_charp */
   1895   1.3    martin 		iarg[2] = SCARG(p, msg_len); /* netbsd32_size_t */
   1896   1.3    martin 		uarg[3] = SCARG(p, msg_prio); /* unsigned */
   1897   1.3    martin 		*n_args = 4;
   1898   1.3    martin 		break;
   1899   1.3    martin 	}
   1900   1.3    martin 	/* netbsd32_mq_receive */
   1901   1.3    martin 	case 264: {
   1902  1.17  christos 		const struct netbsd32_mq_receive_args *p = params;
   1903   1.3    martin 		iarg[0] = SCARG(p, mqdes); /* mqd_t */
   1904   1.3    martin 		uarg[1] = (intptr_t) SCARG(p, msg_ptr).i32; /* netbsd32_charp */
   1905   1.3    martin 		iarg[2] = SCARG(p, msg_len); /* netbsd32_size_t */
   1906   1.3    martin 		uarg[3] = (intptr_t) SCARG(p, msg_prio).i32; /* netbsd32_uintp */
   1907   1.3    martin 		*n_args = 4;
   1908   1.3    martin 		break;
   1909   1.3    martin 	}
   1910   1.3    martin 	/* netbsd32_mq_timedsend */
   1911   1.3    martin 	case 265: {
   1912  1.17  christos 		const struct compat_50_netbsd32_mq_timedsend_args *p = params;
   1913   1.3    martin 		iarg[0] = SCARG(p, mqdes); /* mqd_t */
   1914   1.3    martin 		uarg[1] = (intptr_t) SCARG(p, msg_ptr).i32; /* const netbsd32_charp */
   1915   1.3    martin 		iarg[2] = SCARG(p, msg_len); /* netbsd32_size_t */
   1916   1.3    martin 		uarg[3] = SCARG(p, msg_prio); /* unsigned */
   1917   1.3    martin 		uarg[4] = (intptr_t) SCARG(p, abs_timeout).i32; /* const netbsd32_timespec50p_t */
   1918   1.3    martin 		*n_args = 5;
   1919   1.3    martin 		break;
   1920   1.3    martin 	}
   1921   1.3    martin 	/* netbsd32_mq_timedreceive */
   1922   1.3    martin 	case 266: {
   1923  1.17  christos 		const struct compat_50_netbsd32_mq_timedreceive_args *p = params;
   1924   1.3    martin 		iarg[0] = SCARG(p, mqdes); /* mqd_t */
   1925   1.3    martin 		uarg[1] = (intptr_t) SCARG(p, msg_ptr).i32; /* netbsd32_charp */
   1926   1.3    martin 		iarg[2] = SCARG(p, msg_len); /* netbsd32_size_t */
   1927   1.3    martin 		uarg[3] = (intptr_t) SCARG(p, msg_prio).i32; /* netbsd32_uintp */
   1928   1.3    martin 		uarg[4] = (intptr_t) SCARG(p, abs_timeout).i32; /* const netbsd32_timespec50p_t */
   1929   1.3    martin 		*n_args = 5;
   1930   1.3    martin 		break;
   1931   1.3    martin 	}
   1932  1.49   thorpej 	/* netbsd32_eventfd */
   1933  1.49   thorpej 	case 267: {
   1934  1.49   thorpej 		const struct netbsd32_eventfd_args *p = params;
   1935  1.49   thorpej 		uarg[0] = SCARG(p, val); /* unsigned int */
   1936  1.49   thorpej 		iarg[1] = SCARG(p, flags); /* int */
   1937  1.49   thorpej 		*n_args = 2;
   1938  1.49   thorpej 		break;
   1939  1.49   thorpej 	}
   1940   1.1  christos 	/* netbsd32___posix_rename */
   1941   1.1  christos 	case 270: {
   1942  1.17  christos 		const struct netbsd32___posix_rename_args *p = params;
   1943   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, from).i32; /* netbsd32_charp */
   1944   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, to).i32; /* netbsd32_charp */
   1945   1.1  christos 		*n_args = 2;
   1946   1.1  christos 		break;
   1947   1.1  christos 	}
   1948   1.1  christos 	/* netbsd32_swapctl */
   1949   1.1  christos 	case 271: {
   1950  1.17  christos 		const struct netbsd32_swapctl_args *p = params;
   1951   1.1  christos 		iarg[0] = SCARG(p, cmd); /* int */
   1952   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, arg).i32; /* netbsd32_voidp */
   1953   1.1  christos 		iarg[2] = SCARG(p, misc); /* int */
   1954   1.1  christos 		*n_args = 3;
   1955   1.1  christos 		break;
   1956   1.1  christos 	}
   1957   1.1  christos 	/* netbsd32_getdents */
   1958   1.1  christos 	case 272: {
   1959  1.17  christos 		const struct compat_30_netbsd32_getdents_args *p = params;
   1960   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   1961   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_charp */
   1962   1.1  christos 		iarg[2] = SCARG(p, count); /* netbsd32_size_t */
   1963   1.1  christos 		*n_args = 3;
   1964   1.1  christos 		break;
   1965   1.1  christos 	}
   1966   1.1  christos 	/* netbsd32_minherit */
   1967   1.1  christos 	case 273: {
   1968  1.17  christos 		const struct netbsd32_minherit_args *p = params;
   1969   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, addr).i32; /* netbsd32_voidp */
   1970   1.1  christos 		iarg[1] = SCARG(p, len); /* netbsd32_size_t */
   1971   1.1  christos 		iarg[2] = SCARG(p, inherit); /* int */
   1972   1.1  christos 		*n_args = 3;
   1973   1.1  christos 		break;
   1974   1.1  christos 	}
   1975   1.1  christos 	/* netbsd32_lchmod */
   1976   1.1  christos 	case 274: {
   1977  1.17  christos 		const struct netbsd32_lchmod_args *p = params;
   1978   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   1979   1.1  christos 		iarg[1] = SCARG(p, mode); /* mode_t */
   1980   1.1  christos 		*n_args = 2;
   1981   1.1  christos 		break;
   1982   1.1  christos 	}
   1983   1.1  christos 	/* netbsd32_lchown */
   1984   1.1  christos 	case 275: {
   1985  1.17  christos 		const struct netbsd32_lchown_args *p = params;
   1986   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   1987   1.1  christos 		uarg[1] = SCARG(p, uid); /* uid_t */
   1988   1.1  christos 		iarg[2] = SCARG(p, gid); /* gid_t */
   1989   1.1  christos 		*n_args = 3;
   1990   1.1  christos 		break;
   1991   1.1  christos 	}
   1992   1.1  christos 	/* netbsd32_lutimes */
   1993   1.1  christos 	case 276: {
   1994  1.17  christos 		const struct compat_50_netbsd32_lutimes_args *p = params;
   1995   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   1996   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tptr).i32; /* netbsd32_timeval50p_t */
   1997   1.1  christos 		*n_args = 2;
   1998   1.1  christos 		break;
   1999   1.1  christos 	}
   2000   1.1  christos 	/* netbsd32___msync13 */
   2001   1.1  christos 	case 277: {
   2002  1.17  christos 		const struct netbsd32___msync13_args *p = params;
   2003   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, addr).i32; /* netbsd32_voidp */
   2004   1.1  christos 		iarg[1] = SCARG(p, len); /* netbsd32_size_t */
   2005   1.1  christos 		iarg[2] = SCARG(p, flags); /* int */
   2006   1.1  christos 		*n_args = 3;
   2007   1.1  christos 		break;
   2008   1.1  christos 	}
   2009   1.1  christos 	/* netbsd32___stat13 */
   2010   1.1  christos 	case 278: {
   2011  1.17  christos 		const struct compat_30_netbsd32___stat13_args *p = params;
   2012   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2013   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, ub).i32; /* netbsd32_stat13p_t */
   2014   1.1  christos 		*n_args = 2;
   2015   1.1  christos 		break;
   2016   1.1  christos 	}
   2017   1.1  christos 	/* netbsd32___fstat13 */
   2018   1.1  christos 	case 279: {
   2019  1.17  christos 		const struct compat_30_netbsd32___fstat13_args *p = params;
   2020   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2021   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, sb).i32; /* netbsd32_stat13p_t */
   2022   1.1  christos 		*n_args = 2;
   2023   1.1  christos 		break;
   2024   1.1  christos 	}
   2025   1.1  christos 	/* netbsd32___lstat13 */
   2026   1.1  christos 	case 280: {
   2027  1.17  christos 		const struct compat_30_netbsd32___lstat13_args *p = params;
   2028   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2029   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, ub).i32; /* netbsd32_stat13p_t */
   2030   1.1  christos 		*n_args = 2;
   2031   1.1  christos 		break;
   2032   1.1  christos 	}
   2033   1.1  christos 	/* netbsd32___sigaltstack14 */
   2034   1.1  christos 	case 281: {
   2035  1.17  christos 		const struct netbsd32___sigaltstack14_args *p = params;
   2036   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, nss).i32; /* netbsd32_sigaltstackp_t */
   2037   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, oss).i32; /* netbsd32_sigaltstackp_t */
   2038   1.1  christos 		*n_args = 2;
   2039   1.1  christos 		break;
   2040   1.1  christos 	}
   2041   1.1  christos 	/* sys___vfork14 */
   2042   1.1  christos 	case 282: {
   2043   1.1  christos 		*n_args = 0;
   2044   1.1  christos 		break;
   2045   1.1  christos 	}
   2046   1.1  christos 	/* netbsd32___posix_chown */
   2047   1.1  christos 	case 283: {
   2048  1.17  christos 		const struct netbsd32___posix_chown_args *p = params;
   2049   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2050   1.1  christos 		uarg[1] = SCARG(p, uid); /* uid_t */
   2051   1.1  christos 		iarg[2] = SCARG(p, gid); /* gid_t */
   2052   1.1  christos 		*n_args = 3;
   2053   1.1  christos 		break;
   2054   1.1  christos 	}
   2055   1.1  christos 	/* netbsd32___posix_fchown */
   2056   1.1  christos 	case 284: {
   2057  1.17  christos 		const struct netbsd32___posix_fchown_args *p = params;
   2058   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2059   1.1  christos 		uarg[1] = SCARG(p, uid); /* uid_t */
   2060   1.1  christos 		iarg[2] = SCARG(p, gid); /* gid_t */
   2061   1.1  christos 		*n_args = 3;
   2062   1.1  christos 		break;
   2063   1.1  christos 	}
   2064   1.1  christos 	/* netbsd32___posix_lchown */
   2065   1.1  christos 	case 285: {
   2066  1.17  christos 		const struct netbsd32___posix_lchown_args *p = params;
   2067   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2068   1.1  christos 		uarg[1] = SCARG(p, uid); /* uid_t */
   2069   1.1  christos 		iarg[2] = SCARG(p, gid); /* gid_t */
   2070   1.1  christos 		*n_args = 3;
   2071   1.1  christos 		break;
   2072   1.1  christos 	}
   2073   1.1  christos 	/* netbsd32_getsid */
   2074   1.1  christos 	case 286: {
   2075  1.17  christos 		const struct netbsd32_getsid_args *p = params;
   2076   1.1  christos 		iarg[0] = SCARG(p, pid); /* pid_t */
   2077   1.1  christos 		*n_args = 1;
   2078   1.1  christos 		break;
   2079   1.1  christos 	}
   2080   1.1  christos 	/* netbsd32___clone */
   2081   1.1  christos 	case 287: {
   2082  1.17  christos 		const struct netbsd32___clone_args *p = params;
   2083   1.1  christos 		iarg[0] = SCARG(p, flags); /* int */
   2084   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, stack).i32; /* netbsd32_voidp */
   2085   1.1  christos 		*n_args = 2;
   2086   1.1  christos 		break;
   2087   1.1  christos 	}
   2088   1.1  christos 	/* netbsd32_fktrace */
   2089   1.1  christos 	case 288: {
   2090  1.17  christos 		const struct netbsd32_fktrace_args *p = params;
   2091   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2092   1.1  christos 		iarg[1] = SCARG(p, ops); /* int */
   2093   1.1  christos 		iarg[2] = SCARG(p, facs); /* int */
   2094   1.1  christos 		iarg[3] = SCARG(p, pid); /* int */
   2095   1.1  christos 		*n_args = 4;
   2096   1.1  christos 		break;
   2097   1.1  christos 	}
   2098   1.1  christos 	/* netbsd32_preadv */
   2099   1.1  christos 	case 289: {
   2100  1.17  christos 		const struct netbsd32_preadv_args *p = params;
   2101   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2102   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, iovp).i32; /* netbsd32_iovecp_t */
   2103   1.1  christos 		iarg[2] = SCARG(p, iovcnt); /* int */
   2104   1.1  christos 		iarg[3] = SCARG(p, PAD); /* int */
   2105   1.1  christos 		iarg[4] = SCARG(p, offset); /* netbsd32_off_t */
   2106   1.1  christos 		*n_args = 5;
   2107   1.1  christos 		break;
   2108   1.1  christos 	}
   2109   1.1  christos 	/* netbsd32_pwritev */
   2110   1.1  christos 	case 290: {
   2111  1.17  christos 		const struct netbsd32_pwritev_args *p = params;
   2112   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2113   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, iovp).i32; /* netbsd32_iovecp_t */
   2114   1.1  christos 		iarg[2] = SCARG(p, iovcnt); /* int */
   2115   1.1  christos 		iarg[3] = SCARG(p, PAD); /* int */
   2116   1.1  christos 		iarg[4] = SCARG(p, offset); /* netbsd32_off_t */
   2117   1.1  christos 		*n_args = 5;
   2118   1.1  christos 		break;
   2119   1.1  christos 	}
   2120   1.1  christos 	/* netbsd32___sigaction14 */
   2121   1.1  christos 	case 291: {
   2122  1.17  christos 		const struct netbsd32___sigaction14_args *p = params;
   2123   1.1  christos 		iarg[0] = SCARG(p, signum); /* int */
   2124   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, nsa).i32; /* netbsd32_sigactionp_t */
   2125   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, osa).i32; /* netbsd32_sigactionp_t */
   2126   1.1  christos 		*n_args = 3;
   2127   1.1  christos 		break;
   2128   1.1  christos 	}
   2129   1.1  christos 	/* netbsd32___sigpending14 */
   2130   1.1  christos 	case 292: {
   2131  1.17  christos 		const struct netbsd32___sigpending14_args *p = params;
   2132   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, set).i32; /* netbsd32_sigsetp_t */
   2133   1.1  christos 		*n_args = 1;
   2134   1.1  christos 		break;
   2135   1.1  christos 	}
   2136   1.1  christos 	/* netbsd32___sigprocmask14 */
   2137   1.1  christos 	case 293: {
   2138  1.17  christos 		const struct netbsd32___sigprocmask14_args *p = params;
   2139   1.1  christos 		iarg[0] = SCARG(p, how); /* int */
   2140   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, set).i32; /* netbsd32_sigsetp_t */
   2141   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, oset).i32; /* netbsd32_sigsetp_t */
   2142   1.1  christos 		*n_args = 3;
   2143   1.1  christos 		break;
   2144   1.1  christos 	}
   2145   1.1  christos 	/* netbsd32___sigsuspend14 */
   2146   1.1  christos 	case 294: {
   2147  1.17  christos 		const struct netbsd32___sigsuspend14_args *p = params;
   2148   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, set).i32; /* netbsd32_sigsetp_t */
   2149   1.1  christos 		*n_args = 1;
   2150   1.1  christos 		break;
   2151   1.1  christos 	}
   2152   1.1  christos 	/* netbsd32___sigreturn14 */
   2153   1.1  christos 	case 295: {
   2154  1.17  christos 		const struct compat_16_netbsd32___sigreturn14_args *p = params;
   2155   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, sigcntxp).i32; /* netbsd32_sigcontextp_t */
   2156   1.1  christos 		*n_args = 1;
   2157   1.1  christos 		break;
   2158   1.1  christos 	}
   2159   1.1  christos 	/* netbsd32___getcwd */
   2160   1.1  christos 	case 296: {
   2161  1.17  christos 		const struct netbsd32___getcwd_args *p = params;
   2162   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, bufp).i32; /* netbsd32_charp */
   2163   1.1  christos 		iarg[1] = SCARG(p, length); /* netbsd32_size_t */
   2164   1.1  christos 		*n_args = 2;
   2165   1.1  christos 		break;
   2166   1.1  christos 	}
   2167   1.1  christos 	/* netbsd32_fchroot */
   2168   1.1  christos 	case 297: {
   2169  1.17  christos 		const struct netbsd32_fchroot_args *p = params;
   2170   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2171   1.1  christos 		*n_args = 1;
   2172   1.1  christos 		break;
   2173   1.1  christos 	}
   2174   1.1  christos 	/* netbsd32_fhopen */
   2175   1.1  christos 	case 298: {
   2176  1.17  christos 		const struct compat_30_netbsd32_fhopen_args *p = params;
   2177   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, fhp).i32; /* netbsd32_fhandlep_t */
   2178   1.1  christos 		iarg[1] = SCARG(p, flags); /* int */
   2179   1.1  christos 		*n_args = 2;
   2180   1.1  christos 		break;
   2181   1.1  christos 	}
   2182   1.1  christos 	/* netbsd32_fhstat */
   2183   1.1  christos 	case 299: {
   2184  1.17  christos 		const struct compat_30_netbsd32_fhstat_args *p = params;
   2185   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, fhp).i32; /* netbsd32_fhandlep_t */
   2186   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, sb).i32; /* netbsd32_stat13p_t */
   2187   1.1  christos 		*n_args = 2;
   2188   1.1  christos 		break;
   2189   1.1  christos 	}
   2190   1.1  christos 	/* netbsd32_fhstatfs */
   2191   1.1  christos 	case 300: {
   2192  1.17  christos 		const struct compat_20_netbsd32_fhstatfs_args *p = params;
   2193   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, fhp).i32; /* netbsd32_fhandlep_t */
   2194   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_stat50p_t */
   2195   1.1  christos 		*n_args = 2;
   2196   1.1  christos 		break;
   2197   1.1  christos 	}
   2198   1.1  christos 	/* netbsd32___semctl14 */
   2199   1.1  christos 	case 301: {
   2200  1.17  christos 		const struct compat_50_netbsd32___semctl14_args *p = params;
   2201   1.1  christos 		iarg[0] = SCARG(p, semid); /* int */
   2202   1.1  christos 		iarg[1] = SCARG(p, semnum); /* int */
   2203   1.1  christos 		iarg[2] = SCARG(p, cmd); /* int */
   2204   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, arg).i32; /* netbsd32_semun50p_t */
   2205   1.1  christos 		*n_args = 4;
   2206   1.1  christos 		break;
   2207   1.1  christos 	}
   2208   1.1  christos 	/* netbsd32___msgctl13 */
   2209   1.1  christos 	case 302: {
   2210  1.17  christos 		const struct compat_50_netbsd32___msgctl13_args *p = params;
   2211   1.1  christos 		iarg[0] = SCARG(p, msqid); /* int */
   2212   1.1  christos 		iarg[1] = SCARG(p, cmd); /* int */
   2213   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_msqid_ds50p_t */
   2214   1.1  christos 		*n_args = 3;
   2215   1.1  christos 		break;
   2216   1.1  christos 	}
   2217   1.1  christos 	/* netbsd32___shmctl13 */
   2218   1.1  christos 	case 303: {
   2219  1.17  christos 		const struct compat_50_netbsd32___shmctl13_args *p = params;
   2220   1.1  christos 		iarg[0] = SCARG(p, shmid); /* int */
   2221   1.1  christos 		iarg[1] = SCARG(p, cmd); /* int */
   2222   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_shmid_ds50p_t */
   2223   1.1  christos 		*n_args = 3;
   2224   1.1  christos 		break;
   2225   1.1  christos 	}
   2226   1.1  christos 	/* netbsd32_lchflags */
   2227   1.1  christos 	case 304: {
   2228  1.17  christos 		const struct netbsd32_lchflags_args *p = params;
   2229   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2230   1.1  christos 		iarg[1] = SCARG(p, flags); /* netbsd32_u_long */
   2231   1.1  christos 		*n_args = 2;
   2232   1.1  christos 		break;
   2233   1.1  christos 	}
   2234   1.1  christos 	/* sys_issetugid */
   2235   1.1  christos 	case 305: {
   2236   1.1  christos 		*n_args = 0;
   2237   1.1  christos 		break;
   2238   1.1  christos 	}
   2239   1.1  christos 	/* netbsd32_utrace */
   2240   1.1  christos 	case 306: {
   2241  1.17  christos 		const struct netbsd32_utrace_args *p = params;
   2242   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, label).i32; /* netbsd32_charp */
   2243   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, addr).i32; /* netbsd32_voidp */
   2244   1.1  christos 		iarg[2] = SCARG(p, len); /* netbsd32_size_t */
   2245   1.1  christos 		*n_args = 3;
   2246   1.1  christos 		break;
   2247   1.1  christos 	}
   2248   1.1  christos 	/* netbsd32_getcontext */
   2249   1.1  christos 	case 307: {
   2250  1.17  christos 		const struct netbsd32_getcontext_args *p = params;
   2251   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, ucp).i32; /* netbsd32_ucontextp */
   2252   1.1  christos 		*n_args = 1;
   2253   1.1  christos 		break;
   2254   1.1  christos 	}
   2255   1.1  christos 	/* netbsd32_setcontext */
   2256   1.1  christos 	case 308: {
   2257  1.17  christos 		const struct netbsd32_setcontext_args *p = params;
   2258   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, ucp).i32; /* netbsd32_ucontextp */
   2259   1.1  christos 		*n_args = 1;
   2260   1.1  christos 		break;
   2261   1.1  christos 	}
   2262   1.1  christos 	/* netbsd32__lwp_create */
   2263   1.1  christos 	case 309: {
   2264  1.17  christos 		const struct netbsd32__lwp_create_args *p = params;
   2265   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, ucp).i32; /* netbsd32_ucontextp */
   2266   1.1  christos 		iarg[1] = SCARG(p, flags); /* netbsd32_u_long */
   2267   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, new_lwp).i32; /* netbsd32_lwpidp */
   2268   1.1  christos 		*n_args = 3;
   2269   1.1  christos 		break;
   2270   1.1  christos 	}
   2271   1.1  christos 	/* sys__lwp_exit */
   2272   1.1  christos 	case 310: {
   2273   1.1  christos 		*n_args = 0;
   2274   1.1  christos 		break;
   2275   1.1  christos 	}
   2276   1.1  christos 	/* sys__lwp_self */
   2277   1.1  christos 	case 311: {
   2278   1.1  christos 		*n_args = 0;
   2279   1.1  christos 		break;
   2280   1.1  christos 	}
   2281   1.1  christos 	/* netbsd32__lwp_wait */
   2282   1.1  christos 	case 312: {
   2283  1.17  christos 		const struct netbsd32__lwp_wait_args *p = params;
   2284   1.1  christos 		iarg[0] = SCARG(p, wait_for); /* lwpid_t */
   2285   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, departed).i32; /* netbsd32_lwpidp */
   2286   1.1  christos 		*n_args = 2;
   2287   1.1  christos 		break;
   2288   1.1  christos 	}
   2289   1.1  christos 	/* netbsd32__lwp_suspend */
   2290   1.1  christos 	case 313: {
   2291  1.17  christos 		const struct netbsd32__lwp_suspend_args *p = params;
   2292   1.1  christos 		iarg[0] = SCARG(p, target); /* lwpid_t */
   2293   1.1  christos 		*n_args = 1;
   2294   1.1  christos 		break;
   2295   1.1  christos 	}
   2296   1.1  christos 	/* netbsd32__lwp_continue */
   2297   1.1  christos 	case 314: {
   2298  1.17  christos 		const struct netbsd32__lwp_continue_args *p = params;
   2299   1.1  christos 		iarg[0] = SCARG(p, target); /* lwpid_t */
   2300   1.1  christos 		*n_args = 1;
   2301   1.1  christos 		break;
   2302   1.1  christos 	}
   2303   1.1  christos 	/* netbsd32__lwp_wakeup */
   2304   1.1  christos 	case 315: {
   2305  1.17  christos 		const struct netbsd32__lwp_wakeup_args *p = params;
   2306   1.1  christos 		iarg[0] = SCARG(p, target); /* lwpid_t */
   2307   1.1  christos 		*n_args = 1;
   2308   1.1  christos 		break;
   2309   1.1  christos 	}
   2310   1.1  christos 	/* sys__lwp_getprivate */
   2311   1.1  christos 	case 316: {
   2312   1.1  christos 		*n_args = 0;
   2313   1.1  christos 		break;
   2314   1.1  christos 	}
   2315   1.1  christos 	/* netbsd32__lwp_setprivate */
   2316   1.1  christos 	case 317: {
   2317  1.17  christos 		const struct netbsd32__lwp_setprivate_args *p = params;
   2318   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, ptr).i32; /* netbsd32_voidp */
   2319   1.1  christos 		*n_args = 1;
   2320   1.1  christos 		break;
   2321   1.1  christos 	}
   2322   1.1  christos 	/* netbsd32__lwp_kill */
   2323   1.1  christos 	case 318: {
   2324  1.17  christos 		const struct netbsd32__lwp_kill_args *p = params;
   2325   1.1  christos 		iarg[0] = SCARG(p, target); /* lwpid_t */
   2326   1.1  christos 		iarg[1] = SCARG(p, signo); /* int */
   2327   1.1  christos 		*n_args = 2;
   2328   1.1  christos 		break;
   2329   1.1  christos 	}
   2330   1.1  christos 	/* netbsd32__lwp_detach */
   2331   1.1  christos 	case 319: {
   2332  1.17  christos 		const struct netbsd32__lwp_detach_args *p = params;
   2333   1.1  christos 		iarg[0] = SCARG(p, target); /* lwpid_t */
   2334   1.1  christos 		*n_args = 1;
   2335   1.1  christos 		break;
   2336   1.1  christos 	}
   2337   1.1  christos 	/* netbsd32__lwp_park */
   2338   1.1  christos 	case 320: {
   2339  1.17  christos 		const struct compat_50_netbsd32__lwp_park_args *p = params;
   2340   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, ts).i32; /* netbsd32_timespec50p_t */
   2341   1.1  christos 		iarg[1] = SCARG(p, unpark); /* lwpid_t */
   2342   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, hint).i32; /* netbsd32_voidp */
   2343   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, unparkhint).i32; /* netbsd32_voidp */
   2344   1.1  christos 		*n_args = 4;
   2345   1.1  christos 		break;
   2346   1.1  christos 	}
   2347   1.1  christos 	/* netbsd32__lwp_unpark */
   2348   1.1  christos 	case 321: {
   2349  1.17  christos 		const struct netbsd32__lwp_unpark_args *p = params;
   2350   1.1  christos 		iarg[0] = SCARG(p, target); /* lwpid_t */
   2351   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, hint).i32; /* netbsd32_voidp */
   2352   1.1  christos 		*n_args = 2;
   2353   1.1  christos 		break;
   2354   1.1  christos 	}
   2355   1.1  christos 	/* netbsd32__lwp_unpark_all */
   2356   1.1  christos 	case 322: {
   2357  1.17  christos 		const struct netbsd32__lwp_unpark_all_args *p = params;
   2358   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, targets).i32; /* netbsd32_lwpidp */
   2359   1.1  christos 		iarg[1] = SCARG(p, ntargets); /* netbsd32_size_t */
   2360   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, hint).i32; /* netbsd32_voidp */
   2361   1.1  christos 		*n_args = 3;
   2362   1.1  christos 		break;
   2363   1.1  christos 	}
   2364   1.1  christos 	/* netbsd32__lwp_setname */
   2365   1.1  christos 	case 323: {
   2366  1.17  christos 		const struct netbsd32__lwp_setname_args *p = params;
   2367   1.1  christos 		iarg[0] = SCARG(p, target); /* lwpid_t */
   2368   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
   2369   1.1  christos 		*n_args = 2;
   2370   1.1  christos 		break;
   2371   1.1  christos 	}
   2372   1.1  christos 	/* netbsd32__lwp_getname */
   2373   1.1  christos 	case 324: {
   2374  1.17  christos 		const struct netbsd32__lwp_getname_args *p = params;
   2375   1.1  christos 		iarg[0] = SCARG(p, target); /* lwpid_t */
   2376   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
   2377   1.1  christos 		iarg[2] = SCARG(p, len); /* netbsd32_size_t */
   2378   1.1  christos 		*n_args = 3;
   2379   1.1  christos 		break;
   2380   1.1  christos 	}
   2381   1.1  christos 	/* netbsd32__lwp_ctl */
   2382   1.1  christos 	case 325: {
   2383  1.17  christos 		const struct netbsd32__lwp_ctl_args *p = params;
   2384   1.1  christos 		iarg[0] = SCARG(p, features); /* int */
   2385   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, address).i32; /* netbsd32_pointer_t */
   2386   1.1  christos 		*n_args = 2;
   2387   1.1  christos 		break;
   2388   1.1  christos 	}
   2389   1.1  christos 	/* netbsd32___sigaction_sigtramp */
   2390   1.1  christos 	case 340: {
   2391  1.17  christos 		const struct netbsd32___sigaction_sigtramp_args *p = params;
   2392   1.1  christos 		iarg[0] = SCARG(p, signum); /* int */
   2393   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, nsa).i32; /* netbsd32_sigactionp_t */
   2394   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, osa).i32; /* netbsd32_sigactionp_t */
   2395   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, tramp).i32; /* netbsd32_voidp */
   2396   1.1  christos 		iarg[4] = SCARG(p, vers); /* int */
   2397   1.1  christos 		*n_args = 5;
   2398   1.1  christos 		break;
   2399   1.1  christos 	}
   2400   1.1  christos 	/* netbsd32_rasctl */
   2401   1.1  christos 	case 343: {
   2402  1.17  christos 		const struct netbsd32_rasctl_args *p = params;
   2403   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, addr).i32; /* netbsd32_voidp */
   2404   1.1  christos 		iarg[1] = SCARG(p, len); /* netbsd32_size_t */
   2405   1.1  christos 		iarg[2] = SCARG(p, op); /* int */
   2406   1.1  christos 		*n_args = 3;
   2407   1.1  christos 		break;
   2408   1.1  christos 	}
   2409   1.1  christos 	/* sys_kqueue */
   2410   1.1  christos 	case 344: {
   2411   1.1  christos 		*n_args = 0;
   2412   1.1  christos 		break;
   2413   1.1  christos 	}
   2414   1.1  christos 	/* netbsd32_kevent */
   2415   1.1  christos 	case 345: {
   2416  1.17  christos 		const struct compat_50_netbsd32_kevent_args *p = params;
   2417   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2418  1.50       rin 		uarg[1] = (intptr_t) SCARG(p, changelist).i32; /* netbsd32_kevent100p_t */
   2419   1.1  christos 		iarg[2] = SCARG(p, nchanges); /* netbsd32_size_t */
   2420  1.50       rin 		uarg[3] = (intptr_t) SCARG(p, eventlist).i32; /* netbsd32_kevent100p_t */
   2421   1.1  christos 		iarg[4] = SCARG(p, nevents); /* netbsd32_size_t */
   2422   1.1  christos 		uarg[5] = (intptr_t) SCARG(p, timeout).i32; /* netbsd32_timespec50p_t */
   2423   1.1  christos 		*n_args = 6;
   2424   1.1  christos 		break;
   2425   1.1  christos 	}
   2426   1.1  christos 	/* netbsd32__sched_setparam */
   2427   1.1  christos 	case 346: {
   2428  1.17  christos 		const struct netbsd32__sched_setparam_args *p = params;
   2429   1.1  christos 		iarg[0] = SCARG(p, pid); /* pid_t */
   2430   1.1  christos 		iarg[1] = SCARG(p, lid); /* lwpid_t */
   2431   1.1  christos 		iarg[2] = SCARG(p, policy); /* int */
   2432   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, params).i32; /* const netbsd32_sched_paramp_t */
   2433   1.1  christos 		*n_args = 4;
   2434   1.1  christos 		break;
   2435   1.1  christos 	}
   2436   1.1  christos 	/* netbsd32__sched_getparam */
   2437   1.1  christos 	case 347: {
   2438  1.17  christos 		const struct netbsd32__sched_getparam_args *p = params;
   2439   1.1  christos 		iarg[0] = SCARG(p, pid); /* pid_t */
   2440   1.1  christos 		iarg[1] = SCARG(p, lid); /* lwpid_t */
   2441   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, policy).i32; /* netbsd32_intp */
   2442   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, params).i32; /* netbsd32_sched_paramp_t */
   2443   1.1  christos 		*n_args = 4;
   2444   1.1  christos 		break;
   2445   1.1  christos 	}
   2446   1.1  christos 	/* netbsd32__sched_setaffinity */
   2447   1.1  christos 	case 348: {
   2448  1.17  christos 		const struct netbsd32__sched_setaffinity_args *p = params;
   2449   1.1  christos 		iarg[0] = SCARG(p, pid); /* pid_t */
   2450   1.1  christos 		iarg[1] = SCARG(p, lid); /* lwpid_t */
   2451   1.1  christos 		iarg[2] = SCARG(p, size); /* netbsd32_size_t */
   2452   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, cpuset).i32; /* const netbsd32_cpusetp_t */
   2453   1.1  christos 		*n_args = 4;
   2454   1.1  christos 		break;
   2455   1.1  christos 	}
   2456   1.1  christos 	/* netbsd32__sched_getaffinity */
   2457   1.1  christos 	case 349: {
   2458  1.17  christos 		const struct netbsd32__sched_getaffinity_args *p = params;
   2459   1.1  christos 		iarg[0] = SCARG(p, pid); /* pid_t */
   2460   1.1  christos 		iarg[1] = SCARG(p, lid); /* lwpid_t */
   2461   1.1  christos 		iarg[2] = SCARG(p, size); /* netbsd32_size_t */
   2462   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, cpuset).i32; /* netbsd32_cpusetp_t */
   2463   1.1  christos 		*n_args = 4;
   2464   1.1  christos 		break;
   2465   1.1  christos 	}
   2466   1.1  christos 	/* sys_sched_yield */
   2467   1.1  christos 	case 350: {
   2468   1.1  christos 		*n_args = 0;
   2469   1.1  christos 		break;
   2470   1.1  christos 	}
   2471  1.13     skrll 	/* netbsd32__sched_protect */
   2472  1.13     skrll 	case 351: {
   2473  1.17  christos 		const struct netbsd32__sched_protect_args *p = params;
   2474  1.13     skrll 		iarg[0] = SCARG(p, priority); /* int */
   2475  1.13     skrll 		*n_args = 1;
   2476  1.13     skrll 		break;
   2477  1.13     skrll 	}
   2478   1.1  christos 	/* netbsd32_fsync_range */
   2479   1.1  christos 	case 354: {
   2480  1.17  christos 		const struct netbsd32_fsync_range_args *p = params;
   2481   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2482   1.1  christos 		iarg[1] = SCARG(p, flags); /* int */
   2483   1.1  christos 		iarg[2] = SCARG(p, start); /* netbsd32_off_t */
   2484   1.1  christos 		iarg[3] = SCARG(p, length); /* netbsd32_off_t */
   2485   1.1  christos 		*n_args = 4;
   2486   1.1  christos 		break;
   2487   1.1  christos 	}
   2488   1.1  christos 	/* netbsd32_uuidgen */
   2489   1.1  christos 	case 355: {
   2490  1.17  christos 		const struct netbsd32_uuidgen_args *p = params;
   2491   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, store).i32; /* netbsd32_uuidp_t */
   2492   1.1  christos 		iarg[1] = SCARG(p, count); /* int */
   2493   1.1  christos 		*n_args = 2;
   2494   1.1  christos 		break;
   2495   1.1  christos 	}
   2496   1.1  christos 	/* netbsd32_getvfsstat */
   2497   1.1  christos 	case 356: {
   2498  1.33  christos 		const struct compat_90_netbsd32_getvfsstat_args *p = params;
   2499  1.33  christos 		uarg[0] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_statvfs90p_t */
   2500   1.1  christos 		iarg[1] = SCARG(p, bufsize); /* netbsd32_size_t */
   2501   1.1  christos 		iarg[2] = SCARG(p, flags); /* int */
   2502   1.1  christos 		*n_args = 3;
   2503   1.1  christos 		break;
   2504   1.1  christos 	}
   2505   1.1  christos 	/* netbsd32_statvfs1 */
   2506   1.1  christos 	case 357: {
   2507  1.33  christos 		const struct compat_90_netbsd32_statvfs1_args *p = params;
   2508   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2509  1.33  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_statvfs90p_t */
   2510   1.1  christos 		iarg[2] = SCARG(p, flags); /* int */
   2511   1.1  christos 		*n_args = 3;
   2512   1.1  christos 		break;
   2513   1.1  christos 	}
   2514   1.1  christos 	/* netbsd32_fstatvfs1 */
   2515   1.1  christos 	case 358: {
   2516  1.33  christos 		const struct compat_90_netbsd32_fstatvfs1_args *p = params;
   2517   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2518  1.33  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_statvfs90p_t */
   2519   1.1  christos 		iarg[2] = SCARG(p, flags); /* int */
   2520   1.1  christos 		*n_args = 3;
   2521   1.1  christos 		break;
   2522   1.1  christos 	}
   2523   1.1  christos 	/* netbsd32_fhstatvfs1 */
   2524   1.1  christos 	case 359: {
   2525  1.17  christos 		const struct compat_30_netbsd32_fhstatvfs1_args *p = params;
   2526   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, fhp).i32; /* netbsd32_fhandlep_t */
   2527  1.33  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_statvfs90p_t */
   2528   1.1  christos 		iarg[2] = SCARG(p, flags); /* int */
   2529   1.1  christos 		*n_args = 3;
   2530   1.1  christos 		break;
   2531   1.1  christos 	}
   2532   1.1  christos 	/* netbsd32_extattrctl */
   2533   1.1  christos 	case 360: {
   2534  1.17  christos 		const struct netbsd32_extattrctl_args *p = params;
   2535   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2536   1.1  christos 		iarg[1] = SCARG(p, cmd); /* int */
   2537   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, filename).i32; /* netbsd32_charp */
   2538   1.1  christos 		iarg[3] = SCARG(p, attrnamespace); /* int */
   2539   1.1  christos 		uarg[4] = (intptr_t) SCARG(p, attrname).i32; /* netbsd32_charp */
   2540   1.1  christos 		*n_args = 5;
   2541   1.1  christos 		break;
   2542   1.1  christos 	}
   2543   1.1  christos 	/* netbsd32_extattr_set_file */
   2544   1.1  christos 	case 361: {
   2545  1.17  christos 		const struct netbsd32_extattr_set_file_args *p = params;
   2546   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2547   1.1  christos 		iarg[1] = SCARG(p, attrnamespace); /* int */
   2548   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, attrname).i32; /* netbsd32_charp */
   2549   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, data).i32; /* netbsd32_voidp */
   2550   1.1  christos 		iarg[4] = SCARG(p, nbytes); /* netbsd32_size_t */
   2551   1.1  christos 		*n_args = 5;
   2552   1.1  christos 		break;
   2553   1.1  christos 	}
   2554   1.1  christos 	/* netbsd32_extattr_get_file */
   2555   1.1  christos 	case 362: {
   2556  1.17  christos 		const struct netbsd32_extattr_get_file_args *p = params;
   2557   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2558   1.1  christos 		iarg[1] = SCARG(p, attrnamespace); /* int */
   2559   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, attrname).i32; /* netbsd32_charp */
   2560   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, data).i32; /* netbsd32_voidp */
   2561   1.1  christos 		iarg[4] = SCARG(p, nbytes); /* netbsd32_size_t */
   2562   1.1  christos 		*n_args = 5;
   2563   1.1  christos 		break;
   2564   1.1  christos 	}
   2565   1.1  christos 	/* netbsd32_extattr_delete_file */
   2566   1.1  christos 	case 363: {
   2567  1.17  christos 		const struct netbsd32_extattr_delete_file_args *p = params;
   2568   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2569   1.1  christos 		iarg[1] = SCARG(p, attrnamespace); /* int */
   2570   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, attrname).i32; /* netbsd32_charp */
   2571   1.1  christos 		*n_args = 3;
   2572   1.1  christos 		break;
   2573   1.1  christos 	}
   2574   1.1  christos 	/* netbsd32_extattr_set_fd */
   2575   1.1  christos 	case 364: {
   2576  1.17  christos 		const struct netbsd32_extattr_set_fd_args *p = params;
   2577   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2578   1.1  christos 		iarg[1] = SCARG(p, attrnamespace); /* int */
   2579   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, attrname).i32; /* netbsd32_charp */
   2580   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, data).i32; /* netbsd32_voidp */
   2581   1.1  christos 		iarg[4] = SCARG(p, nbytes); /* netbsd32_size_t */
   2582   1.1  christos 		*n_args = 5;
   2583   1.1  christos 		break;
   2584   1.1  christos 	}
   2585   1.1  christos 	/* netbsd32_extattr_get_fd */
   2586   1.1  christos 	case 365: {
   2587  1.17  christos 		const struct netbsd32_extattr_get_fd_args *p = params;
   2588   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2589   1.1  christos 		iarg[1] = SCARG(p, attrnamespace); /* int */
   2590   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, attrname).i32; /* netbsd32_charp */
   2591   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, data).i32; /* netbsd32_voidp */
   2592   1.1  christos 		iarg[4] = SCARG(p, nbytes); /* netbsd32_size_t */
   2593   1.1  christos 		*n_args = 5;
   2594   1.1  christos 		break;
   2595   1.1  christos 	}
   2596   1.1  christos 	/* netbsd32_extattr_delete_fd */
   2597   1.1  christos 	case 366: {
   2598  1.17  christos 		const struct netbsd32_extattr_delete_fd_args *p = params;
   2599   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2600   1.1  christos 		iarg[1] = SCARG(p, attrnamespace); /* int */
   2601   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, attrname).i32; /* netbsd32_charp */
   2602   1.1  christos 		*n_args = 3;
   2603   1.1  christos 		break;
   2604   1.1  christos 	}
   2605   1.1  christos 	/* netbsd32_extattr_set_link */
   2606   1.1  christos 	case 367: {
   2607  1.17  christos 		const struct netbsd32_extattr_set_link_args *p = params;
   2608   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2609   1.1  christos 		iarg[1] = SCARG(p, attrnamespace); /* int */
   2610   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, attrname).i32; /* netbsd32_charp */
   2611   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, data).i32; /* netbsd32_voidp */
   2612   1.1  christos 		iarg[4] = SCARG(p, nbytes); /* netbsd32_size_t */
   2613   1.1  christos 		*n_args = 5;
   2614   1.1  christos 		break;
   2615   1.1  christos 	}
   2616   1.1  christos 	/* netbsd32_extattr_get_link */
   2617   1.1  christos 	case 368: {
   2618  1.17  christos 		const struct netbsd32_extattr_get_link_args *p = params;
   2619   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2620   1.1  christos 		iarg[1] = SCARG(p, attrnamespace); /* int */
   2621   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, attrname).i32; /* netbsd32_charp */
   2622   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, data).i32; /* netbsd32_voidp */
   2623   1.1  christos 		iarg[4] = SCARG(p, nbytes); /* netbsd32_size_t */
   2624   1.1  christos 		*n_args = 5;
   2625   1.1  christos 		break;
   2626   1.1  christos 	}
   2627   1.1  christos 	/* netbsd32_extattr_delete_link */
   2628   1.1  christos 	case 369: {
   2629  1.17  christos 		const struct netbsd32_extattr_delete_link_args *p = params;
   2630   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2631   1.1  christos 		iarg[1] = SCARG(p, attrnamespace); /* int */
   2632   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, attrname).i32; /* netbsd32_charp */
   2633   1.1  christos 		*n_args = 3;
   2634   1.1  christos 		break;
   2635   1.1  christos 	}
   2636   1.1  christos 	/* netbsd32_extattr_list_fd */
   2637   1.1  christos 	case 370: {
   2638  1.17  christos 		const struct netbsd32_extattr_list_fd_args *p = params;
   2639   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2640   1.1  christos 		iarg[1] = SCARG(p, attrnamespace); /* int */
   2641   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, data).i32; /* netbsd32_voidp */
   2642   1.1  christos 		iarg[3] = SCARG(p, nbytes); /* netbsd32_size_t */
   2643   1.1  christos 		*n_args = 4;
   2644   1.1  christos 		break;
   2645   1.1  christos 	}
   2646   1.1  christos 	/* netbsd32_extattr_list_file */
   2647   1.1  christos 	case 371: {
   2648  1.17  christos 		const struct netbsd32_extattr_list_file_args *p = params;
   2649   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2650   1.1  christos 		iarg[1] = SCARG(p, attrnamespace); /* int */
   2651   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, data).i32; /* netbsd32_voidp */
   2652   1.1  christos 		iarg[3] = SCARG(p, nbytes); /* netbsd32_size_t */
   2653   1.1  christos 		*n_args = 4;
   2654   1.1  christos 		break;
   2655   1.1  christos 	}
   2656   1.1  christos 	/* netbsd32_extattr_list_link */
   2657   1.1  christos 	case 372: {
   2658  1.17  christos 		const struct netbsd32_extattr_list_link_args *p = params;
   2659   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2660   1.1  christos 		iarg[1] = SCARG(p, attrnamespace); /* int */
   2661   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, data).i32; /* netbsd32_voidp */
   2662   1.1  christos 		iarg[3] = SCARG(p, nbytes); /* netbsd32_size_t */
   2663   1.1  christos 		*n_args = 4;
   2664   1.1  christos 		break;
   2665   1.1  christos 	}
   2666   1.1  christos 	/* netbsd32_pselect */
   2667   1.1  christos 	case 373: {
   2668  1.17  christos 		const struct compat_50_netbsd32_pselect_args *p = params;
   2669   1.1  christos 		iarg[0] = SCARG(p, nd); /* int */
   2670   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, in).i32; /* netbsd32_fd_setp_t */
   2671   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, ou).i32; /* netbsd32_fd_setp_t */
   2672   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, ex).i32; /* netbsd32_fd_setp_t */
   2673   1.1  christos 		uarg[4] = (intptr_t) SCARG(p, ts).i32; /* netbsd32_timespec50p_t */
   2674   1.1  christos 		uarg[5] = (intptr_t) SCARG(p, mask).i32; /* netbsd32_sigsetp_t */
   2675   1.1  christos 		*n_args = 6;
   2676   1.1  christos 		break;
   2677   1.1  christos 	}
   2678   1.1  christos 	/* netbsd32_pollts */
   2679   1.1  christos 	case 374: {
   2680  1.17  christos 		const struct compat_50_netbsd32_pollts_args *p = params;
   2681   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, fds).i32; /* netbsd32_pollfdp_t */
   2682   1.1  christos 		uarg[1] = SCARG(p, nfds); /* u_int */
   2683   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, ts).i32; /* netbsd32_timespec50p_t */
   2684   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, mask).i32; /* netbsd32_sigsetp_t */
   2685   1.1  christos 		*n_args = 4;
   2686   1.1  christos 		break;
   2687   1.1  christos 	}
   2688   1.1  christos 	/* netbsd32_setxattr */
   2689   1.1  christos 	case 375: {
   2690  1.17  christos 		const struct netbsd32_setxattr_args *p = params;
   2691   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2692   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
   2693   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, value).i32; /* netbsd32_voidp */
   2694   1.1  christos 		iarg[3] = SCARG(p, size); /* netbsd32_size_t */
   2695   1.1  christos 		iarg[4] = SCARG(p, flags); /* int */
   2696   1.1  christos 		*n_args = 5;
   2697   1.1  christos 		break;
   2698   1.1  christos 	}
   2699   1.1  christos 	/* netbsd32_lsetxattr */
   2700   1.1  christos 	case 376: {
   2701  1.17  christos 		const struct netbsd32_lsetxattr_args *p = params;
   2702   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2703   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
   2704   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, value).i32; /* netbsd32_voidp */
   2705   1.1  christos 		iarg[3] = SCARG(p, size); /* netbsd32_size_t */
   2706   1.1  christos 		iarg[4] = SCARG(p, flags); /* int */
   2707   1.1  christos 		*n_args = 5;
   2708   1.1  christos 		break;
   2709   1.1  christos 	}
   2710   1.1  christos 	/* netbsd32_fsetxattr */
   2711   1.1  christos 	case 377: {
   2712  1.17  christos 		const struct netbsd32_fsetxattr_args *p = params;
   2713   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2714   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
   2715   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, value).i32; /* netbsd32_voidp */
   2716   1.1  christos 		iarg[3] = SCARG(p, size); /* netbsd32_size_t */
   2717   1.1  christos 		iarg[4] = SCARG(p, flags); /* int */
   2718   1.1  christos 		*n_args = 5;
   2719   1.1  christos 		break;
   2720   1.1  christos 	}
   2721   1.1  christos 	/* netbsd32_getxattr */
   2722   1.1  christos 	case 378: {
   2723  1.17  christos 		const struct netbsd32_getxattr_args *p = params;
   2724   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2725   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
   2726   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, value).i32; /* netbsd32_voidp */
   2727   1.1  christos 		iarg[3] = SCARG(p, size); /* netbsd32_size_t */
   2728   1.1  christos 		*n_args = 4;
   2729   1.1  christos 		break;
   2730   1.1  christos 	}
   2731   1.1  christos 	/* netbsd32_lgetxattr */
   2732   1.1  christos 	case 379: {
   2733  1.17  christos 		const struct netbsd32_lgetxattr_args *p = params;
   2734   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2735   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
   2736   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, value).i32; /* netbsd32_voidp */
   2737   1.1  christos 		iarg[3] = SCARG(p, size); /* netbsd32_size_t */
   2738   1.1  christos 		*n_args = 4;
   2739   1.1  christos 		break;
   2740   1.1  christos 	}
   2741   1.1  christos 	/* netbsd32_fgetxattr */
   2742   1.1  christos 	case 380: {
   2743  1.17  christos 		const struct netbsd32_fgetxattr_args *p = params;
   2744   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2745   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
   2746   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, value).i32; /* netbsd32_voidp */
   2747   1.1  christos 		iarg[3] = SCARG(p, size); /* netbsd32_size_t */
   2748   1.1  christos 		*n_args = 4;
   2749   1.1  christos 		break;
   2750   1.1  christos 	}
   2751   1.1  christos 	/* netbsd32_listxattr */
   2752   1.1  christos 	case 381: {
   2753  1.17  christos 		const struct netbsd32_listxattr_args *p = params;
   2754   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2755   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, list).i32; /* netbsd32_charp */
   2756   1.1  christos 		iarg[2] = SCARG(p, size); /* netbsd32_size_t */
   2757   1.1  christos 		*n_args = 3;
   2758   1.1  christos 		break;
   2759   1.1  christos 	}
   2760   1.1  christos 	/* netbsd32_llistxattr */
   2761   1.1  christos 	case 382: {
   2762  1.17  christos 		const struct netbsd32_llistxattr_args *p = params;
   2763   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2764   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, list).i32; /* netbsd32_charp */
   2765   1.1  christos 		iarg[2] = SCARG(p, size); /* netbsd32_size_t */
   2766   1.1  christos 		*n_args = 3;
   2767   1.1  christos 		break;
   2768   1.1  christos 	}
   2769   1.1  christos 	/* netbsd32_flistxattr */
   2770   1.1  christos 	case 383: {
   2771  1.17  christos 		const struct netbsd32_flistxattr_args *p = params;
   2772   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2773   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, list).i32; /* netbsd32_charp */
   2774   1.1  christos 		iarg[2] = SCARG(p, size); /* netbsd32_size_t */
   2775   1.1  christos 		*n_args = 3;
   2776   1.1  christos 		break;
   2777   1.1  christos 	}
   2778   1.1  christos 	/* netbsd32_removexattr */
   2779   1.1  christos 	case 384: {
   2780  1.17  christos 		const struct netbsd32_removexattr_args *p = params;
   2781   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2782   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
   2783   1.1  christos 		*n_args = 2;
   2784   1.1  christos 		break;
   2785   1.1  christos 	}
   2786   1.1  christos 	/* netbsd32_lremovexattr */
   2787   1.1  christos 	case 385: {
   2788  1.17  christos 		const struct netbsd32_lremovexattr_args *p = params;
   2789   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2790   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
   2791   1.1  christos 		*n_args = 2;
   2792   1.1  christos 		break;
   2793   1.1  christos 	}
   2794   1.1  christos 	/* netbsd32_fremovexattr */
   2795   1.1  christos 	case 386: {
   2796  1.17  christos 		const struct netbsd32_fremovexattr_args *p = params;
   2797   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2798   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
   2799   1.1  christos 		*n_args = 2;
   2800   1.1  christos 		break;
   2801   1.1  christos 	}
   2802   1.1  christos 	/* netbsd32___stat30 */
   2803   1.1  christos 	case 387: {
   2804  1.17  christos 		const struct compat_50_netbsd32___stat30_args *p = params;
   2805   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2806   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, ub).i32; /* netbsd32_stat50p_t */
   2807   1.1  christos 		*n_args = 2;
   2808   1.1  christos 		break;
   2809   1.1  christos 	}
   2810   1.1  christos 	/* netbsd32___fstat30 */
   2811   1.1  christos 	case 388: {
   2812  1.17  christos 		const struct compat_50_netbsd32___fstat30_args *p = params;
   2813   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2814   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, sb).i32; /* netbsd32_stat50p_t */
   2815   1.1  christos 		*n_args = 2;
   2816   1.1  christos 		break;
   2817   1.1  christos 	}
   2818   1.1  christos 	/* netbsd32___lstat30 */
   2819   1.1  christos 	case 389: {
   2820  1.17  christos 		const struct compat_50_netbsd32___lstat30_args *p = params;
   2821   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2822   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, ub).i32; /* netbsd32_stat50p_t */
   2823   1.1  christos 		*n_args = 2;
   2824   1.1  christos 		break;
   2825   1.1  christos 	}
   2826   1.1  christos 	/* netbsd32___getdents30 */
   2827   1.1  christos 	case 390: {
   2828  1.17  christos 		const struct netbsd32___getdents30_args *p = params;
   2829   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2830   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_charp */
   2831   1.1  christos 		iarg[2] = SCARG(p, count); /* netbsd32_size_t */
   2832   1.1  christos 		*n_args = 3;
   2833   1.1  christos 		break;
   2834   1.1  christos 	}
   2835   1.1  christos 	/* netbsd32___fhstat30 */
   2836   1.1  christos 	case 392: {
   2837  1.17  christos 		const struct compat_30_netbsd32___fhstat30_args *p = params;
   2838   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, fhp).i32; /* netbsd32_fhandlep_t */
   2839   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, sb).i32; /* netbsd32_stat50p_t */
   2840   1.1  christos 		*n_args = 2;
   2841   1.1  christos 		break;
   2842   1.1  christos 	}
   2843   1.1  christos 	/* netbsd32_ntp_gettime */
   2844   1.1  christos 	case 393: {
   2845  1.17  christos 		const struct compat_50_netbsd32_ntp_gettime_args *p = params;
   2846   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, ntvp).i32; /* netbsd32_ntptimeval50p_t */
   2847   1.1  christos 		*n_args = 1;
   2848   1.1  christos 		break;
   2849   1.1  christos 	}
   2850   1.1  christos 	/* netbsd32___socket30 */
   2851   1.1  christos 	case 394: {
   2852  1.17  christos 		const struct netbsd32___socket30_args *p = params;
   2853   1.1  christos 		iarg[0] = SCARG(p, domain); /* int */
   2854   1.1  christos 		iarg[1] = SCARG(p, type); /* int */
   2855   1.1  christos 		iarg[2] = SCARG(p, protocol); /* int */
   2856   1.1  christos 		*n_args = 3;
   2857   1.1  christos 		break;
   2858   1.1  christos 	}
   2859   1.1  christos 	/* netbsd32___getfh30 */
   2860   1.1  christos 	case 395: {
   2861  1.17  christos 		const struct netbsd32___getfh30_args *p = params;
   2862   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, fname).i32; /* netbsd32_charp */
   2863   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, fhp).i32; /* netbsd32_pointer_t */
   2864   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, fh_size).i32; /* netbsd32_size_tp */
   2865   1.1  christos 		*n_args = 3;
   2866   1.1  christos 		break;
   2867   1.1  christos 	}
   2868   1.1  christos 	/* netbsd32___fhopen40 */
   2869   1.1  christos 	case 396: {
   2870  1.17  christos 		const struct netbsd32___fhopen40_args *p = params;
   2871   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, fhp).i32; /* netbsd32_pointer_t */
   2872   1.1  christos 		iarg[1] = SCARG(p, fh_size); /* netbsd32_size_t */
   2873   1.1  christos 		iarg[2] = SCARG(p, flags); /* int */
   2874   1.1  christos 		*n_args = 3;
   2875   1.1  christos 		break;
   2876   1.1  christos 	}
   2877  1.33  christos 	/* netbsd32_fhstatvfs1 */
   2878   1.1  christos 	case 397: {
   2879  1.33  christos 		const struct compat_90_netbsd32_fhstatvfs1_args *p = params;
   2880   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, fhp).i32; /* netbsd32_pointer_t */
   2881   1.1  christos 		iarg[1] = SCARG(p, fh_size); /* netbsd32_size_t */
   2882  1.33  christos 		uarg[2] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_statvfs90p_t */
   2883   1.1  christos 		iarg[3] = SCARG(p, flags); /* int */
   2884   1.1  christos 		*n_args = 4;
   2885   1.1  christos 		break;
   2886   1.1  christos 	}
   2887   1.1  christos 	/* netbsd32___fhstat40 */
   2888   1.1  christos 	case 398: {
   2889  1.17  christos 		const struct compat_50_netbsd32___fhstat40_args *p = params;
   2890   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, fhp).i32; /* netbsd32_pointer_t */
   2891   1.1  christos 		iarg[1] = SCARG(p, fh_size); /* netbsd32_size_t */
   2892   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, sb).i32; /* netbsd32_stat50p_t */
   2893   1.1  christos 		*n_args = 3;
   2894   1.1  christos 		break;
   2895   1.1  christos 	}
   2896   1.1  christos 	/* netbsd32___mount50 */
   2897   1.1  christos 	case 410: {
   2898  1.17  christos 		const struct netbsd32___mount50_args *p = params;
   2899   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, type).i32; /* netbsd32_charp */
   2900   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2901   1.1  christos 		iarg[2] = SCARG(p, flags); /* int */
   2902   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, data).i32; /* netbsd32_voidp */
   2903   1.1  christos 		iarg[4] = SCARG(p, data_len); /* netbsd32_size_t */
   2904   1.1  christos 		*n_args = 5;
   2905   1.1  christos 		break;
   2906   1.1  christos 	}
   2907   1.1  christos 	/* netbsd32_mremap */
   2908   1.1  christos 	case 411: {
   2909  1.17  christos 		const struct netbsd32_mremap_args *p = params;
   2910   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, old_address).i32; /* netbsd32_voidp */
   2911   1.1  christos 		iarg[1] = SCARG(p, old_size); /* netbsd32_size_t */
   2912   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, new_address).i32; /* netbsd32_voidp */
   2913   1.1  christos 		iarg[3] = SCARG(p, new_size); /* netbsd32_size_t */
   2914   1.1  christos 		iarg[4] = SCARG(p, flags); /* int */
   2915   1.1  christos 		*n_args = 5;
   2916   1.1  christos 		break;
   2917   1.1  christos 	}
   2918   1.5    martin 	/* netbsd32_pset_create */
   2919   1.5    martin 	case 412: {
   2920  1.17  christos 		const struct netbsd32_pset_create_args *p = params;
   2921   1.5    martin 		uarg[0] = (intptr_t) SCARG(p, psid).i32; /* netbsd32_psetidp_t */
   2922   1.5    martin 		*n_args = 1;
   2923   1.5    martin 		break;
   2924   1.5    martin 	}
   2925   1.5    martin 	/* netbsd32_pset_destroy */
   2926   1.5    martin 	case 413: {
   2927  1.17  christos 		const struct netbsd32_pset_destroy_args *p = params;
   2928   1.5    martin 		iarg[0] = SCARG(p, psid); /* psetid_t */
   2929   1.5    martin 		*n_args = 1;
   2930   1.5    martin 		break;
   2931   1.5    martin 	}
   2932   1.5    martin 	/* netbsd32_pset_assign */
   2933   1.5    martin 	case 414: {
   2934  1.17  christos 		const struct netbsd32_pset_assign_args *p = params;
   2935   1.5    martin 		iarg[0] = SCARG(p, psid); /* psetid_t */
   2936   1.5    martin 		iarg[1] = SCARG(p, cpuid); /* cpuid_t */
   2937   1.5    martin 		uarg[2] = (intptr_t) SCARG(p, opsid).i32; /* netbsd32_psetidp_t */
   2938   1.5    martin 		*n_args = 3;
   2939   1.5    martin 		break;
   2940   1.5    martin 	}
   2941   1.5    martin 	/* netbsd32__pset_bind */
   2942   1.5    martin 	case 415: {
   2943  1.17  christos 		const struct netbsd32__pset_bind_args *p = params;
   2944   1.5    martin 		iarg[0] = SCARG(p, idtype); /* idtype_t */
   2945   1.5    martin 		iarg[1] = SCARG(p, first_id); /* id_t */
   2946   1.5    martin 		iarg[2] = SCARG(p, second_id); /* id_t */
   2947   1.5    martin 		iarg[3] = SCARG(p, psid); /* psetid_t */
   2948   1.5    martin 		uarg[4] = (intptr_t) SCARG(p, opsid).i32; /* netbsd32_psetidp_t */
   2949   1.5    martin 		*n_args = 5;
   2950   1.5    martin 		break;
   2951   1.5    martin 	}
   2952   1.1  christos 	/* netbsd32___posix_fadvise50 */
   2953   1.1  christos 	case 416: {
   2954  1.17  christos 		const struct netbsd32___posix_fadvise50_args *p = params;
   2955   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2956   1.1  christos 		iarg[1] = SCARG(p, PAD); /* int */
   2957   1.1  christos 		iarg[2] = SCARG(p, offset); /* netbsd32_off_t */
   2958   1.1  christos 		iarg[3] = SCARG(p, len); /* netbsd32_off_t */
   2959   1.1  christos 		iarg[4] = SCARG(p, advice); /* int */
   2960   1.1  christos 		*n_args = 5;
   2961   1.1  christos 		break;
   2962   1.1  christos 	}
   2963   1.1  christos 	/* netbsd32___select50 */
   2964   1.1  christos 	case 417: {
   2965  1.17  christos 		const struct netbsd32___select50_args *p = params;
   2966   1.1  christos 		iarg[0] = SCARG(p, nd); /* int */
   2967   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, in).i32; /* netbsd32_fd_setp_t */
   2968   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, ou).i32; /* netbsd32_fd_setp_t */
   2969   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, ex).i32; /* netbsd32_fd_setp_t */
   2970   1.1  christos 		uarg[4] = (intptr_t) SCARG(p, tv).i32; /* netbsd32_timevalp_t */
   2971   1.1  christos 		*n_args = 5;
   2972   1.1  christos 		break;
   2973   1.1  christos 	}
   2974   1.1  christos 	/* netbsd32___gettimeofday50 */
   2975   1.1  christos 	case 418: {
   2976  1.17  christos 		const struct netbsd32___gettimeofday50_args *p = params;
   2977   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, tp).i32; /* netbsd32_timevalp_t */
   2978   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tzp).i32; /* netbsd32_voidp */
   2979   1.1  christos 		*n_args = 2;
   2980   1.1  christos 		break;
   2981   1.1  christos 	}
   2982   1.1  christos 	/* netbsd32___settimeofday50 */
   2983   1.1  christos 	case 419: {
   2984  1.17  christos 		const struct netbsd32___settimeofday50_args *p = params;
   2985   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, tv).i32; /* const netbsd32_timevalp_t */
   2986   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tzp).i32; /* const netbsd32_voidp */
   2987   1.1  christos 		*n_args = 2;
   2988   1.1  christos 		break;
   2989   1.1  christos 	}
   2990   1.1  christos 	/* netbsd32___utimes50 */
   2991   1.1  christos 	case 420: {
   2992  1.17  christos 		const struct netbsd32___utimes50_args *p = params;
   2993   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   2994   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tptr).i32; /* const netbsd32_timevalp_t */
   2995   1.1  christos 		*n_args = 2;
   2996   1.1  christos 		break;
   2997   1.1  christos 	}
   2998   1.1  christos 	/* netbsd32___adjtime50 */
   2999   1.1  christos 	case 421: {
   3000  1.17  christos 		const struct netbsd32___adjtime50_args *p = params;
   3001   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, delta).i32; /* const netbsd32_timevalp_t */
   3002   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, olddelta).i32; /* netbsd32_timevalp_t */
   3003   1.1  christos 		*n_args = 2;
   3004   1.1  christos 		break;
   3005   1.1  christos 	}
   3006   1.1  christos 	/* netbsd32___futimes50 */
   3007   1.1  christos 	case 423: {
   3008  1.17  christos 		const struct netbsd32___futimes50_args *p = params;
   3009   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3010   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tptr).i32; /* const netbsd32_timevalp_t */
   3011   1.1  christos 		*n_args = 2;
   3012   1.1  christos 		break;
   3013   1.1  christos 	}
   3014   1.1  christos 	/* netbsd32___lutimes50 */
   3015   1.1  christos 	case 424: {
   3016  1.17  christos 		const struct netbsd32___lutimes50_args *p = params;
   3017   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3018   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tptr).i32; /* const netbsd32_timevalp_t */
   3019   1.1  christos 		*n_args = 2;
   3020   1.1  christos 		break;
   3021   1.1  christos 	}
   3022   1.1  christos 	/* netbsd32___setitimer50 */
   3023   1.1  christos 	case 425: {
   3024  1.17  christos 		const struct netbsd32___setitimer50_args *p = params;
   3025   1.1  christos 		iarg[0] = SCARG(p, which); /* int */
   3026   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, itv).i32; /* const netbsd32_itimervalp_t */
   3027   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, oitv).i32; /* netbsd32_itimervalp_t */
   3028   1.1  christos 		*n_args = 3;
   3029   1.1  christos 		break;
   3030   1.1  christos 	}
   3031   1.1  christos 	/* netbsd32___getitimer50 */
   3032   1.1  christos 	case 426: {
   3033  1.17  christos 		const struct netbsd32___getitimer50_args *p = params;
   3034   1.1  christos 		iarg[0] = SCARG(p, which); /* int */
   3035   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, itv).i32; /* netbsd32_itimervalp_t */
   3036   1.1  christos 		*n_args = 2;
   3037   1.1  christos 		break;
   3038   1.1  christos 	}
   3039   1.1  christos 	/* netbsd32___clock_gettime50 */
   3040   1.1  christos 	case 427: {
   3041  1.17  christos 		const struct netbsd32___clock_gettime50_args *p = params;
   3042   1.1  christos 		iarg[0] = SCARG(p, clock_id); /* clockid_t */
   3043   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tp).i32; /* netbsd32_timespecp_t */
   3044   1.1  christos 		*n_args = 2;
   3045   1.1  christos 		break;
   3046   1.1  christos 	}
   3047   1.1  christos 	/* netbsd32___clock_settime50 */
   3048   1.1  christos 	case 428: {
   3049  1.17  christos 		const struct netbsd32___clock_settime50_args *p = params;
   3050   1.1  christos 		iarg[0] = SCARG(p, clock_id); /* clockid_t */
   3051   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tp).i32; /* const netbsd32_timespecp_t */
   3052   1.1  christos 		*n_args = 2;
   3053   1.1  christos 		break;
   3054   1.1  christos 	}
   3055   1.1  christos 	/* netbsd32___clock_getres50 */
   3056   1.1  christos 	case 429: {
   3057  1.17  christos 		const struct netbsd32___clock_getres50_args *p = params;
   3058   1.1  christos 		iarg[0] = SCARG(p, clock_id); /* clockid_t */
   3059   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tp).i32; /* netbsd32_timespecp_t */
   3060   1.1  christos 		*n_args = 2;
   3061   1.1  christos 		break;
   3062   1.1  christos 	}
   3063   1.1  christos 	/* netbsd32___nanosleep50 */
   3064   1.1  christos 	case 430: {
   3065  1.17  christos 		const struct netbsd32___nanosleep50_args *p = params;
   3066   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, rqtp).i32; /* const netbsd32_timespecp_t */
   3067   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, rmtp).i32; /* netbsd32_timespecp_t */
   3068   1.1  christos 		*n_args = 2;
   3069   1.1  christos 		break;
   3070   1.1  christos 	}
   3071   1.1  christos 	/* netbsd32_____sigtimedwait50 */
   3072   1.1  christos 	case 431: {
   3073  1.17  christos 		const struct netbsd32_____sigtimedwait50_args *p = params;
   3074   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, set).i32; /* const netbsd32_sigsetp_t */
   3075   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, info).i32; /* netbsd32_siginfop_t */
   3076   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, timeout).i32; /* netbsd32_timespecp_t */
   3077   1.1  christos 		*n_args = 3;
   3078   1.1  christos 		break;
   3079   1.1  christos 	}
   3080   1.4    martin 	/* netbsd32___mq_timedsend50 */
   3081   1.4    martin 	case 432: {
   3082  1.17  christos 		const struct netbsd32___mq_timedsend50_args *p = params;
   3083   1.4    martin 		iarg[0] = SCARG(p, mqdes); /* mqd_t */
   3084   1.4    martin 		uarg[1] = (intptr_t) SCARG(p, msg_ptr).i32; /* const netbsd32_charp */
   3085   1.4    martin 		iarg[2] = SCARG(p, msg_len); /* netbsd32_size_t */
   3086   1.4    martin 		uarg[3] = SCARG(p, msg_prio); /* unsigned */
   3087   1.4    martin 		uarg[4] = (intptr_t) SCARG(p, abs_timeout).i32; /* const netbsd32_timespecp_t */
   3088   1.4    martin 		*n_args = 5;
   3089   1.4    martin 		break;
   3090   1.4    martin 	}
   3091   1.4    martin 	/* netbsd32___mq_timedreceive50 */
   3092   1.4    martin 	case 433: {
   3093  1.17  christos 		const struct netbsd32___mq_timedreceive50_args *p = params;
   3094   1.4    martin 		iarg[0] = SCARG(p, mqdes); /* mqd_t */
   3095   1.4    martin 		uarg[1] = (intptr_t) SCARG(p, msg_ptr).i32; /* netbsd32_charp */
   3096   1.4    martin 		iarg[2] = SCARG(p, msg_len); /* netbsd32_size_t */
   3097   1.4    martin 		uarg[3] = (intptr_t) SCARG(p, msg_prio).i32; /* netbsd32_uintp */
   3098   1.4    martin 		uarg[4] = (intptr_t) SCARG(p, abs_timeout).i32; /* const netbsd32_timespecp_t */
   3099   1.4    martin 		*n_args = 5;
   3100   1.4    martin 		break;
   3101   1.4    martin 	}
   3102   1.1  christos 	/* netbsd32__lwp_park */
   3103   1.1  christos 	case 434: {
   3104  1.17  christos 		const struct compat_60_netbsd32__lwp_park_args *p = params;
   3105   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, ts).i32; /* const netbsd32_timespecp_t */
   3106   1.1  christos 		iarg[1] = SCARG(p, unpark); /* lwpid_t */
   3107   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, hint).i32; /* const netbsd32_voidp */
   3108   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, unparkhint).i32; /* const netbsd32_voidp */
   3109   1.1  christos 		*n_args = 4;
   3110   1.1  christos 		break;
   3111   1.1  christos 	}
   3112   1.1  christos 	/* netbsd32___kevent50 */
   3113   1.1  christos 	case 435: {
   3114  1.50       rin 		const struct compat_100_netbsd32___kevent50_args *p = params;
   3115   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3116  1.50       rin 		uarg[1] = (intptr_t) SCARG(p, changelist).i32; /* const netbsd32_kevent100p_t */
   3117   1.1  christos 		iarg[2] = SCARG(p, nchanges); /* netbsd32_size_t */
   3118  1.50       rin 		uarg[3] = (intptr_t) SCARG(p, eventlist).i32; /* netbsd32_kevent100p_t */
   3119   1.1  christos 		iarg[4] = SCARG(p, nevents); /* netbsd32_size_t */
   3120   1.1  christos 		uarg[5] = (intptr_t) SCARG(p, timeout).i32; /* const netbsd32_timespecp_t */
   3121   1.1  christos 		*n_args = 6;
   3122   1.1  christos 		break;
   3123   1.1  christos 	}
   3124   1.1  christos 	/* netbsd32___pselect50 */
   3125   1.1  christos 	case 436: {
   3126  1.17  christos 		const struct netbsd32___pselect50_args *p = params;
   3127   1.1  christos 		iarg[0] = SCARG(p, nd); /* int */
   3128   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, in).i32; /* netbsd32_fd_setp_t */
   3129   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, ou).i32; /* netbsd32_fd_setp_t */
   3130   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, ex).i32; /* netbsd32_fd_setp_t */
   3131   1.1  christos 		uarg[4] = (intptr_t) SCARG(p, ts).i32; /* const netbsd32_timespecp_t */
   3132   1.1  christos 		uarg[5] = (intptr_t) SCARG(p, mask).i32; /* const netbsd32_sigsetp_t */
   3133   1.1  christos 		*n_args = 6;
   3134   1.1  christos 		break;
   3135   1.1  christos 	}
   3136   1.1  christos 	/* netbsd32___pollts50 */
   3137   1.1  christos 	case 437: {
   3138  1.17  christos 		const struct netbsd32___pollts50_args *p = params;
   3139   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, fds).i32; /* netbsd32_pollfdp_t */
   3140   1.1  christos 		uarg[1] = SCARG(p, nfds); /* u_int */
   3141   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, ts).i32; /* const netbsd32_timespecp_t */
   3142   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, mask).i32; /* const netbsd32_sigsetp_t */
   3143   1.1  christos 		*n_args = 4;
   3144   1.1  christos 		break;
   3145   1.1  christos 	}
   3146   1.1  christos 	/* netbsd32___stat50 */
   3147   1.1  christos 	case 439: {
   3148  1.17  christos 		const struct netbsd32___stat50_args *p = params;
   3149   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3150   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, ub).i32; /* netbsd32_statp_t */
   3151   1.1  christos 		*n_args = 2;
   3152   1.1  christos 		break;
   3153   1.1  christos 	}
   3154   1.1  christos 	/* netbsd32___fstat50 */
   3155   1.1  christos 	case 440: {
   3156  1.17  christos 		const struct netbsd32___fstat50_args *p = params;
   3157   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3158   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, sb).i32; /* netbsd32_statp_t */
   3159   1.1  christos 		*n_args = 2;
   3160   1.1  christos 		break;
   3161   1.1  christos 	}
   3162   1.1  christos 	/* netbsd32___lstat50 */
   3163   1.1  christos 	case 441: {
   3164  1.17  christos 		const struct netbsd32___lstat50_args *p = params;
   3165   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3166   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, ub).i32; /* netbsd32_statp_t */
   3167   1.1  christos 		*n_args = 2;
   3168   1.1  christos 		break;
   3169   1.1  christos 	}
   3170   1.1  christos 	/* netbsd32_____semctl50 */
   3171   1.1  christos 	case 442: {
   3172  1.17  christos 		const struct netbsd32_____semctl50_args *p = params;
   3173   1.1  christos 		iarg[0] = SCARG(p, semid); /* int */
   3174   1.1  christos 		iarg[1] = SCARG(p, semnum); /* int */
   3175   1.1  christos 		iarg[2] = SCARG(p, cmd); /* int */
   3176   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, arg).i32; /* netbsd32_semunp_t */
   3177   1.1  christos 		*n_args = 4;
   3178   1.1  christos 		break;
   3179   1.1  christos 	}
   3180   1.1  christos 	/* netbsd32___shmctl50 */
   3181   1.1  christos 	case 443: {
   3182  1.17  christos 		const struct netbsd32___shmctl50_args *p = params;
   3183   1.1  christos 		iarg[0] = SCARG(p, shmid); /* int */
   3184   1.1  christos 		iarg[1] = SCARG(p, cmd); /* int */
   3185   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_shmid_dsp_t */
   3186   1.1  christos 		*n_args = 3;
   3187   1.1  christos 		break;
   3188   1.1  christos 	}
   3189   1.1  christos 	/* netbsd32___msgctl50 */
   3190   1.1  christos 	case 444: {
   3191  1.17  christos 		const struct netbsd32___msgctl50_args *p = params;
   3192   1.1  christos 		iarg[0] = SCARG(p, msqid); /* int */
   3193   1.1  christos 		iarg[1] = SCARG(p, cmd); /* int */
   3194   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_msqid_dsp_t */
   3195   1.1  christos 		*n_args = 3;
   3196   1.1  christos 		break;
   3197   1.1  christos 	}
   3198   1.1  christos 	/* netbsd32___getrusage50 */
   3199   1.1  christos 	case 445: {
   3200  1.17  christos 		const struct netbsd32___getrusage50_args *p = params;
   3201   1.1  christos 		iarg[0] = SCARG(p, who); /* int */
   3202   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, rusage).i32; /* netbsd32_rusagep_t */
   3203   1.1  christos 		*n_args = 2;
   3204   1.1  christos 		break;
   3205   1.1  christos 	}
   3206   1.1  christos 	/* netbsd32___timer_settime50 */
   3207   1.1  christos 	case 446: {
   3208  1.17  christos 		const struct netbsd32___timer_settime50_args *p = params;
   3209   1.1  christos 		iarg[0] = SCARG(p, timerid); /* timer_t */
   3210   1.1  christos 		iarg[1] = SCARG(p, flags); /* int */
   3211   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, value).i32; /* const netbsd32_itimerspecp_t */
   3212   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, ovalue).i32; /* netbsd32_itimerspecp_t */
   3213   1.1  christos 		*n_args = 4;
   3214   1.1  christos 		break;
   3215   1.1  christos 	}
   3216   1.1  christos 	/* netbsd32___timer_gettime50 */
   3217   1.1  christos 	case 447: {
   3218  1.17  christos 		const struct netbsd32___timer_gettime50_args *p = params;
   3219   1.1  christos 		iarg[0] = SCARG(p, timerid); /* timer_t */
   3220   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, value).i32; /* netbsd32_itimerspecp_t */
   3221   1.1  christos 		*n_args = 2;
   3222   1.1  christos 		break;
   3223   1.1  christos 	}
   3224   1.1  christos #if defined(NTP) || !defined(_KERNEL_OPT)
   3225   1.1  christos 	/* netbsd32___ntp_gettime50 */
   3226   1.1  christos 	case 448: {
   3227  1.17  christos 		const struct netbsd32___ntp_gettime50_args *p = params;
   3228   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, ntvp).i32; /* netbsd32_ntptimevalp_t */
   3229   1.1  christos 		*n_args = 1;
   3230   1.1  christos 		break;
   3231   1.1  christos 	}
   3232   1.1  christos #else
   3233   1.1  christos #endif
   3234   1.1  christos 	/* netbsd32___wait450 */
   3235   1.1  christos 	case 449: {
   3236  1.17  christos 		const struct netbsd32___wait450_args *p = params;
   3237   1.1  christos 		iarg[0] = SCARG(p, pid); /* int */
   3238   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, status).i32; /* netbsd32_intp */
   3239   1.1  christos 		iarg[2] = SCARG(p, options); /* int */
   3240   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, rusage).i32; /* netbsd32_rusagep_t */
   3241   1.1  christos 		*n_args = 4;
   3242   1.1  christos 		break;
   3243   1.1  christos 	}
   3244   1.1  christos 	/* netbsd32___mknod50 */
   3245   1.1  christos 	case 450: {
   3246  1.17  christos 		const struct netbsd32___mknod50_args *p = params;
   3247   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3248   1.1  christos 		iarg[1] = SCARG(p, mode); /* mode_t */
   3249   1.1  christos 		iarg[2] = SCARG(p, dev); /* netbsd32_dev_t */
   3250   1.1  christos 		*n_args = 3;
   3251   1.1  christos 		break;
   3252   1.1  christos 	}
   3253   1.1  christos 	/* netbsd32___fhstat50 */
   3254   1.1  christos 	case 451: {
   3255  1.17  christos 		const struct netbsd32___fhstat50_args *p = params;
   3256   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, fhp).i32; /* const netbsd32_voidp */
   3257   1.1  christos 		iarg[1] = SCARG(p, fh_size); /* netbsd32_size_t */
   3258   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, sb).i32; /* netbsd32_statp_t */
   3259   1.1  christos 		*n_args = 3;
   3260   1.1  christos 		break;
   3261   1.1  christos 	}
   3262   1.1  christos 	/* netbsd32_pipe2 */
   3263   1.1  christos 	case 453: {
   3264  1.17  christos 		const struct netbsd32_pipe2_args *p = params;
   3265   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, fildes).i32; /* netbsd32_intp */
   3266   1.1  christos 		iarg[1] = SCARG(p, flags); /* int */
   3267   1.1  christos 		*n_args = 2;
   3268   1.1  christos 		break;
   3269   1.1  christos 	}
   3270   1.1  christos 	/* netbsd32_dup3 */
   3271   1.1  christos 	case 454: {
   3272  1.54  christos 		const struct compat_100_netbsd32_dup3_args *p = params;
   3273   1.1  christos 		iarg[0] = SCARG(p, from); /* int */
   3274   1.1  christos 		iarg[1] = SCARG(p, to); /* int */
   3275   1.1  christos 		iarg[2] = SCARG(p, flags); /* int */
   3276   1.1  christos 		*n_args = 3;
   3277   1.1  christos 		break;
   3278   1.1  christos 	}
   3279   1.1  christos 	/* netbsd32_kqueue1 */
   3280   1.1  christos 	case 455: {
   3281  1.17  christos 		const struct netbsd32_kqueue1_args *p = params;
   3282   1.1  christos 		iarg[0] = SCARG(p, flags); /* int */
   3283   1.1  christos 		*n_args = 1;
   3284   1.1  christos 		break;
   3285   1.1  christos 	}
   3286   1.1  christos 	/* netbsd32_paccept */
   3287   1.1  christos 	case 456: {
   3288  1.17  christos 		const struct netbsd32_paccept_args *p = params;
   3289   1.1  christos 		iarg[0] = SCARG(p, s); /* int */
   3290   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_sockaddrp_t */
   3291   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, anamelen).i32; /* netbsd32_socklenp_t */
   3292   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, mask).i32; /* const netbsd32_sigsetp_t */
   3293   1.1  christos 		iarg[4] = SCARG(p, flags); /* int */
   3294   1.1  christos 		*n_args = 5;
   3295   1.1  christos 		break;
   3296   1.1  christos 	}
   3297   1.1  christos 	/* netbsd32_linkat */
   3298   1.1  christos 	case 457: {
   3299  1.17  christos 		const struct netbsd32_linkat_args *p = params;
   3300   1.1  christos 		iarg[0] = SCARG(p, fd1); /* int */
   3301   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, name1).i32; /* const netbsd32_charp */
   3302   1.1  christos 		iarg[2] = SCARG(p, fd2); /* int */
   3303   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, name2).i32; /* const netbsd32_charp */
   3304   1.1  christos 		iarg[4] = SCARG(p, flags); /* int */
   3305   1.1  christos 		*n_args = 5;
   3306   1.1  christos 		break;
   3307   1.1  christos 	}
   3308   1.1  christos 	/* netbsd32_renameat */
   3309   1.1  christos 	case 458: {
   3310  1.17  christos 		const struct netbsd32_renameat_args *p = params;
   3311   1.1  christos 		iarg[0] = SCARG(p, fromfd); /* int */
   3312   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, from).i32; /* const netbsd32_charp */
   3313   1.1  christos 		iarg[2] = SCARG(p, tofd); /* int */
   3314   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, to).i32; /* const netbsd32_charp */
   3315   1.1  christos 		*n_args = 4;
   3316   1.1  christos 		break;
   3317   1.1  christos 	}
   3318   1.1  christos 	/* netbsd32_mkfifoat */
   3319   1.1  christos 	case 459: {
   3320  1.17  christos 		const struct netbsd32_mkfifoat_args *p = params;
   3321   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3322   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3323   1.1  christos 		iarg[2] = SCARG(p, mode); /* mode_t */
   3324   1.1  christos 		*n_args = 3;
   3325   1.1  christos 		break;
   3326   1.1  christos 	}
   3327   1.1  christos 	/* netbsd32_mknodat */
   3328   1.1  christos 	case 460: {
   3329  1.17  christos 		const struct netbsd32_mknodat_args *p = params;
   3330   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3331   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3332   1.1  christos 		iarg[2] = SCARG(p, mode); /* mode_t */
   3333   1.1  christos 		iarg[3] = SCARG(p, PAD); /* int */
   3334   1.1  christos 		iarg[4] = SCARG(p, dev); /* netbsd32_dev_t */
   3335   1.1  christos 		*n_args = 5;
   3336   1.1  christos 		break;
   3337   1.1  christos 	}
   3338   1.1  christos 	/* netbsd32_mkdirat */
   3339   1.1  christos 	case 461: {
   3340  1.17  christos 		const struct netbsd32_mkdirat_args *p = params;
   3341   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3342   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3343   1.1  christos 		iarg[2] = SCARG(p, mode); /* mode_t */
   3344   1.1  christos 		*n_args = 3;
   3345   1.1  christos 		break;
   3346   1.1  christos 	}
   3347   1.1  christos 	/* netbsd32_faccessat */
   3348   1.1  christos 	case 462: {
   3349  1.17  christos 		const struct netbsd32_faccessat_args *p = params;
   3350   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3351   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3352   1.1  christos 		iarg[2] = SCARG(p, amode); /* int */
   3353   1.1  christos 		iarg[3] = SCARG(p, flag); /* int */
   3354   1.1  christos 		*n_args = 4;
   3355   1.1  christos 		break;
   3356   1.1  christos 	}
   3357   1.1  christos 	/* netbsd32_fchmodat */
   3358   1.1  christos 	case 463: {
   3359  1.17  christos 		const struct netbsd32_fchmodat_args *p = params;
   3360   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3361   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3362   1.1  christos 		iarg[2] = SCARG(p, mode); /* mode_t */
   3363   1.1  christos 		iarg[3] = SCARG(p, flag); /* int */
   3364   1.1  christos 		*n_args = 4;
   3365   1.1  christos 		break;
   3366   1.1  christos 	}
   3367   1.1  christos 	/* netbsd32_fchownat */
   3368   1.1  christos 	case 464: {
   3369  1.17  christos 		const struct netbsd32_fchownat_args *p = params;
   3370   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3371   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3372   1.1  christos 		uarg[2] = SCARG(p, owner); /* uid_t */
   3373   1.1  christos 		iarg[3] = SCARG(p, group); /* gid_t */
   3374   1.1  christos 		iarg[4] = SCARG(p, flag); /* int */
   3375   1.1  christos 		*n_args = 5;
   3376   1.1  christos 		break;
   3377   1.1  christos 	}
   3378   1.1  christos 	/* netbsd32_fexecve */
   3379   1.1  christos 	case 465: {
   3380  1.17  christos 		const struct netbsd32_fexecve_args *p = params;
   3381   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3382   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, argp).i32; /* netbsd32_charpp */
   3383   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, envp).i32; /* netbsd32_charpp */
   3384   1.1  christos 		*n_args = 3;
   3385   1.1  christos 		break;
   3386   1.1  christos 	}
   3387   1.1  christos 	/* netbsd32_fstatat */
   3388   1.1  christos 	case 466: {
   3389  1.17  christos 		const struct netbsd32_fstatat_args *p = params;
   3390   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3391   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3392   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_statp_t */
   3393   1.1  christos 		iarg[3] = SCARG(p, flag); /* int */
   3394   1.1  christos 		*n_args = 4;
   3395   1.1  christos 		break;
   3396   1.1  christos 	}
   3397   1.1  christos 	/* netbsd32_utimensat */
   3398   1.1  christos 	case 467: {
   3399  1.17  christos 		const struct netbsd32_utimensat_args *p = params;
   3400   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3401   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3402   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, tptr).i32; /* const netbsd32_timespecp_t */
   3403   1.1  christos 		iarg[3] = SCARG(p, flag); /* int */
   3404   1.1  christos 		*n_args = 4;
   3405   1.1  christos 		break;
   3406   1.1  christos 	}
   3407   1.1  christos 	/* netbsd32_openat */
   3408   1.1  christos 	case 468: {
   3409  1.17  christos 		const struct netbsd32_openat_args *p = params;
   3410   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3411   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3412   1.1  christos 		iarg[2] = SCARG(p, oflags); /* int */
   3413   1.1  christos 		iarg[3] = SCARG(p, mode); /* mode_t */
   3414   1.1  christos 		*n_args = 4;
   3415   1.1  christos 		break;
   3416   1.1  christos 	}
   3417   1.1  christos 	/* netbsd32_readlinkat */
   3418   1.1  christos 	case 469: {
   3419  1.17  christos 		const struct netbsd32_readlinkat_args *p = params;
   3420   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3421   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3422   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_charp */
   3423  1.35       rin 		iarg[3] = SCARG(p, bufsize); /* netbsd32_size_t */
   3424   1.1  christos 		*n_args = 4;
   3425   1.1  christos 		break;
   3426   1.1  christos 	}
   3427   1.1  christos 	/* netbsd32_symlinkat */
   3428   1.1  christos 	case 470: {
   3429  1.17  christos 		const struct netbsd32_symlinkat_args *p = params;
   3430   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path1).i32; /* const netbsd32_charp */
   3431   1.1  christos 		iarg[1] = SCARG(p, fd); /* int */
   3432   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, path2).i32; /* const netbsd32_charp */
   3433   1.1  christos 		*n_args = 3;
   3434   1.1  christos 		break;
   3435   1.1  christos 	}
   3436   1.1  christos 	/* netbsd32_unlinkat */
   3437   1.1  christos 	case 471: {
   3438  1.17  christos 		const struct netbsd32_unlinkat_args *p = params;
   3439   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3440   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3441   1.1  christos 		iarg[2] = SCARG(p, flag); /* int */
   3442   1.1  christos 		*n_args = 3;
   3443   1.1  christos 		break;
   3444   1.1  christos 	}
   3445   1.1  christos 	/* netbsd32_futimens */
   3446   1.1  christos 	case 472: {
   3447  1.17  christos 		const struct netbsd32_futimens_args *p = params;
   3448   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3449   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tptr).i32; /* const netbsd32_timespecp_t */
   3450   1.1  christos 		*n_args = 2;
   3451   1.1  christos 		break;
   3452   1.1  christos 	}
   3453   1.1  christos 	/* netbsd32___quotactl */
   3454   1.1  christos 	case 473: {
   3455  1.17  christos 		const struct netbsd32___quotactl_args *p = params;
   3456   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3457   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, args).i32; /* netbsd32_voidp */
   3458   1.1  christos 		*n_args = 2;
   3459   1.1  christos 		break;
   3460   1.1  christos 	}
   3461   1.1  christos 	/* netbsd32_posix_spawn */
   3462   1.1  christos 	case 474: {
   3463  1.17  christos 		const struct netbsd32_posix_spawn_args *p = params;
   3464   1.1  christos 		uarg[0] = (intptr_t) SCARG(p, pid).i32; /* netbsd32_pid_tp */
   3465   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3466   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, file_actions).i32; /* const netbsd32_posix_spawn_file_actionsp */
   3467   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, attrp).i32; /* const netbsd32_posix_spawnattrp */
   3468   1.1  christos 		uarg[4] = (intptr_t) SCARG(p, argv).i32; /* netbsd32_charpp */
   3469   1.1  christos 		uarg[5] = (intptr_t) SCARG(p, envp).i32; /* netbsd32_charpp */
   3470   1.1  christos 		*n_args = 6;
   3471   1.1  christos 		break;
   3472   1.1  christos 	}
   3473  1.25  christos 	/* netbsd32_recvmmsg */
   3474  1.25  christos 	case 475: {
   3475  1.25  christos 		const struct netbsd32_recvmmsg_args *p = params;
   3476  1.25  christos 		iarg[0] = SCARG(p, s); /* int */
   3477  1.25  christos 		uarg[1] = (intptr_t) SCARG(p, mmsg).i32; /* netbsd32_mmsghdrp_t */
   3478  1.25  christos 		uarg[2] = SCARG(p, vlen); /* unsigned int */
   3479  1.25  christos 		uarg[3] = SCARG(p, flags); /* unsigned int */
   3480  1.25  christos 		uarg[4] = (intptr_t) SCARG(p, timeout).i32; /* netbsd32_timespecp_t */
   3481  1.25  christos 		*n_args = 5;
   3482  1.25  christos 		break;
   3483  1.25  christos 	}
   3484  1.25  christos 	/* netbsd32_sendmmsg */
   3485  1.25  christos 	case 476: {
   3486  1.25  christos 		const struct netbsd32_sendmmsg_args *p = params;
   3487  1.25  christos 		iarg[0] = SCARG(p, s); /* int */
   3488  1.25  christos 		uarg[1] = (intptr_t) SCARG(p, mmsg).i32; /* netbsd32_mmsghdrp_t */
   3489  1.25  christos 		uarg[2] = SCARG(p, vlen); /* unsigned int */
   3490  1.25  christos 		uarg[3] = SCARG(p, flags); /* unsigned int */
   3491  1.25  christos 		*n_args = 4;
   3492  1.25  christos 		break;
   3493  1.25  christos 	}
   3494   1.1  christos 	/* netbsd32_clock_nanosleep */
   3495   1.1  christos 	case 477: {
   3496  1.17  christos 		const struct netbsd32_clock_nanosleep_args *p = params;
   3497   1.1  christos 		iarg[0] = SCARG(p, clock_id); /* netbsd32_clockid_t */
   3498   1.1  christos 		iarg[1] = SCARG(p, flags); /* int */
   3499   1.1  christos 		uarg[2] = (intptr_t) SCARG(p, rqtp).i32; /* const netbsd32_timespecp_t */
   3500   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, rmtp).i32; /* netbsd32_timespecp_t */
   3501   1.1  christos 		*n_args = 4;
   3502   1.1  christos 		break;
   3503   1.1  christos 	}
   3504   1.1  christos 	/* netbsd32____lwp_park60 */
   3505   1.1  christos 	case 478: {
   3506  1.17  christos 		const struct netbsd32____lwp_park60_args *p = params;
   3507   1.1  christos 		iarg[0] = SCARG(p, clock_id); /* netbsd32_clockid_t */
   3508   1.1  christos 		iarg[1] = SCARG(p, flags); /* int */
   3509  1.20     kamil 		uarg[2] = (intptr_t) SCARG(p, ts).i32; /* netbsd32_timespecp_t */
   3510   1.1  christos 		iarg[3] = SCARG(p, unpark); /* lwpid_t */
   3511   1.1  christos 		uarg[4] = (intptr_t) SCARG(p, hint).i32; /* netbsd32_voidp */
   3512   1.1  christos 		uarg[5] = (intptr_t) SCARG(p, unparkhint).i32; /* netbsd32_voidp */
   3513   1.1  christos 		*n_args = 6;
   3514   1.1  christos 		break;
   3515   1.1  christos 	}
   3516   1.2    martin 	/* netbsd32_posix_fallocate */
   3517   1.2    martin 	case 479: {
   3518  1.17  christos 		const struct netbsd32_posix_fallocate_args *p = params;
   3519   1.2    martin 		iarg[0] = SCARG(p, fd); /* int */
   3520   1.2    martin 		iarg[1] = SCARG(p, PAD); /* int */
   3521   1.2    martin 		iarg[2] = SCARG(p, pos); /* netbsd32_off_t */
   3522   1.2    martin 		iarg[3] = SCARG(p, len); /* netbsd32_off_t */
   3523   1.2    martin 		*n_args = 4;
   3524   1.2    martin 		break;
   3525   1.2    martin 	}
   3526   1.2    martin 	/* netbsd32_fdiscard */
   3527   1.2    martin 	case 480: {
   3528  1.17  christos 		const struct netbsd32_fdiscard_args *p = params;
   3529   1.2    martin 		iarg[0] = SCARG(p, fd); /* int */
   3530   1.2    martin 		iarg[1] = SCARG(p, PAD); /* int */
   3531   1.2    martin 		iarg[2] = SCARG(p, pos); /* netbsd32_off_t */
   3532   1.2    martin 		iarg[3] = SCARG(p, len); /* netbsd32_off_t */
   3533   1.2    martin 		*n_args = 4;
   3534   1.2    martin 		break;
   3535   1.2    martin 	}
   3536  1.14     skrll 	/* netbsd32_wait6 */
   3537  1.14     skrll 	case 481: {
   3538  1.17  christos 		const struct netbsd32_wait6_args *p = params;
   3539  1.14     skrll 		iarg[0] = SCARG(p, idtype); /* idtype_t */
   3540  1.14     skrll 		iarg[1] = SCARG(p, id); /* id_t */
   3541  1.14     skrll 		uarg[2] = (intptr_t) SCARG(p, status).i32; /* netbsd32_intp */
   3542  1.14     skrll 		iarg[3] = SCARG(p, options); /* int */
   3543  1.14     skrll 		uarg[4] = (intptr_t) SCARG(p, wru).i32; /* netbsd32_wrusagep_t */
   3544  1.14     skrll 		uarg[5] = (intptr_t) SCARG(p, info).i32; /* netbsd32_siginfop_t */
   3545  1.14     skrll 		*n_args = 6;
   3546  1.14     skrll 		break;
   3547  1.14     skrll 	}
   3548  1.14     skrll 	/* netbsd32_clock_getcpuclockid2 */
   3549  1.14     skrll 	case 482: {
   3550  1.17  christos 		const struct netbsd32_clock_getcpuclockid2_args *p = params;
   3551  1.14     skrll 		iarg[0] = SCARG(p, idtype); /* idtype_t */
   3552  1.14     skrll 		iarg[1] = SCARG(p, id); /* id_t */
   3553  1.14     skrll 		uarg[2] = (intptr_t) SCARG(p, clock_id).i32; /* netbsd32_clockidp_t */
   3554  1.14     skrll 		*n_args = 3;
   3555  1.14     skrll 		break;
   3556  1.14     skrll 	}
   3557  1.33  christos 	/* netbsd32___getvfsstat90 */
   3558  1.33  christos 	case 483: {
   3559  1.33  christos 		const struct netbsd32___getvfsstat90_args *p = params;
   3560  1.33  christos 		uarg[0] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_statvfsp_t */
   3561  1.36       rin 		iarg[1] = SCARG(p, bufsize); /* netbsd32_size_t */
   3562  1.33  christos 		iarg[2] = SCARG(p, flags); /* int */
   3563  1.33  christos 		*n_args = 3;
   3564  1.33  christos 		break;
   3565  1.33  christos 	}
   3566  1.33  christos 	/* netbsd32___statvfs190 */
   3567  1.33  christos 	case 484: {
   3568  1.33  christos 		const struct netbsd32___statvfs190_args *p = params;
   3569  1.33  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   3570  1.33  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_statvfsp_t */
   3571  1.33  christos 		iarg[2] = SCARG(p, flags); /* int */
   3572  1.33  christos 		*n_args = 3;
   3573  1.33  christos 		break;
   3574  1.33  christos 	}
   3575  1.33  christos 	/* netbsd32___fstatvfs190 */
   3576  1.33  christos 	case 485: {
   3577  1.33  christos 		const struct netbsd32___fstatvfs190_args *p = params;
   3578  1.33  christos 		iarg[0] = SCARG(p, fd); /* int */
   3579  1.33  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_statvfsp_t */
   3580  1.33  christos 		iarg[2] = SCARG(p, flags); /* int */
   3581  1.33  christos 		*n_args = 3;
   3582  1.33  christos 		break;
   3583  1.33  christos 	}
   3584  1.33  christos 	/* netbsd32___fhstatvfs190 */
   3585  1.33  christos 	case 486: {
   3586  1.33  christos 		const struct netbsd32___fhstatvfs190_args *p = params;
   3587  1.33  christos 		uarg[0] = (intptr_t) SCARG(p, fhp).i32; /* netbsd32_voidp */
   3588  1.36       rin 		iarg[1] = SCARG(p, fh_size); /* netbsd32_size_t */
   3589  1.33  christos 		uarg[2] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_statvfsp_t */
   3590  1.33  christos 		iarg[3] = SCARG(p, flags); /* int */
   3591  1.33  christos 		*n_args = 4;
   3592  1.33  christos 		break;
   3593  1.33  christos 	}
   3594  1.44  christos 	/* netbsd32___acl_get_link */
   3595  1.44  christos 	case 487: {
   3596  1.44  christos 		const struct netbsd32___acl_get_link_args *p = params;
   3597  1.44  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3598  1.44  christos 		iarg[1] = SCARG(p, type); /* acl_type_t */
   3599  1.44  christos 		uarg[2] = (intptr_t) SCARG(p, aclp).i32; /* netbsd32_aclp_t */
   3600  1.44  christos 		*n_args = 3;
   3601  1.44  christos 		break;
   3602  1.44  christos 	}
   3603  1.44  christos 	/* netbsd32___acl_set_link */
   3604  1.44  christos 	case 488: {
   3605  1.44  christos 		const struct netbsd32___acl_set_link_args *p = params;
   3606  1.44  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3607  1.44  christos 		iarg[1] = SCARG(p, type); /* acl_type_t */
   3608  1.44  christos 		uarg[2] = (intptr_t) SCARG(p, aclp).i32; /* netbsd32_aclp_t */
   3609  1.44  christos 		*n_args = 3;
   3610  1.44  christos 		break;
   3611  1.44  christos 	}
   3612  1.44  christos 	/* netbsd32___acl_delete_link */
   3613  1.44  christos 	case 489: {
   3614  1.44  christos 		const struct netbsd32___acl_delete_link_args *p = params;
   3615  1.44  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3616  1.44  christos 		iarg[1] = SCARG(p, type); /* acl_type_t */
   3617  1.44  christos 		*n_args = 2;
   3618  1.44  christos 		break;
   3619  1.44  christos 	}
   3620  1.44  christos 	/* netbsd32___acl_aclcheck_link */
   3621  1.44  christos 	case 490: {
   3622  1.44  christos 		const struct netbsd32___acl_aclcheck_link_args *p = params;
   3623  1.44  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3624  1.44  christos 		iarg[1] = SCARG(p, type); /* acl_type_t */
   3625  1.44  christos 		uarg[2] = (intptr_t) SCARG(p, aclp).i32; /* netbsd32_aclp_t */
   3626  1.44  christos 		*n_args = 3;
   3627  1.44  christos 		break;
   3628  1.44  christos 	}
   3629  1.44  christos 	/* netbsd32___acl_get_file */
   3630  1.44  christos 	case 491: {
   3631  1.44  christos 		const struct netbsd32___acl_get_file_args *p = params;
   3632  1.44  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3633  1.44  christos 		iarg[1] = SCARG(p, type); /* acl_type_t */
   3634  1.44  christos 		uarg[2] = (intptr_t) SCARG(p, aclp).i32; /* netbsd32_aclp_t */
   3635  1.44  christos 		*n_args = 3;
   3636  1.44  christos 		break;
   3637  1.44  christos 	}
   3638  1.44  christos 	/* netbsd32___acl_set_file */
   3639  1.44  christos 	case 492: {
   3640  1.44  christos 		const struct netbsd32___acl_set_file_args *p = params;
   3641  1.44  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3642  1.44  christos 		iarg[1] = SCARG(p, type); /* acl_type_t */
   3643  1.44  christos 		uarg[2] = (intptr_t) SCARG(p, aclp).i32; /* netbsd32_aclp_t */
   3644  1.44  christos 		*n_args = 3;
   3645  1.44  christos 		break;
   3646  1.44  christos 	}
   3647  1.44  christos 	/* netbsd32___acl_get_fd */
   3648  1.44  christos 	case 493: {
   3649  1.44  christos 		const struct netbsd32___acl_get_fd_args *p = params;
   3650  1.44  christos 		iarg[0] = SCARG(p, filedes); /* int */
   3651  1.44  christos 		iarg[1] = SCARG(p, type); /* acl_type_t */
   3652  1.44  christos 		uarg[2] = (intptr_t) SCARG(p, aclp).i32; /* netbsd32_aclp_t */
   3653  1.44  christos 		*n_args = 3;
   3654  1.44  christos 		break;
   3655  1.44  christos 	}
   3656  1.44  christos 	/* netbsd32___acl_set_fd */
   3657  1.44  christos 	case 494: {
   3658  1.44  christos 		const struct netbsd32___acl_set_fd_args *p = params;
   3659  1.44  christos 		iarg[0] = SCARG(p, filedes); /* int */
   3660  1.44  christos 		iarg[1] = SCARG(p, type); /* acl_type_t */
   3661  1.44  christos 		uarg[2] = (intptr_t) SCARG(p, aclp).i32; /* netbsd32_aclp_t */
   3662  1.44  christos 		*n_args = 3;
   3663  1.44  christos 		break;
   3664  1.44  christos 	}
   3665  1.44  christos 	/* netbsd32___acl_delete_file */
   3666  1.44  christos 	case 495: {
   3667  1.44  christos 		const struct netbsd32___acl_delete_file_args *p = params;
   3668  1.44  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3669  1.44  christos 		iarg[1] = SCARG(p, type); /* acl_type_t */
   3670  1.44  christos 		*n_args = 2;
   3671  1.44  christos 		break;
   3672  1.44  christos 	}
   3673  1.44  christos 	/* netbsd32___acl_delete_fd */
   3674  1.44  christos 	case 496: {
   3675  1.44  christos 		const struct netbsd32___acl_delete_fd_args *p = params;
   3676  1.44  christos 		iarg[0] = SCARG(p, filedes); /* int */
   3677  1.44  christos 		iarg[1] = SCARG(p, type); /* acl_type_t */
   3678  1.44  christos 		*n_args = 2;
   3679  1.44  christos 		break;
   3680  1.44  christos 	}
   3681  1.44  christos 	/* netbsd32___acl_aclcheck_file */
   3682  1.44  christos 	case 497: {
   3683  1.44  christos 		const struct netbsd32___acl_aclcheck_file_args *p = params;
   3684  1.44  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3685  1.44  christos 		iarg[1] = SCARG(p, type); /* acl_type_t */
   3686  1.44  christos 		uarg[2] = (intptr_t) SCARG(p, aclp).i32; /* netbsd32_aclp_t */
   3687  1.44  christos 		*n_args = 3;
   3688  1.44  christos 		break;
   3689  1.44  christos 	}
   3690  1.44  christos 	/* netbsd32___acl_aclcheck_fd */
   3691  1.44  christos 	case 498: {
   3692  1.44  christos 		const struct netbsd32___acl_aclcheck_fd_args *p = params;
   3693  1.44  christos 		iarg[0] = SCARG(p, filedes); /* int */
   3694  1.44  christos 		iarg[1] = SCARG(p, type); /* acl_type_t */
   3695  1.44  christos 		uarg[2] = (intptr_t) SCARG(p, aclp).i32; /* netbsd32_aclp_t */
   3696  1.44  christos 		*n_args = 3;
   3697  1.44  christos 		break;
   3698  1.44  christos 	}
   3699  1.44  christos 	/* netbsd32_lpathconf */
   3700  1.44  christos 	case 499: {
   3701  1.44  christos 		const struct netbsd32_lpathconf_args *p = params;
   3702  1.44  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3703  1.44  christos 		iarg[1] = SCARG(p, name); /* int */
   3704  1.44  christos 		*n_args = 2;
   3705  1.44  christos 		break;
   3706  1.44  christos 	}
   3707  1.51       rin 	/* netbsd32_memfd_create */
   3708  1.51       rin 	case 500: {
   3709  1.51       rin 		const struct netbsd32_memfd_create_args *p = params;
   3710  1.51       rin 		uarg[0] = (intptr_t) SCARG(p, name).i32; /* const netbsd32_charp */
   3711  1.51       rin 		uarg[1] = SCARG(p, flags); /* unsigned int */
   3712  1.51       rin 		*n_args = 2;
   3713  1.51       rin 		break;
   3714  1.51       rin 	}
   3715  1.50       rin 	/* netbsd32___kevent100 */
   3716  1.50       rin 	case 501: {
   3717  1.50       rin 		const struct netbsd32___kevent100_args *p = params;
   3718  1.50       rin 		iarg[0] = SCARG(p, fd); /* int */
   3719  1.50       rin 		uarg[1] = (intptr_t) SCARG(p, changelist).i32; /* const netbsd32_keventp_t */
   3720  1.50       rin 		iarg[2] = SCARG(p, nchanges); /* netbsd32_size_t */
   3721  1.50       rin 		uarg[3] = (intptr_t) SCARG(p, eventlist).i32; /* netbsd32_keventp_t */
   3722  1.50       rin 		iarg[4] = SCARG(p, nevents); /* netbsd32_size_t */
   3723  1.50       rin 		uarg[5] = (intptr_t) SCARG(p, timeout).i32; /* const netbsd32_timespecp_t */
   3724  1.50       rin 		*n_args = 6;
   3725  1.50       rin 		break;
   3726  1.50       rin 	}
   3727  1.52       rin 	/* netbsd32_epoll_create1 */
   3728  1.52       rin 	case 502: {
   3729  1.52       rin 		const struct netbsd32_epoll_create1_args *p = params;
   3730  1.52       rin 		iarg[0] = SCARG(p, flags); /* int */
   3731  1.52       rin 		*n_args = 1;
   3732  1.52       rin 		break;
   3733  1.52       rin 	}
   3734  1.52       rin 	/* netbsd32_epoll_ctl */
   3735  1.52       rin 	case 503: {
   3736  1.52       rin 		const struct netbsd32_epoll_ctl_args *p = params;
   3737  1.52       rin 		iarg[0] = SCARG(p, epfd); /* int */
   3738  1.52       rin 		iarg[1] = SCARG(p, op); /* int */
   3739  1.52       rin 		iarg[2] = SCARG(p, fd); /* int */
   3740  1.52       rin 		uarg[3] = (intptr_t) SCARG(p, event).i32; /* netbsd32_epoll_eventp_t */
   3741  1.52       rin 		*n_args = 4;
   3742  1.52       rin 		break;
   3743  1.52       rin 	}
   3744  1.52       rin 	/* netbsd32_epoll_pwait2 */
   3745  1.52       rin 	case 504: {
   3746  1.52       rin 		const struct netbsd32_epoll_pwait2_args *p = params;
   3747  1.52       rin 		iarg[0] = SCARG(p, epfd); /* int */
   3748  1.52       rin 		uarg[1] = (intptr_t) SCARG(p, events).i32; /* netbsd32_epoll_eventp_t */
   3749  1.52       rin 		iarg[2] = SCARG(p, maxevents); /* int */
   3750  1.52       rin 		uarg[3] = (intptr_t) SCARG(p, timeout).i32; /* netbsd32_timespecp_t */
   3751  1.52       rin 		uarg[4] = (intptr_t) SCARG(p, sigmask).i32; /* netbsd32_sigsetp_t */
   3752  1.52       rin 		*n_args = 5;
   3753  1.52       rin 		break;
   3754  1.52       rin 	}
   3755  1.54  christos 	/* netbsd32___dup3100 */
   3756  1.53  christos 	case 505: {
   3757  1.54  christos 		const struct netbsd32___dup3100_args *p = params;
   3758  1.53  christos 		iarg[0] = SCARG(p, from); /* int */
   3759  1.53  christos 		iarg[1] = SCARG(p, to); /* int */
   3760  1.53  christos 		iarg[2] = SCARG(p, flags); /* int */
   3761  1.53  christos 		*n_args = 3;
   3762  1.53  christos 		break;
   3763  1.53  christos 	}
   3764  1.55    martin 	/* netbsd32_semtimedop */
   3765  1.55    martin 	case 506: {
   3766  1.55    martin 		const struct netbsd32_semtimedop_args *p = params;
   3767  1.55    martin 		iarg[0] = SCARG(p, semid); /* int */
   3768  1.55    martin 		uarg[1] = (intptr_t) SCARG(p, sops).i32; /* netbsd32_sembufp_t */
   3769  1.55    martin 		iarg[2] = SCARG(p, nsops); /* netbsd32_size_t */
   3770  1.55    martin 		uarg[3] = (intptr_t) SCARG(p, timeout).i32; /* netbsd32_timespecp_t */
   3771  1.55    martin 		*n_args = 4;
   3772  1.55    martin 		break;
   3773  1.55    martin 	}
   3774   1.1  christos 	default:
   3775   1.1  christos 		*n_args = 0;
   3776   1.1  christos 		break;
   3777   1.1  christos 	};
   3778   1.1  christos }
   3779   1.1  christos static void
   3780   1.1  christos systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
   3781   1.1  christos {
   3782   1.1  christos 	const char *p = NULL;
   3783   1.1  christos 	switch (sysnum) {
   3784   1.1  christos 	/* netbsd32_syscall */
   3785   1.1  christos 	case 0:
   3786   1.1  christos 		switch(ndx) {
   3787   1.1  christos 		case 0:
   3788   1.1  christos 			p = "int";
   3789   1.1  christos 			break;
   3790   1.1  christos 		case 1:
   3791   1.1  christos 			p = "register32_t";
   3792   1.1  christos 			break;
   3793   1.1  christos 		default:
   3794   1.1  christos 			break;
   3795   1.1  christos 		};
   3796   1.1  christos 		break;
   3797   1.1  christos 	/* netbsd32_exit */
   3798   1.1  christos 	case 1:
   3799   1.1  christos 		switch(ndx) {
   3800   1.1  christos 		case 0:
   3801   1.1  christos 			p = "int";
   3802   1.1  christos 			break;
   3803   1.1  christos 		default:
   3804   1.1  christos 			break;
   3805   1.1  christos 		};
   3806   1.1  christos 		break;
   3807   1.1  christos 	/* sys_fork */
   3808   1.1  christos 	case 2:
   3809   1.1  christos 		break;
   3810   1.1  christos 	/* netbsd32_read */
   3811   1.1  christos 	case 3:
   3812   1.1  christos 		switch(ndx) {
   3813   1.1  christos 		case 0:
   3814   1.1  christos 			p = "int";
   3815   1.1  christos 			break;
   3816   1.1  christos 		case 1:
   3817   1.1  christos 			p = "netbsd32_voidp";
   3818   1.1  christos 			break;
   3819   1.1  christos 		case 2:
   3820   1.1  christos 			p = "netbsd32_size_t";
   3821   1.1  christos 			break;
   3822   1.1  christos 		default:
   3823   1.1  christos 			break;
   3824   1.1  christos 		};
   3825   1.1  christos 		break;
   3826   1.1  christos 	/* netbsd32_write */
   3827   1.1  christos 	case 4:
   3828   1.1  christos 		switch(ndx) {
   3829   1.1  christos 		case 0:
   3830   1.1  christos 			p = "int";
   3831   1.1  christos 			break;
   3832   1.1  christos 		case 1:
   3833   1.1  christos 			p = "netbsd32_voidp";
   3834   1.1  christos 			break;
   3835   1.1  christos 		case 2:
   3836   1.1  christos 			p = "netbsd32_size_t";
   3837   1.1  christos 			break;
   3838   1.1  christos 		default:
   3839   1.1  christos 			break;
   3840   1.1  christos 		};
   3841   1.1  christos 		break;
   3842   1.1  christos 	/* netbsd32_open */
   3843   1.1  christos 	case 5:
   3844   1.1  christos 		switch(ndx) {
   3845   1.1  christos 		case 0:
   3846   1.1  christos 			p = "netbsd32_charp";
   3847   1.1  christos 			break;
   3848   1.1  christos 		case 1:
   3849   1.1  christos 			p = "int";
   3850   1.1  christos 			break;
   3851   1.1  christos 		case 2:
   3852   1.1  christos 			p = "mode_t";
   3853   1.1  christos 			break;
   3854   1.1  christos 		default:
   3855   1.1  christos 			break;
   3856   1.1  christos 		};
   3857   1.1  christos 		break;
   3858   1.1  christos 	/* netbsd32_close */
   3859   1.1  christos 	case 6:
   3860   1.1  christos 		switch(ndx) {
   3861   1.1  christos 		case 0:
   3862   1.1  christos 			p = "int";
   3863   1.1  christos 			break;
   3864   1.1  christos 		default:
   3865   1.1  christos 			break;
   3866   1.1  christos 		};
   3867   1.1  christos 		break;
   3868   1.1  christos 	/* netbsd32_wait4 */
   3869   1.1  christos 	case 7:
   3870   1.1  christos 		switch(ndx) {
   3871   1.1  christos 		case 0:
   3872   1.1  christos 			p = "int";
   3873   1.1  christos 			break;
   3874   1.1  christos 		case 1:
   3875   1.1  christos 			p = "netbsd32_intp";
   3876   1.1  christos 			break;
   3877   1.1  christos 		case 2:
   3878   1.1  christos 			p = "int";
   3879   1.1  christos 			break;
   3880   1.1  christos 		case 3:
   3881   1.1  christos 			p = "netbsd32_rusage50p_t";
   3882   1.1  christos 			break;
   3883   1.1  christos 		default:
   3884   1.1  christos 			break;
   3885   1.1  christos 		};
   3886   1.1  christos 		break;
   3887   1.1  christos 	/* netbsd32_ocreat */
   3888   1.1  christos 	case 8:
   3889   1.1  christos 		switch(ndx) {
   3890   1.1  christos 		case 0:
   3891   1.1  christos 			p = "netbsd32_charp";
   3892   1.1  christos 			break;
   3893   1.1  christos 		case 1:
   3894   1.1  christos 			p = "mode_t";
   3895   1.1  christos 			break;
   3896   1.1  christos 		default:
   3897   1.1  christos 			break;
   3898   1.1  christos 		};
   3899   1.1  christos 		break;
   3900   1.1  christos 	/* netbsd32_link */
   3901   1.1  christos 	case 9:
   3902   1.1  christos 		switch(ndx) {
   3903   1.1  christos 		case 0:
   3904   1.1  christos 			p = "netbsd32_charp";
   3905   1.1  christos 			break;
   3906   1.1  christos 		case 1:
   3907   1.1  christos 			p = "netbsd32_charp";
   3908   1.1  christos 			break;
   3909   1.1  christos 		default:
   3910   1.1  christos 			break;
   3911   1.1  christos 		};
   3912   1.1  christos 		break;
   3913   1.1  christos 	/* netbsd32_unlink */
   3914   1.1  christos 	case 10:
   3915   1.1  christos 		switch(ndx) {
   3916   1.1  christos 		case 0:
   3917   1.1  christos 			p = "netbsd32_charp";
   3918   1.1  christos 			break;
   3919   1.1  christos 		default:
   3920   1.1  christos 			break;
   3921   1.1  christos 		};
   3922   1.1  christos 		break;
   3923   1.1  christos 	/* netbsd32_chdir */
   3924   1.1  christos 	case 12:
   3925   1.1  christos 		switch(ndx) {
   3926   1.1  christos 		case 0:
   3927   1.1  christos 			p = "netbsd32_charp";
   3928   1.1  christos 			break;
   3929   1.1  christos 		default:
   3930   1.1  christos 			break;
   3931   1.1  christos 		};
   3932   1.1  christos 		break;
   3933   1.1  christos 	/* netbsd32_fchdir */
   3934   1.1  christos 	case 13:
   3935   1.1  christos 		switch(ndx) {
   3936   1.1  christos 		case 0:
   3937   1.1  christos 			p = "int";
   3938   1.1  christos 			break;
   3939   1.1  christos 		default:
   3940   1.1  christos 			break;
   3941   1.1  christos 		};
   3942   1.1  christos 		break;
   3943   1.1  christos 	/* netbsd32_mknod */
   3944   1.1  christos 	case 14:
   3945   1.1  christos 		switch(ndx) {
   3946   1.1  christos 		case 0:
   3947   1.1  christos 			p = "netbsd32_charp";
   3948   1.1  christos 			break;
   3949   1.1  christos 		case 1:
   3950   1.1  christos 			p = "mode_t";
   3951   1.1  christos 			break;
   3952   1.1  christos 		case 2:
   3953   1.1  christos 			p = "uint32_t";
   3954   1.1  christos 			break;
   3955   1.1  christos 		default:
   3956   1.1  christos 			break;
   3957   1.1  christos 		};
   3958   1.1  christos 		break;
   3959   1.1  christos 	/* netbsd32_chmod */
   3960   1.1  christos 	case 15:
   3961   1.1  christos 		switch(ndx) {
   3962   1.1  christos 		case 0:
   3963   1.1  christos 			p = "netbsd32_charp";
   3964   1.1  christos 			break;
   3965   1.1  christos 		case 1:
   3966   1.1  christos 			p = "mode_t";
   3967   1.1  christos 			break;
   3968   1.1  christos 		default:
   3969   1.1  christos 			break;
   3970   1.1  christos 		};
   3971   1.1  christos 		break;
   3972   1.1  christos 	/* netbsd32_chown */
   3973   1.1  christos 	case 16:
   3974   1.1  christos 		switch(ndx) {
   3975   1.1  christos 		case 0:
   3976   1.1  christos 			p = "netbsd32_charp";
   3977   1.1  christos 			break;
   3978   1.1  christos 		case 1:
   3979   1.1  christos 			p = "uid_t";
   3980   1.1  christos 			break;
   3981   1.1  christos 		case 2:
   3982   1.1  christos 			p = "gid_t";
   3983   1.1  christos 			break;
   3984   1.1  christos 		default:
   3985   1.1  christos 			break;
   3986   1.1  christos 		};
   3987   1.1  christos 		break;
   3988   1.1  christos 	/* netbsd32_break */
   3989   1.1  christos 	case 17:
   3990   1.1  christos 		switch(ndx) {
   3991   1.1  christos 		case 0:
   3992   1.1  christos 			p = "netbsd32_charp";
   3993   1.1  christos 			break;
   3994   1.1  christos 		default:
   3995   1.1  christos 			break;
   3996   1.1  christos 		};
   3997   1.1  christos 		break;
   3998   1.1  christos 	/* netbsd32_getfsstat */
   3999   1.1  christos 	case 18:
   4000   1.1  christos 		switch(ndx) {
   4001   1.1  christos 		case 0:
   4002   1.1  christos 			p = "netbsd32_statfsp_t";
   4003   1.1  christos 			break;
   4004   1.1  christos 		case 1:
   4005   1.1  christos 			p = "netbsd32_long";
   4006   1.1  christos 			break;
   4007   1.1  christos 		case 2:
   4008   1.1  christos 			p = "int";
   4009   1.1  christos 			break;
   4010   1.1  christos 		default:
   4011   1.1  christos 			break;
   4012   1.1  christos 		};
   4013   1.1  christos 		break;
   4014   1.1  christos 	/* netbsd32_olseek */
   4015   1.1  christos 	case 19:
   4016   1.1  christos 		switch(ndx) {
   4017   1.1  christos 		case 0:
   4018   1.1  christos 			p = "int";
   4019   1.1  christos 			break;
   4020   1.1  christos 		case 1:
   4021   1.1  christos 			p = "netbsd32_long";
   4022   1.1  christos 			break;
   4023   1.1  christos 		case 2:
   4024   1.1  christos 			p = "int";
   4025   1.1  christos 			break;
   4026   1.1  christos 		default:
   4027   1.1  christos 			break;
   4028   1.1  christos 		};
   4029   1.1  christos 		break;
   4030  1.37     kamil 	/* sys_getpid_with_ppid */
   4031   1.1  christos 	case 20:
   4032   1.1  christos 		break;
   4033   1.1  christos 	/* netbsd32_mount */
   4034   1.1  christos 	case 21:
   4035   1.1  christos 		switch(ndx) {
   4036   1.1  christos 		case 0:
   4037   1.1  christos 			p = "netbsd32_charp";
   4038   1.1  christos 			break;
   4039   1.1  christos 		case 1:
   4040   1.1  christos 			p = "netbsd32_charp";
   4041   1.1  christos 			break;
   4042   1.1  christos 		case 2:
   4043   1.1  christos 			p = "int";
   4044   1.1  christos 			break;
   4045   1.1  christos 		case 3:
   4046   1.1  christos 			p = "netbsd32_voidp";
   4047   1.1  christos 			break;
   4048   1.1  christos 		default:
   4049   1.1  christos 			break;
   4050   1.1  christos 		};
   4051   1.1  christos 		break;
   4052   1.1  christos 	/* netbsd32_unmount */
   4053   1.1  christos 	case 22:
   4054   1.1  christos 		switch(ndx) {
   4055   1.1  christos 		case 0:
   4056   1.1  christos 			p = "netbsd32_charp";
   4057   1.1  christos 			break;
   4058   1.1  christos 		case 1:
   4059   1.1  christos 			p = "int";
   4060   1.1  christos 			break;
   4061   1.1  christos 		default:
   4062   1.1  christos 			break;
   4063   1.1  christos 		};
   4064   1.1  christos 		break;
   4065   1.1  christos 	/* netbsd32_setuid */
   4066   1.1  christos 	case 23:
   4067   1.1  christos 		switch(ndx) {
   4068   1.1  christos 		case 0:
   4069   1.1  christos 			p = "uid_t";
   4070   1.1  christos 			break;
   4071   1.1  christos 		default:
   4072   1.1  christos 			break;
   4073   1.1  christos 		};
   4074   1.1  christos 		break;
   4075  1.37     kamil 	/* sys_getuid_with_euid */
   4076   1.1  christos 	case 24:
   4077   1.1  christos 		break;
   4078   1.1  christos 	/* sys_geteuid */
   4079   1.1  christos 	case 25:
   4080   1.1  christos 		break;
   4081   1.1  christos 	/* netbsd32_ptrace */
   4082   1.1  christos 	case 26:
   4083   1.1  christos 		switch(ndx) {
   4084   1.1  christos 		case 0:
   4085   1.1  christos 			p = "int";
   4086   1.1  christos 			break;
   4087   1.1  christos 		case 1:
   4088   1.1  christos 			p = "pid_t";
   4089   1.1  christos 			break;
   4090   1.1  christos 		case 2:
   4091   1.1  christos 			p = "netbsd32_voidp";
   4092   1.1  christos 			break;
   4093   1.1  christos 		case 3:
   4094   1.1  christos 			p = "int";
   4095   1.1  christos 			break;
   4096   1.1  christos 		default:
   4097   1.1  christos 			break;
   4098   1.1  christos 		};
   4099   1.1  christos 		break;
   4100   1.1  christos 	/* netbsd32_recvmsg */
   4101   1.1  christos 	case 27:
   4102   1.1  christos 		switch(ndx) {
   4103   1.1  christos 		case 0:
   4104   1.1  christos 			p = "int";
   4105   1.1  christos 			break;
   4106   1.1  christos 		case 1:
   4107   1.1  christos 			p = "netbsd32_msghdrp_t";
   4108   1.1  christos 			break;
   4109   1.1  christos 		case 2:
   4110   1.1  christos 			p = "int";
   4111   1.1  christos 			break;
   4112   1.1  christos 		default:
   4113   1.1  christos 			break;
   4114   1.1  christos 		};
   4115   1.1  christos 		break;
   4116   1.1  christos 	/* netbsd32_sendmsg */
   4117   1.1  christos 	case 28:
   4118   1.1  christos 		switch(ndx) {
   4119   1.1  christos 		case 0:
   4120   1.1  christos 			p = "int";
   4121   1.1  christos 			break;
   4122   1.1  christos 		case 1:
   4123   1.1  christos 			p = "netbsd32_msghdrp_t";
   4124   1.1  christos 			break;
   4125   1.1  christos 		case 2:
   4126   1.1  christos 			p = "int";
   4127   1.1  christos 			break;
   4128   1.1  christos 		default:
   4129   1.1  christos 			break;
   4130   1.1  christos 		};
   4131   1.1  christos 		break;
   4132   1.1  christos 	/* netbsd32_recvfrom */
   4133   1.1  christos 	case 29:
   4134   1.1  christos 		switch(ndx) {
   4135   1.1  christos 		case 0:
   4136   1.1  christos 			p = "int";
   4137   1.1  christos 			break;
   4138   1.1  christos 		case 1:
   4139   1.1  christos 			p = "netbsd32_voidp";
   4140   1.1  christos 			break;
   4141   1.1  christos 		case 2:
   4142   1.1  christos 			p = "netbsd32_size_t";
   4143   1.1  christos 			break;
   4144   1.1  christos 		case 3:
   4145   1.1  christos 			p = "int";
   4146   1.1  christos 			break;
   4147   1.1  christos 		case 4:
   4148   1.1  christos 			p = "netbsd32_sockaddrp_t";
   4149   1.1  christos 			break;
   4150   1.1  christos 		case 5:
   4151   1.1  christos 			p = "netbsd32_intp";
   4152   1.1  christos 			break;
   4153   1.1  christos 		default:
   4154   1.1  christos 			break;
   4155   1.1  christos 		};
   4156   1.1  christos 		break;
   4157   1.1  christos 	/* netbsd32_accept */
   4158   1.1  christos 	case 30:
   4159   1.1  christos 		switch(ndx) {
   4160   1.1  christos 		case 0:
   4161   1.1  christos 			p = "int";
   4162   1.1  christos 			break;
   4163   1.1  christos 		case 1:
   4164   1.1  christos 			p = "netbsd32_sockaddrp_t";
   4165   1.1  christos 			break;
   4166   1.1  christos 		case 2:
   4167   1.1  christos 			p = "netbsd32_intp";
   4168   1.1  christos 			break;
   4169   1.1  christos 		default:
   4170   1.1  christos 			break;
   4171   1.1  christos 		};
   4172   1.1  christos 		break;
   4173   1.1  christos 	/* netbsd32_getpeername */
   4174   1.1  christos 	case 31:
   4175   1.1  christos 		switch(ndx) {
   4176   1.1  christos 		case 0:
   4177   1.1  christos 			p = "int";
   4178   1.1  christos 			break;
   4179   1.1  christos 		case 1:
   4180   1.1  christos 			p = "netbsd32_sockaddrp_t";
   4181   1.1  christos 			break;
   4182   1.1  christos 		case 2:
   4183   1.1  christos 			p = "netbsd32_intp";
   4184   1.1  christos 			break;
   4185   1.1  christos 		default:
   4186   1.1  christos 			break;
   4187   1.1  christos 		};
   4188   1.1  christos 		break;
   4189   1.1  christos 	/* netbsd32_getsockname */
   4190   1.1  christos 	case 32:
   4191   1.1  christos 		switch(ndx) {
   4192   1.1  christos 		case 0:
   4193   1.1  christos 			p = "int";
   4194   1.1  christos 			break;
   4195   1.1  christos 		case 1:
   4196   1.1  christos 			p = "netbsd32_sockaddrp_t";
   4197   1.1  christos 			break;
   4198   1.1  christos 		case 2:
   4199   1.1  christos 			p = "netbsd32_intp";
   4200   1.1  christos 			break;
   4201   1.1  christos 		default:
   4202   1.1  christos 			break;
   4203   1.1  christos 		};
   4204   1.1  christos 		break;
   4205   1.1  christos 	/* netbsd32_access */
   4206   1.1  christos 	case 33:
   4207   1.1  christos 		switch(ndx) {
   4208   1.1  christos 		case 0:
   4209   1.1  christos 			p = "netbsd32_charp";
   4210   1.1  christos 			break;
   4211   1.1  christos 		case 1:
   4212   1.1  christos 			p = "int";
   4213   1.1  christos 			break;
   4214   1.1  christos 		default:
   4215   1.1  christos 			break;
   4216   1.1  christos 		};
   4217   1.1  christos 		break;
   4218   1.1  christos 	/* netbsd32_chflags */
   4219   1.1  christos 	case 34:
   4220   1.1  christos 		switch(ndx) {
   4221   1.1  christos 		case 0:
   4222   1.1  christos 			p = "netbsd32_charp";
   4223   1.1  christos 			break;
   4224   1.1  christos 		case 1:
   4225   1.1  christos 			p = "netbsd32_u_long";
   4226   1.1  christos 			break;
   4227   1.1  christos 		default:
   4228   1.1  christos 			break;
   4229   1.1  christos 		};
   4230   1.1  christos 		break;
   4231   1.1  christos 	/* netbsd32_fchflags */
   4232   1.1  christos 	case 35:
   4233   1.1  christos 		switch(ndx) {
   4234   1.1  christos 		case 0:
   4235   1.1  christos 			p = "int";
   4236   1.1  christos 			break;
   4237   1.1  christos 		case 1:
   4238   1.1  christos 			p = "netbsd32_u_long";
   4239   1.1  christos 			break;
   4240   1.1  christos 		default:
   4241   1.1  christos 			break;
   4242   1.1  christos 		};
   4243   1.1  christos 		break;
   4244   1.1  christos 	/* sys_sync */
   4245   1.1  christos 	case 36:
   4246   1.1  christos 		break;
   4247   1.1  christos 	/* netbsd32_kill */
   4248   1.1  christos 	case 37:
   4249   1.1  christos 		switch(ndx) {
   4250   1.1  christos 		case 0:
   4251   1.1  christos 			p = "int";
   4252   1.1  christos 			break;
   4253   1.1  christos 		case 1:
   4254   1.1  christos 			p = "int";
   4255   1.1  christos 			break;
   4256   1.1  christos 		default:
   4257   1.1  christos 			break;
   4258   1.1  christos 		};
   4259   1.1  christos 		break;
   4260   1.1  christos 	/* netbsd32_stat43 */
   4261   1.1  christos 	case 38:
   4262   1.1  christos 		switch(ndx) {
   4263   1.1  christos 		case 0:
   4264   1.1  christos 			p = "netbsd32_charp";
   4265   1.1  christos 			break;
   4266   1.1  christos 		case 1:
   4267   1.1  christos 			p = "netbsd32_stat43p_t";
   4268   1.1  christos 			break;
   4269   1.1  christos 		default:
   4270   1.1  christos 			break;
   4271   1.1  christos 		};
   4272   1.1  christos 		break;
   4273   1.1  christos 	/* sys_getppid */
   4274   1.1  christos 	case 39:
   4275   1.1  christos 		break;
   4276   1.1  christos 	/* netbsd32_lstat43 */
   4277   1.1  christos 	case 40:
   4278   1.1  christos 		switch(ndx) {
   4279   1.1  christos 		case 0:
   4280   1.1  christos 			p = "netbsd32_charp";
   4281   1.1  christos 			break;
   4282   1.1  christos 		case 1:
   4283   1.1  christos 			p = "netbsd32_stat43p_t";
   4284   1.1  christos 			break;
   4285   1.1  christos 		default:
   4286   1.1  christos 			break;
   4287   1.1  christos 		};
   4288   1.1  christos 		break;
   4289   1.1  christos 	/* netbsd32_dup */
   4290   1.1  christos 	case 41:
   4291   1.1  christos 		switch(ndx) {
   4292   1.1  christos 		case 0:
   4293   1.1  christos 			p = "int";
   4294   1.1  christos 			break;
   4295   1.1  christos 		default:
   4296   1.1  christos 			break;
   4297   1.1  christos 		};
   4298   1.1  christos 		break;
   4299   1.1  christos 	/* sys_pipe */
   4300   1.1  christos 	case 42:
   4301   1.1  christos 		break;
   4302   1.1  christos 	/* sys_getegid */
   4303   1.1  christos 	case 43:
   4304   1.1  christos 		break;
   4305   1.1  christos 	/* netbsd32_profil */
   4306   1.1  christos 	case 44:
   4307   1.1  christos 		switch(ndx) {
   4308   1.1  christos 		case 0:
   4309   1.1  christos 			p = "netbsd32_voidp";
   4310   1.1  christos 			break;
   4311   1.1  christos 		case 1:
   4312   1.1  christos 			p = "netbsd32_size_t";
   4313   1.1  christos 			break;
   4314   1.1  christos 		case 2:
   4315   1.1  christos 			p = "netbsd32_u_long";
   4316   1.1  christos 			break;
   4317   1.1  christos 		case 3:
   4318   1.1  christos 			p = "u_int";
   4319   1.1  christos 			break;
   4320   1.1  christos 		default:
   4321   1.1  christos 			break;
   4322   1.1  christos 		};
   4323   1.1  christos 		break;
   4324   1.1  christos 	/* netbsd32_ktrace */
   4325   1.1  christos 	case 45:
   4326   1.1  christos 		switch(ndx) {
   4327   1.1  christos 		case 0:
   4328   1.1  christos 			p = "netbsd32_charp";
   4329   1.1  christos 			break;
   4330   1.1  christos 		case 1:
   4331   1.1  christos 			p = "int";
   4332   1.1  christos 			break;
   4333   1.1  christos 		case 2:
   4334   1.1  christos 			p = "int";
   4335   1.1  christos 			break;
   4336   1.1  christos 		case 3:
   4337   1.1  christos 			p = "int";
   4338   1.1  christos 			break;
   4339   1.1  christos 		default:
   4340   1.1  christos 			break;
   4341   1.1  christos 		};
   4342   1.1  christos 		break;
   4343   1.1  christos 	/* netbsd32_sigaction */
   4344   1.1  christos 	case 46:
   4345   1.1  christos 		switch(ndx) {
   4346   1.1  christos 		case 0:
   4347   1.1  christos 			p = "int";
   4348   1.1  christos 			break;
   4349   1.1  christos 		case 1:
   4350   1.1  christos 			p = "netbsd32_sigactionp_t";
   4351   1.1  christos 			break;
   4352   1.1  christos 		case 2:
   4353   1.1  christos 			p = "netbsd32_sigactionp_t";
   4354   1.1  christos 			break;
   4355   1.1  christos 		default:
   4356   1.1  christos 			break;
   4357   1.1  christos 		};
   4358   1.1  christos 		break;
   4359  1.37     kamil 	/* sys_getgid_with_egid */
   4360   1.1  christos 	case 47:
   4361   1.1  christos 		break;
   4362   1.1  christos 	/* netbsd32_sigprocmask */
   4363   1.1  christos 	case 48:
   4364   1.1  christos 		switch(ndx) {
   4365   1.1  christos 		case 0:
   4366   1.1  christos 			p = "int";
   4367   1.1  christos 			break;
   4368   1.1  christos 		case 1:
   4369   1.1  christos 			p = "int";
   4370   1.1  christos 			break;
   4371   1.1  christos 		default:
   4372   1.1  christos 			break;
   4373   1.1  christos 		};
   4374   1.1  christos 		break;
   4375   1.1  christos 	/* netbsd32___getlogin */
   4376   1.1  christos 	case 49:
   4377   1.1  christos 		switch(ndx) {
   4378   1.1  christos 		case 0:
   4379   1.1  christos 			p = "netbsd32_charp";
   4380   1.1  christos 			break;
   4381   1.1  christos 		case 1:
   4382   1.1  christos 			p = "u_int";
   4383   1.1  christos 			break;
   4384   1.1  christos 		default:
   4385   1.1  christos 			break;
   4386   1.1  christos 		};
   4387   1.1  christos 		break;
   4388   1.1  christos 	/* netbsd32_setlogin */
   4389   1.1  christos 	case 50:
   4390   1.1  christos 		switch(ndx) {
   4391   1.1  christos 		case 0:
   4392   1.1  christos 			p = "netbsd32_charp";
   4393   1.1  christos 			break;
   4394   1.1  christos 		default:
   4395   1.1  christos 			break;
   4396   1.1  christos 		};
   4397   1.1  christos 		break;
   4398   1.1  christos 	/* netbsd32_acct */
   4399   1.1  christos 	case 51:
   4400   1.1  christos 		switch(ndx) {
   4401   1.1  christos 		case 0:
   4402   1.1  christos 			p = "netbsd32_charp";
   4403   1.1  christos 			break;
   4404   1.1  christos 		default:
   4405   1.1  christos 			break;
   4406   1.1  christos 		};
   4407   1.1  christos 		break;
   4408   1.1  christos 	/* sys_sigpending */
   4409   1.1  christos 	case 52:
   4410   1.1  christos 		break;
   4411   1.1  christos 	/* netbsd32_sigaltstack13 */
   4412   1.1  christos 	case 53:
   4413   1.1  christos 		switch(ndx) {
   4414   1.1  christos 		case 0:
   4415   1.1  christos 			p = "netbsd32_sigaltstack13p_t";
   4416   1.1  christos 			break;
   4417   1.1  christos 		case 1:
   4418   1.1  christos 			p = "netbsd32_sigaltstack13p_t";
   4419   1.1  christos 			break;
   4420   1.1  christos 		default:
   4421   1.1  christos 			break;
   4422   1.1  christos 		};
   4423   1.1  christos 		break;
   4424   1.1  christos 	/* netbsd32_ioctl */
   4425   1.1  christos 	case 54:
   4426   1.1  christos 		switch(ndx) {
   4427   1.1  christos 		case 0:
   4428   1.1  christos 			p = "int";
   4429   1.1  christos 			break;
   4430   1.1  christos 		case 1:
   4431   1.1  christos 			p = "netbsd32_u_long";
   4432   1.1  christos 			break;
   4433   1.1  christos 		case 2:
   4434   1.1  christos 			p = "netbsd32_voidp";
   4435   1.1  christos 			break;
   4436   1.1  christos 		default:
   4437   1.1  christos 			break;
   4438   1.1  christos 		};
   4439   1.1  christos 		break;
   4440   1.1  christos 	/* netbsd32_reboot */
   4441   1.1  christos 	case 55:
   4442   1.1  christos 		switch(ndx) {
   4443   1.1  christos 		case 0:
   4444   1.1  christos 			p = "int";
   4445   1.1  christos 			break;
   4446   1.1  christos 		default:
   4447   1.1  christos 			break;
   4448   1.1  christos 		};
   4449   1.1  christos 		break;
   4450   1.1  christos 	/* netbsd32_revoke */
   4451   1.1  christos 	case 56:
   4452   1.1  christos 		switch(ndx) {
   4453   1.1  christos 		case 0:
   4454   1.1  christos 			p = "netbsd32_charp";
   4455   1.1  christos 			break;
   4456   1.1  christos 		default:
   4457   1.1  christos 			break;
   4458   1.1  christos 		};
   4459   1.1  christos 		break;
   4460   1.1  christos 	/* netbsd32_symlink */
   4461   1.1  christos 	case 57:
   4462   1.1  christos 		switch(ndx) {
   4463   1.1  christos 		case 0:
   4464   1.1  christos 			p = "netbsd32_charp";
   4465   1.1  christos 			break;
   4466   1.1  christos 		case 1:
   4467   1.1  christos 			p = "netbsd32_charp";
   4468   1.1  christos 			break;
   4469   1.1  christos 		default:
   4470   1.1  christos 			break;
   4471   1.1  christos 		};
   4472   1.1  christos 		break;
   4473   1.1  christos 	/* netbsd32_readlink */
   4474   1.1  christos 	case 58:
   4475   1.1  christos 		switch(ndx) {
   4476   1.1  christos 		case 0:
   4477   1.1  christos 			p = "netbsd32_charp";
   4478   1.1  christos 			break;
   4479   1.1  christos 		case 1:
   4480   1.1  christos 			p = "netbsd32_charp";
   4481   1.1  christos 			break;
   4482   1.1  christos 		case 2:
   4483   1.1  christos 			p = "netbsd32_size_t";
   4484   1.1  christos 			break;
   4485   1.1  christos 		default:
   4486   1.1  christos 			break;
   4487   1.1  christos 		};
   4488   1.1  christos 		break;
   4489   1.1  christos 	/* netbsd32_execve */
   4490   1.1  christos 	case 59:
   4491   1.1  christos 		switch(ndx) {
   4492   1.1  christos 		case 0:
   4493   1.1  christos 			p = "netbsd32_charp";
   4494   1.1  christos 			break;
   4495   1.1  christos 		case 1:
   4496   1.1  christos 			p = "netbsd32_charpp";
   4497   1.1  christos 			break;
   4498   1.1  christos 		case 2:
   4499   1.1  christos 			p = "netbsd32_charpp";
   4500   1.1  christos 			break;
   4501   1.1  christos 		default:
   4502   1.1  christos 			break;
   4503   1.1  christos 		};
   4504   1.1  christos 		break;
   4505   1.1  christos 	/* netbsd32_umask */
   4506   1.1  christos 	case 60:
   4507   1.1  christos 		switch(ndx) {
   4508   1.1  christos 		case 0:
   4509   1.1  christos 			p = "mode_t";
   4510   1.1  christos 			break;
   4511   1.1  christos 		default:
   4512   1.1  christos 			break;
   4513   1.1  christos 		};
   4514   1.1  christos 		break;
   4515   1.1  christos 	/* netbsd32_chroot */
   4516   1.1  christos 	case 61:
   4517   1.1  christos 		switch(ndx) {
   4518   1.1  christos 		case 0:
   4519   1.1  christos 			p = "netbsd32_charp";
   4520   1.1  christos 			break;
   4521   1.1  christos 		default:
   4522   1.1  christos 			break;
   4523   1.1  christos 		};
   4524   1.1  christos 		break;
   4525   1.1  christos 	/* netbsd32_fstat43 */
   4526   1.1  christos 	case 62:
   4527   1.1  christos 		switch(ndx) {
   4528   1.1  christos 		case 0:
   4529   1.1  christos 			p = "int";
   4530   1.1  christos 			break;
   4531   1.1  christos 		case 1:
   4532   1.1  christos 			p = "netbsd32_stat43p_t";
   4533   1.1  christos 			break;
   4534   1.1  christos 		default:
   4535   1.1  christos 			break;
   4536   1.1  christos 		};
   4537   1.1  christos 		break;
   4538   1.1  christos 	/* netbsd32_ogetkerninfo */
   4539   1.1  christos 	case 63:
   4540   1.1  christos 		switch(ndx) {
   4541   1.1  christos 		case 0:
   4542   1.1  christos 			p = "int";
   4543   1.1  christos 			break;
   4544   1.1  christos 		case 1:
   4545   1.1  christos 			p = "netbsd32_charp";
   4546   1.1  christos 			break;
   4547   1.1  christos 		case 2:
   4548   1.1  christos 			p = "netbsd32_intp";
   4549   1.1  christos 			break;
   4550   1.1  christos 		case 3:
   4551   1.1  christos 			p = "int";
   4552   1.1  christos 			break;
   4553   1.1  christos 		default:
   4554   1.1  christos 			break;
   4555   1.1  christos 		};
   4556   1.1  christos 		break;
   4557   1.1  christos 	/* sys_getpagesize */
   4558   1.1  christos 	case 64:
   4559   1.1  christos 		break;
   4560   1.1  christos 	/* netbsd32_msync */
   4561   1.1  christos 	case 65:
   4562   1.1  christos 		switch(ndx) {
   4563   1.1  christos 		case 0:
   4564   1.1  christos 			p = "netbsd32_voidp";
   4565   1.1  christos 			break;
   4566   1.1  christos 		case 1:
   4567   1.1  christos 			p = "netbsd32_size_t";
   4568   1.1  christos 			break;
   4569   1.1  christos 		default:
   4570   1.1  christos 			break;
   4571   1.1  christos 		};
   4572   1.1  christos 		break;
   4573   1.1  christos 	/* sys_vfork */
   4574   1.1  christos 	case 66:
   4575   1.1  christos 		break;
   4576   1.1  christos 	/* netbsd32_ommap */
   4577   1.1  christos 	case 71:
   4578   1.1  christos 		switch(ndx) {
   4579   1.1  christos 		case 0:
   4580   1.1  christos 			p = "netbsd32_voidp";
   4581   1.1  christos 			break;
   4582   1.1  christos 		case 1:
   4583   1.1  christos 			p = "netbsd32_size_t";
   4584   1.1  christos 			break;
   4585   1.1  christos 		case 2:
   4586   1.1  christos 			p = "int";
   4587   1.1  christos 			break;
   4588   1.1  christos 		case 3:
   4589   1.1  christos 			p = "int";
   4590   1.1  christos 			break;
   4591   1.1  christos 		case 4:
   4592   1.1  christos 			p = "int";
   4593   1.1  christos 			break;
   4594   1.1  christos 		case 5:
   4595   1.1  christos 			p = "netbsd32_long";
   4596   1.1  christos 			break;
   4597   1.1  christos 		default:
   4598   1.1  christos 			break;
   4599   1.1  christos 		};
   4600   1.1  christos 		break;
   4601  1.24     kamil 	/* netbsd32_ovadvise */
   4602  1.24     kamil 	case 72:
   4603  1.24     kamil 		switch(ndx) {
   4604  1.24     kamil 		case 0:
   4605  1.24     kamil 			p = "int";
   4606  1.24     kamil 			break;
   4607  1.24     kamil 		default:
   4608  1.24     kamil 			break;
   4609  1.24     kamil 		};
   4610  1.24     kamil 		break;
   4611   1.1  christos 	/* netbsd32_munmap */
   4612   1.1  christos 	case 73:
   4613   1.1  christos 		switch(ndx) {
   4614   1.1  christos 		case 0:
   4615   1.1  christos 			p = "netbsd32_voidp";
   4616   1.1  christos 			break;
   4617   1.1  christos 		case 1:
   4618   1.1  christos 			p = "netbsd32_size_t";
   4619   1.1  christos 			break;
   4620   1.1  christos 		default:
   4621   1.1  christos 			break;
   4622   1.1  christos 		};
   4623   1.1  christos 		break;
   4624   1.1  christos 	/* netbsd32_mprotect */
   4625   1.1  christos 	case 74:
   4626   1.1  christos 		switch(ndx) {
   4627   1.1  christos 		case 0:
   4628   1.1  christos 			p = "netbsd32_voidp";
   4629   1.1  christos 			break;
   4630   1.1  christos 		case 1:
   4631   1.1  christos 			p = "netbsd32_size_t";
   4632   1.1  christos 			break;
   4633   1.1  christos 		case 2:
   4634   1.1  christos 			p = "int";
   4635   1.1  christos 			break;
   4636   1.1  christos 		default:
   4637   1.1  christos 			break;
   4638   1.1  christos 		};
   4639   1.1  christos 		break;
   4640   1.1  christos 	/* netbsd32_madvise */
   4641   1.1  christos 	case 75:
   4642   1.1  christos 		switch(ndx) {
   4643   1.1  christos 		case 0:
   4644   1.1  christos 			p = "netbsd32_voidp";
   4645   1.1  christos 			break;
   4646   1.1  christos 		case 1:
   4647   1.1  christos 			p = "netbsd32_size_t";
   4648   1.1  christos 			break;
   4649   1.1  christos 		case 2:
   4650   1.1  christos 			p = "int";
   4651   1.1  christos 			break;
   4652   1.1  christos 		default:
   4653   1.1  christos 			break;
   4654   1.1  christos 		};
   4655   1.1  christos 		break;
   4656   1.1  christos 	/* netbsd32_mincore */
   4657   1.1  christos 	case 78:
   4658   1.1  christos 		switch(ndx) {
   4659   1.1  christos 		case 0:
   4660   1.1  christos 			p = "netbsd32_voidp";
   4661   1.1  christos 			break;
   4662   1.1  christos 		case 1:
   4663   1.1  christos 			p = "netbsd32_size_t";
   4664   1.1  christos 			break;
   4665   1.1  christos 		case 2:
   4666   1.1  christos 			p = "netbsd32_charp";
   4667   1.1  christos 			break;
   4668   1.1  christos 		default:
   4669   1.1  christos 			break;
   4670   1.1  christos 		};
   4671   1.1  christos 		break;
   4672   1.1  christos 	/* netbsd32_getgroups */
   4673   1.1  christos 	case 79:
   4674   1.1  christos 		switch(ndx) {
   4675   1.1  christos 		case 0:
   4676   1.1  christos 			p = "int";
   4677   1.1  christos 			break;
   4678   1.1  christos 		case 1:
   4679   1.1  christos 			p = "netbsd32_gid_tp";
   4680   1.1  christos 			break;
   4681   1.1  christos 		default:
   4682   1.1  christos 			break;
   4683   1.1  christos 		};
   4684   1.1  christos 		break;
   4685   1.1  christos 	/* netbsd32_setgroups */
   4686   1.1  christos 	case 80:
   4687   1.1  christos 		switch(ndx) {
   4688   1.1  christos 		case 0:
   4689   1.1  christos 			p = "int";
   4690   1.1  christos 			break;
   4691   1.1  christos 		case 1:
   4692   1.1  christos 			p = "netbsd32_gid_tp";
   4693   1.1  christos 			break;
   4694   1.1  christos 		default:
   4695   1.1  christos 			break;
   4696   1.1  christos 		};
   4697   1.1  christos 		break;
   4698   1.1  christos 	/* sys_getpgrp */
   4699   1.1  christos 	case 81:
   4700   1.1  christos 		break;
   4701   1.1  christos 	/* netbsd32_setpgid */
   4702   1.1  christos 	case 82:
   4703   1.1  christos 		switch(ndx) {
   4704   1.1  christos 		case 0:
   4705   1.1  christos 			p = "int";
   4706   1.1  christos 			break;
   4707   1.1  christos 		case 1:
   4708   1.1  christos 			p = "int";
   4709   1.1  christos 			break;
   4710   1.1  christos 		default:
   4711   1.1  christos 			break;
   4712   1.1  christos 		};
   4713   1.1  christos 		break;
   4714   1.1  christos 	/* netbsd32_setitimer */
   4715   1.1  christos 	case 83:
   4716   1.1  christos 		switch(ndx) {
   4717   1.1  christos 		case 0:
   4718   1.1  christos 			p = "int";
   4719   1.1  christos 			break;
   4720   1.1  christos 		case 1:
   4721   1.1  christos 			p = "netbsd32_itimerval50p_t";
   4722   1.1  christos 			break;
   4723   1.1  christos 		case 2:
   4724   1.1  christos 			p = "netbsd32_itimerval50p_t";
   4725   1.1  christos 			break;
   4726   1.1  christos 		default:
   4727   1.1  christos 			break;
   4728   1.1  christos 		};
   4729   1.1  christos 		break;
   4730   1.1  christos 	/* sys_wait */
   4731   1.1  christos 	case 84:
   4732   1.1  christos 		break;
   4733   1.1  christos 	/* netbsd32_oswapon */
   4734   1.1  christos 	case 85:
   4735   1.1  christos 		switch(ndx) {
   4736   1.1  christos 		case 0:
   4737   1.1  christos 			p = "netbsd32_charp";
   4738   1.1  christos 			break;
   4739   1.1  christos 		default:
   4740   1.1  christos 			break;
   4741   1.1  christos 		};
   4742   1.1  christos 		break;
   4743   1.1  christos 	/* netbsd32_getitimer */
   4744   1.1  christos 	case 86:
   4745   1.1  christos 		switch(ndx) {
   4746   1.1  christos 		case 0:
   4747   1.1  christos 			p = "int";
   4748   1.1  christos 			break;
   4749   1.1  christos 		case 1:
   4750   1.1  christos 			p = "netbsd32_itimerval50p_t";
   4751   1.1  christos 			break;
   4752   1.1  christos 		default:
   4753   1.1  christos 			break;
   4754   1.1  christos 		};
   4755   1.1  christos 		break;
   4756   1.1  christos 	/* netbsd32_ogethostname */
   4757   1.1  christos 	case 87:
   4758   1.1  christos 		switch(ndx) {
   4759   1.1  christos 		case 0:
   4760   1.1  christos 			p = "netbsd32_charp";
   4761   1.1  christos 			break;
   4762   1.1  christos 		case 1:
   4763   1.1  christos 			p = "u_int";
   4764   1.1  christos 			break;
   4765   1.1  christos 		default:
   4766   1.1  christos 			break;
   4767   1.1  christos 		};
   4768   1.1  christos 		break;
   4769   1.1  christos 	/* netbsd32_osethostname */
   4770   1.1  christos 	case 88:
   4771   1.1  christos 		switch(ndx) {
   4772   1.1  christos 		case 0:
   4773   1.1  christos 			p = "netbsd32_charp";
   4774   1.1  christos 			break;
   4775   1.1  christos 		case 1:
   4776   1.1  christos 			p = "u_int";
   4777   1.1  christos 			break;
   4778   1.1  christos 		default:
   4779   1.1  christos 			break;
   4780   1.1  christos 		};
   4781   1.1  christos 		break;
   4782   1.1  christos 	/* sys_getdtablesize */
   4783   1.1  christos 	case 89:
   4784   1.1  christos 		break;
   4785   1.1  christos 	/* netbsd32_dup2 */
   4786   1.1  christos 	case 90:
   4787   1.1  christos 		switch(ndx) {
   4788   1.1  christos 		case 0:
   4789   1.1  christos 			p = "int";
   4790   1.1  christos 			break;
   4791   1.1  christos 		case 1:
   4792   1.1  christos 			p = "int";
   4793   1.1  christos 			break;
   4794   1.1  christos 		default:
   4795   1.1  christos 			break;
   4796   1.1  christos 		};
   4797   1.1  christos 		break;
   4798  1.45       rin 	/* netbsd32_getrandom */
   4799  1.45       rin 	case 91:
   4800  1.45       rin 		switch(ndx) {
   4801  1.45       rin 		case 0:
   4802  1.45       rin 			p = "netbsd32_voidp";
   4803  1.45       rin 			break;
   4804  1.45       rin 		case 1:
   4805  1.45       rin 			p = "netbsd32_size_t";
   4806  1.45       rin 			break;
   4807  1.45       rin 		case 2:
   4808  1.45       rin 			p = "unsigned int";
   4809  1.45       rin 			break;
   4810  1.45       rin 		default:
   4811  1.45       rin 			break;
   4812  1.45       rin 		};
   4813  1.45       rin 		break;
   4814   1.1  christos 	/* netbsd32_fcntl */
   4815   1.1  christos 	case 92:
   4816   1.1  christos 		switch(ndx) {
   4817   1.1  christos 		case 0:
   4818   1.1  christos 			p = "int";
   4819   1.1  christos 			break;
   4820   1.1  christos 		case 1:
   4821   1.1  christos 			p = "int";
   4822   1.1  christos 			break;
   4823   1.1  christos 		case 2:
   4824   1.1  christos 			p = "netbsd32_voidp";
   4825   1.1  christos 			break;
   4826   1.1  christos 		default:
   4827   1.1  christos 			break;
   4828   1.1  christos 		};
   4829   1.1  christos 		break;
   4830   1.1  christos 	/* netbsd32_select */
   4831   1.1  christos 	case 93:
   4832   1.1  christos 		switch(ndx) {
   4833   1.1  christos 		case 0:
   4834   1.1  christos 			p = "int";
   4835   1.1  christos 			break;
   4836   1.1  christos 		case 1:
   4837   1.1  christos 			p = "netbsd32_fd_setp_t";
   4838   1.1  christos 			break;
   4839   1.1  christos 		case 2:
   4840   1.1  christos 			p = "netbsd32_fd_setp_t";
   4841   1.1  christos 			break;
   4842   1.1  christos 		case 3:
   4843   1.1  christos 			p = "netbsd32_fd_setp_t";
   4844   1.1  christos 			break;
   4845   1.1  christos 		case 4:
   4846   1.1  christos 			p = "netbsd32_timeval50p_t";
   4847   1.1  christos 			break;
   4848   1.1  christos 		default:
   4849   1.1  christos 			break;
   4850   1.1  christos 		};
   4851   1.1  christos 		break;
   4852   1.1  christos 	/* netbsd32_fsync */
   4853   1.1  christos 	case 95:
   4854   1.1  christos 		switch(ndx) {
   4855   1.1  christos 		case 0:
   4856   1.1  christos 			p = "int";
   4857   1.1  christos 			break;
   4858   1.1  christos 		default:
   4859   1.1  christos 			break;
   4860   1.1  christos 		};
   4861   1.1  christos 		break;
   4862   1.1  christos 	/* netbsd32_setpriority */
   4863   1.1  christos 	case 96:
   4864   1.1  christos 		switch(ndx) {
   4865   1.1  christos 		case 0:
   4866   1.1  christos 			p = "int";
   4867   1.1  christos 			break;
   4868   1.1  christos 		case 1:
   4869   1.1  christos 			p = "int";
   4870   1.1  christos 			break;
   4871   1.1  christos 		case 2:
   4872   1.1  christos 			p = "int";
   4873   1.1  christos 			break;
   4874   1.1  christos 		default:
   4875   1.1  christos 			break;
   4876   1.1  christos 		};
   4877   1.1  christos 		break;
   4878   1.1  christos 	/* netbsd32_socket */
   4879   1.1  christos 	case 97:
   4880   1.1  christos 		switch(ndx) {
   4881   1.1  christos 		case 0:
   4882   1.1  christos 			p = "int";
   4883   1.1  christos 			break;
   4884   1.1  christos 		case 1:
   4885   1.1  christos 			p = "int";
   4886   1.1  christos 			break;
   4887   1.1  christos 		case 2:
   4888   1.1  christos 			p = "int";
   4889   1.1  christos 			break;
   4890   1.1  christos 		default:
   4891   1.1  christos 			break;
   4892   1.1  christos 		};
   4893   1.1  christos 		break;
   4894   1.1  christos 	/* netbsd32_connect */
   4895   1.1  christos 	case 98:
   4896   1.1  christos 		switch(ndx) {
   4897   1.1  christos 		case 0:
   4898   1.1  christos 			p = "int";
   4899   1.1  christos 			break;
   4900   1.1  christos 		case 1:
   4901   1.1  christos 			p = "netbsd32_sockaddrp_t";
   4902   1.1  christos 			break;
   4903   1.1  christos 		case 2:
   4904   1.1  christos 			p = "int";
   4905   1.1  christos 			break;
   4906   1.1  christos 		default:
   4907   1.1  christos 			break;
   4908   1.1  christos 		};
   4909   1.1  christos 		break;
   4910   1.1  christos 	/* netbsd32_oaccept */
   4911   1.1  christos 	case 99:
   4912   1.1  christos 		switch(ndx) {
   4913   1.1  christos 		case 0:
   4914   1.1  christos 			p = "int";
   4915   1.1  christos 			break;
   4916   1.1  christos 		case 1:
   4917   1.1  christos 			p = "netbsd32_voidp";
   4918   1.1  christos 			break;
   4919   1.1  christos 		case 2:
   4920   1.1  christos 			p = "netbsd32_intp";
   4921   1.1  christos 			break;
   4922   1.1  christos 		default:
   4923   1.1  christos 			break;
   4924   1.1  christos 		};
   4925   1.1  christos 		break;
   4926   1.1  christos 	/* netbsd32_getpriority */
   4927   1.1  christos 	case 100:
   4928   1.1  christos 		switch(ndx) {
   4929   1.1  christos 		case 0:
   4930   1.1  christos 			p = "int";
   4931   1.1  christos 			break;
   4932   1.1  christos 		case 1:
   4933   1.1  christos 			p = "int";
   4934   1.1  christos 			break;
   4935   1.1  christos 		default:
   4936   1.1  christos 			break;
   4937   1.1  christos 		};
   4938   1.1  christos 		break;
   4939   1.1  christos 	/* netbsd32_osend */
   4940   1.1  christos 	case 101:
   4941   1.1  christos 		switch(ndx) {
   4942   1.1  christos 		case 0:
   4943   1.1  christos 			p = "int";
   4944   1.1  christos 			break;
   4945   1.1  christos 		case 1:
   4946   1.1  christos 			p = "netbsd32_voidp";
   4947   1.1  christos 			break;
   4948   1.1  christos 		case 2:
   4949   1.1  christos 			p = "int";
   4950   1.1  christos 			break;
   4951   1.1  christos 		case 3:
   4952   1.1  christos 			p = "int";
   4953   1.1  christos 			break;
   4954   1.1  christos 		default:
   4955   1.1  christos 			break;
   4956   1.1  christos 		};
   4957   1.1  christos 		break;
   4958   1.1  christos 	/* netbsd32_orecv */
   4959   1.1  christos 	case 102:
   4960   1.1  christos 		switch(ndx) {
   4961   1.1  christos 		case 0:
   4962   1.1  christos 			p = "int";
   4963   1.1  christos 			break;
   4964   1.1  christos 		case 1:
   4965   1.1  christos 			p = "netbsd32_voidp";
   4966   1.1  christos 			break;
   4967   1.1  christos 		case 2:
   4968   1.1  christos 			p = "int";
   4969   1.1  christos 			break;
   4970   1.1  christos 		case 3:
   4971   1.1  christos 			p = "int";
   4972   1.1  christos 			break;
   4973   1.1  christos 		default:
   4974   1.1  christos 			break;
   4975   1.1  christos 		};
   4976   1.1  christos 		break;
   4977   1.1  christos 	/* netbsd32_sigreturn */
   4978   1.1  christos 	case 103:
   4979   1.1  christos 		switch(ndx) {
   4980   1.1  christos 		case 0:
   4981   1.1  christos 			p = "netbsd32_sigcontextp_t";
   4982   1.1  christos 			break;
   4983   1.1  christos 		default:
   4984   1.1  christos 			break;
   4985   1.1  christos 		};
   4986   1.1  christos 		break;
   4987   1.1  christos 	/* netbsd32_bind */
   4988   1.1  christos 	case 104:
   4989   1.1  christos 		switch(ndx) {
   4990   1.1  christos 		case 0:
   4991   1.1  christos 			p = "int";
   4992   1.1  christos 			break;
   4993   1.1  christos 		case 1:
   4994   1.1  christos 			p = "netbsd32_sockaddrp_t";
   4995   1.1  christos 			break;
   4996   1.1  christos 		case 2:
   4997   1.1  christos 			p = "int";
   4998   1.1  christos 			break;
   4999   1.1  christos 		default:
   5000   1.1  christos 			break;
   5001   1.1  christos 		};
   5002   1.1  christos 		break;
   5003   1.1  christos 	/* netbsd32_setsockopt */
   5004   1.1  christos 	case 105:
   5005   1.1  christos 		switch(ndx) {
   5006   1.1  christos 		case 0:
   5007   1.1  christos 			p = "int";
   5008   1.1  christos 			break;
   5009   1.1  christos 		case 1:
   5010   1.1  christos 			p = "int";
   5011   1.1  christos 			break;
   5012   1.1  christos 		case 2:
   5013   1.1  christos 			p = "int";
   5014   1.1  christos 			break;
   5015   1.1  christos 		case 3:
   5016   1.1  christos 			p = "netbsd32_voidp";
   5017   1.1  christos 			break;
   5018   1.1  christos 		case 4:
   5019   1.1  christos 			p = "int";
   5020   1.1  christos 			break;
   5021   1.1  christos 		default:
   5022   1.1  christos 			break;
   5023   1.1  christos 		};
   5024   1.1  christos 		break;
   5025   1.1  christos 	/* netbsd32_listen */
   5026   1.1  christos 	case 106:
   5027   1.1  christos 		switch(ndx) {
   5028   1.1  christos 		case 0:
   5029   1.1  christos 			p = "int";
   5030   1.1  christos 			break;
   5031   1.1  christos 		case 1:
   5032   1.1  christos 			p = "int";
   5033   1.1  christos 			break;
   5034   1.1  christos 		default:
   5035   1.1  christos 			break;
   5036   1.1  christos 		};
   5037   1.1  christos 		break;
   5038   1.1  christos 	/* netbsd32_osigvec */
   5039   1.1  christos 	case 108:
   5040   1.1  christos 		switch(ndx) {
   5041   1.1  christos 		case 0:
   5042   1.1  christos 			p = "int";
   5043   1.1  christos 			break;
   5044   1.1  christos 		case 1:
   5045   1.1  christos 			p = "netbsd32_sigvecp_t";
   5046   1.1  christos 			break;
   5047   1.1  christos 		case 2:
   5048   1.1  christos 			p = "netbsd32_sigvecp_t";
   5049   1.1  christos 			break;
   5050   1.1  christos 		default:
   5051   1.1  christos 			break;
   5052   1.1  christos 		};
   5053   1.1  christos 		break;
   5054   1.1  christos 	/* netbsd32_sigblock */
   5055   1.1  christos 	case 109:
   5056   1.1  christos 		switch(ndx) {
   5057   1.1  christos 		case 0:
   5058   1.1  christos 			p = "int";
   5059   1.1  christos 			break;
   5060   1.1  christos 		default:
   5061   1.1  christos 			break;
   5062   1.1  christos 		};
   5063   1.1  christos 		break;
   5064   1.1  christos 	/* netbsd32_sigsetmask */
   5065   1.1  christos 	case 110:
   5066   1.1  christos 		switch(ndx) {
   5067   1.1  christos 		case 0:
   5068   1.1  christos 			p = "int";
   5069   1.1  christos 			break;
   5070   1.1  christos 		default:
   5071   1.1  christos 			break;
   5072   1.1  christos 		};
   5073   1.1  christos 		break;
   5074   1.1  christos 	/* netbsd32_sigsuspend */
   5075   1.1  christos 	case 111:
   5076   1.1  christos 		switch(ndx) {
   5077   1.1  christos 		case 0:
   5078   1.1  christos 			p = "int";
   5079   1.1  christos 			break;
   5080   1.1  christos 		default:
   5081   1.1  christos 			break;
   5082   1.1  christos 		};
   5083   1.1  christos 		break;
   5084   1.1  christos 	/* netbsd32_osigstack */
   5085   1.1  christos 	case 112:
   5086   1.1  christos 		switch(ndx) {
   5087   1.1  christos 		case 0:
   5088   1.1  christos 			p = "netbsd32_sigstackp_t";
   5089   1.1  christos 			break;
   5090   1.1  christos 		case 1:
   5091   1.1  christos 			p = "netbsd32_sigstackp_t";
   5092   1.1  christos 			break;
   5093   1.1  christos 		default:
   5094   1.1  christos 			break;
   5095   1.1  christos 		};
   5096   1.1  christos 		break;
   5097   1.1  christos 	/* netbsd32_orecvmsg */
   5098   1.1  christos 	case 113:
   5099   1.1  christos 		switch(ndx) {
   5100   1.1  christos 		case 0:
   5101   1.1  christos 			p = "int";
   5102   1.1  christos 			break;
   5103   1.1  christos 		case 1:
   5104   1.1  christos 			p = "netbsd32_omsghdrp_t";
   5105   1.1  christos 			break;
   5106   1.1  christos 		case 2:
   5107   1.1  christos 			p = "int";
   5108   1.1  christos 			break;
   5109   1.1  christos 		default:
   5110   1.1  christos 			break;
   5111   1.1  christos 		};
   5112   1.1  christos 		break;
   5113   1.1  christos 	/* netbsd32_osendmsg */
   5114   1.1  christos 	case 114:
   5115   1.1  christos 		switch(ndx) {
   5116   1.1  christos 		case 0:
   5117   1.1  christos 			p = "int";
   5118   1.1  christos 			break;
   5119   1.1  christos 		case 1:
   5120   1.1  christos 			p = "netbsd32_voidp";
   5121   1.1  christos 			break;
   5122   1.1  christos 		case 2:
   5123   1.1  christos 			p = "int";
   5124   1.1  christos 			break;
   5125   1.1  christos 		default:
   5126   1.1  christos 			break;
   5127   1.1  christos 		};
   5128   1.1  christos 		break;
   5129   1.1  christos 	/* netbsd32_gettimeofday */
   5130   1.1  christos 	case 116:
   5131   1.1  christos 		switch(ndx) {
   5132   1.1  christos 		case 0:
   5133   1.1  christos 			p = "netbsd32_timeval50p_t";
   5134   1.1  christos 			break;
   5135   1.1  christos 		case 1:
   5136   1.1  christos 			p = "netbsd32_timezonep_t";
   5137   1.1  christos 			break;
   5138   1.1  christos 		default:
   5139   1.1  christos 			break;
   5140   1.1  christos 		};
   5141   1.1  christos 		break;
   5142   1.1  christos 	/* netbsd32_getrusage */
   5143   1.1  christos 	case 117:
   5144   1.1  christos 		switch(ndx) {
   5145   1.1  christos 		case 0:
   5146   1.1  christos 			p = "int";
   5147   1.1  christos 			break;
   5148   1.1  christos 		case 1:
   5149   1.1  christos 			p = "netbsd32_rusage50p_t";
   5150   1.1  christos 			break;
   5151   1.1  christos 		default:
   5152   1.1  christos 			break;
   5153   1.1  christos 		};
   5154   1.1  christos 		break;
   5155   1.1  christos 	/* netbsd32_getsockopt */
   5156   1.1  christos 	case 118:
   5157   1.1  christos 		switch(ndx) {
   5158   1.1  christos 		case 0:
   5159   1.1  christos 			p = "int";
   5160   1.1  christos 			break;
   5161   1.1  christos 		case 1:
   5162   1.1  christos 			p = "int";
   5163   1.1  christos 			break;
   5164   1.1  christos 		case 2:
   5165   1.1  christos 			p = "int";
   5166   1.1  christos 			break;
   5167   1.1  christos 		case 3:
   5168   1.1  christos 			p = "netbsd32_voidp";
   5169   1.1  christos 			break;
   5170   1.1  christos 		case 4:
   5171   1.1  christos 			p = "netbsd32_intp";
   5172   1.1  christos 			break;
   5173   1.1  christos 		default:
   5174   1.1  christos 			break;
   5175   1.1  christos 		};
   5176   1.1  christos 		break;
   5177   1.1  christos 	/* netbsd32_readv */
   5178   1.1  christos 	case 120:
   5179   1.1  christos 		switch(ndx) {
   5180   1.1  christos 		case 0:
   5181   1.1  christos 			p = "int";
   5182   1.1  christos 			break;
   5183   1.1  christos 		case 1:
   5184   1.1  christos 			p = "netbsd32_iovecp_t";
   5185   1.1  christos 			break;
   5186   1.1  christos 		case 2:
   5187   1.1  christos 			p = "int";
   5188   1.1  christos 			break;
   5189   1.1  christos 		default:
   5190   1.1  christos 			break;
   5191   1.1  christos 		};
   5192   1.1  christos 		break;
   5193   1.1  christos 	/* netbsd32_writev */
   5194   1.1  christos 	case 121:
   5195   1.1  christos 		switch(ndx) {
   5196   1.1  christos 		case 0:
   5197   1.1  christos 			p = "int";
   5198   1.1  christos 			break;
   5199   1.1  christos 		case 1:
   5200   1.1  christos 			p = "netbsd32_iovecp_t";
   5201   1.1  christos 			break;
   5202   1.1  christos 		case 2:
   5203   1.1  christos 			p = "int";
   5204   1.1  christos 			break;
   5205   1.1  christos 		default:
   5206   1.1  christos 			break;
   5207   1.1  christos 		};
   5208   1.1  christos 		break;
   5209   1.1  christos 	/* netbsd32_settimeofday */
   5210   1.1  christos 	case 122:
   5211   1.1  christos 		switch(ndx) {
   5212   1.1  christos 		case 0:
   5213   1.1  christos 			p = "netbsd32_timeval50p_t";
   5214   1.1  christos 			break;
   5215   1.1  christos 		case 1:
   5216   1.1  christos 			p = "netbsd32_timezonep_t";
   5217   1.1  christos 			break;
   5218   1.1  christos 		default:
   5219   1.1  christos 			break;
   5220   1.1  christos 		};
   5221   1.1  christos 		break;
   5222   1.1  christos 	/* netbsd32_fchown */
   5223   1.1  christos 	case 123:
   5224   1.1  christos 		switch(ndx) {
   5225   1.1  christos 		case 0:
   5226   1.1  christos 			p = "int";
   5227   1.1  christos 			break;
   5228   1.1  christos 		case 1:
   5229   1.1  christos 			p = "uid_t";
   5230   1.1  christos 			break;
   5231   1.1  christos 		case 2:
   5232   1.1  christos 			p = "gid_t";
   5233   1.1  christos 			break;
   5234   1.1  christos 		default:
   5235   1.1  christos 			break;
   5236   1.1  christos 		};
   5237   1.1  christos 		break;
   5238   1.1  christos 	/* netbsd32_fchmod */
   5239   1.1  christos 	case 124:
   5240   1.1  christos 		switch(ndx) {
   5241   1.1  christos 		case 0:
   5242   1.1  christos 			p = "int";
   5243   1.1  christos 			break;
   5244   1.1  christos 		case 1:
   5245   1.1  christos 			p = "mode_t";
   5246   1.1  christos 			break;
   5247   1.1  christos 		default:
   5248   1.1  christos 			break;
   5249   1.1  christos 		};
   5250   1.1  christos 		break;
   5251   1.1  christos 	/* netbsd32_orecvfrom */
   5252   1.1  christos 	case 125:
   5253   1.1  christos 		switch(ndx) {
   5254   1.1  christos 		case 0:
   5255   1.1  christos 			p = "int";
   5256   1.1  christos 			break;
   5257   1.1  christos 		case 1:
   5258   1.1  christos 			p = "netbsd32_voidp";
   5259   1.1  christos 			break;
   5260   1.1  christos 		case 2:
   5261   1.1  christos 			p = "netbsd32_size_t";
   5262   1.1  christos 			break;
   5263   1.1  christos 		case 3:
   5264   1.1  christos 			p = "int";
   5265   1.1  christos 			break;
   5266   1.1  christos 		case 4:
   5267   1.1  christos 			p = "netbsd32_voidp";
   5268   1.1  christos 			break;
   5269   1.1  christos 		case 5:
   5270   1.1  christos 			p = "netbsd32_intp";
   5271   1.1  christos 			break;
   5272   1.1  christos 		default:
   5273   1.1  christos 			break;
   5274   1.1  christos 		};
   5275   1.1  christos 		break;
   5276   1.1  christos 	/* netbsd32_setreuid */
   5277   1.1  christos 	case 126:
   5278   1.1  christos 		switch(ndx) {
   5279   1.1  christos 		case 0:
   5280   1.1  christos 			p = "uid_t";
   5281   1.1  christos 			break;
   5282   1.1  christos 		case 1:
   5283   1.1  christos 			p = "uid_t";
   5284   1.1  christos 			break;
   5285   1.1  christos 		default:
   5286   1.1  christos 			break;
   5287   1.1  christos 		};
   5288   1.1  christos 		break;
   5289   1.1  christos 	/* netbsd32_setregid */
   5290   1.1  christos 	case 127:
   5291   1.1  christos 		switch(ndx) {
   5292   1.1  christos 		case 0:
   5293   1.1  christos 			p = "gid_t";
   5294   1.1  christos 			break;
   5295   1.1  christos 		case 1:
   5296   1.1  christos 			p = "gid_t";
   5297   1.1  christos 			break;
   5298   1.1  christos 		default:
   5299   1.1  christos 			break;
   5300   1.1  christos 		};
   5301   1.1  christos 		break;
   5302   1.1  christos 	/* netbsd32_rename */
   5303   1.1  christos 	case 128:
   5304   1.1  christos 		switch(ndx) {
   5305   1.1  christos 		case 0:
   5306   1.1  christos 			p = "netbsd32_charp";
   5307   1.1  christos 			break;
   5308   1.1  christos 		case 1:
   5309   1.1  christos 			p = "netbsd32_charp";
   5310   1.1  christos 			break;
   5311   1.1  christos 		default:
   5312   1.1  christos 			break;
   5313   1.1  christos 		};
   5314   1.1  christos 		break;
   5315   1.1  christos 	/* netbsd32_otruncate */
   5316   1.1  christos 	case 129:
   5317   1.1  christos 		switch(ndx) {
   5318   1.1  christos 		case 0:
   5319   1.1  christos 			p = "netbsd32_charp";
   5320   1.1  christos 			break;
   5321   1.1  christos 		case 1:
   5322   1.1  christos 			p = "netbsd32_long";
   5323   1.1  christos 			break;
   5324   1.1  christos 		default:
   5325   1.1  christos 			break;
   5326   1.1  christos 		};
   5327   1.1  christos 		break;
   5328   1.1  christos 	/* netbsd32_oftruncate */
   5329   1.1  christos 	case 130:
   5330   1.1  christos 		switch(ndx) {
   5331   1.1  christos 		case 0:
   5332   1.1  christos 			p = "int";
   5333   1.1  christos 			break;
   5334   1.1  christos 		case 1:
   5335   1.1  christos 			p = "netbsd32_long";
   5336   1.1  christos 			break;
   5337   1.1  christos 		default:
   5338   1.1  christos 			break;
   5339   1.1  christos 		};
   5340   1.1  christos 		break;
   5341   1.1  christos 	/* netbsd32_flock */
   5342   1.1  christos 	case 131:
   5343   1.1  christos 		switch(ndx) {
   5344   1.1  christos 		case 0:
   5345   1.1  christos 			p = "int";
   5346   1.1  christos 			break;
   5347   1.1  christos 		case 1:
   5348   1.1  christos 			p = "int";
   5349   1.1  christos 			break;
   5350   1.1  christos 		default:
   5351   1.1  christos 			break;
   5352   1.1  christos 		};
   5353   1.1  christos 		break;
   5354   1.1  christos 	/* netbsd32_mkfifo */
   5355   1.1  christos 	case 132:
   5356   1.1  christos 		switch(ndx) {
   5357   1.1  christos 		case 0:
   5358   1.1  christos 			p = "netbsd32_charp";
   5359   1.1  christos 			break;
   5360   1.1  christos 		case 1:
   5361   1.1  christos 			p = "mode_t";
   5362   1.1  christos 			break;
   5363   1.1  christos 		default:
   5364   1.1  christos 			break;
   5365   1.1  christos 		};
   5366   1.1  christos 		break;
   5367   1.1  christos 	/* netbsd32_sendto */
   5368   1.1  christos 	case 133:
   5369   1.1  christos 		switch(ndx) {
   5370   1.1  christos 		case 0:
   5371   1.1  christos 			p = "int";
   5372   1.1  christos 			break;
   5373   1.1  christos 		case 1:
   5374   1.1  christos 			p = "netbsd32_voidp";
   5375   1.1  christos 			break;
   5376   1.1  christos 		case 2:
   5377   1.1  christos 			p = "netbsd32_size_t";
   5378   1.1  christos 			break;
   5379   1.1  christos 		case 3:
   5380   1.1  christos 			p = "int";
   5381   1.1  christos 			break;
   5382   1.1  christos 		case 4:
   5383   1.1  christos 			p = "netbsd32_sockaddrp_t";
   5384   1.1  christos 			break;
   5385   1.1  christos 		case 5:
   5386   1.1  christos 			p = "int";
   5387   1.1  christos 			break;
   5388   1.1  christos 		default:
   5389   1.1  christos 			break;
   5390   1.1  christos 		};
   5391   1.1  christos 		break;
   5392   1.1  christos 	/* netbsd32_shutdown */
   5393   1.1  christos 	case 134:
   5394   1.1  christos 		switch(ndx) {
   5395   1.1  christos 		case 0:
   5396   1.1  christos 			p = "int";
   5397   1.1  christos 			break;
   5398   1.1  christos 		case 1:
   5399   1.1  christos 			p = "int";
   5400   1.1  christos 			break;
   5401   1.1  christos 		default:
   5402   1.1  christos 			break;
   5403   1.1  christos 		};
   5404   1.1  christos 		break;
   5405   1.1  christos 	/* netbsd32_socketpair */
   5406   1.1  christos 	case 135:
   5407   1.1  christos 		switch(ndx) {
   5408   1.1  christos 		case 0:
   5409   1.1  christos 			p = "int";
   5410   1.1  christos 			break;
   5411   1.1  christos 		case 1:
   5412   1.1  christos 			p = "int";
   5413   1.1  christos 			break;
   5414   1.1  christos 		case 2:
   5415   1.1  christos 			p = "int";
   5416   1.1  christos 			break;
   5417   1.1  christos 		case 3:
   5418   1.1  christos 			p = "netbsd32_intp";
   5419   1.1  christos 			break;
   5420   1.1  christos 		default:
   5421   1.1  christos 			break;
   5422   1.1  christos 		};
   5423   1.1  christos 		break;
   5424   1.1  christos 	/* netbsd32_mkdir */
   5425   1.1  christos 	case 136:
   5426   1.1  christos 		switch(ndx) {
   5427   1.1  christos 		case 0:
   5428   1.1  christos 			p = "netbsd32_charp";
   5429   1.1  christos 			break;
   5430   1.1  christos 		case 1:
   5431   1.1  christos 			p = "mode_t";
   5432   1.1  christos 			break;
   5433   1.1  christos 		default:
   5434   1.1  christos 			break;
   5435   1.1  christos 		};
   5436   1.1  christos 		break;
   5437   1.1  christos 	/* netbsd32_rmdir */
   5438   1.1  christos 	case 137:
   5439   1.1  christos 		switch(ndx) {
   5440   1.1  christos 		case 0:
   5441   1.1  christos 			p = "netbsd32_charp";
   5442   1.1  christos 			break;
   5443   1.1  christos 		default:
   5444   1.1  christos 			break;
   5445   1.1  christos 		};
   5446   1.1  christos 		break;
   5447   1.1  christos 	/* netbsd32_utimes */
   5448   1.1  christos 	case 138:
   5449   1.1  christos 		switch(ndx) {
   5450   1.1  christos 		case 0:
   5451   1.1  christos 			p = "netbsd32_charp";
   5452   1.1  christos 			break;
   5453   1.1  christos 		case 1:
   5454   1.1  christos 			p = "netbsd32_timeval50p_t";
   5455   1.1  christos 			break;
   5456   1.1  christos 		default:
   5457   1.1  christos 			break;
   5458   1.1  christos 		};
   5459   1.1  christos 		break;
   5460   1.1  christos 	/* netbsd32_adjtime */
   5461   1.1  christos 	case 140:
   5462   1.1  christos 		switch(ndx) {
   5463   1.1  christos 		case 0:
   5464   1.1  christos 			p = "netbsd32_timeval50p_t";
   5465   1.1  christos 			break;
   5466   1.1  christos 		case 1:
   5467   1.1  christos 			p = "netbsd32_timeval50p_t";
   5468   1.1  christos 			break;
   5469   1.1  christos 		default:
   5470   1.1  christos 			break;
   5471   1.1  christos 		};
   5472   1.1  christos 		break;
   5473   1.1  christos 	/* netbsd32_ogetpeername */
   5474   1.1  christos 	case 141:
   5475   1.1  christos 		switch(ndx) {
   5476   1.1  christos 		case 0:
   5477   1.1  christos 			p = "int";
   5478   1.1  christos 			break;
   5479   1.1  christos 		case 1:
   5480   1.1  christos 			p = "netbsd32_voidp";
   5481   1.1  christos 			break;
   5482   1.1  christos 		case 2:
   5483   1.1  christos 			p = "netbsd32_intp";
   5484   1.1  christos 			break;
   5485   1.1  christos 		default:
   5486   1.1  christos 			break;
   5487   1.1  christos 		};
   5488   1.1  christos 		break;
   5489   1.1  christos 	/* sys_gethostid */
   5490   1.1  christos 	case 142:
   5491   1.1  christos 		break;
   5492   1.1  christos 	/* netbsd32_sethostid */
   5493   1.1  christos 	case 143:
   5494   1.1  christos 		switch(ndx) {
   5495   1.1  christos 		case 0:
   5496   1.1  christos 			p = "int32_t";
   5497   1.1  christos 			break;
   5498   1.1  christos 		default:
   5499   1.1  christos 			break;
   5500   1.1  christos 		};
   5501   1.1  christos 		break;
   5502   1.1  christos 	/* netbsd32_ogetrlimit */
   5503   1.1  christos 	case 144:
   5504   1.1  christos 		switch(ndx) {
   5505   1.1  christos 		case 0:
   5506   1.1  christos 			p = "int";
   5507   1.1  christos 			break;
   5508   1.1  christos 		case 1:
   5509   1.1  christos 			p = "netbsd32_orlimitp_t";
   5510   1.1  christos 			break;
   5511   1.1  christos 		default:
   5512   1.1  christos 			break;
   5513   1.1  christos 		};
   5514   1.1  christos 		break;
   5515   1.1  christos 	/* netbsd32_osetrlimit */
   5516   1.1  christos 	case 145:
   5517   1.1  christos 		switch(ndx) {
   5518   1.1  christos 		case 0:
   5519   1.1  christos 			p = "int";
   5520   1.1  christos 			break;
   5521   1.1  christos 		case 1:
   5522   1.1  christos 			p = "netbsd32_orlimitp_t";
   5523   1.1  christos 			break;
   5524   1.1  christos 		default:
   5525   1.1  christos 			break;
   5526   1.1  christos 		};
   5527   1.1  christos 		break;
   5528   1.1  christos 	/* netbsd32_killpg */
   5529   1.1  christos 	case 146:
   5530   1.1  christos 		switch(ndx) {
   5531   1.1  christos 		case 0:
   5532   1.1  christos 			p = "int";
   5533   1.1  christos 			break;
   5534   1.1  christos 		case 1:
   5535   1.1  christos 			p = "int";
   5536   1.1  christos 			break;
   5537   1.1  christos 		default:
   5538   1.1  christos 			break;
   5539   1.1  christos 		};
   5540   1.1  christos 		break;
   5541   1.1  christos 	/* sys_setsid */
   5542   1.1  christos 	case 147:
   5543   1.1  christos 		break;
   5544   1.1  christos 	/* netbsd32_quotactl */
   5545   1.1  christos 	case 148:
   5546   1.1  christos 		switch(ndx) {
   5547   1.1  christos 		case 0:
   5548   1.1  christos 			p = "netbsd32_charp";
   5549   1.1  christos 			break;
   5550   1.1  christos 		case 1:
   5551   1.1  christos 			p = "int";
   5552   1.1  christos 			break;
   5553   1.1  christos 		case 2:
   5554   1.1  christos 			p = "int";
   5555   1.1  christos 			break;
   5556   1.1  christos 		case 3:
   5557   1.1  christos 			p = "netbsd32_voidp";
   5558   1.1  christos 			break;
   5559   1.1  christos 		default:
   5560   1.1  christos 			break;
   5561   1.1  christos 		};
   5562   1.1  christos 		break;
   5563   1.1  christos 	/* netbsd32_ogetsockname */
   5564   1.1  christos 	case 150:
   5565   1.1  christos 		switch(ndx) {
   5566   1.1  christos 		case 0:
   5567   1.1  christos 			p = "int";
   5568   1.1  christos 			break;
   5569   1.1  christos 		case 1:
   5570   1.1  christos 			p = "netbsd32_voidp";
   5571   1.1  christos 			break;
   5572   1.1  christos 		case 2:
   5573   1.1  christos 			p = "netbsd32_intp";
   5574   1.1  christos 			break;
   5575   1.1  christos 		default:
   5576   1.1  christos 			break;
   5577   1.1  christos 		};
   5578   1.1  christos 		break;
   5579   1.6       mrg 	/* netbsd32_nfssvc */
   5580   1.6       mrg 	case 155:
   5581   1.6       mrg 		switch(ndx) {
   5582   1.6       mrg 		case 0:
   5583   1.6       mrg 			p = "int";
   5584   1.6       mrg 			break;
   5585   1.6       mrg 		case 1:
   5586   1.6       mrg 			p = "netbsd32_voidp";
   5587   1.6       mrg 			break;
   5588   1.6       mrg 		default:
   5589   1.6       mrg 			break;
   5590   1.6       mrg 		};
   5591   1.6       mrg 		break;
   5592   1.1  christos 	/* netbsd32_ogetdirentries */
   5593   1.1  christos 	case 156:
   5594   1.1  christos 		switch(ndx) {
   5595   1.1  christos 		case 0:
   5596   1.1  christos 			p = "int";
   5597   1.1  christos 			break;
   5598   1.1  christos 		case 1:
   5599   1.1  christos 			p = "netbsd32_charp";
   5600   1.1  christos 			break;
   5601   1.1  christos 		case 2:
   5602   1.1  christos 			p = "u_int";
   5603   1.1  christos 			break;
   5604   1.1  christos 		case 3:
   5605   1.1  christos 			p = "netbsd32_longp";
   5606   1.1  christos 			break;
   5607   1.1  christos 		default:
   5608   1.1  christos 			break;
   5609   1.1  christos 		};
   5610   1.1  christos 		break;
   5611   1.1  christos 	/* netbsd32_statfs */
   5612   1.1  christos 	case 157:
   5613   1.1  christos 		switch(ndx) {
   5614   1.1  christos 		case 0:
   5615   1.1  christos 			p = "netbsd32_charp";
   5616   1.1  christos 			break;
   5617   1.1  christos 		case 1:
   5618   1.1  christos 			p = "netbsd32_statfsp_t";
   5619   1.1  christos 			break;
   5620   1.1  christos 		default:
   5621   1.1  christos 			break;
   5622   1.1  christos 		};
   5623   1.1  christos 		break;
   5624   1.1  christos 	/* netbsd32_fstatfs */
   5625   1.1  christos 	case 158:
   5626   1.1  christos 		switch(ndx) {
   5627   1.1  christos 		case 0:
   5628   1.1  christos 			p = "int";
   5629   1.1  christos 			break;
   5630   1.1  christos 		case 1:
   5631   1.1  christos 			p = "netbsd32_statfsp_t";
   5632   1.1  christos 			break;
   5633   1.1  christos 		default:
   5634   1.1  christos 			break;
   5635   1.1  christos 		};
   5636   1.1  christos 		break;
   5637   1.1  christos 	/* netbsd32_getfh */
   5638   1.1  christos 	case 161:
   5639   1.1  christos 		switch(ndx) {
   5640   1.1  christos 		case 0:
   5641   1.1  christos 			p = "netbsd32_charp";
   5642   1.1  christos 			break;
   5643   1.1  christos 		case 1:
   5644   1.1  christos 			p = "netbsd32_compat_30_fhandlep_t";
   5645   1.1  christos 			break;
   5646   1.1  christos 		default:
   5647   1.1  christos 			break;
   5648   1.1  christos 		};
   5649   1.1  christos 		break;
   5650   1.1  christos 	/* netbsd32_ogetdomainname */
   5651   1.1  christos 	case 162:
   5652   1.1  christos 		switch(ndx) {
   5653   1.1  christos 		case 0:
   5654   1.1  christos 			p = "netbsd32_charp";
   5655   1.1  christos 			break;
   5656   1.1  christos 		case 1:
   5657   1.1  christos 			p = "int";
   5658   1.1  christos 			break;
   5659   1.1  christos 		default:
   5660   1.1  christos 			break;
   5661   1.1  christos 		};
   5662   1.1  christos 		break;
   5663   1.1  christos 	/* netbsd32_osetdomainname */
   5664   1.1  christos 	case 163:
   5665   1.1  christos 		switch(ndx) {
   5666   1.1  christos 		case 0:
   5667   1.1  christos 			p = "netbsd32_charp";
   5668   1.1  christos 			break;
   5669   1.1  christos 		case 1:
   5670   1.1  christos 			p = "int";
   5671   1.1  christos 			break;
   5672   1.1  christos 		default:
   5673   1.1  christos 			break;
   5674   1.1  christos 		};
   5675   1.1  christos 		break;
   5676   1.1  christos 	/* netbsd32_uname */
   5677   1.1  christos 	case 164:
   5678   1.1  christos 		switch(ndx) {
   5679   1.1  christos 		case 0:
   5680   1.1  christos 			p = "netbsd32_outsnamep_t";
   5681   1.1  christos 			break;
   5682   1.1  christos 		default:
   5683   1.1  christos 			break;
   5684   1.1  christos 		};
   5685   1.1  christos 		break;
   5686   1.1  christos 	/* netbsd32_sysarch */
   5687   1.1  christos 	case 165:
   5688   1.1  christos 		switch(ndx) {
   5689   1.1  christos 		case 0:
   5690   1.1  christos 			p = "int";
   5691   1.1  christos 			break;
   5692   1.1  christos 		case 1:
   5693   1.1  christos 			p = "netbsd32_voidp";
   5694   1.1  christos 			break;
   5695   1.1  christos 		default:
   5696   1.1  christos 			break;
   5697   1.1  christos 		};
   5698   1.1  christos 		break;
   5699  1.43   thorpej 	/* netbsd32___futex */
   5700  1.43   thorpej 	case 166:
   5701  1.43   thorpej 		switch(ndx) {
   5702  1.43   thorpej 		case 0:
   5703  1.43   thorpej 			p = "netbsd32_intp";
   5704  1.43   thorpej 			break;
   5705  1.43   thorpej 		case 1:
   5706  1.43   thorpej 			p = "int";
   5707  1.43   thorpej 			break;
   5708  1.43   thorpej 		case 2:
   5709  1.43   thorpej 			p = "int";
   5710  1.43   thorpej 			break;
   5711  1.43   thorpej 		case 3:
   5712  1.43   thorpej 			p = "const netbsd32_timespecp_t";
   5713  1.43   thorpej 			break;
   5714  1.43   thorpej 		case 4:
   5715  1.43   thorpej 			p = "netbsd32_intp";
   5716  1.43   thorpej 			break;
   5717  1.43   thorpej 		case 5:
   5718  1.43   thorpej 			p = "int";
   5719  1.43   thorpej 			break;
   5720  1.43   thorpej 		case 6:
   5721  1.43   thorpej 			p = "int";
   5722  1.43   thorpej 			break;
   5723  1.43   thorpej 		default:
   5724  1.43   thorpej 			break;
   5725  1.43   thorpej 		};
   5726  1.43   thorpej 		break;
   5727  1.43   thorpej 	/* netbsd32___futex_set_robust_list */
   5728  1.43   thorpej 	case 167:
   5729  1.43   thorpej 		switch(ndx) {
   5730  1.43   thorpej 		case 0:
   5731  1.43   thorpej 			p = "netbsd32_voidp";
   5732  1.43   thorpej 			break;
   5733  1.43   thorpej 		case 1:
   5734  1.43   thorpej 			p = "netbsd32_size_t";
   5735  1.43   thorpej 			break;
   5736  1.43   thorpej 		default:
   5737  1.43   thorpej 			break;
   5738  1.43   thorpej 		};
   5739  1.43   thorpej 		break;
   5740  1.43   thorpej 	/* netbsd32___futex_get_robust_list */
   5741  1.43   thorpej 	case 168:
   5742  1.43   thorpej 		switch(ndx) {
   5743  1.43   thorpej 		case 0:
   5744  1.43   thorpej 			p = "lwpid_t";
   5745  1.43   thorpej 			break;
   5746  1.43   thorpej 		case 1:
   5747  1.43   thorpej 			p = "netbsd32_voidp";
   5748  1.43   thorpej 			break;
   5749  1.43   thorpej 		case 2:
   5750  1.43   thorpej 			p = "netbsd32_size_tp";
   5751  1.43   thorpej 			break;
   5752  1.43   thorpej 		default:
   5753  1.43   thorpej 			break;
   5754  1.43   thorpej 		};
   5755  1.43   thorpej 		break;
   5756   1.1  christos 	/* netbsd32_semsys */
   5757   1.1  christos 	case 169:
   5758   1.1  christos 		switch(ndx) {
   5759   1.1  christos 		case 0:
   5760   1.1  christos 			p = "int";
   5761   1.1  christos 			break;
   5762   1.1  christos 		case 1:
   5763   1.1  christos 			p = "int";
   5764   1.1  christos 			break;
   5765   1.1  christos 		case 2:
   5766   1.1  christos 			p = "int";
   5767   1.1  christos 			break;
   5768   1.1  christos 		case 3:
   5769   1.1  christos 			p = "int";
   5770   1.1  christos 			break;
   5771   1.1  christos 		case 4:
   5772   1.1  christos 			p = "int";
   5773   1.1  christos 			break;
   5774   1.1  christos 		default:
   5775   1.1  christos 			break;
   5776   1.1  christos 		};
   5777   1.1  christos 		break;
   5778   1.1  christos 	/* netbsd32_msgsys */
   5779   1.1  christos 	case 170:
   5780   1.1  christos 		switch(ndx) {
   5781   1.1  christos 		case 0:
   5782   1.1  christos 			p = "int";
   5783   1.1  christos 			break;
   5784   1.1  christos 		case 1:
   5785   1.1  christos 			p = "int";
   5786   1.1  christos 			break;
   5787   1.1  christos 		case 2:
   5788   1.1  christos 			p = "int";
   5789   1.1  christos 			break;
   5790   1.1  christos 		case 3:
   5791   1.1  christos 			p = "int";
   5792   1.1  christos 			break;
   5793   1.1  christos 		case 4:
   5794   1.1  christos 			p = "int";
   5795   1.1  christos 			break;
   5796   1.1  christos 		case 5:
   5797   1.1  christos 			p = "int";
   5798   1.1  christos 			break;
   5799   1.1  christos 		default:
   5800   1.1  christos 			break;
   5801   1.1  christos 		};
   5802   1.1  christos 		break;
   5803   1.1  christos 	/* netbsd32_shmsys */
   5804   1.1  christos 	case 171:
   5805   1.1  christos 		switch(ndx) {
   5806   1.1  christos 		case 0:
   5807   1.1  christos 			p = "int";
   5808   1.1  christos 			break;
   5809   1.1  christos 		case 1:
   5810   1.1  christos 			p = "int";
   5811   1.1  christos 			break;
   5812   1.1  christos 		case 2:
   5813   1.1  christos 			p = "int";
   5814   1.1  christos 			break;
   5815   1.1  christos 		case 3:
   5816   1.1  christos 			p = "int";
   5817   1.1  christos 			break;
   5818   1.1  christos 		default:
   5819   1.1  christos 			break;
   5820   1.1  christos 		};
   5821   1.1  christos 		break;
   5822   1.1  christos 	/* netbsd32_pread */
   5823   1.1  christos 	case 173:
   5824   1.1  christos 		switch(ndx) {
   5825   1.1  christos 		case 0:
   5826   1.1  christos 			p = "int";
   5827   1.1  christos 			break;
   5828   1.1  christos 		case 1:
   5829   1.1  christos 			p = "netbsd32_voidp";
   5830   1.1  christos 			break;
   5831   1.1  christos 		case 2:
   5832   1.1  christos 			p = "netbsd32_size_t";
   5833   1.1  christos 			break;
   5834   1.1  christos 		case 3:
   5835   1.1  christos 			p = "int";
   5836   1.1  christos 			break;
   5837   1.1  christos 		case 4:
   5838   1.1  christos 			p = "netbsd32_off_t";
   5839   1.1  christos 			break;
   5840   1.1  christos 		default:
   5841   1.1  christos 			break;
   5842   1.1  christos 		};
   5843   1.1  christos 		break;
   5844   1.1  christos 	/* netbsd32_pwrite */
   5845   1.1  christos 	case 174:
   5846   1.1  christos 		switch(ndx) {
   5847   1.1  christos 		case 0:
   5848   1.1  christos 			p = "int";
   5849   1.1  christos 			break;
   5850   1.1  christos 		case 1:
   5851   1.1  christos 			p = "netbsd32_voidp";
   5852   1.1  christos 			break;
   5853   1.1  christos 		case 2:
   5854   1.1  christos 			p = "netbsd32_size_t";
   5855   1.1  christos 			break;
   5856   1.1  christos 		case 3:
   5857   1.1  christos 			p = "int";
   5858   1.1  christos 			break;
   5859   1.1  christos 		case 4:
   5860   1.1  christos 			p = "netbsd32_off_t";
   5861   1.1  christos 			break;
   5862   1.1  christos 		default:
   5863   1.1  christos 			break;
   5864   1.1  christos 		};
   5865   1.1  christos 		break;
   5866   1.1  christos 	/* netbsd32_ntp_gettime */
   5867   1.1  christos 	case 175:
   5868   1.1  christos 		switch(ndx) {
   5869   1.1  christos 		case 0:
   5870   1.1  christos 			p = "netbsd32_ntptimeval50p_t";
   5871   1.1  christos 			break;
   5872   1.1  christos 		default:
   5873   1.1  christos 			break;
   5874   1.1  christos 		};
   5875   1.1  christos 		break;
   5876  1.30  pgoyette #if defined(NTP) || !defined(_KERNEL_OPT)
   5877   1.1  christos 	/* netbsd32_ntp_adjtime */
   5878   1.1  christos 	case 176:
   5879   1.1  christos 		switch(ndx) {
   5880   1.1  christos 		case 0:
   5881   1.1  christos 			p = "netbsd32_timexp_t";
   5882   1.1  christos 			break;
   5883   1.1  christos 		default:
   5884   1.1  christos 			break;
   5885   1.1  christos 		};
   5886   1.1  christos 		break;
   5887   1.1  christos #else
   5888   1.1  christos #endif
   5889  1.48   thorpej 	/* netbsd32_timerfd_create */
   5890  1.48   thorpej 	case 177:
   5891  1.48   thorpej 		switch(ndx) {
   5892  1.48   thorpej 		case 0:
   5893  1.48   thorpej 			p = "netbsd32_clockid_t";
   5894  1.48   thorpej 			break;
   5895  1.48   thorpej 		case 1:
   5896  1.48   thorpej 			p = "int";
   5897  1.48   thorpej 			break;
   5898  1.48   thorpej 		default:
   5899  1.48   thorpej 			break;
   5900  1.48   thorpej 		};
   5901  1.48   thorpej 		break;
   5902  1.48   thorpej 	/* netbsd32_timerfd_settime */
   5903  1.48   thorpej 	case 178:
   5904  1.48   thorpej 		switch(ndx) {
   5905  1.48   thorpej 		case 0:
   5906  1.48   thorpej 			p = "int";
   5907  1.48   thorpej 			break;
   5908  1.48   thorpej 		case 1:
   5909  1.48   thorpej 			p = "int";
   5910  1.48   thorpej 			break;
   5911  1.48   thorpej 		case 2:
   5912  1.48   thorpej 			p = "const netbsd32_itimerspecp_t";
   5913  1.48   thorpej 			break;
   5914  1.48   thorpej 		case 3:
   5915  1.48   thorpej 			p = "netbsd32_itimerspecp_t";
   5916  1.48   thorpej 			break;
   5917  1.48   thorpej 		default:
   5918  1.48   thorpej 			break;
   5919  1.48   thorpej 		};
   5920  1.48   thorpej 		break;
   5921  1.48   thorpej 	/* netbsd32_timerfd_gettime */
   5922  1.48   thorpej 	case 179:
   5923  1.48   thorpej 		switch(ndx) {
   5924  1.48   thorpej 		case 0:
   5925  1.48   thorpej 			p = "int";
   5926  1.48   thorpej 			break;
   5927  1.48   thorpej 		case 1:
   5928  1.48   thorpej 			p = "netbsd32_itimerspecp_t";
   5929  1.48   thorpej 			break;
   5930  1.48   thorpej 		default:
   5931  1.48   thorpej 			break;
   5932  1.48   thorpej 		};
   5933  1.48   thorpej 		break;
   5934   1.1  christos 	/* netbsd32_setgid */
   5935   1.1  christos 	case 181:
   5936   1.1  christos 		switch(ndx) {
   5937   1.1  christos 		case 0:
   5938   1.1  christos 			p = "gid_t";
   5939   1.1  christos 			break;
   5940   1.1  christos 		default:
   5941   1.1  christos 			break;
   5942   1.1  christos 		};
   5943   1.1  christos 		break;
   5944   1.1  christos 	/* netbsd32_setegid */
   5945   1.1  christos 	case 182:
   5946   1.1  christos 		switch(ndx) {
   5947   1.1  christos 		case 0:
   5948   1.1  christos 			p = "gid_t";
   5949   1.1  christos 			break;
   5950   1.1  christos 		default:
   5951   1.1  christos 			break;
   5952   1.1  christos 		};
   5953   1.1  christos 		break;
   5954   1.1  christos 	/* netbsd32_seteuid */
   5955   1.1  christos 	case 183:
   5956   1.1  christos 		switch(ndx) {
   5957   1.1  christos 		case 0:
   5958   1.1  christos 			p = "uid_t";
   5959   1.1  christos 			break;
   5960   1.1  christos 		default:
   5961   1.1  christos 			break;
   5962   1.1  christos 		};
   5963   1.1  christos 		break;
   5964   1.1  christos 	/* netbsd32_stat12 */
   5965   1.1  christos 	case 188:
   5966   1.1  christos 		switch(ndx) {
   5967   1.1  christos 		case 0:
   5968   1.1  christos 			p = "netbsd32_charp";
   5969   1.1  christos 			break;
   5970   1.1  christos 		case 1:
   5971   1.1  christos 			p = "netbsd32_stat12p_t";
   5972   1.1  christos 			break;
   5973   1.1  christos 		default:
   5974   1.1  christos 			break;
   5975   1.1  christos 		};
   5976   1.1  christos 		break;
   5977   1.1  christos 	/* netbsd32_fstat12 */
   5978   1.1  christos 	case 189:
   5979   1.1  christos 		switch(ndx) {
   5980   1.1  christos 		case 0:
   5981   1.1  christos 			p = "int";
   5982   1.1  christos 			break;
   5983   1.1  christos 		case 1:
   5984   1.1  christos 			p = "netbsd32_stat12p_t";
   5985   1.1  christos 			break;
   5986   1.1  christos 		default:
   5987   1.1  christos 			break;
   5988   1.1  christos 		};
   5989   1.1  christos 		break;
   5990   1.1  christos 	/* netbsd32_lstat12 */
   5991   1.1  christos 	case 190:
   5992   1.1  christos 		switch(ndx) {
   5993   1.1  christos 		case 0:
   5994   1.1  christos 			p = "netbsd32_charp";
   5995   1.1  christos 			break;
   5996   1.1  christos 		case 1:
   5997   1.1  christos 			p = "netbsd32_stat12p_t";
   5998   1.1  christos 			break;
   5999   1.1  christos 		default:
   6000   1.1  christos 			break;
   6001   1.1  christos 		};
   6002   1.1  christos 		break;
   6003   1.1  christos 	/* netbsd32_pathconf */
   6004   1.1  christos 	case 191:
   6005   1.1  christos 		switch(ndx) {
   6006   1.1  christos 		case 0:
   6007   1.1  christos 			p = "netbsd32_charp";
   6008   1.1  christos 			break;
   6009   1.1  christos 		case 1:
   6010   1.1  christos 			p = "int";
   6011   1.1  christos 			break;
   6012   1.1  christos 		default:
   6013   1.1  christos 			break;
   6014   1.1  christos 		};
   6015   1.1  christos 		break;
   6016   1.1  christos 	/* netbsd32_fpathconf */
   6017   1.1  christos 	case 192:
   6018   1.1  christos 		switch(ndx) {
   6019   1.1  christos 		case 0:
   6020   1.1  christos 			p = "int";
   6021   1.1  christos 			break;
   6022   1.1  christos 		case 1:
   6023   1.1  christos 			p = "int";
   6024   1.1  christos 			break;
   6025   1.1  christos 		default:
   6026   1.1  christos 			break;
   6027   1.1  christos 		};
   6028   1.1  christos 		break;
   6029  1.26       rjs 	/* netbsd32_getsockopt2 */
   6030  1.26       rjs 	case 193:
   6031  1.26       rjs 		switch(ndx) {
   6032  1.26       rjs 		case 0:
   6033  1.26       rjs 			p = "int";
   6034  1.26       rjs 			break;
   6035  1.26       rjs 		case 1:
   6036  1.26       rjs 			p = "int";
   6037  1.26       rjs 			break;
   6038  1.26       rjs 		case 2:
   6039  1.26       rjs 			p = "int";
   6040  1.26       rjs 			break;
   6041  1.26       rjs 		case 3:
   6042  1.26       rjs 			p = "netbsd32_voidp";
   6043  1.26       rjs 			break;
   6044  1.26       rjs 		case 4:
   6045  1.26       rjs 			p = "netbsd32_intp";
   6046  1.26       rjs 			break;
   6047  1.26       rjs 		default:
   6048  1.26       rjs 			break;
   6049  1.26       rjs 		};
   6050  1.26       rjs 		break;
   6051   1.1  christos 	/* netbsd32_getrlimit */
   6052   1.1  christos 	case 194:
   6053   1.1  christos 		switch(ndx) {
   6054   1.1  christos 		case 0:
   6055   1.1  christos 			p = "int";
   6056   1.1  christos 			break;
   6057   1.1  christos 		case 1:
   6058   1.1  christos 			p = "netbsd32_rlimitp_t";
   6059   1.1  christos 			break;
   6060   1.1  christos 		default:
   6061   1.1  christos 			break;
   6062   1.1  christos 		};
   6063   1.1  christos 		break;
   6064   1.1  christos 	/* netbsd32_setrlimit */
   6065   1.1  christos 	case 195:
   6066   1.1  christos 		switch(ndx) {
   6067   1.1  christos 		case 0:
   6068   1.1  christos 			p = "int";
   6069   1.1  christos 			break;
   6070   1.1  christos 		case 1:
   6071   1.1  christos 			p = "netbsd32_rlimitp_t";
   6072   1.1  christos 			break;
   6073   1.1  christos 		default:
   6074   1.1  christos 			break;
   6075   1.1  christos 		};
   6076   1.1  christos 		break;
   6077   1.1  christos 	/* netbsd32_getdirentries */
   6078   1.1  christos 	case 196:
   6079   1.1  christos 		switch(ndx) {
   6080   1.1  christos 		case 0:
   6081   1.1  christos 			p = "int";
   6082   1.1  christos 			break;
   6083   1.1  christos 		case 1:
   6084   1.1  christos 			p = "netbsd32_charp";
   6085   1.1  christos 			break;
   6086   1.1  christos 		case 2:
   6087   1.1  christos 			p = "u_int";
   6088   1.1  christos 			break;
   6089   1.1  christos 		case 3:
   6090   1.1  christos 			p = "netbsd32_longp";
   6091   1.1  christos 			break;
   6092   1.1  christos 		default:
   6093   1.1  christos 			break;
   6094   1.1  christos 		};
   6095   1.1  christos 		break;
   6096   1.1  christos 	/* netbsd32_mmap */
   6097   1.1  christos 	case 197:
   6098   1.1  christos 		switch(ndx) {
   6099   1.1  christos 		case 0:
   6100   1.1  christos 			p = "netbsd32_voidp";
   6101   1.1  christos 			break;
   6102   1.1  christos 		case 1:
   6103   1.1  christos 			p = "netbsd32_size_t";
   6104   1.1  christos 			break;
   6105   1.1  christos 		case 2:
   6106   1.1  christos 			p = "int";
   6107   1.1  christos 			break;
   6108   1.1  christos 		case 3:
   6109   1.1  christos 			p = "int";
   6110   1.1  christos 			break;
   6111   1.1  christos 		case 4:
   6112   1.1  christos 			p = "int";
   6113   1.1  christos 			break;
   6114   1.1  christos 		case 5:
   6115   1.1  christos 			p = "netbsd32_long";
   6116   1.1  christos 			break;
   6117   1.1  christos 		case 6:
   6118   1.1  christos 			p = "netbsd32_off_t";
   6119   1.1  christos 			break;
   6120   1.1  christos 		default:
   6121   1.1  christos 			break;
   6122   1.1  christos 		};
   6123   1.1  christos 		break;
   6124   1.1  christos 	/* netbsd32____syscall */
   6125   1.1  christos 	case 198:
   6126   1.1  christos 		switch(ndx) {
   6127   1.1  christos 		case 0:
   6128   1.1  christos 			p = "quad_t";
   6129   1.1  christos 			break;
   6130   1.1  christos 		case 1:
   6131   1.1  christos 			p = "register32_t";
   6132   1.1  christos 			break;
   6133   1.1  christos 		default:
   6134   1.1  christos 			break;
   6135   1.1  christos 		};
   6136   1.1  christos 		break;
   6137   1.1  christos 	/* netbsd32_lseek */
   6138   1.1  christos 	case 199:
   6139   1.1  christos 		switch(ndx) {
   6140   1.1  christos 		case 0:
   6141   1.1  christos 			p = "int";
   6142   1.1  christos 			break;
   6143   1.1  christos 		case 1:
   6144   1.1  christos 			p = "int";
   6145   1.1  christos 			break;
   6146   1.1  christos 		case 2:
   6147   1.1  christos 			p = "netbsd32_off_t";
   6148   1.1  christos 			break;
   6149   1.1  christos 		case 3:
   6150   1.1  christos 			p = "int";
   6151   1.1  christos 			break;
   6152   1.1  christos 		default:
   6153   1.1  christos 			break;
   6154   1.1  christos 		};
   6155   1.1  christos 		break;
   6156   1.1  christos 	/* netbsd32_truncate */
   6157   1.1  christos 	case 200:
   6158   1.1  christos 		switch(ndx) {
   6159   1.1  christos 		case 0:
   6160   1.1  christos 			p = "netbsd32_charp";
   6161   1.1  christos 			break;
   6162   1.1  christos 		case 1:
   6163   1.1  christos 			p = "int";
   6164   1.1  christos 			break;
   6165   1.1  christos 		case 2:
   6166   1.1  christos 			p = "netbsd32_off_t";
   6167   1.1  christos 			break;
   6168   1.1  christos 		default:
   6169   1.1  christos 			break;
   6170   1.1  christos 		};
   6171   1.1  christos 		break;
   6172   1.1  christos 	/* netbsd32_ftruncate */
   6173   1.1  christos 	case 201:
   6174   1.1  christos 		switch(ndx) {
   6175   1.1  christos 		case 0:
   6176   1.1  christos 			p = "int";
   6177   1.1  christos 			break;
   6178   1.1  christos 		case 1:
   6179   1.1  christos 			p = "int";
   6180   1.1  christos 			break;
   6181   1.1  christos 		case 2:
   6182   1.1  christos 			p = "netbsd32_off_t";
   6183   1.1  christos 			break;
   6184   1.1  christos 		default:
   6185   1.1  christos 			break;
   6186   1.1  christos 		};
   6187   1.1  christos 		break;
   6188   1.1  christos 	/* netbsd32___sysctl */
   6189   1.1  christos 	case 202:
   6190   1.1  christos 		switch(ndx) {
   6191   1.1  christos 		case 0:
   6192   1.1  christos 			p = "netbsd32_intp";
   6193   1.1  christos 			break;
   6194   1.1  christos 		case 1:
   6195   1.1  christos 			p = "u_int";
   6196   1.1  christos 			break;
   6197   1.1  christos 		case 2:
   6198   1.1  christos 			p = "netbsd32_voidp";
   6199   1.1  christos 			break;
   6200   1.1  christos 		case 3:
   6201   1.1  christos 			p = "netbsd32_size_tp";
   6202   1.1  christos 			break;
   6203   1.1  christos 		case 4:
   6204   1.1  christos 			p = "netbsd32_voidp";
   6205   1.1  christos 			break;
   6206   1.1  christos 		case 5:
   6207   1.1  christos 			p = "netbsd32_size_t";
   6208   1.1  christos 			break;
   6209   1.1  christos 		default:
   6210   1.1  christos 			break;
   6211   1.1  christos 		};
   6212   1.1  christos 		break;
   6213   1.1  christos 	/* netbsd32_mlock */
   6214   1.1  christos 	case 203:
   6215   1.1  christos 		switch(ndx) {
   6216   1.1  christos 		case 0:
   6217   1.1  christos 			p = "netbsd32_voidp";
   6218   1.1  christos 			break;
   6219   1.1  christos 		case 1:
   6220   1.1  christos 			p = "netbsd32_size_t";
   6221   1.1  christos 			break;
   6222   1.1  christos 		default:
   6223   1.1  christos 			break;
   6224   1.1  christos 		};
   6225   1.1  christos 		break;
   6226   1.1  christos 	/* netbsd32_munlock */
   6227   1.1  christos 	case 204:
   6228   1.1  christos 		switch(ndx) {
   6229   1.1  christos 		case 0:
   6230   1.1  christos 			p = "netbsd32_voidp";
   6231   1.1  christos 			break;
   6232   1.1  christos 		case 1:
   6233   1.1  christos 			p = "netbsd32_size_t";
   6234   1.1  christos 			break;
   6235   1.1  christos 		default:
   6236   1.1  christos 			break;
   6237   1.1  christos 		};
   6238   1.1  christos 		break;
   6239   1.1  christos 	/* netbsd32_undelete */
   6240   1.1  christos 	case 205:
   6241   1.1  christos 		switch(ndx) {
   6242   1.1  christos 		case 0:
   6243   1.1  christos 			p = "netbsd32_charp";
   6244   1.1  christos 			break;
   6245   1.1  christos 		default:
   6246   1.1  christos 			break;
   6247   1.1  christos 		};
   6248   1.1  christos 		break;
   6249   1.1  christos 	/* netbsd32_futimes */
   6250   1.1  christos 	case 206:
   6251   1.1  christos 		switch(ndx) {
   6252   1.1  christos 		case 0:
   6253   1.1  christos 			p = "int";
   6254   1.1  christos 			break;
   6255   1.1  christos 		case 1:
   6256   1.1  christos 			p = "netbsd32_timeval50p_t";
   6257   1.1  christos 			break;
   6258   1.1  christos 		default:
   6259   1.1  christos 			break;
   6260   1.1  christos 		};
   6261   1.1  christos 		break;
   6262   1.1  christos 	/* netbsd32_getpgid */
   6263   1.1  christos 	case 207:
   6264   1.1  christos 		switch(ndx) {
   6265   1.1  christos 		case 0:
   6266   1.1  christos 			p = "pid_t";
   6267   1.1  christos 			break;
   6268   1.1  christos 		default:
   6269   1.1  christos 			break;
   6270   1.1  christos 		};
   6271   1.1  christos 		break;
   6272   1.1  christos 	/* netbsd32_reboot */
   6273   1.1  christos 	case 208:
   6274   1.1  christos 		switch(ndx) {
   6275   1.1  christos 		case 0:
   6276   1.1  christos 			p = "int";
   6277   1.1  christos 			break;
   6278   1.1  christos 		case 1:
   6279   1.1  christos 			p = "netbsd32_charp";
   6280   1.1  christos 			break;
   6281   1.1  christos 		default:
   6282   1.1  christos 			break;
   6283   1.1  christos 		};
   6284   1.1  christos 		break;
   6285   1.1  christos 	/* netbsd32_poll */
   6286   1.1  christos 	case 209:
   6287   1.1  christos 		switch(ndx) {
   6288   1.1  christos 		case 0:
   6289   1.1  christos 			p = "netbsd32_pollfdp_t";
   6290   1.1  christos 			break;
   6291   1.1  christos 		case 1:
   6292   1.1  christos 			p = "u_int";
   6293   1.1  christos 			break;
   6294   1.1  christos 		case 2:
   6295   1.1  christos 			p = "int";
   6296   1.1  christos 			break;
   6297   1.1  christos 		default:
   6298   1.1  christos 			break;
   6299   1.1  christos 		};
   6300   1.1  christos 		break;
   6301   1.1  christos 	/* netbsd32___semctl */
   6302   1.1  christos 	case 220:
   6303   1.1  christos 		switch(ndx) {
   6304   1.1  christos 		case 0:
   6305   1.1  christos 			p = "int";
   6306   1.1  christos 			break;
   6307   1.1  christos 		case 1:
   6308   1.1  christos 			p = "int";
   6309   1.1  christos 			break;
   6310   1.1  christos 		case 2:
   6311   1.1  christos 			p = "int";
   6312   1.1  christos 			break;
   6313   1.1  christos 		case 3:
   6314   1.1  christos 			p = "netbsd32_semunu_t";
   6315   1.1  christos 			break;
   6316   1.1  christos 		default:
   6317   1.1  christos 			break;
   6318   1.1  christos 		};
   6319   1.1  christos 		break;
   6320   1.1  christos 	/* netbsd32_semget */
   6321   1.1  christos 	case 221:
   6322   1.1  christos 		switch(ndx) {
   6323   1.1  christos 		case 0:
   6324   1.1  christos 			p = "netbsd32_key_t";
   6325   1.1  christos 			break;
   6326   1.1  christos 		case 1:
   6327   1.1  christos 			p = "int";
   6328   1.1  christos 			break;
   6329   1.1  christos 		case 2:
   6330   1.1  christos 			p = "int";
   6331   1.1  christos 			break;
   6332   1.1  christos 		default:
   6333   1.1  christos 			break;
   6334   1.1  christos 		};
   6335   1.1  christos 		break;
   6336   1.1  christos 	/* netbsd32_semop */
   6337   1.1  christos 	case 222:
   6338   1.1  christos 		switch(ndx) {
   6339   1.1  christos 		case 0:
   6340   1.1  christos 			p = "int";
   6341   1.1  christos 			break;
   6342   1.1  christos 		case 1:
   6343   1.1  christos 			p = "netbsd32_sembufp_t";
   6344   1.1  christos 			break;
   6345   1.1  christos 		case 2:
   6346   1.1  christos 			p = "netbsd32_size_t";
   6347   1.1  christos 			break;
   6348   1.1  christos 		default:
   6349   1.1  christos 			break;
   6350   1.1  christos 		};
   6351   1.1  christos 		break;
   6352   1.1  christos 	/* netbsd32_semconfig */
   6353   1.1  christos 	case 223:
   6354   1.1  christos 		switch(ndx) {
   6355   1.1  christos 		case 0:
   6356   1.1  christos 			p = "int";
   6357   1.1  christos 			break;
   6358   1.1  christos 		default:
   6359   1.1  christos 			break;
   6360   1.1  christos 		};
   6361   1.1  christos 		break;
   6362   1.1  christos 	/* netbsd32_msgctl */
   6363   1.1  christos 	case 224:
   6364   1.1  christos 		switch(ndx) {
   6365   1.1  christos 		case 0:
   6366   1.1  christos 			p = "int";
   6367   1.1  christos 			break;
   6368   1.1  christos 		case 1:
   6369   1.1  christos 			p = "int";
   6370   1.1  christos 			break;
   6371   1.1  christos 		case 2:
   6372   1.1  christos 			p = "netbsd32_msqid_ds14p_t";
   6373   1.1  christos 			break;
   6374   1.1  christos 		default:
   6375   1.1  christos 			break;
   6376   1.1  christos 		};
   6377   1.1  christos 		break;
   6378   1.1  christos 	/* netbsd32_msgget */
   6379   1.1  christos 	case 225:
   6380   1.1  christos 		switch(ndx) {
   6381   1.1  christos 		case 0:
   6382   1.1  christos 			p = "netbsd32_key_t";
   6383   1.1  christos 			break;
   6384   1.1  christos 		case 1:
   6385   1.1  christos 			p = "int";
   6386   1.1  christos 			break;
   6387   1.1  christos 		default:
   6388   1.1  christos 			break;
   6389   1.1  christos 		};
   6390   1.1  christos 		break;
   6391   1.1  christos 	/* netbsd32_msgsnd */
   6392   1.1  christos 	case 226:
   6393   1.1  christos 		switch(ndx) {
   6394   1.1  christos 		case 0:
   6395   1.1  christos 			p = "int";
   6396   1.1  christos 			break;
   6397   1.1  christos 		case 1:
   6398   1.1  christos 			p = "netbsd32_voidp";
   6399   1.1  christos 			break;
   6400   1.1  christos 		case 2:
   6401   1.1  christos 			p = "netbsd32_size_t";
   6402   1.1  christos 			break;
   6403   1.1  christos 		case 3:
   6404   1.1  christos 			p = "int";
   6405   1.1  christos 			break;
   6406   1.1  christos 		default:
   6407   1.1  christos 			break;
   6408   1.1  christos 		};
   6409   1.1  christos 		break;
   6410   1.1  christos 	/* netbsd32_msgrcv */
   6411   1.1  christos 	case 227:
   6412   1.1  christos 		switch(ndx) {
   6413   1.1  christos 		case 0:
   6414   1.1  christos 			p = "int";
   6415   1.1  christos 			break;
   6416   1.1  christos 		case 1:
   6417   1.1  christos 			p = "netbsd32_voidp";
   6418   1.1  christos 			break;
   6419   1.1  christos 		case 2:
   6420   1.1  christos 			p = "netbsd32_size_t";
   6421   1.1  christos 			break;
   6422   1.1  christos 		case 3:
   6423   1.1  christos 			p = "netbsd32_long";
   6424   1.1  christos 			break;
   6425   1.1  christos 		case 4:
   6426   1.1  christos 			p = "int";
   6427   1.1  christos 			break;
   6428   1.1  christos 		default:
   6429   1.1  christos 			break;
   6430   1.1  christos 		};
   6431   1.1  christos 		break;
   6432   1.1  christos 	/* netbsd32_shmat */
   6433   1.1  christos 	case 228:
   6434   1.1  christos 		switch(ndx) {
   6435   1.1  christos 		case 0:
   6436   1.1  christos 			p = "int";
   6437   1.1  christos 			break;
   6438   1.1  christos 		case 1:
   6439   1.1  christos 			p = "netbsd32_voidp";
   6440   1.1  christos 			break;
   6441   1.1  christos 		case 2:
   6442   1.1  christos 			p = "int";
   6443   1.1  christos 			break;
   6444   1.1  christos 		default:
   6445   1.1  christos 			break;
   6446   1.1  christos 		};
   6447   1.1  christos 		break;
   6448   1.1  christos 	/* netbsd32_shmctl */
   6449   1.1  christos 	case 229:
   6450   1.1  christos 		switch(ndx) {
   6451   1.1  christos 		case 0:
   6452   1.1  christos 			p = "int";
   6453   1.1  christos 			break;
   6454   1.1  christos 		case 1:
   6455   1.1  christos 			p = "int";
   6456   1.1  christos 			break;
   6457   1.1  christos 		case 2:
   6458   1.1  christos 			p = "netbsd32_shmid_dsp_t";
   6459   1.1  christos 			break;
   6460   1.1  christos 		default:
   6461   1.1  christos 			break;
   6462   1.1  christos 		};
   6463   1.1  christos 		break;
   6464   1.1  christos 	/* netbsd32_shmdt */
   6465   1.1  christos 	case 230:
   6466   1.1  christos 		switch(ndx) {
   6467   1.1  christos 		case 0:
   6468   1.1  christos 			p = "netbsd32_voidp";
   6469   1.1  christos 			break;
   6470   1.1  christos 		default:
   6471   1.1  christos 			break;
   6472   1.1  christos 		};
   6473   1.1  christos 		break;
   6474   1.1  christos 	/* netbsd32_shmget */
   6475   1.1  christos 	case 231:
   6476   1.1  christos 		switch(ndx) {
   6477   1.1  christos 		case 0:
   6478   1.1  christos 			p = "netbsd32_key_t";
   6479   1.1  christos 			break;
   6480   1.1  christos 		case 1:
   6481   1.1  christos 			p = "netbsd32_size_t";
   6482   1.1  christos 			break;
   6483   1.1  christos 		case 2:
   6484   1.1  christos 			p = "int";
   6485   1.1  christos 			break;
   6486   1.1  christos 		default:
   6487   1.1  christos 			break;
   6488   1.1  christos 		};
   6489   1.1  christos 		break;
   6490   1.1  christos 	/* netbsd32_clock_gettime */
   6491   1.1  christos 	case 232:
   6492   1.1  christos 		switch(ndx) {
   6493   1.1  christos 		case 0:
   6494   1.1  christos 			p = "netbsd32_clockid_t";
   6495   1.1  christos 			break;
   6496   1.1  christos 		case 1:
   6497   1.1  christos 			p = "netbsd32_timespec50p_t";
   6498   1.1  christos 			break;
   6499   1.1  christos 		default:
   6500   1.1  christos 			break;
   6501   1.1  christos 		};
   6502   1.1  christos 		break;
   6503   1.1  christos 	/* netbsd32_clock_settime */
   6504   1.1  christos 	case 233:
   6505   1.1  christos 		switch(ndx) {
   6506   1.1  christos 		case 0:
   6507   1.1  christos 			p = "netbsd32_clockid_t";
   6508   1.1  christos 			break;
   6509   1.1  christos 		case 1:
   6510   1.1  christos 			p = "netbsd32_timespec50p_t";
   6511   1.1  christos 			break;
   6512   1.1  christos 		default:
   6513   1.1  christos 			break;
   6514   1.1  christos 		};
   6515   1.1  christos 		break;
   6516   1.1  christos 	/* netbsd32_clock_getres */
   6517   1.1  christos 	case 234:
   6518   1.1  christos 		switch(ndx) {
   6519   1.1  christos 		case 0:
   6520   1.1  christos 			p = "netbsd32_clockid_t";
   6521   1.1  christos 			break;
   6522   1.1  christos 		case 1:
   6523   1.1  christos 			p = "netbsd32_timespec50p_t";
   6524   1.1  christos 			break;
   6525   1.1  christos 		default:
   6526   1.1  christos 			break;
   6527   1.1  christos 		};
   6528   1.1  christos 		break;
   6529   1.1  christos 	/* netbsd32_timer_create */
   6530   1.1  christos 	case 235:
   6531   1.1  christos 		switch(ndx) {
   6532   1.1  christos 		case 0:
   6533   1.1  christos 			p = "netbsd32_clockid_t";
   6534   1.1  christos 			break;
   6535   1.1  christos 		case 1:
   6536   1.1  christos 			p = "netbsd32_sigeventp_t";
   6537   1.1  christos 			break;
   6538   1.1  christos 		case 2:
   6539   1.1  christos 			p = "netbsd32_timerp_t";
   6540   1.1  christos 			break;
   6541   1.1  christos 		default:
   6542   1.1  christos 			break;
   6543   1.1  christos 		};
   6544   1.1  christos 		break;
   6545   1.1  christos 	/* netbsd32_timer_delete */
   6546   1.1  christos 	case 236:
   6547   1.1  christos 		switch(ndx) {
   6548   1.1  christos 		case 0:
   6549   1.1  christos 			p = "netbsd32_timer_t";
   6550   1.1  christos 			break;
   6551   1.1  christos 		default:
   6552   1.1  christos 			break;
   6553   1.1  christos 		};
   6554   1.1  christos 		break;
   6555   1.1  christos 	/* netbsd32_timer_settime */
   6556   1.1  christos 	case 237:
   6557   1.1  christos 		switch(ndx) {
   6558   1.1  christos 		case 0:
   6559   1.1  christos 			p = "netbsd32_timer_t";
   6560   1.1  christos 			break;
   6561   1.1  christos 		case 1:
   6562   1.1  christos 			p = "int";
   6563   1.1  christos 			break;
   6564   1.1  christos 		case 2:
   6565   1.1  christos 			p = "netbsd32_itimerspec50p_t";
   6566   1.1  christos 			break;
   6567   1.1  christos 		case 3:
   6568   1.1  christos 			p = "netbsd32_itimerspec50p_t";
   6569   1.1  christos 			break;
   6570   1.1  christos 		default:
   6571   1.1  christos 			break;
   6572   1.1  christos 		};
   6573   1.1  christos 		break;
   6574   1.1  christos 	/* netbsd32_timer_gettime */
   6575   1.1  christos 	case 238:
   6576   1.1  christos 		switch(ndx) {
   6577   1.1  christos 		case 0:
   6578   1.1  christos 			p = "netbsd32_timer_t";
   6579   1.1  christos 			break;
   6580   1.1  christos 		case 1:
   6581   1.1  christos 			p = "netbsd32_itimerspec50p_t";
   6582   1.1  christos 			break;
   6583   1.1  christos 		default:
   6584   1.1  christos 			break;
   6585   1.1  christos 		};
   6586   1.1  christos 		break;
   6587   1.1  christos 	/* netbsd32_timer_getoverrun */
   6588   1.1  christos 	case 239:
   6589   1.1  christos 		switch(ndx) {
   6590   1.1  christos 		case 0:
   6591   1.1  christos 			p = "netbsd32_timer_t";
   6592   1.1  christos 			break;
   6593   1.1  christos 		default:
   6594   1.1  christos 			break;
   6595   1.1  christos 		};
   6596   1.1  christos 		break;
   6597   1.1  christos 	/* netbsd32_nanosleep */
   6598   1.1  christos 	case 240:
   6599   1.1  christos 		switch(ndx) {
   6600   1.1  christos 		case 0:
   6601   1.1  christos 			p = "netbsd32_timespec50p_t";
   6602   1.1  christos 			break;
   6603   1.1  christos 		case 1:
   6604   1.1  christos 			p = "netbsd32_timespec50p_t";
   6605   1.1  christos 			break;
   6606   1.1  christos 		default:
   6607   1.1  christos 			break;
   6608   1.1  christos 		};
   6609   1.1  christos 		break;
   6610   1.1  christos 	/* netbsd32_fdatasync */
   6611   1.1  christos 	case 241:
   6612   1.1  christos 		switch(ndx) {
   6613   1.1  christos 		case 0:
   6614   1.1  christos 			p = "int";
   6615   1.1  christos 			break;
   6616   1.1  christos 		default:
   6617   1.1  christos 			break;
   6618   1.1  christos 		};
   6619   1.1  christos 		break;
   6620   1.1  christos 	/* netbsd32_mlockall */
   6621   1.1  christos 	case 242:
   6622   1.1  christos 		switch(ndx) {
   6623   1.1  christos 		case 0:
   6624   1.1  christos 			p = "int";
   6625   1.1  christos 			break;
   6626   1.1  christos 		default:
   6627   1.1  christos 			break;
   6628   1.1  christos 		};
   6629   1.1  christos 		break;
   6630   1.1  christos 	/* sys_munlockall */
   6631   1.1  christos 	case 243:
   6632   1.1  christos 		break;
   6633   1.1  christos 	/* netbsd32___sigtimedwait */
   6634   1.1  christos 	case 244:
   6635   1.1  christos 		switch(ndx) {
   6636   1.1  christos 		case 0:
   6637   1.1  christos 			p = "netbsd32_sigsetp_t";
   6638   1.1  christos 			break;
   6639   1.1  christos 		case 1:
   6640   1.1  christos 			p = "netbsd32_siginfop_t";
   6641   1.1  christos 			break;
   6642   1.1  christos 		case 2:
   6643   1.1  christos 			p = "netbsd32_timespec50p_t";
   6644   1.1  christos 			break;
   6645   1.1  christos 		default:
   6646   1.1  christos 			break;
   6647   1.1  christos 		};
   6648   1.1  christos 		break;
   6649   1.3    martin 	/* netbsd32_sigqueueinfo */
   6650   1.3    martin 	case 245:
   6651   1.3    martin 		switch(ndx) {
   6652   1.3    martin 		case 0:
   6653   1.3    martin 			p = "pid_t";
   6654   1.3    martin 			break;
   6655   1.3    martin 		case 1:
   6656   1.3    martin 			p = "const netbsd32_siginfop_t";
   6657   1.3    martin 			break;
   6658   1.3    martin 		default:
   6659   1.3    martin 			break;
   6660   1.3    martin 		};
   6661   1.3    martin 		break;
   6662   1.3    martin 	/* netbsd32_modctl */
   6663   1.3    martin 	case 246:
   6664   1.3    martin 		switch(ndx) {
   6665   1.3    martin 		case 0:
   6666   1.3    martin 			p = "int";
   6667   1.3    martin 			break;
   6668   1.3    martin 		case 1:
   6669   1.3    martin 			p = "netbsd32_voidp";
   6670   1.3    martin 			break;
   6671   1.3    martin 		default:
   6672   1.3    martin 			break;
   6673   1.3    martin 		};
   6674   1.3    martin 		break;
   6675   1.1  christos 	/* netbsd32__ksem_init */
   6676   1.1  christos 	case 247:
   6677   1.1  christos 		switch(ndx) {
   6678   1.1  christos 		case 0:
   6679   1.1  christos 			p = "unsigned int";
   6680   1.1  christos 			break;
   6681   1.1  christos 		case 1:
   6682   1.1  christos 			p = "netbsd32_semidp_t";
   6683   1.1  christos 			break;
   6684   1.1  christos 		default:
   6685   1.1  christos 			break;
   6686   1.1  christos 		};
   6687   1.1  christos 		break;
   6688   1.1  christos 	/* netbsd32__ksem_open */
   6689   1.1  christos 	case 248:
   6690   1.1  christos 		switch(ndx) {
   6691   1.1  christos 		case 0:
   6692   1.1  christos 			p = "netbsd32_charp";
   6693   1.1  christos 			break;
   6694   1.1  christos 		case 1:
   6695   1.1  christos 			p = "int";
   6696   1.1  christos 			break;
   6697   1.1  christos 		case 2:
   6698   1.1  christos 			p = "mode_t";
   6699   1.1  christos 			break;
   6700   1.1  christos 		case 3:
   6701   1.1  christos 			p = "unsigned int";
   6702   1.1  christos 			break;
   6703   1.1  christos 		case 4:
   6704   1.1  christos 			p = "netbsd32_semidp_t";
   6705   1.1  christos 			break;
   6706   1.1  christos 		default:
   6707   1.1  christos 			break;
   6708   1.1  christos 		};
   6709   1.1  christos 		break;
   6710   1.1  christos 	/* netbsd32__ksem_unlink */
   6711   1.1  christos 	case 249:
   6712   1.1  christos 		switch(ndx) {
   6713   1.1  christos 		case 0:
   6714   1.1  christos 			p = "netbsd32_charp";
   6715   1.1  christos 			break;
   6716   1.1  christos 		default:
   6717   1.1  christos 			break;
   6718   1.1  christos 		};
   6719   1.1  christos 		break;
   6720   1.1  christos 	/* netbsd32__ksem_close */
   6721   1.1  christos 	case 250:
   6722   1.1  christos 		switch(ndx) {
   6723   1.1  christos 		case 0:
   6724   1.1  christos 			p = "netbsd32_intptr_t";
   6725   1.1  christos 			break;
   6726   1.1  christos 		default:
   6727   1.1  christos 			break;
   6728   1.1  christos 		};
   6729   1.1  christos 		break;
   6730   1.1  christos 	/* netbsd32__ksem_post */
   6731   1.1  christos 	case 251:
   6732   1.1  christos 		switch(ndx) {
   6733   1.1  christos 		case 0:
   6734   1.1  christos 			p = "netbsd32_intptr_t";
   6735   1.1  christos 			break;
   6736   1.1  christos 		default:
   6737   1.1  christos 			break;
   6738   1.1  christos 		};
   6739   1.1  christos 		break;
   6740   1.1  christos 	/* netbsd32__ksem_wait */
   6741   1.1  christos 	case 252:
   6742   1.1  christos 		switch(ndx) {
   6743   1.1  christos 		case 0:
   6744   1.1  christos 			p = "netbsd32_intptr_t";
   6745   1.1  christos 			break;
   6746   1.1  christos 		default:
   6747   1.1  christos 			break;
   6748   1.1  christos 		};
   6749   1.1  christos 		break;
   6750   1.1  christos 	/* netbsd32__ksem_trywait */
   6751   1.1  christos 	case 253:
   6752   1.1  christos 		switch(ndx) {
   6753   1.1  christos 		case 0:
   6754   1.1  christos 			p = "netbsd32_intptr_t";
   6755   1.1  christos 			break;
   6756   1.1  christos 		default:
   6757   1.1  christos 			break;
   6758   1.1  christos 		};
   6759   1.1  christos 		break;
   6760   1.1  christos 	/* netbsd32__ksem_getvalue */
   6761   1.1  christos 	case 254:
   6762   1.1  christos 		switch(ndx) {
   6763   1.1  christos 		case 0:
   6764   1.1  christos 			p = "netbsd32_intptr_t";
   6765   1.1  christos 			break;
   6766   1.1  christos 		case 1:
   6767   1.1  christos 			p = "netbsd32_intp";
   6768   1.1  christos 			break;
   6769   1.1  christos 		default:
   6770   1.1  christos 			break;
   6771   1.1  christos 		};
   6772   1.1  christos 		break;
   6773   1.1  christos 	/* netbsd32__ksem_destroy */
   6774   1.1  christos 	case 255:
   6775   1.1  christos 		switch(ndx) {
   6776   1.1  christos 		case 0:
   6777   1.1  christos 			p = "netbsd32_intptr_t";
   6778   1.1  christos 			break;
   6779   1.1  christos 		default:
   6780   1.1  christos 			break;
   6781   1.1  christos 		};
   6782   1.1  christos 		break;
   6783   1.1  christos 	/* netbsd32__ksem_timedwait */
   6784   1.1  christos 	case 256:
   6785   1.1  christos 		switch(ndx) {
   6786   1.1  christos 		case 0:
   6787   1.1  christos 			p = "intptr_t";
   6788   1.1  christos 			break;
   6789   1.1  christos 		case 1:
   6790   1.1  christos 			p = "const netbsd32_timespecp_t";
   6791   1.1  christos 			break;
   6792   1.1  christos 		default:
   6793   1.1  christos 			break;
   6794   1.1  christos 		};
   6795   1.1  christos 		break;
   6796   1.3    martin 	/* netbsd32_mq_open */
   6797   1.3    martin 	case 257:
   6798   1.3    martin 		switch(ndx) {
   6799   1.3    martin 		case 0:
   6800   1.3    martin 			p = "const netbsd32_charp";
   6801   1.3    martin 			break;
   6802   1.3    martin 		case 1:
   6803   1.3    martin 			p = "int";
   6804   1.3    martin 			break;
   6805   1.3    martin 		case 2:
   6806   1.3    martin 			p = "mode_t";
   6807   1.3    martin 			break;
   6808   1.3    martin 		case 3:
   6809   1.3    martin 			p = "netbsd32_mq_attrp_t";
   6810   1.3    martin 			break;
   6811   1.3    martin 		default:
   6812   1.3    martin 			break;
   6813   1.3    martin 		};
   6814   1.3    martin 		break;
   6815   1.3    martin 	/* netbsd32_mq_close */
   6816   1.3    martin 	case 258:
   6817   1.3    martin 		switch(ndx) {
   6818   1.3    martin 		case 0:
   6819   1.3    martin 			p = "mqd_t";
   6820   1.3    martin 			break;
   6821   1.3    martin 		default:
   6822   1.3    martin 			break;
   6823   1.3    martin 		};
   6824   1.3    martin 		break;
   6825   1.3    martin 	/* netbsd32_mq_unlink */
   6826   1.3    martin 	case 259:
   6827   1.3    martin 		switch(ndx) {
   6828   1.3    martin 		case 0:
   6829   1.3    martin 			p = "const netbsd32_charp";
   6830   1.3    martin 			break;
   6831   1.3    martin 		default:
   6832   1.3    martin 			break;
   6833   1.3    martin 		};
   6834   1.3    martin 		break;
   6835   1.3    martin 	/* netbsd32_mq_getattr */
   6836   1.3    martin 	case 260:
   6837   1.3    martin 		switch(ndx) {
   6838   1.3    martin 		case 0:
   6839   1.3    martin 			p = "mqd_t";
   6840   1.3    martin 			break;
   6841   1.3    martin 		case 1:
   6842   1.3    martin 			p = "netbsd32_mq_attrp_t";
   6843   1.3    martin 			break;
   6844   1.3    martin 		default:
   6845   1.3    martin 			break;
   6846   1.3    martin 		};
   6847   1.3    martin 		break;
   6848   1.3    martin 	/* netbsd32_mq_setattr */
   6849   1.3    martin 	case 261:
   6850   1.3    martin 		switch(ndx) {
   6851   1.3    martin 		case 0:
   6852   1.3    martin 			p = "mqd_t";
   6853   1.3    martin 			break;
   6854   1.3    martin 		case 1:
   6855   1.3    martin 			p = "const netbsd32_mq_attrp_t";
   6856   1.3    martin 			break;
   6857   1.3    martin 		case 2:
   6858   1.3    martin 			p = "netbsd32_mq_attrp_t";
   6859   1.3    martin 			break;
   6860   1.3    martin 		default:
   6861   1.3    martin 			break;
   6862   1.3    martin 		};
   6863   1.3    martin 		break;
   6864   1.3    martin 	/* netbsd32_mq_notify */
   6865   1.3    martin 	case 262:
   6866   1.3    martin 		switch(ndx) {
   6867   1.3    martin 		case 0:
   6868   1.3    martin 			p = "mqd_t";
   6869   1.3    martin 			break;
   6870   1.3    martin 		case 1:
   6871   1.3    martin 			p = "const netbsd32_sigeventp_t";
   6872   1.3    martin 			break;
   6873   1.3    martin 		default:
   6874   1.3    martin 			break;
   6875   1.3    martin 		};
   6876   1.3    martin 		break;
   6877   1.3    martin 	/* netbsd32_mq_send */
   6878   1.3    martin 	case 263:
   6879   1.3    martin 		switch(ndx) {
   6880   1.3    martin 		case 0:
   6881   1.3    martin 			p = "mqd_t";
   6882   1.3    martin 			break;
   6883   1.3    martin 		case 1:
   6884   1.3    martin 			p = "const netbsd32_charp";
   6885   1.3    martin 			break;
   6886   1.3    martin 		case 2:
   6887   1.3    martin 			p = "netbsd32_size_t";
   6888   1.3    martin 			break;
   6889   1.3    martin 		case 3:
   6890   1.3    martin 			p = "unsigned";
   6891   1.3    martin 			break;
   6892   1.3    martin 		default:
   6893   1.3    martin 			break;
   6894   1.3    martin 		};
   6895   1.3    martin 		break;
   6896   1.3    martin 	/* netbsd32_mq_receive */
   6897   1.3    martin 	case 264:
   6898   1.3    martin 		switch(ndx) {
   6899   1.3    martin 		case 0:
   6900   1.3    martin 			p = "mqd_t";
   6901   1.3    martin 			break;
   6902   1.3    martin 		case 1:
   6903   1.3    martin 			p = "netbsd32_charp";
   6904   1.3    martin 			break;
   6905   1.3    martin 		case 2:
   6906   1.3    martin 			p = "netbsd32_size_t";
   6907   1.3    martin 			break;
   6908   1.3    martin 		case 3:
   6909   1.3    martin 			p = "netbsd32_uintp";
   6910   1.3    martin 			break;
   6911   1.3    martin 		default:
   6912   1.3    martin 			break;
   6913   1.3    martin 		};
   6914   1.3    martin 		break;
   6915   1.3    martin 	/* netbsd32_mq_timedsend */
   6916   1.3    martin 	case 265:
   6917   1.3    martin 		switch(ndx) {
   6918   1.3    martin 		case 0:
   6919   1.3    martin 			p = "mqd_t";
   6920   1.3    martin 			break;
   6921   1.3    martin 		case 1:
   6922   1.3    martin 			p = "const netbsd32_charp";
   6923   1.3    martin 			break;
   6924   1.3    martin 		case 2:
   6925   1.3    martin 			p = "netbsd32_size_t";
   6926   1.3    martin 			break;
   6927   1.3    martin 		case 3:
   6928   1.3    martin 			p = "unsigned";
   6929   1.3    martin 			break;
   6930   1.3    martin 		case 4:
   6931   1.3    martin 			p = "const netbsd32_timespec50p_t";
   6932   1.3    martin 			break;
   6933   1.3    martin 		default:
   6934   1.3    martin 			break;
   6935   1.3    martin 		};
   6936   1.3    martin 		break;
   6937   1.3    martin 	/* netbsd32_mq_timedreceive */
   6938   1.3    martin 	case 266:
   6939   1.3    martin 		switch(ndx) {
   6940   1.3    martin 		case 0:
   6941   1.3    martin 			p = "mqd_t";
   6942   1.3    martin 			break;
   6943   1.3    martin 		case 1:
   6944   1.3    martin 			p = "netbsd32_charp";
   6945   1.3    martin 			break;
   6946   1.3    martin 		case 2:
   6947   1.3    martin 			p = "netbsd32_size_t";
   6948   1.3    martin 			break;
   6949   1.3    martin 		case 3:
   6950   1.3    martin 			p = "netbsd32_uintp";
   6951   1.3    martin 			break;
   6952   1.3    martin 		case 4:
   6953   1.3    martin 			p = "const netbsd32_timespec50p_t";
   6954   1.3    martin 			break;
   6955   1.3    martin 		default:
   6956   1.3    martin 			break;
   6957   1.3    martin 		};
   6958   1.3    martin 		break;
   6959  1.49   thorpej 	/* netbsd32_eventfd */
   6960  1.49   thorpej 	case 267:
   6961  1.49   thorpej 		switch(ndx) {
   6962  1.49   thorpej 		case 0:
   6963  1.49   thorpej 			p = "unsigned int";
   6964  1.49   thorpej 			break;
   6965  1.49   thorpej 		case 1:
   6966  1.49   thorpej 			p = "int";
   6967  1.49   thorpej 			break;
   6968  1.49   thorpej 		default:
   6969  1.49   thorpej 			break;
   6970  1.49   thorpej 		};
   6971  1.49   thorpej 		break;
   6972   1.1  christos 	/* netbsd32___posix_rename */
   6973   1.1  christos 	case 270:
   6974   1.1  christos 		switch(ndx) {
   6975   1.1  christos 		case 0:
   6976   1.1  christos 			p = "netbsd32_charp";
   6977   1.1  christos 			break;
   6978   1.1  christos 		case 1:
   6979   1.1  christos 			p = "netbsd32_charp";
   6980   1.1  christos 			break;
   6981   1.1  christos 		default:
   6982   1.1  christos 			break;
   6983   1.1  christos 		};
   6984   1.1  christos 		break;
   6985   1.1  christos 	/* netbsd32_swapctl */
   6986   1.1  christos 	case 271:
   6987   1.1  christos 		switch(ndx) {
   6988   1.1  christos 		case 0:
   6989   1.1  christos 			p = "int";
   6990   1.1  christos 			break;
   6991   1.1  christos 		case 1:
   6992   1.1  christos 			p = "netbsd32_voidp";
   6993   1.1  christos 			break;
   6994   1.1  christos 		case 2:
   6995   1.1  christos 			p = "int";
   6996   1.1  christos 			break;
   6997   1.1  christos 		default:
   6998   1.1  christos 			break;
   6999   1.1  christos 		};
   7000   1.1  christos 		break;
   7001   1.1  christos 	/* netbsd32_getdents */
   7002   1.1  christos 	case 272:
   7003   1.1  christos 		switch(ndx) {
   7004   1.1  christos 		case 0:
   7005   1.1  christos 			p = "int";
   7006   1.1  christos 			break;
   7007   1.1  christos 		case 1:
   7008   1.1  christos 			p = "netbsd32_charp";
   7009   1.1  christos 			break;
   7010   1.1  christos 		case 2:
   7011   1.1  christos 			p = "netbsd32_size_t";
   7012   1.1  christos 			break;
   7013   1.1  christos 		default:
   7014   1.1  christos 			break;
   7015   1.1  christos 		};
   7016   1.1  christos 		break;
   7017   1.1  christos 	/* netbsd32_minherit */
   7018   1.1  christos 	case 273:
   7019   1.1  christos 		switch(ndx) {
   7020   1.1  christos 		case 0:
   7021   1.1  christos 			p = "netbsd32_voidp";
   7022   1.1  christos 			break;
   7023   1.1  christos 		case 1:
   7024   1.1  christos 			p = "netbsd32_size_t";
   7025   1.1  christos 			break;
   7026   1.1  christos 		case 2:
   7027   1.1  christos 			p = "int";
   7028   1.1  christos 			break;
   7029   1.1  christos 		default:
   7030   1.1  christos 			break;
   7031   1.1  christos 		};
   7032   1.1  christos 		break;
   7033   1.1  christos 	/* netbsd32_lchmod */
   7034   1.1  christos 	case 274:
   7035   1.1  christos 		switch(ndx) {
   7036   1.1  christos 		case 0:
   7037   1.1  christos 			p = "netbsd32_charp";
   7038   1.1  christos 			break;
   7039   1.1  christos 		case 1:
   7040   1.1  christos 			p = "mode_t";
   7041   1.1  christos 			break;
   7042   1.1  christos 		default:
   7043   1.1  christos 			break;
   7044   1.1  christos 		};
   7045   1.1  christos 		break;
   7046   1.1  christos 	/* netbsd32_lchown */
   7047   1.1  christos 	case 275:
   7048   1.1  christos 		switch(ndx) {
   7049   1.1  christos 		case 0:
   7050   1.1  christos 			p = "netbsd32_charp";
   7051   1.1  christos 			break;
   7052   1.1  christos 		case 1:
   7053   1.1  christos 			p = "uid_t";
   7054   1.1  christos 			break;
   7055   1.1  christos 		case 2:
   7056   1.1  christos 			p = "gid_t";
   7057   1.1  christos 			break;
   7058   1.1  christos 		default:
   7059   1.1  christos 			break;
   7060   1.1  christos 		};
   7061   1.1  christos 		break;
   7062   1.1  christos 	/* netbsd32_lutimes */
   7063   1.1  christos 	case 276:
   7064   1.1  christos 		switch(ndx) {
   7065   1.1  christos 		case 0:
   7066   1.1  christos 			p = "netbsd32_charp";
   7067   1.1  christos 			break;
   7068   1.1  christos 		case 1:
   7069   1.1  christos 			p = "netbsd32_timeval50p_t";
   7070   1.1  christos 			break;
   7071   1.1  christos 		default:
   7072   1.1  christos 			break;
   7073   1.1  christos 		};
   7074   1.1  christos 		break;
   7075   1.1  christos 	/* netbsd32___msync13 */
   7076   1.1  christos 	case 277:
   7077   1.1  christos 		switch(ndx) {
   7078   1.1  christos 		case 0:
   7079   1.1  christos 			p = "netbsd32_voidp";
   7080   1.1  christos 			break;
   7081   1.1  christos 		case 1:
   7082   1.1  christos 			p = "netbsd32_size_t";
   7083   1.1  christos 			break;
   7084   1.1  christos 		case 2:
   7085   1.1  christos 			p = "int";
   7086   1.1  christos 			break;
   7087   1.1  christos 		default:
   7088   1.1  christos 			break;
   7089   1.1  christos 		};
   7090   1.1  christos 		break;
   7091   1.1  christos 	/* netbsd32___stat13 */
   7092   1.1  christos 	case 278:
   7093   1.1  christos 		switch(ndx) {
   7094   1.1  christos 		case 0:
   7095   1.1  christos 			p = "netbsd32_charp";
   7096   1.1  christos 			break;
   7097   1.1  christos 		case 1:
   7098   1.1  christos 			p = "netbsd32_stat13p_t";
   7099   1.1  christos 			break;
   7100   1.1  christos 		default:
   7101   1.1  christos 			break;
   7102   1.1  christos 		};
   7103   1.1  christos 		break;
   7104   1.1  christos 	/* netbsd32___fstat13 */
   7105   1.1  christos 	case 279:
   7106   1.1  christos 		switch(ndx) {
   7107   1.1  christos 		case 0:
   7108   1.1  christos 			p = "int";
   7109   1.1  christos 			break;
   7110   1.1  christos 		case 1:
   7111   1.1  christos 			p = "netbsd32_stat13p_t";
   7112   1.1  christos 			break;
   7113   1.1  christos 		default:
   7114   1.1  christos 			break;
   7115   1.1  christos 		};
   7116   1.1  christos 		break;
   7117   1.1  christos 	/* netbsd32___lstat13 */
   7118   1.1  christos 	case 280:
   7119   1.1  christos 		switch(ndx) {
   7120   1.1  christos 		case 0:
   7121   1.1  christos 			p = "netbsd32_charp";
   7122   1.1  christos 			break;
   7123   1.1  christos 		case 1:
   7124   1.1  christos 			p = "netbsd32_stat13p_t";
   7125   1.1  christos 			break;
   7126   1.1  christos 		default:
   7127   1.1  christos 			break;
   7128   1.1  christos 		};
   7129   1.1  christos 		break;
   7130   1.1  christos 	/* netbsd32___sigaltstack14 */
   7131   1.1  christos 	case 281:
   7132   1.1  christos 		switch(ndx) {
   7133   1.1  christos 		case 0:
   7134   1.1  christos 			p = "netbsd32_sigaltstackp_t";
   7135   1.1  christos 			break;
   7136   1.1  christos 		case 1:
   7137   1.1  christos 			p = "netbsd32_sigaltstackp_t";
   7138   1.1  christos 			break;
   7139   1.1  christos 		default:
   7140   1.1  christos 			break;
   7141   1.1  christos 		};
   7142   1.1  christos 		break;
   7143   1.1  christos 	/* sys___vfork14 */
   7144   1.1  christos 	case 282:
   7145   1.1  christos 		break;
   7146   1.1  christos 	/* netbsd32___posix_chown */
   7147   1.1  christos 	case 283:
   7148   1.1  christos 		switch(ndx) {
   7149   1.1  christos 		case 0:
   7150   1.1  christos 			p = "netbsd32_charp";
   7151   1.1  christos 			break;
   7152   1.1  christos 		case 1:
   7153   1.1  christos 			p = "uid_t";
   7154   1.1  christos 			break;
   7155   1.1  christos 		case 2:
   7156   1.1  christos 			p = "gid_t";
   7157   1.1  christos 			break;
   7158   1.1  christos 		default:
   7159   1.1  christos 			break;
   7160   1.1  christos 		};
   7161   1.1  christos 		break;
   7162   1.1  christos 	/* netbsd32___posix_fchown */
   7163   1.1  christos 	case 284:
   7164   1.1  christos 		switch(ndx) {
   7165   1.1  christos 		case 0:
   7166   1.1  christos 			p = "int";
   7167   1.1  christos 			break;
   7168   1.1  christos 		case 1:
   7169   1.1  christos 			p = "uid_t";
   7170   1.1  christos 			break;
   7171   1.1  christos 		case 2:
   7172   1.1  christos 			p = "gid_t";
   7173   1.1  christos 			break;
   7174   1.1  christos 		default:
   7175   1.1  christos 			break;
   7176   1.1  christos 		};
   7177   1.1  christos 		break;
   7178   1.1  christos 	/* netbsd32___posix_lchown */
   7179   1.1  christos 	case 285:
   7180   1.1  christos 		switch(ndx) {
   7181   1.1  christos 		case 0:
   7182   1.1  christos 			p = "netbsd32_charp";
   7183   1.1  christos 			break;
   7184   1.1  christos 		case 1:
   7185   1.1  christos 			p = "uid_t";
   7186   1.1  christos 			break;
   7187   1.1  christos 		case 2:
   7188   1.1  christos 			p = "gid_t";
   7189   1.1  christos 			break;
   7190   1.1  christos 		default:
   7191   1.1  christos 			break;
   7192   1.1  christos 		};
   7193   1.1  christos 		break;
   7194   1.1  christos 	/* netbsd32_getsid */
   7195   1.1  christos 	case 286:
   7196   1.1  christos 		switch(ndx) {
   7197   1.1  christos 		case 0:
   7198   1.1  christos 			p = "pid_t";
   7199   1.1  christos 			break;
   7200   1.1  christos 		default:
   7201   1.1  christos 			break;
   7202   1.1  christos 		};
   7203   1.1  christos 		break;
   7204   1.1  christos 	/* netbsd32___clone */
   7205   1.1  christos 	case 287:
   7206   1.1  christos 		switch(ndx) {
   7207   1.1  christos 		case 0:
   7208   1.1  christos 			p = "int";
   7209   1.1  christos 			break;
   7210   1.1  christos 		case 1:
   7211   1.1  christos 			p = "netbsd32_voidp";
   7212   1.1  christos 			break;
   7213   1.1  christos 		default:
   7214   1.1  christos 			break;
   7215   1.1  christos 		};
   7216   1.1  christos 		break;
   7217   1.1  christos 	/* netbsd32_fktrace */
   7218   1.1  christos 	case 288:
   7219   1.1  christos 		switch(ndx) {
   7220   1.1  christos 		case 0:
   7221   1.1  christos 			p = "int";
   7222   1.1  christos 			break;
   7223   1.1  christos 		case 1:
   7224   1.1  christos 			p = "int";
   7225   1.1  christos 			break;
   7226   1.1  christos 		case 2:
   7227   1.1  christos 			p = "int";
   7228   1.1  christos 			break;
   7229   1.1  christos 		case 3:
   7230   1.1  christos 			p = "int";
   7231   1.1  christos 			break;
   7232   1.1  christos 		default:
   7233   1.1  christos 			break;
   7234   1.1  christos 		};
   7235   1.1  christos 		break;
   7236   1.1  christos 	/* netbsd32_preadv */
   7237   1.1  christos 	case 289:
   7238   1.1  christos 		switch(ndx) {
   7239   1.1  christos 		case 0:
   7240   1.1  christos 			p = "int";
   7241   1.1  christos 			break;
   7242   1.1  christos 		case 1:
   7243   1.1  christos 			p = "netbsd32_iovecp_t";
   7244   1.1  christos 			break;
   7245   1.1  christos 		case 2:
   7246   1.1  christos 			p = "int";
   7247   1.1  christos 			break;
   7248   1.1  christos 		case 3:
   7249   1.1  christos 			p = "int";
   7250   1.1  christos 			break;
   7251   1.1  christos 		case 4:
   7252   1.1  christos 			p = "netbsd32_off_t";
   7253   1.1  christos 			break;
   7254   1.1  christos 		default:
   7255   1.1  christos 			break;
   7256   1.1  christos 		};
   7257   1.1  christos 		break;
   7258   1.1  christos 	/* netbsd32_pwritev */
   7259   1.1  christos 	case 290:
   7260   1.1  christos 		switch(ndx) {
   7261   1.1  christos 		case 0:
   7262   1.1  christos 			p = "int";
   7263   1.1  christos 			break;
   7264   1.1  christos 		case 1:
   7265   1.1  christos 			p = "netbsd32_iovecp_t";
   7266   1.1  christos 			break;
   7267   1.1  christos 		case 2:
   7268   1.1  christos 			p = "int";
   7269   1.1  christos 			break;
   7270   1.1  christos 		case 3:
   7271   1.1  christos 			p = "int";
   7272   1.1  christos 			break;
   7273   1.1  christos 		case 4:
   7274   1.1  christos 			p = "netbsd32_off_t";
   7275   1.1  christos 			break;
   7276   1.1  christos 		default:
   7277   1.1  christos 			break;
   7278   1.1  christos 		};
   7279   1.1  christos 		break;
   7280   1.1  christos 	/* netbsd32___sigaction14 */
   7281   1.1  christos 	case 291:
   7282   1.1  christos 		switch(ndx) {
   7283   1.1  christos 		case 0:
   7284   1.1  christos 			p = "int";
   7285   1.1  christos 			break;
   7286   1.1  christos 		case 1:
   7287   1.1  christos 			p = "netbsd32_sigactionp_t";
   7288   1.1  christos 			break;
   7289   1.1  christos 		case 2:
   7290   1.1  christos 			p = "netbsd32_sigactionp_t";
   7291   1.1  christos 			break;
   7292   1.1  christos 		default:
   7293   1.1  christos 			break;
   7294   1.1  christos 		};
   7295   1.1  christos 		break;
   7296   1.1  christos 	/* netbsd32___sigpending14 */
   7297   1.1  christos 	case 292:
   7298   1.1  christos 		switch(ndx) {
   7299   1.1  christos 		case 0:
   7300   1.1  christos 			p = "netbsd32_sigsetp_t";
   7301   1.1  christos 			break;
   7302   1.1  christos 		default:
   7303   1.1  christos 			break;
   7304   1.1  christos 		};
   7305   1.1  christos 		break;
   7306   1.1  christos 	/* netbsd32___sigprocmask14 */
   7307   1.1  christos 	case 293:
   7308   1.1  christos 		switch(ndx) {
   7309   1.1  christos 		case 0:
   7310   1.1  christos 			p = "int";
   7311   1.1  christos 			break;
   7312   1.1  christos 		case 1:
   7313   1.1  christos 			p = "netbsd32_sigsetp_t";
   7314   1.1  christos 			break;
   7315   1.1  christos 		case 2:
   7316   1.1  christos 			p = "netbsd32_sigsetp_t";
   7317   1.1  christos 			break;
   7318   1.1  christos 		default:
   7319   1.1  christos 			break;
   7320   1.1  christos 		};
   7321   1.1  christos 		break;
   7322   1.1  christos 	/* netbsd32___sigsuspend14 */
   7323   1.1  christos 	case 294:
   7324   1.1  christos 		switch(ndx) {
   7325   1.1  christos 		case 0:
   7326   1.1  christos 			p = "netbsd32_sigsetp_t";
   7327   1.1  christos 			break;
   7328   1.1  christos 		default:
   7329   1.1  christos 			break;
   7330   1.1  christos 		};
   7331   1.1  christos 		break;
   7332   1.1  christos 	/* netbsd32___sigreturn14 */
   7333   1.1  christos 	case 295:
   7334   1.1  christos 		switch(ndx) {
   7335   1.1  christos 		case 0:
   7336   1.1  christos 			p = "netbsd32_sigcontextp_t";
   7337   1.1  christos 			break;
   7338   1.1  christos 		default:
   7339   1.1  christos 			break;
   7340   1.1  christos 		};
   7341   1.1  christos 		break;
   7342   1.1  christos 	/* netbsd32___getcwd */
   7343   1.1  christos 	case 296:
   7344   1.1  christos 		switch(ndx) {
   7345   1.1  christos 		case 0:
   7346   1.1  christos 			p = "netbsd32_charp";
   7347   1.1  christos 			break;
   7348   1.1  christos 		case 1:
   7349   1.1  christos 			p = "netbsd32_size_t";
   7350   1.1  christos 			break;
   7351   1.1  christos 		default:
   7352   1.1  christos 			break;
   7353   1.1  christos 		};
   7354   1.1  christos 		break;
   7355   1.1  christos 	/* netbsd32_fchroot */
   7356   1.1  christos 	case 297:
   7357   1.1  christos 		switch(ndx) {
   7358   1.1  christos 		case 0:
   7359   1.1  christos 			p = "int";
   7360   1.1  christos 			break;
   7361   1.1  christos 		default:
   7362   1.1  christos 			break;
   7363   1.1  christos 		};
   7364   1.1  christos 		break;
   7365   1.1  christos 	/* netbsd32_fhopen */
   7366   1.1  christos 	case 298:
   7367   1.1  christos 		switch(ndx) {
   7368   1.1  christos 		case 0:
   7369   1.1  christos 			p = "netbsd32_fhandlep_t";
   7370   1.1  christos 			break;
   7371   1.1  christos 		case 1:
   7372   1.1  christos 			p = "int";
   7373   1.1  christos 			break;
   7374   1.1  christos 		default:
   7375   1.1  christos 			break;
   7376   1.1  christos 		};
   7377   1.1  christos 		break;
   7378   1.1  christos 	/* netbsd32_fhstat */
   7379   1.1  christos 	case 299:
   7380   1.1  christos 		switch(ndx) {
   7381   1.1  christos 		case 0:
   7382   1.1  christos 			p = "netbsd32_fhandlep_t";
   7383   1.1  christos 			break;
   7384   1.1  christos 		case 1:
   7385   1.1  christos 			p = "netbsd32_stat13p_t";
   7386   1.1  christos 			break;
   7387   1.1  christos 		default:
   7388   1.1  christos 			break;
   7389   1.1  christos 		};
   7390   1.1  christos 		break;
   7391   1.1  christos 	/* netbsd32_fhstatfs */
   7392   1.1  christos 	case 300:
   7393   1.1  christos 		switch(ndx) {
   7394   1.1  christos 		case 0:
   7395   1.1  christos 			p = "netbsd32_fhandlep_t";
   7396   1.1  christos 			break;
   7397   1.1  christos 		case 1:
   7398   1.1  christos 			p = "netbsd32_stat50p_t";
   7399   1.1  christos 			break;
   7400   1.1  christos 		default:
   7401   1.1  christos 			break;
   7402   1.1  christos 		};
   7403   1.1  christos 		break;
   7404   1.1  christos 	/* netbsd32___semctl14 */
   7405   1.1  christos 	case 301:
   7406   1.1  christos 		switch(ndx) {
   7407   1.1  christos 		case 0:
   7408   1.1  christos 			p = "int";
   7409   1.1  christos 			break;
   7410   1.1  christos 		case 1:
   7411   1.1  christos 			p = "int";
   7412   1.1  christos 			break;
   7413   1.1  christos 		case 2:
   7414   1.1  christos 			p = "int";
   7415   1.1  christos 			break;
   7416   1.1  christos 		case 3:
   7417   1.1  christos 			p = "netbsd32_semun50p_t";
   7418   1.1  christos 			break;
   7419   1.1  christos 		default:
   7420   1.1  christos 			break;
   7421   1.1  christos 		};
   7422   1.1  christos 		break;
   7423   1.1  christos 	/* netbsd32___msgctl13 */
   7424   1.1  christos 	case 302:
   7425   1.1  christos 		switch(ndx) {
   7426   1.1  christos 		case 0:
   7427   1.1  christos 			p = "int";
   7428   1.1  christos 			break;
   7429   1.1  christos 		case 1:
   7430   1.1  christos 			p = "int";
   7431   1.1  christos 			break;
   7432   1.1  christos 		case 2:
   7433   1.1  christos 			p = "netbsd32_msqid_ds50p_t";
   7434   1.1  christos 			break;
   7435   1.1  christos 		default:
   7436   1.1  christos 			break;
   7437   1.1  christos 		};
   7438   1.1  christos 		break;
   7439   1.1  christos 	/* netbsd32___shmctl13 */
   7440   1.1  christos 	case 303:
   7441   1.1  christos 		switch(ndx) {
   7442   1.1  christos 		case 0:
   7443   1.1  christos 			p = "int";
   7444   1.1  christos 			break;
   7445   1.1  christos 		case 1:
   7446   1.1  christos 			p = "int";
   7447   1.1  christos 			break;
   7448   1.1  christos 		case 2:
   7449   1.1  christos 			p = "netbsd32_shmid_ds50p_t";
   7450   1.1  christos 			break;
   7451   1.1  christos 		default:
   7452   1.1  christos 			break;
   7453   1.1  christos 		};
   7454   1.1  christos 		break;
   7455   1.1  christos 	/* netbsd32_lchflags */
   7456   1.1  christos 	case 304:
   7457   1.1  christos 		switch(ndx) {
   7458   1.1  christos 		case 0:
   7459   1.1  christos 			p = "netbsd32_charp";
   7460   1.1  christos 			break;
   7461   1.1  christos 		case 1:
   7462   1.1  christos 			p = "netbsd32_u_long";
   7463   1.1  christos 			break;
   7464   1.1  christos 		default:
   7465   1.1  christos 			break;
   7466   1.1  christos 		};
   7467   1.1  christos 		break;
   7468   1.1  christos 	/* sys_issetugid */
   7469   1.1  christos 	case 305:
   7470   1.1  christos 		break;
   7471   1.1  christos 	/* netbsd32_utrace */
   7472   1.1  christos 	case 306:
   7473   1.1  christos 		switch(ndx) {
   7474   1.1  christos 		case 0:
   7475   1.1  christos 			p = "netbsd32_charp";
   7476   1.1  christos 			break;
   7477   1.1  christos 		case 1:
   7478   1.1  christos 			p = "netbsd32_voidp";
   7479   1.1  christos 			break;
   7480   1.1  christos 		case 2:
   7481   1.1  christos 			p = "netbsd32_size_t";
   7482   1.1  christos 			break;
   7483   1.1  christos 		default:
   7484   1.1  christos 			break;
   7485   1.1  christos 		};
   7486   1.1  christos 		break;
   7487   1.1  christos 	/* netbsd32_getcontext */
   7488   1.1  christos 	case 307:
   7489   1.1  christos 		switch(ndx) {
   7490   1.1  christos 		case 0:
   7491   1.1  christos 			p = "netbsd32_ucontextp";
   7492   1.1  christos 			break;
   7493   1.1  christos 		default:
   7494   1.1  christos 			break;
   7495   1.1  christos 		};
   7496   1.1  christos 		break;
   7497   1.1  christos 	/* netbsd32_setcontext */
   7498   1.1  christos 	case 308:
   7499   1.1  christos 		switch(ndx) {
   7500   1.1  christos 		case 0:
   7501   1.1  christos 			p = "netbsd32_ucontextp";
   7502   1.1  christos 			break;
   7503   1.1  christos 		default:
   7504   1.1  christos 			break;
   7505   1.1  christos 		};
   7506   1.1  christos 		break;
   7507   1.1  christos 	/* netbsd32__lwp_create */
   7508   1.1  christos 	case 309:
   7509   1.1  christos 		switch(ndx) {
   7510   1.1  christos 		case 0:
   7511   1.1  christos 			p = "netbsd32_ucontextp";
   7512   1.1  christos 			break;
   7513   1.1  christos 		case 1:
   7514   1.1  christos 			p = "netbsd32_u_long";
   7515   1.1  christos 			break;
   7516   1.1  christos 		case 2:
   7517   1.1  christos 			p = "netbsd32_lwpidp";
   7518   1.1  christos 			break;
   7519   1.1  christos 		default:
   7520   1.1  christos 			break;
   7521   1.1  christos 		};
   7522   1.1  christos 		break;
   7523   1.1  christos 	/* sys__lwp_exit */
   7524   1.1  christos 	case 310:
   7525   1.1  christos 		break;
   7526   1.1  christos 	/* sys__lwp_self */
   7527   1.1  christos 	case 311:
   7528   1.1  christos 		break;
   7529   1.1  christos 	/* netbsd32__lwp_wait */
   7530   1.1  christos 	case 312:
   7531   1.1  christos 		switch(ndx) {
   7532   1.1  christos 		case 0:
   7533   1.1  christos 			p = "lwpid_t";
   7534   1.1  christos 			break;
   7535   1.1  christos 		case 1:
   7536   1.1  christos 			p = "netbsd32_lwpidp";
   7537   1.1  christos 			break;
   7538   1.1  christos 		default:
   7539   1.1  christos 			break;
   7540   1.1  christos 		};
   7541   1.1  christos 		break;
   7542   1.1  christos 	/* netbsd32__lwp_suspend */
   7543   1.1  christos 	case 313:
   7544   1.1  christos 		switch(ndx) {
   7545   1.1  christos 		case 0:
   7546   1.1  christos 			p = "lwpid_t";
   7547   1.1  christos 			break;
   7548   1.1  christos 		default:
   7549   1.1  christos 			break;
   7550   1.1  christos 		};
   7551   1.1  christos 		break;
   7552   1.1  christos 	/* netbsd32__lwp_continue */
   7553   1.1  christos 	case 314:
   7554   1.1  christos 		switch(ndx) {
   7555   1.1  christos 		case 0:
   7556   1.1  christos 			p = "lwpid_t";
   7557   1.1  christos 			break;
   7558   1.1  christos 		default:
   7559   1.1  christos 			break;
   7560   1.1  christos 		};
   7561   1.1  christos 		break;
   7562   1.1  christos 	/* netbsd32__lwp_wakeup */
   7563   1.1  christos 	case 315:
   7564   1.1  christos 		switch(ndx) {
   7565   1.1  christos 		case 0:
   7566   1.1  christos 			p = "lwpid_t";
   7567   1.1  christos 			break;
   7568   1.1  christos 		default:
   7569   1.1  christos 			break;
   7570   1.1  christos 		};
   7571   1.1  christos 		break;
   7572   1.1  christos 	/* sys__lwp_getprivate */
   7573   1.1  christos 	case 316:
   7574   1.1  christos 		break;
   7575   1.1  christos 	/* netbsd32__lwp_setprivate */
   7576   1.1  christos 	case 317:
   7577   1.1  christos 		switch(ndx) {
   7578   1.1  christos 		case 0:
   7579   1.1  christos 			p = "netbsd32_voidp";
   7580   1.1  christos 			break;
   7581   1.1  christos 		default:
   7582   1.1  christos 			break;
   7583   1.1  christos 		};
   7584   1.1  christos 		break;
   7585   1.1  christos 	/* netbsd32__lwp_kill */
   7586   1.1  christos 	case 318:
   7587   1.1  christos 		switch(ndx) {
   7588   1.1  christos 		case 0:
   7589   1.1  christos 			p = "lwpid_t";
   7590   1.1  christos 			break;
   7591   1.1  christos 		case 1:
   7592   1.1  christos 			p = "int";
   7593   1.1  christos 			break;
   7594   1.1  christos 		default:
   7595   1.1  christos 			break;
   7596   1.1  christos 		};
   7597   1.1  christos 		break;
   7598   1.1  christos 	/* netbsd32__lwp_detach */
   7599   1.1  christos 	case 319:
   7600   1.1  christos 		switch(ndx) {
   7601   1.1  christos 		case 0:
   7602   1.1  christos 			p = "lwpid_t";
   7603   1.1  christos 			break;
   7604   1.1  christos 		default:
   7605   1.1  christos 			break;
   7606   1.1  christos 		};
   7607   1.1  christos 		break;
   7608   1.1  christos 	/* netbsd32__lwp_park */
   7609   1.1  christos 	case 320:
   7610   1.1  christos 		switch(ndx) {
   7611   1.1  christos 		case 0:
   7612   1.1  christos 			p = "netbsd32_timespec50p_t";
   7613   1.1  christos 			break;
   7614   1.1  christos 		case 1:
   7615   1.1  christos 			p = "lwpid_t";
   7616   1.1  christos 			break;
   7617   1.1  christos 		case 2:
   7618   1.1  christos 			p = "netbsd32_voidp";
   7619   1.1  christos 			break;
   7620   1.1  christos 		case 3:
   7621   1.1  christos 			p = "netbsd32_voidp";
   7622   1.1  christos 			break;
   7623   1.1  christos 		default:
   7624   1.1  christos 			break;
   7625   1.1  christos 		};
   7626   1.1  christos 		break;
   7627   1.1  christos 	/* netbsd32__lwp_unpark */
   7628   1.1  christos 	case 321:
   7629   1.1  christos 		switch(ndx) {
   7630   1.1  christos 		case 0:
   7631   1.1  christos 			p = "lwpid_t";
   7632   1.1  christos 			break;
   7633   1.1  christos 		case 1:
   7634   1.1  christos 			p = "netbsd32_voidp";
   7635   1.1  christos 			break;
   7636   1.1  christos 		default:
   7637   1.1  christos 			break;
   7638   1.1  christos 		};
   7639   1.1  christos 		break;
   7640   1.1  christos 	/* netbsd32__lwp_unpark_all */
   7641   1.1  christos 	case 322:
   7642   1.1  christos 		switch(ndx) {
   7643   1.1  christos 		case 0:
   7644   1.1  christos 			p = "netbsd32_lwpidp";
   7645   1.1  christos 			break;
   7646   1.1  christos 		case 1:
   7647   1.1  christos 			p = "netbsd32_size_t";
   7648   1.1  christos 			break;
   7649   1.1  christos 		case 2:
   7650   1.1  christos 			p = "netbsd32_voidp";
   7651   1.1  christos 			break;
   7652   1.1  christos 		default:
   7653   1.1  christos 			break;
   7654   1.1  christos 		};
   7655   1.1  christos 		break;
   7656   1.1  christos 	/* netbsd32__lwp_setname */
   7657   1.1  christos 	case 323:
   7658   1.1  christos 		switch(ndx) {
   7659   1.1  christos 		case 0:
   7660   1.1  christos 			p = "lwpid_t";
   7661   1.1  christos 			break;
   7662   1.1  christos 		case 1:
   7663   1.1  christos 			p = "netbsd32_charp";
   7664   1.1  christos 			break;
   7665   1.1  christos 		default:
   7666   1.1  christos 			break;
   7667   1.1  christos 		};
   7668   1.1  christos 		break;
   7669   1.1  christos 	/* netbsd32__lwp_getname */
   7670   1.1  christos 	case 324:
   7671   1.1  christos 		switch(ndx) {
   7672   1.1  christos 		case 0:
   7673   1.1  christos 			p = "lwpid_t";
   7674   1.1  christos 			break;
   7675   1.1  christos 		case 1:
   7676   1.1  christos 			p = "netbsd32_charp";
   7677   1.1  christos 			break;
   7678   1.1  christos 		case 2:
   7679   1.1  christos 			p = "netbsd32_size_t";
   7680   1.1  christos 			break;
   7681   1.1  christos 		default:
   7682   1.1  christos 			break;
   7683   1.1  christos 		};
   7684   1.1  christos 		break;
   7685   1.1  christos 	/* netbsd32__lwp_ctl */
   7686   1.1  christos 	case 325:
   7687   1.1  christos 		switch(ndx) {
   7688   1.1  christos 		case 0:
   7689   1.1  christos 			p = "int";
   7690   1.1  christos 			break;
   7691   1.1  christos 		case 1:
   7692   1.1  christos 			p = "netbsd32_pointer_t";
   7693   1.1  christos 			break;
   7694   1.1  christos 		default:
   7695   1.1  christos 			break;
   7696   1.1  christos 		};
   7697   1.1  christos 		break;
   7698   1.1  christos 	/* netbsd32___sigaction_sigtramp */
   7699   1.1  christos 	case 340:
   7700   1.1  christos 		switch(ndx) {
   7701   1.1  christos 		case 0:
   7702   1.1  christos 			p = "int";
   7703   1.1  christos 			break;
   7704   1.1  christos 		case 1:
   7705   1.1  christos 			p = "netbsd32_sigactionp_t";
   7706   1.1  christos 			break;
   7707   1.1  christos 		case 2:
   7708   1.1  christos 			p = "netbsd32_sigactionp_t";
   7709   1.1  christos 			break;
   7710   1.1  christos 		case 3:
   7711   1.1  christos 			p = "netbsd32_voidp";
   7712   1.1  christos 			break;
   7713   1.1  christos 		case 4:
   7714   1.1  christos 			p = "int";
   7715   1.1  christos 			break;
   7716   1.1  christos 		default:
   7717   1.1  christos 			break;
   7718   1.1  christos 		};
   7719   1.1  christos 		break;
   7720   1.1  christos 	/* netbsd32_rasctl */
   7721   1.1  christos 	case 343:
   7722   1.1  christos 		switch(ndx) {
   7723   1.1  christos 		case 0:
   7724   1.1  christos 			p = "netbsd32_voidp";
   7725   1.1  christos 			break;
   7726   1.1  christos 		case 1:
   7727   1.1  christos 			p = "netbsd32_size_t";
   7728   1.1  christos 			break;
   7729   1.1  christos 		case 2:
   7730   1.1  christos 			p = "int";
   7731   1.1  christos 			break;
   7732   1.1  christos 		default:
   7733   1.1  christos 			break;
   7734   1.1  christos 		};
   7735   1.1  christos 		break;
   7736   1.1  christos 	/* sys_kqueue */
   7737   1.1  christos 	case 344:
   7738   1.1  christos 		break;
   7739   1.1  christos 	/* netbsd32_kevent */
   7740   1.1  christos 	case 345:
   7741   1.1  christos 		switch(ndx) {
   7742   1.1  christos 		case 0:
   7743   1.1  christos 			p = "int";
   7744   1.1  christos 			break;
   7745   1.1  christos 		case 1:
   7746  1.50       rin 			p = "netbsd32_kevent100p_t";
   7747   1.1  christos 			break;
   7748   1.1  christos 		case 2:
   7749   1.1  christos 			p = "netbsd32_size_t";
   7750   1.1  christos 			break;
   7751   1.1  christos 		case 3:
   7752  1.50       rin 			p = "netbsd32_kevent100p_t";
   7753   1.1  christos 			break;
   7754   1.1  christos 		case 4:
   7755   1.1  christos 			p = "netbsd32_size_t";
   7756   1.1  christos 			break;
   7757   1.1  christos 		case 5:
   7758   1.1  christos 			p = "netbsd32_timespec50p_t";
   7759   1.1  christos 			break;
   7760   1.1  christos 		default:
   7761   1.1  christos 			break;
   7762   1.1  christos 		};
   7763   1.1  christos 		break;
   7764   1.1  christos 	/* netbsd32__sched_setparam */
   7765   1.1  christos 	case 346:
   7766   1.1  christos 		switch(ndx) {
   7767   1.1  christos 		case 0:
   7768   1.1  christos 			p = "pid_t";
   7769   1.1  christos 			break;
   7770   1.1  christos 		case 1:
   7771   1.1  christos 			p = "lwpid_t";
   7772   1.1  christos 			break;
   7773   1.1  christos 		case 2:
   7774   1.1  christos 			p = "int";
   7775   1.1  christos 			break;
   7776   1.1  christos 		case 3:
   7777   1.1  christos 			p = "const netbsd32_sched_paramp_t";
   7778   1.1  christos 			break;
   7779   1.1  christos 		default:
   7780   1.1  christos 			break;
   7781   1.1  christos 		};
   7782   1.1  christos 		break;
   7783   1.1  christos 	/* netbsd32__sched_getparam */
   7784   1.1  christos 	case 347:
   7785   1.1  christos 		switch(ndx) {
   7786   1.1  christos 		case 0:
   7787   1.1  christos 			p = "pid_t";
   7788   1.1  christos 			break;
   7789   1.1  christos 		case 1:
   7790   1.1  christos 			p = "lwpid_t";
   7791   1.1  christos 			break;
   7792   1.1  christos 		case 2:
   7793   1.1  christos 			p = "netbsd32_intp";
   7794   1.1  christos 			break;
   7795   1.1  christos 		case 3:
   7796   1.1  christos 			p = "netbsd32_sched_paramp_t";
   7797   1.1  christos 			break;
   7798   1.1  christos 		default:
   7799   1.1  christos 			break;
   7800   1.1  christos 		};
   7801   1.1  christos 		break;
   7802   1.1  christos 	/* netbsd32__sched_setaffinity */
   7803   1.1  christos 	case 348:
   7804   1.1  christos 		switch(ndx) {
   7805   1.1  christos 		case 0:
   7806   1.1  christos 			p = "pid_t";
   7807   1.1  christos 			break;
   7808   1.1  christos 		case 1:
   7809   1.1  christos 			p = "lwpid_t";
   7810   1.1  christos 			break;
   7811   1.1  christos 		case 2:
   7812   1.1  christos 			p = "netbsd32_size_t";
   7813   1.1  christos 			break;
   7814   1.1  christos 		case 3:
   7815   1.1  christos 			p = "const netbsd32_cpusetp_t";
   7816   1.1  christos 			break;
   7817   1.1  christos 		default:
   7818   1.1  christos 			break;
   7819   1.1  christos 		};
   7820   1.1  christos 		break;
   7821   1.1  christos 	/* netbsd32__sched_getaffinity */
   7822   1.1  christos 	case 349:
   7823   1.1  christos 		switch(ndx) {
   7824   1.1  christos 		case 0:
   7825   1.1  christos 			p = "pid_t";
   7826   1.1  christos 			break;
   7827   1.1  christos 		case 1:
   7828   1.1  christos 			p = "lwpid_t";
   7829   1.1  christos 			break;
   7830   1.1  christos 		case 2:
   7831   1.1  christos 			p = "netbsd32_size_t";
   7832   1.1  christos 			break;
   7833   1.1  christos 		case 3:
   7834   1.1  christos 			p = "netbsd32_cpusetp_t";
   7835   1.1  christos 			break;
   7836   1.1  christos 		default:
   7837   1.1  christos 			break;
   7838   1.1  christos 		};
   7839   1.1  christos 		break;
   7840   1.1  christos 	/* sys_sched_yield */
   7841   1.1  christos 	case 350:
   7842   1.1  christos 		break;
   7843  1.13     skrll 	/* netbsd32__sched_protect */
   7844  1.13     skrll 	case 351:
   7845  1.13     skrll 		switch(ndx) {
   7846  1.13     skrll 		case 0:
   7847  1.13     skrll 			p = "int";
   7848  1.13     skrll 			break;
   7849  1.13     skrll 		default:
   7850  1.13     skrll 			break;
   7851  1.13     skrll 		};
   7852  1.13     skrll 		break;
   7853   1.1  christos 	/* netbsd32_fsync_range */
   7854   1.1  christos 	case 354:
   7855   1.1  christos 		switch(ndx) {
   7856   1.1  christos 		case 0:
   7857   1.1  christos 			p = "int";
   7858   1.1  christos 			break;
   7859   1.1  christos 		case 1:
   7860   1.1  christos 			p = "int";
   7861   1.1  christos 			break;
   7862   1.1  christos 		case 2:
   7863   1.1  christos 			p = "netbsd32_off_t";
   7864   1.1  christos 			break;
   7865   1.1  christos 		case 3:
   7866   1.1  christos 			p = "netbsd32_off_t";
   7867   1.1  christos 			break;
   7868   1.1  christos 		default:
   7869   1.1  christos 			break;
   7870   1.1  christos 		};
   7871   1.1  christos 		break;
   7872   1.1  christos 	/* netbsd32_uuidgen */
   7873   1.1  christos 	case 355:
   7874   1.1  christos 		switch(ndx) {
   7875   1.1  christos 		case 0:
   7876   1.1  christos 			p = "netbsd32_uuidp_t";
   7877   1.1  christos 			break;
   7878   1.1  christos 		case 1:
   7879   1.1  christos 			p = "int";
   7880   1.1  christos 			break;
   7881   1.1  christos 		default:
   7882   1.1  christos 			break;
   7883   1.1  christos 		};
   7884   1.1  christos 		break;
   7885   1.1  christos 	/* netbsd32_getvfsstat */
   7886   1.1  christos 	case 356:
   7887   1.1  christos 		switch(ndx) {
   7888   1.1  christos 		case 0:
   7889  1.33  christos 			p = "netbsd32_statvfs90p_t";
   7890   1.1  christos 			break;
   7891   1.1  christos 		case 1:
   7892   1.1  christos 			p = "netbsd32_size_t";
   7893   1.1  christos 			break;
   7894   1.1  christos 		case 2:
   7895   1.1  christos 			p = "int";
   7896   1.1  christos 			break;
   7897   1.1  christos 		default:
   7898   1.1  christos 			break;
   7899   1.1  christos 		};
   7900   1.1  christos 		break;
   7901   1.1  christos 	/* netbsd32_statvfs1 */
   7902   1.1  christos 	case 357:
   7903   1.1  christos 		switch(ndx) {
   7904   1.1  christos 		case 0:
   7905   1.1  christos 			p = "netbsd32_charp";
   7906   1.1  christos 			break;
   7907   1.1  christos 		case 1:
   7908  1.33  christos 			p = "netbsd32_statvfs90p_t";
   7909   1.1  christos 			break;
   7910   1.1  christos 		case 2:
   7911   1.1  christos 			p = "int";
   7912   1.1  christos 			break;
   7913   1.1  christos 		default:
   7914   1.1  christos 			break;
   7915   1.1  christos 		};
   7916   1.1  christos 		break;
   7917   1.1  christos 	/* netbsd32_fstatvfs1 */
   7918   1.1  christos 	case 358:
   7919   1.1  christos 		switch(ndx) {
   7920   1.1  christos 		case 0:
   7921   1.1  christos 			p = "int";
   7922   1.1  christos 			break;
   7923   1.1  christos 		case 1:
   7924  1.33  christos 			p = "netbsd32_statvfs90p_t";
   7925   1.1  christos 			break;
   7926   1.1  christos 		case 2:
   7927   1.1  christos 			p = "int";
   7928   1.1  christos 			break;
   7929   1.1  christos 		default:
   7930   1.1  christos 			break;
   7931   1.1  christos 		};
   7932   1.1  christos 		break;
   7933   1.1  christos 	/* netbsd32_fhstatvfs1 */
   7934   1.1  christos 	case 359:
   7935   1.1  christos 		switch(ndx) {
   7936   1.1  christos 		case 0:
   7937   1.1  christos 			p = "netbsd32_fhandlep_t";
   7938   1.1  christos 			break;
   7939   1.1  christos 		case 1:
   7940  1.33  christos 			p = "netbsd32_statvfs90p_t";
   7941   1.1  christos 			break;
   7942   1.1  christos 		case 2:
   7943   1.1  christos 			p = "int";
   7944   1.1  christos 			break;
   7945   1.1  christos 		default:
   7946   1.1  christos 			break;
   7947   1.1  christos 		};
   7948   1.1  christos 		break;
   7949   1.1  christos 	/* netbsd32_extattrctl */
   7950   1.1  christos 	case 360:
   7951   1.1  christos 		switch(ndx) {
   7952   1.1  christos 		case 0:
   7953   1.1  christos 			p = "netbsd32_charp";
   7954   1.1  christos 			break;
   7955   1.1  christos 		case 1:
   7956   1.1  christos 			p = "int";
   7957   1.1  christos 			break;
   7958   1.1  christos 		case 2:
   7959   1.1  christos 			p = "netbsd32_charp";
   7960   1.1  christos 			break;
   7961   1.1  christos 		case 3:
   7962   1.1  christos 			p = "int";
   7963   1.1  christos 			break;
   7964   1.1  christos 		case 4:
   7965   1.1  christos 			p = "netbsd32_charp";
   7966   1.1  christos 			break;
   7967   1.1  christos 		default:
   7968   1.1  christos 			break;
   7969   1.1  christos 		};
   7970   1.1  christos 		break;
   7971   1.1  christos 	/* netbsd32_extattr_set_file */
   7972   1.1  christos 	case 361:
   7973   1.1  christos 		switch(ndx) {
   7974   1.1  christos 		case 0:
   7975   1.1  christos 			p = "netbsd32_charp";
   7976   1.1  christos 			break;
   7977   1.1  christos 		case 1:
   7978   1.1  christos 			p = "int";
   7979   1.1  christos 			break;
   7980   1.1  christos 		case 2:
   7981   1.1  christos 			p = "netbsd32_charp";
   7982   1.1  christos 			break;
   7983   1.1  christos 		case 3:
   7984   1.1  christos 			p = "netbsd32_voidp";
   7985   1.1  christos 			break;
   7986   1.1  christos 		case 4:
   7987   1.1  christos 			p = "netbsd32_size_t";
   7988   1.1  christos 			break;
   7989   1.1  christos 		default:
   7990   1.1  christos 			break;
   7991   1.1  christos 		};
   7992   1.1  christos 		break;
   7993   1.1  christos 	/* netbsd32_extattr_get_file */
   7994   1.1  christos 	case 362:
   7995   1.1  christos 		switch(ndx) {
   7996   1.1  christos 		case 0:
   7997   1.1  christos 			p = "netbsd32_charp";
   7998   1.1  christos 			break;
   7999   1.1  christos 		case 1:
   8000   1.1  christos 			p = "int";
   8001   1.1  christos 			break;
   8002   1.1  christos 		case 2:
   8003   1.1  christos 			p = "netbsd32_charp";
   8004   1.1  christos 			break;
   8005   1.1  christos 		case 3:
   8006   1.1  christos 			p = "netbsd32_voidp";
   8007   1.1  christos 			break;
   8008   1.1  christos 		case 4:
   8009   1.1  christos 			p = "netbsd32_size_t";
   8010   1.1  christos 			break;
   8011   1.1  christos 		default:
   8012   1.1  christos 			break;
   8013   1.1  christos 		};
   8014   1.1  christos 		break;
   8015   1.1  christos 	/* netbsd32_extattr_delete_file */
   8016   1.1  christos 	case 363:
   8017   1.1  christos 		switch(ndx) {
   8018   1.1  christos 		case 0:
   8019   1.1  christos 			p = "netbsd32_charp";
   8020   1.1  christos 			break;
   8021   1.1  christos 		case 1:
   8022   1.1  christos 			p = "int";
   8023   1.1  christos 			break;
   8024   1.1  christos 		case 2:
   8025   1.1  christos 			p = "netbsd32_charp";
   8026   1.1  christos 			break;
   8027   1.1  christos 		default:
   8028   1.1  christos 			break;
   8029   1.1  christos 		};
   8030   1.1  christos 		break;
   8031   1.1  christos 	/* netbsd32_extattr_set_fd */
   8032   1.1  christos 	case 364:
   8033   1.1  christos 		switch(ndx) {
   8034   1.1  christos 		case 0:
   8035   1.1  christos 			p = "int";
   8036   1.1  christos 			break;
   8037   1.1  christos 		case 1:
   8038   1.1  christos 			p = "int";
   8039   1.1  christos 			break;
   8040   1.1  christos 		case 2:
   8041   1.1  christos 			p = "netbsd32_charp";
   8042   1.1  christos 			break;
   8043   1.1  christos 		case 3:
   8044   1.1  christos 			p = "netbsd32_voidp";
   8045   1.1  christos 			break;
   8046   1.1  christos 		case 4:
   8047   1.1  christos 			p = "netbsd32_size_t";
   8048   1.1  christos 			break;
   8049   1.1  christos 		default:
   8050   1.1  christos 			break;
   8051   1.1  christos 		};
   8052   1.1  christos 		break;
   8053   1.1  christos 	/* netbsd32_extattr_get_fd */
   8054   1.1  christos 	case 365:
   8055   1.1  christos 		switch(ndx) {
   8056   1.1  christos 		case 0:
   8057   1.1  christos 			p = "int";
   8058   1.1  christos 			break;
   8059   1.1  christos 		case 1:
   8060   1.1  christos 			p = "int";
   8061   1.1  christos 			break;
   8062   1.1  christos 		case 2:
   8063   1.1  christos 			p = "netbsd32_charp";
   8064   1.1  christos 			break;
   8065   1.1  christos 		case 3:
   8066   1.1  christos 			p = "netbsd32_voidp";
   8067   1.1  christos 			break;
   8068   1.1  christos 		case 4:
   8069   1.1  christos 			p = "netbsd32_size_t";
   8070   1.1  christos 			break;
   8071   1.1  christos 		default:
   8072   1.1  christos 			break;
   8073   1.1  christos 		};
   8074   1.1  christos 		break;
   8075   1.1  christos 	/* netbsd32_extattr_delete_fd */
   8076   1.1  christos 	case 366:
   8077   1.1  christos 		switch(ndx) {
   8078   1.1  christos 		case 0:
   8079   1.1  christos 			p = "int";
   8080   1.1  christos 			break;
   8081   1.1  christos 		case 1:
   8082   1.1  christos 			p = "int";
   8083   1.1  christos 			break;
   8084   1.1  christos 		case 2:
   8085   1.1  christos 			p = "netbsd32_charp";
   8086   1.1  christos 			break;
   8087   1.1  christos 		default:
   8088   1.1  christos 			break;
   8089   1.1  christos 		};
   8090   1.1  christos 		break;
   8091   1.1  christos 	/* netbsd32_extattr_set_link */
   8092   1.1  christos 	case 367:
   8093   1.1  christos 		switch(ndx) {
   8094   1.1  christos 		case 0:
   8095   1.1  christos 			p = "netbsd32_charp";
   8096   1.1  christos 			break;
   8097   1.1  christos 		case 1:
   8098   1.1  christos 			p = "int";
   8099   1.1  christos 			break;
   8100   1.1  christos 		case 2:
   8101   1.1  christos 			p = "netbsd32_charp";
   8102   1.1  christos 			break;
   8103   1.1  christos 		case 3:
   8104   1.1  christos 			p = "netbsd32_voidp";
   8105   1.1  christos 			break;
   8106   1.1  christos 		case 4:
   8107   1.1  christos 			p = "netbsd32_size_t";
   8108   1.1  christos 			break;
   8109   1.1  christos 		default:
   8110   1.1  christos 			break;
   8111   1.1  christos 		};
   8112   1.1  christos 		break;
   8113   1.1  christos 	/* netbsd32_extattr_get_link */
   8114   1.1  christos 	case 368:
   8115   1.1  christos 		switch(ndx) {
   8116   1.1  christos 		case 0:
   8117   1.1  christos 			p = "netbsd32_charp";
   8118   1.1  christos 			break;
   8119   1.1  christos 		case 1:
   8120   1.1  christos 			p = "int";
   8121   1.1  christos 			break;
   8122   1.1  christos 		case 2:
   8123   1.1  christos 			p = "netbsd32_charp";
   8124   1.1  christos 			break;
   8125   1.1  christos 		case 3:
   8126   1.1  christos 			p = "netbsd32_voidp";
   8127   1.1  christos 			break;
   8128   1.1  christos 		case 4:
   8129   1.1  christos 			p = "netbsd32_size_t";
   8130   1.1  christos 			break;
   8131   1.1  christos 		default:
   8132   1.1  christos 			break;
   8133   1.1  christos 		};
   8134   1.1  christos 		break;
   8135   1.1  christos 	/* netbsd32_extattr_delete_link */
   8136   1.1  christos 	case 369:
   8137   1.1  christos 		switch(ndx) {
   8138   1.1  christos 		case 0:
   8139   1.1  christos 			p = "netbsd32_charp";
   8140   1.1  christos 			break;
   8141   1.1  christos 		case 1:
   8142   1.1  christos 			p = "int";
   8143   1.1  christos 			break;
   8144   1.1  christos 		case 2:
   8145   1.1  christos 			p = "netbsd32_charp";
   8146   1.1  christos 			break;
   8147   1.1  christos 		default:
   8148   1.1  christos 			break;
   8149   1.1  christos 		};
   8150   1.1  christos 		break;
   8151   1.1  christos 	/* netbsd32_extattr_list_fd */
   8152   1.1  christos 	case 370:
   8153   1.1  christos 		switch(ndx) {
   8154   1.1  christos 		case 0:
   8155   1.1  christos 			p = "int";
   8156   1.1  christos 			break;
   8157   1.1  christos 		case 1:
   8158   1.1  christos 			p = "int";
   8159   1.1  christos 			break;
   8160   1.1  christos 		case 2:
   8161   1.1  christos 			p = "netbsd32_voidp";
   8162   1.1  christos 			break;
   8163   1.1  christos 		case 3:
   8164   1.1  christos 			p = "netbsd32_size_t";
   8165   1.1  christos 			break;
   8166   1.1  christos 		default:
   8167   1.1  christos 			break;
   8168   1.1  christos 		};
   8169   1.1  christos 		break;
   8170   1.1  christos 	/* netbsd32_extattr_list_file */
   8171   1.1  christos 	case 371:
   8172   1.1  christos 		switch(ndx) {
   8173   1.1  christos 		case 0:
   8174   1.1  christos 			p = "netbsd32_charp";
   8175   1.1  christos 			break;
   8176   1.1  christos 		case 1:
   8177   1.1  christos 			p = "int";
   8178   1.1  christos 			break;
   8179   1.1  christos 		case 2:
   8180   1.1  christos 			p = "netbsd32_voidp";
   8181   1.1  christos 			break;
   8182   1.1  christos 		case 3:
   8183   1.1  christos 			p = "netbsd32_size_t";
   8184   1.1  christos 			break;
   8185   1.1  christos 		default:
   8186   1.1  christos 			break;
   8187   1.1  christos 		};
   8188   1.1  christos 		break;
   8189   1.1  christos 	/* netbsd32_extattr_list_link */
   8190   1.1  christos 	case 372:
   8191   1.1  christos 		switch(ndx) {
   8192   1.1  christos 		case 0:
   8193   1.1  christos 			p = "netbsd32_charp";
   8194   1.1  christos 			break;
   8195   1.1  christos 		case 1:
   8196   1.1  christos 			p = "int";
   8197   1.1  christos 			break;
   8198   1.1  christos 		case 2:
   8199   1.1  christos 			p = "netbsd32_voidp";
   8200   1.1  christos 			break;
   8201   1.1  christos 		case 3:
   8202   1.1  christos 			p = "netbsd32_size_t";
   8203   1.1  christos 			break;
   8204   1.1  christos 		default:
   8205   1.1  christos 			break;
   8206   1.1  christos 		};
   8207   1.1  christos 		break;
   8208   1.1  christos 	/* netbsd32_pselect */
   8209   1.1  christos 	case 373:
   8210   1.1  christos 		switch(ndx) {
   8211   1.1  christos 		case 0:
   8212   1.1  christos 			p = "int";
   8213   1.1  christos 			break;
   8214   1.1  christos 		case 1:
   8215   1.1  christos 			p = "netbsd32_fd_setp_t";
   8216   1.1  christos 			break;
   8217   1.1  christos 		case 2:
   8218   1.1  christos 			p = "netbsd32_fd_setp_t";
   8219   1.1  christos 			break;
   8220   1.1  christos 		case 3:
   8221   1.1  christos 			p = "netbsd32_fd_setp_t";
   8222   1.1  christos 			break;
   8223   1.1  christos 		case 4:
   8224   1.1  christos 			p = "netbsd32_timespec50p_t";
   8225   1.1  christos 			break;
   8226   1.1  christos 		case 5:
   8227   1.1  christos 			p = "netbsd32_sigsetp_t";
   8228   1.1  christos 			break;
   8229   1.1  christos 		default:
   8230   1.1  christos 			break;
   8231   1.1  christos 		};
   8232   1.1  christos 		break;
   8233   1.1  christos 	/* netbsd32_pollts */
   8234   1.1  christos 	case 374:
   8235   1.1  christos 		switch(ndx) {
   8236   1.1  christos 		case 0:
   8237   1.1  christos 			p = "netbsd32_pollfdp_t";
   8238   1.1  christos 			break;
   8239   1.1  christos 		case 1:
   8240   1.1  christos 			p = "u_int";
   8241   1.1  christos 			break;
   8242   1.1  christos 		case 2:
   8243   1.1  christos 			p = "netbsd32_timespec50p_t";
   8244   1.1  christos 			break;
   8245   1.1  christos 		case 3:
   8246   1.1  christos 			p = "netbsd32_sigsetp_t";
   8247   1.1  christos 			break;
   8248   1.1  christos 		default:
   8249   1.1  christos 			break;
   8250   1.1  christos 		};
   8251   1.1  christos 		break;
   8252   1.1  christos 	/* netbsd32_setxattr */
   8253   1.1  christos 	case 375:
   8254   1.1  christos 		switch(ndx) {
   8255   1.1  christos 		case 0:
   8256   1.1  christos 			p = "netbsd32_charp";
   8257   1.1  christos 			break;
   8258   1.1  christos 		case 1:
   8259   1.1  christos 			p = "netbsd32_charp";
   8260   1.1  christos 			break;
   8261   1.1  christos 		case 2:
   8262   1.1  christos 			p = "netbsd32_voidp";
   8263   1.1  christos 			break;
   8264   1.1  christos 		case 3:
   8265   1.1  christos 			p = "netbsd32_size_t";
   8266   1.1  christos 			break;
   8267   1.1  christos 		case 4:
   8268   1.1  christos 			p = "int";
   8269   1.1  christos 			break;
   8270   1.1  christos 		default:
   8271   1.1  christos 			break;
   8272   1.1  christos 		};
   8273   1.1  christos 		break;
   8274   1.1  christos 	/* netbsd32_lsetxattr */
   8275   1.1  christos 	case 376:
   8276   1.1  christos 		switch(ndx) {
   8277   1.1  christos 		case 0:
   8278   1.1  christos 			p = "netbsd32_charp";
   8279   1.1  christos 			break;
   8280   1.1  christos 		case 1:
   8281   1.1  christos 			p = "netbsd32_charp";
   8282   1.1  christos 			break;
   8283   1.1  christos 		case 2:
   8284   1.1  christos 			p = "netbsd32_voidp";
   8285   1.1  christos 			break;
   8286   1.1  christos 		case 3:
   8287   1.1  christos 			p = "netbsd32_size_t";
   8288   1.1  christos 			break;
   8289   1.1  christos 		case 4:
   8290   1.1  christos 			p = "int";
   8291   1.1  christos 			break;
   8292   1.1  christos 		default:
   8293   1.1  christos 			break;
   8294   1.1  christos 		};
   8295   1.1  christos 		break;
   8296   1.1  christos 	/* netbsd32_fsetxattr */
   8297   1.1  christos 	case 377:
   8298   1.1  christos 		switch(ndx) {
   8299   1.1  christos 		case 0:
   8300   1.1  christos 			p = "int";
   8301   1.1  christos 			break;
   8302   1.1  christos 		case 1:
   8303   1.1  christos 			p = "netbsd32_charp";
   8304   1.1  christos 			break;
   8305   1.1  christos 		case 2:
   8306   1.1  christos 			p = "netbsd32_voidp";
   8307   1.1  christos 			break;
   8308   1.1  christos 		case 3:
   8309   1.1  christos 			p = "netbsd32_size_t";
   8310   1.1  christos 			break;
   8311   1.1  christos 		case 4:
   8312   1.1  christos 			p = "int";
   8313   1.1  christos 			break;
   8314   1.1  christos 		default:
   8315   1.1  christos 			break;
   8316   1.1  christos 		};
   8317   1.1  christos 		break;
   8318   1.1  christos 	/* netbsd32_getxattr */
   8319   1.1  christos 	case 378:
   8320   1.1  christos 		switch(ndx) {
   8321   1.1  christos 		case 0:
   8322   1.1  christos 			p = "netbsd32_charp";
   8323   1.1  christos 			break;
   8324   1.1  christos 		case 1:
   8325   1.1  christos 			p = "netbsd32_charp";
   8326   1.1  christos 			break;
   8327   1.1  christos 		case 2:
   8328   1.1  christos 			p = "netbsd32_voidp";
   8329   1.1  christos 			break;
   8330   1.1  christos 		case 3:
   8331   1.1  christos 			p = "netbsd32_size_t";
   8332   1.1  christos 			break;
   8333   1.1  christos 		default:
   8334   1.1  christos 			break;
   8335   1.1  christos 		};
   8336   1.1  christos 		break;
   8337   1.1  christos 	/* netbsd32_lgetxattr */
   8338   1.1  christos 	case 379:
   8339   1.1  christos 		switch(ndx) {
   8340   1.1  christos 		case 0:
   8341   1.1  christos 			p = "netbsd32_charp";
   8342   1.1  christos 			break;
   8343   1.1  christos 		case 1:
   8344   1.1  christos 			p = "netbsd32_charp";
   8345   1.1  christos 			break;
   8346   1.1  christos 		case 2:
   8347   1.1  christos 			p = "netbsd32_voidp";
   8348   1.1  christos 			break;
   8349   1.1  christos 		case 3:
   8350   1.1  christos 			p = "netbsd32_size_t";
   8351   1.1  christos 			break;
   8352   1.1  christos 		default:
   8353   1.1  christos 			break;
   8354   1.1  christos 		};
   8355   1.1  christos 		break;
   8356   1.1  christos 	/* netbsd32_fgetxattr */
   8357   1.1  christos 	case 380:
   8358   1.1  christos 		switch(ndx) {
   8359   1.1  christos 		case 0:
   8360   1.1  christos 			p = "int";
   8361   1.1  christos 			break;
   8362   1.1  christos 		case 1:
   8363   1.1  christos 			p = "netbsd32_charp";
   8364   1.1  christos 			break;
   8365   1.1  christos 		case 2:
   8366   1.1  christos 			p = "netbsd32_voidp";
   8367   1.1  christos 			break;
   8368   1.1  christos 		case 3:
   8369   1.1  christos 			p = "netbsd32_size_t";
   8370   1.1  christos 			break;
   8371   1.1  christos 		default:
   8372   1.1  christos 			break;
   8373   1.1  christos 		};
   8374   1.1  christos 		break;
   8375   1.1  christos 	/* netbsd32_listxattr */
   8376   1.1  christos 	case 381:
   8377   1.1  christos 		switch(ndx) {
   8378   1.1  christos 		case 0:
   8379   1.1  christos 			p = "netbsd32_charp";
   8380   1.1  christos 			break;
   8381   1.1  christos 		case 1:
   8382   1.1  christos 			p = "netbsd32_charp";
   8383   1.1  christos 			break;
   8384   1.1  christos 		case 2:
   8385   1.1  christos 			p = "netbsd32_size_t";
   8386   1.1  christos 			break;
   8387   1.1  christos 		default:
   8388   1.1  christos 			break;
   8389   1.1  christos 		};
   8390   1.1  christos 		break;
   8391   1.1  christos 	/* netbsd32_llistxattr */
   8392   1.1  christos 	case 382:
   8393   1.1  christos 		switch(ndx) {
   8394   1.1  christos 		case 0:
   8395   1.1  christos 			p = "netbsd32_charp";
   8396   1.1  christos 			break;
   8397   1.1  christos 		case 1:
   8398   1.1  christos 			p = "netbsd32_charp";
   8399   1.1  christos 			break;
   8400   1.1  christos 		case 2:
   8401   1.1  christos 			p = "netbsd32_size_t";
   8402   1.1  christos 			break;
   8403   1.1  christos 		default:
   8404   1.1  christos 			break;
   8405   1.1  christos 		};
   8406   1.1  christos 		break;
   8407   1.1  christos 	/* netbsd32_flistxattr */
   8408   1.1  christos 	case 383:
   8409   1.1  christos 		switch(ndx) {
   8410   1.1  christos 		case 0:
   8411   1.1  christos 			p = "int";
   8412   1.1  christos 			break;
   8413   1.1  christos 		case 1:
   8414   1.1  christos 			p = "netbsd32_charp";
   8415   1.1  christos 			break;
   8416   1.1  christos 		case 2:
   8417   1.1  christos 			p = "netbsd32_size_t";
   8418   1.1  christos 			break;
   8419   1.1  christos 		default:
   8420   1.1  christos 			break;
   8421   1.1  christos 		};
   8422   1.1  christos 		break;
   8423   1.1  christos 	/* netbsd32_removexattr */
   8424   1.1  christos 	case 384:
   8425   1.1  christos 		switch(ndx) {
   8426   1.1  christos 		case 0:
   8427   1.1  christos 			p = "netbsd32_charp";
   8428   1.1  christos 			break;
   8429   1.1  christos 		case 1:
   8430   1.1  christos 			p = "netbsd32_charp";
   8431   1.1  christos 			break;
   8432   1.1  christos 		default:
   8433   1.1  christos 			break;
   8434   1.1  christos 		};
   8435   1.1  christos 		break;
   8436   1.1  christos 	/* netbsd32_lremovexattr */
   8437   1.1  christos 	case 385:
   8438   1.1  christos 		switch(ndx) {
   8439   1.1  christos 		case 0:
   8440   1.1  christos 			p = "netbsd32_charp";
   8441   1.1  christos 			break;
   8442   1.1  christos 		case 1:
   8443   1.1  christos 			p = "netbsd32_charp";
   8444   1.1  christos 			break;
   8445   1.1  christos 		default:
   8446   1.1  christos 			break;
   8447   1.1  christos 		};
   8448   1.1  christos 		break;
   8449   1.1  christos 	/* netbsd32_fremovexattr */
   8450   1.1  christos 	case 386:
   8451   1.1  christos 		switch(ndx) {
   8452   1.1  christos 		case 0:
   8453   1.1  christos 			p = "int";
   8454   1.1  christos 			break;
   8455   1.1  christos 		case 1:
   8456   1.1  christos 			p = "netbsd32_charp";
   8457   1.1  christos 			break;
   8458   1.1  christos 		default:
   8459   1.1  christos 			break;
   8460   1.1  christos 		};
   8461   1.1  christos 		break;
   8462   1.1  christos 	/* netbsd32___stat30 */
   8463   1.1  christos 	case 387:
   8464   1.1  christos 		switch(ndx) {
   8465   1.1  christos 		case 0:
   8466   1.1  christos 			p = "netbsd32_charp";
   8467   1.1  christos 			break;
   8468   1.1  christos 		case 1:
   8469   1.1  christos 			p = "netbsd32_stat50p_t";
   8470   1.1  christos 			break;
   8471   1.1  christos 		default:
   8472   1.1  christos 			break;
   8473   1.1  christos 		};
   8474   1.1  christos 		break;
   8475   1.1  christos 	/* netbsd32___fstat30 */
   8476   1.1  christos 	case 388:
   8477   1.1  christos 		switch(ndx) {
   8478   1.1  christos 		case 0:
   8479   1.1  christos 			p = "int";
   8480   1.1  christos 			break;
   8481   1.1  christos 		case 1:
   8482   1.1  christos 			p = "netbsd32_stat50p_t";
   8483   1.1  christos 			break;
   8484   1.1  christos 		default:
   8485   1.1  christos 			break;
   8486   1.1  christos 		};
   8487   1.1  christos 		break;
   8488   1.1  christos 	/* netbsd32___lstat30 */
   8489   1.1  christos 	case 389:
   8490   1.1  christos 		switch(ndx) {
   8491   1.1  christos 		case 0:
   8492   1.1  christos 			p = "netbsd32_charp";
   8493   1.1  christos 			break;
   8494   1.1  christos 		case 1:
   8495   1.1  christos 			p = "netbsd32_stat50p_t";
   8496   1.1  christos 			break;
   8497   1.1  christos 		default:
   8498   1.1  christos 			break;
   8499   1.1  christos 		};
   8500   1.1  christos 		break;
   8501   1.1  christos 	/* netbsd32___getdents30 */
   8502   1.1  christos 	case 390:
   8503   1.1  christos 		switch(ndx) {
   8504   1.1  christos 		case 0:
   8505   1.1  christos 			p = "int";
   8506   1.1  christos 			break;
   8507   1.1  christos 		case 1:
   8508   1.1  christos 			p = "netbsd32_charp";
   8509   1.1  christos 			break;
   8510   1.1  christos 		case 2:
   8511   1.1  christos 			p = "netbsd32_size_t";
   8512   1.1  christos 			break;
   8513   1.1  christos 		default:
   8514   1.1  christos 			break;
   8515   1.1  christos 		};
   8516   1.1  christos 		break;
   8517   1.1  christos 	/* netbsd32___fhstat30 */
   8518   1.1  christos 	case 392:
   8519   1.1  christos 		switch(ndx) {
   8520   1.1  christos 		case 0:
   8521   1.1  christos 			p = "netbsd32_fhandlep_t";
   8522   1.1  christos 			break;
   8523   1.1  christos 		case 1:
   8524   1.1  christos 			p = "netbsd32_stat50p_t";
   8525   1.1  christos 			break;
   8526   1.1  christos 		default:
   8527   1.1  christos 			break;
   8528   1.1  christos 		};
   8529   1.1  christos 		break;
   8530   1.1  christos 	/* netbsd32_ntp_gettime */
   8531   1.1  christos 	case 393:
   8532   1.1  christos 		switch(ndx) {
   8533   1.1  christos 		case 0:
   8534   1.1  christos 			p = "netbsd32_ntptimeval50p_t";
   8535   1.1  christos 			break;
   8536   1.1  christos 		default:
   8537   1.1  christos 			break;
   8538   1.1  christos 		};
   8539   1.1  christos 		break;
   8540   1.1  christos 	/* netbsd32___socket30 */
   8541   1.1  christos 	case 394:
   8542   1.1  christos 		switch(ndx) {
   8543   1.1  christos 		case 0:
   8544   1.1  christos 			p = "int";
   8545   1.1  christos 			break;
   8546   1.1  christos 		case 1:
   8547   1.1  christos 			p = "int";
   8548   1.1  christos 			break;
   8549   1.1  christos 		case 2:
   8550   1.1  christos 			p = "int";
   8551   1.1  christos 			break;
   8552   1.1  christos 		default:
   8553   1.1  christos 			break;
   8554   1.1  christos 		};
   8555   1.1  christos 		break;
   8556   1.1  christos 	/* netbsd32___getfh30 */
   8557   1.1  christos 	case 395:
   8558   1.1  christos 		switch(ndx) {
   8559   1.1  christos 		case 0:
   8560   1.1  christos 			p = "netbsd32_charp";
   8561   1.1  christos 			break;
   8562   1.1  christos 		case 1:
   8563   1.1  christos 			p = "netbsd32_pointer_t";
   8564   1.1  christos 			break;
   8565   1.1  christos 		case 2:
   8566   1.1  christos 			p = "netbsd32_size_tp";
   8567   1.1  christos 			break;
   8568   1.1  christos 		default:
   8569   1.1  christos 			break;
   8570   1.1  christos 		};
   8571   1.1  christos 		break;
   8572   1.1  christos 	/* netbsd32___fhopen40 */
   8573   1.1  christos 	case 396:
   8574   1.1  christos 		switch(ndx) {
   8575   1.1  christos 		case 0:
   8576   1.1  christos 			p = "netbsd32_pointer_t";
   8577   1.1  christos 			break;
   8578   1.1  christos 		case 1:
   8579   1.1  christos 			p = "netbsd32_size_t";
   8580   1.1  christos 			break;
   8581   1.1  christos 		case 2:
   8582   1.1  christos 			p = "int";
   8583   1.1  christos 			break;
   8584   1.1  christos 		default:
   8585   1.1  christos 			break;
   8586   1.1  christos 		};
   8587   1.1  christos 		break;
   8588  1.33  christos 	/* netbsd32_fhstatvfs1 */
   8589   1.1  christos 	case 397:
   8590   1.1  christos 		switch(ndx) {
   8591   1.1  christos 		case 0:
   8592   1.1  christos 			p = "netbsd32_pointer_t";
   8593   1.1  christos 			break;
   8594   1.1  christos 		case 1:
   8595   1.1  christos 			p = "netbsd32_size_t";
   8596   1.1  christos 			break;
   8597   1.1  christos 		case 2:
   8598  1.33  christos 			p = "netbsd32_statvfs90p_t";
   8599   1.1  christos 			break;
   8600   1.1  christos 		case 3:
   8601   1.1  christos 			p = "int";
   8602   1.1  christos 			break;
   8603   1.1  christos 		default:
   8604   1.1  christos 			break;
   8605   1.1  christos 		};
   8606   1.1  christos 		break;
   8607   1.1  christos 	/* netbsd32___fhstat40 */
   8608   1.1  christos 	case 398:
   8609   1.1  christos 		switch(ndx) {
   8610   1.1  christos 		case 0:
   8611   1.1  christos 			p = "netbsd32_pointer_t";
   8612   1.1  christos 			break;
   8613   1.1  christos 		case 1:
   8614   1.1  christos 			p = "netbsd32_size_t";
   8615   1.1  christos 			break;
   8616   1.1  christos 		case 2:
   8617   1.1  christos 			p = "netbsd32_stat50p_t";
   8618   1.1  christos 			break;
   8619   1.1  christos 		default:
   8620   1.1  christos 			break;
   8621   1.1  christos 		};
   8622   1.1  christos 		break;
   8623   1.1  christos 	/* netbsd32___mount50 */
   8624   1.1  christos 	case 410:
   8625   1.1  christos 		switch(ndx) {
   8626   1.1  christos 		case 0:
   8627   1.1  christos 			p = "netbsd32_charp";
   8628   1.1  christos 			break;
   8629   1.1  christos 		case 1:
   8630   1.1  christos 			p = "netbsd32_charp";
   8631   1.1  christos 			break;
   8632   1.1  christos 		case 2:
   8633   1.1  christos 			p = "int";
   8634   1.1  christos 			break;
   8635   1.1  christos 		case 3:
   8636   1.1  christos 			p = "netbsd32_voidp";
   8637   1.1  christos 			break;
   8638   1.1  christos 		case 4:
   8639   1.1  christos 			p = "netbsd32_size_t";
   8640   1.1  christos 			break;
   8641   1.1  christos 		default:
   8642   1.1  christos 			break;
   8643   1.1  christos 		};
   8644   1.1  christos 		break;
   8645   1.1  christos 	/* netbsd32_mremap */
   8646   1.1  christos 	case 411:
   8647   1.1  christos 		switch(ndx) {
   8648   1.1  christos 		case 0:
   8649   1.1  christos 			p = "netbsd32_voidp";
   8650   1.1  christos 			break;
   8651   1.1  christos 		case 1:
   8652   1.1  christos 			p = "netbsd32_size_t";
   8653   1.1  christos 			break;
   8654   1.1  christos 		case 2:
   8655   1.1  christos 			p = "netbsd32_voidp";
   8656   1.1  christos 			break;
   8657   1.1  christos 		case 3:
   8658   1.1  christos 			p = "netbsd32_size_t";
   8659   1.1  christos 			break;
   8660   1.1  christos 		case 4:
   8661   1.1  christos 			p = "int";
   8662   1.1  christos 			break;
   8663   1.1  christos 		default:
   8664   1.1  christos 			break;
   8665   1.1  christos 		};
   8666   1.1  christos 		break;
   8667   1.5    martin 	/* netbsd32_pset_create */
   8668   1.5    martin 	case 412:
   8669   1.5    martin 		switch(ndx) {
   8670   1.5    martin 		case 0:
   8671   1.5    martin 			p = "netbsd32_psetidp_t";
   8672   1.5    martin 			break;
   8673   1.5    martin 		default:
   8674   1.5    martin 			break;
   8675   1.5    martin 		};
   8676   1.5    martin 		break;
   8677   1.5    martin 	/* netbsd32_pset_destroy */
   8678   1.5    martin 	case 413:
   8679   1.5    martin 		switch(ndx) {
   8680   1.5    martin 		case 0:
   8681   1.5    martin 			p = "psetid_t";
   8682   1.5    martin 			break;
   8683   1.5    martin 		default:
   8684   1.5    martin 			break;
   8685   1.5    martin 		};
   8686   1.5    martin 		break;
   8687   1.5    martin 	/* netbsd32_pset_assign */
   8688   1.5    martin 	case 414:
   8689   1.5    martin 		switch(ndx) {
   8690   1.5    martin 		case 0:
   8691   1.5    martin 			p = "psetid_t";
   8692   1.5    martin 			break;
   8693   1.5    martin 		case 1:
   8694   1.5    martin 			p = "cpuid_t";
   8695   1.5    martin 			break;
   8696   1.5    martin 		case 2:
   8697   1.5    martin 			p = "netbsd32_psetidp_t";
   8698   1.5    martin 			break;
   8699   1.5    martin 		default:
   8700   1.5    martin 			break;
   8701   1.5    martin 		};
   8702   1.5    martin 		break;
   8703   1.5    martin 	/* netbsd32__pset_bind */
   8704   1.5    martin 	case 415:
   8705   1.5    martin 		switch(ndx) {
   8706   1.5    martin 		case 0:
   8707   1.5    martin 			p = "idtype_t";
   8708   1.5    martin 			break;
   8709   1.5    martin 		case 1:
   8710   1.5    martin 			p = "id_t";
   8711   1.5    martin 			break;
   8712   1.5    martin 		case 2:
   8713   1.5    martin 			p = "id_t";
   8714   1.5    martin 			break;
   8715   1.5    martin 		case 3:
   8716   1.5    martin 			p = "psetid_t";
   8717   1.5    martin 			break;
   8718   1.5    martin 		case 4:
   8719   1.5    martin 			p = "netbsd32_psetidp_t";
   8720   1.5    martin 			break;
   8721   1.5    martin 		default:
   8722   1.5    martin 			break;
   8723   1.5    martin 		};
   8724   1.5    martin 		break;
   8725   1.1  christos 	/* netbsd32___posix_fadvise50 */
   8726   1.1  christos 	case 416:
   8727   1.1  christos 		switch(ndx) {
   8728   1.1  christos 		case 0:
   8729   1.1  christos 			p = "int";
   8730   1.1  christos 			break;
   8731   1.1  christos 		case 1:
   8732   1.1  christos 			p = "int";
   8733   1.1  christos 			break;
   8734   1.1  christos 		case 2:
   8735   1.1  christos 			p = "netbsd32_off_t";
   8736   1.1  christos 			break;
   8737   1.1  christos 		case 3:
   8738   1.1  christos 			p = "netbsd32_off_t";
   8739   1.1  christos 			break;
   8740   1.1  christos 		case 4:
   8741   1.1  christos 			p = "int";
   8742   1.1  christos 			break;
   8743   1.1  christos 		default:
   8744   1.1  christos 			break;
   8745   1.1  christos 		};
   8746   1.1  christos 		break;
   8747   1.1  christos 	/* netbsd32___select50 */
   8748   1.1  christos 	case 417:
   8749   1.1  christos 		switch(ndx) {
   8750   1.1  christos 		case 0:
   8751   1.1  christos 			p = "int";
   8752   1.1  christos 			break;
   8753   1.1  christos 		case 1:
   8754   1.1  christos 			p = "netbsd32_fd_setp_t";
   8755   1.1  christos 			break;
   8756   1.1  christos 		case 2:
   8757   1.1  christos 			p = "netbsd32_fd_setp_t";
   8758   1.1  christos 			break;
   8759   1.1  christos 		case 3:
   8760   1.1  christos 			p = "netbsd32_fd_setp_t";
   8761   1.1  christos 			break;
   8762   1.1  christos 		case 4:
   8763   1.1  christos 			p = "netbsd32_timevalp_t";
   8764   1.1  christos 			break;
   8765   1.1  christos 		default:
   8766   1.1  christos 			break;
   8767   1.1  christos 		};
   8768   1.1  christos 		break;
   8769   1.1  christos 	/* netbsd32___gettimeofday50 */
   8770   1.1  christos 	case 418:
   8771   1.1  christos 		switch(ndx) {
   8772   1.1  christos 		case 0:
   8773   1.1  christos 			p = "netbsd32_timevalp_t";
   8774   1.1  christos 			break;
   8775   1.1  christos 		case 1:
   8776   1.1  christos 			p = "netbsd32_voidp";
   8777   1.1  christos 			break;
   8778   1.1  christos 		default:
   8779   1.1  christos 			break;
   8780   1.1  christos 		};
   8781   1.1  christos 		break;
   8782   1.1  christos 	/* netbsd32___settimeofday50 */
   8783   1.1  christos 	case 419:
   8784   1.1  christos 		switch(ndx) {
   8785   1.1  christos 		case 0:
   8786   1.1  christos 			p = "const netbsd32_timevalp_t";
   8787   1.1  christos 			break;
   8788   1.1  christos 		case 1:
   8789   1.1  christos 			p = "const netbsd32_voidp";
   8790   1.1  christos 			break;
   8791   1.1  christos 		default:
   8792   1.1  christos 			break;
   8793   1.1  christos 		};
   8794   1.1  christos 		break;
   8795   1.1  christos 	/* netbsd32___utimes50 */
   8796   1.1  christos 	case 420:
   8797   1.1  christos 		switch(ndx) {
   8798   1.1  christos 		case 0:
   8799   1.1  christos 			p = "const netbsd32_charp";
   8800   1.1  christos 			break;
   8801   1.1  christos 		case 1:
   8802   1.1  christos 			p = "const netbsd32_timevalp_t";
   8803   1.1  christos 			break;
   8804   1.1  christos 		default:
   8805   1.1  christos 			break;
   8806   1.1  christos 		};
   8807   1.1  christos 		break;
   8808   1.1  christos 	/* netbsd32___adjtime50 */
   8809   1.1  christos 	case 421:
   8810   1.1  christos 		switch(ndx) {
   8811   1.1  christos 		case 0:
   8812   1.1  christos 			p = "const netbsd32_timevalp_t";
   8813   1.1  christos 			break;
   8814   1.1  christos 		case 1:
   8815   1.1  christos 			p = "netbsd32_timevalp_t";
   8816   1.1  christos 			break;
   8817   1.1  christos 		default:
   8818   1.1  christos 			break;
   8819   1.1  christos 		};
   8820   1.1  christos 		break;
   8821   1.1  christos 	/* netbsd32___futimes50 */
   8822   1.1  christos 	case 423:
   8823   1.1  christos 		switch(ndx) {
   8824   1.1  christos 		case 0:
   8825   1.1  christos 			p = "int";
   8826   1.1  christos 			break;
   8827   1.1  christos 		case 1:
   8828   1.1  christos 			p = "const netbsd32_timevalp_t";
   8829   1.1  christos 			break;
   8830   1.1  christos 		default:
   8831   1.1  christos 			break;
   8832   1.1  christos 		};
   8833   1.1  christos 		break;
   8834   1.1  christos 	/* netbsd32___lutimes50 */
   8835   1.1  christos 	case 424:
   8836   1.1  christos 		switch(ndx) {
   8837   1.1  christos 		case 0:
   8838   1.1  christos 			p = "const netbsd32_charp";
   8839   1.1  christos 			break;
   8840   1.1  christos 		case 1:
   8841   1.1  christos 			p = "const netbsd32_timevalp_t";
   8842   1.1  christos 			break;
   8843   1.1  christos 		default:
   8844   1.1  christos 			break;
   8845   1.1  christos 		};
   8846   1.1  christos 		break;
   8847   1.1  christos 	/* netbsd32___setitimer50 */
   8848   1.1  christos 	case 425:
   8849   1.1  christos 		switch(ndx) {
   8850   1.1  christos 		case 0:
   8851   1.1  christos 			p = "int";
   8852   1.1  christos 			break;
   8853   1.1  christos 		case 1:
   8854   1.1  christos 			p = "const netbsd32_itimervalp_t";
   8855   1.1  christos 			break;
   8856   1.1  christos 		case 2:
   8857   1.1  christos 			p = "netbsd32_itimervalp_t";
   8858   1.1  christos 			break;
   8859   1.1  christos 		default:
   8860   1.1  christos 			break;
   8861   1.1  christos 		};
   8862   1.1  christos 		break;
   8863   1.1  christos 	/* netbsd32___getitimer50 */
   8864   1.1  christos 	case 426:
   8865   1.1  christos 		switch(ndx) {
   8866   1.1  christos 		case 0:
   8867   1.1  christos 			p = "int";
   8868   1.1  christos 			break;
   8869   1.1  christos 		case 1:
   8870   1.1  christos 			p = "netbsd32_itimervalp_t";
   8871   1.1  christos 			break;
   8872   1.1  christos 		default:
   8873   1.1  christos 			break;
   8874   1.1  christos 		};
   8875   1.1  christos 		break;
   8876   1.1  christos 	/* netbsd32___clock_gettime50 */
   8877   1.1  christos 	case 427:
   8878   1.1  christos 		switch(ndx) {
   8879   1.1  christos 		case 0:
   8880   1.1  christos 			p = "clockid_t";
   8881   1.1  christos 			break;
   8882   1.1  christos 		case 1:
   8883   1.1  christos 			p = "netbsd32_timespecp_t";
   8884   1.1  christos 			break;
   8885   1.1  christos 		default:
   8886   1.1  christos 			break;
   8887   1.1  christos 		};
   8888   1.1  christos 		break;
   8889   1.1  christos 	/* netbsd32___clock_settime50 */
   8890   1.1  christos 	case 428:
   8891   1.1  christos 		switch(ndx) {
   8892   1.1  christos 		case 0:
   8893   1.1  christos 			p = "clockid_t";
   8894   1.1  christos 			break;
   8895   1.1  christos 		case 1:
   8896   1.1  christos 			p = "const netbsd32_timespecp_t";
   8897   1.1  christos 			break;
   8898   1.1  christos 		default:
   8899   1.1  christos 			break;
   8900   1.1  christos 		};
   8901   1.1  christos 		break;
   8902   1.1  christos 	/* netbsd32___clock_getres50 */
   8903   1.1  christos 	case 429:
   8904   1.1  christos 		switch(ndx) {
   8905   1.1  christos 		case 0:
   8906   1.1  christos 			p = "clockid_t";
   8907   1.1  christos 			break;
   8908   1.1  christos 		case 1:
   8909   1.1  christos 			p = "netbsd32_timespecp_t";
   8910   1.1  christos 			break;
   8911   1.1  christos 		default:
   8912   1.1  christos 			break;
   8913   1.1  christos 		};
   8914   1.1  christos 		break;
   8915   1.1  christos 	/* netbsd32___nanosleep50 */
   8916   1.1  christos 	case 430:
   8917   1.1  christos 		switch(ndx) {
   8918   1.1  christos 		case 0:
   8919   1.1  christos 			p = "const netbsd32_timespecp_t";
   8920   1.1  christos 			break;
   8921   1.1  christos 		case 1:
   8922   1.1  christos 			p = "netbsd32_timespecp_t";
   8923   1.1  christos 			break;
   8924   1.1  christos 		default:
   8925   1.1  christos 			break;
   8926   1.1  christos 		};
   8927   1.1  christos 		break;
   8928   1.1  christos 	/* netbsd32_____sigtimedwait50 */
   8929   1.1  christos 	case 431:
   8930   1.1  christos 		switch(ndx) {
   8931   1.1  christos 		case 0:
   8932   1.1  christos 			p = "const netbsd32_sigsetp_t";
   8933   1.1  christos 			break;
   8934   1.1  christos 		case 1:
   8935   1.1  christos 			p = "netbsd32_siginfop_t";
   8936   1.1  christos 			break;
   8937   1.1  christos 		case 2:
   8938   1.1  christos 			p = "netbsd32_timespecp_t";
   8939   1.1  christos 			break;
   8940   1.1  christos 		default:
   8941   1.1  christos 			break;
   8942   1.1  christos 		};
   8943   1.1  christos 		break;
   8944   1.4    martin 	/* netbsd32___mq_timedsend50 */
   8945   1.4    martin 	case 432:
   8946   1.4    martin 		switch(ndx) {
   8947   1.4    martin 		case 0:
   8948   1.4    martin 			p = "mqd_t";
   8949   1.4    martin 			break;
   8950   1.4    martin 		case 1:
   8951   1.4    martin 			p = "const netbsd32_charp";
   8952   1.4    martin 			break;
   8953   1.4    martin 		case 2:
   8954   1.4    martin 			p = "netbsd32_size_t";
   8955   1.4    martin 			break;
   8956   1.4    martin 		case 3:
   8957   1.4    martin 			p = "unsigned";
   8958   1.4    martin 			break;
   8959   1.4    martin 		case 4:
   8960   1.4    martin 			p = "const netbsd32_timespecp_t";
   8961   1.4    martin 			break;
   8962   1.4    martin 		default:
   8963   1.4    martin 			break;
   8964   1.4    martin 		};
   8965   1.4    martin 		break;
   8966   1.4    martin 	/* netbsd32___mq_timedreceive50 */
   8967   1.4    martin 	case 433:
   8968   1.4    martin 		switch(ndx) {
   8969   1.4    martin 		case 0:
   8970   1.4    martin 			p = "mqd_t";
   8971   1.4    martin 			break;
   8972   1.4    martin 		case 1:
   8973   1.4    martin 			p = "netbsd32_charp";
   8974   1.4    martin 			break;
   8975   1.4    martin 		case 2:
   8976   1.4    martin 			p = "netbsd32_size_t";
   8977   1.4    martin 			break;
   8978   1.4    martin 		case 3:
   8979   1.4    martin 			p = "netbsd32_uintp";
   8980   1.4    martin 			break;
   8981   1.4    martin 		case 4:
   8982   1.4    martin 			p = "const netbsd32_timespecp_t";
   8983   1.4    martin 			break;
   8984   1.4    martin 		default:
   8985   1.4    martin 			break;
   8986   1.4    martin 		};
   8987   1.4    martin 		break;
   8988   1.1  christos 	/* netbsd32__lwp_park */
   8989   1.1  christos 	case 434:
   8990   1.1  christos 		switch(ndx) {
   8991   1.1  christos 		case 0:
   8992   1.1  christos 			p = "const netbsd32_timespecp_t";
   8993   1.1  christos 			break;
   8994   1.1  christos 		case 1:
   8995   1.1  christos 			p = "lwpid_t";
   8996   1.1  christos 			break;
   8997   1.1  christos 		case 2:
   8998   1.1  christos 			p = "const netbsd32_voidp";
   8999   1.1  christos 			break;
   9000   1.1  christos 		case 3:
   9001   1.1  christos 			p = "const netbsd32_voidp";
   9002   1.1  christos 			break;
   9003   1.1  christos 		default:
   9004   1.1  christos 			break;
   9005   1.1  christos 		};
   9006   1.1  christos 		break;
   9007   1.1  christos 	/* netbsd32___kevent50 */
   9008   1.1  christos 	case 435:
   9009   1.1  christos 		switch(ndx) {
   9010   1.1  christos 		case 0:
   9011   1.1  christos 			p = "int";
   9012   1.1  christos 			break;
   9013   1.1  christos 		case 1:
   9014  1.50       rin 			p = "const netbsd32_kevent100p_t";
   9015   1.1  christos 			break;
   9016   1.1  christos 		case 2:
   9017   1.1  christos 			p = "netbsd32_size_t";
   9018   1.1  christos 			break;
   9019   1.1  christos 		case 3:
   9020  1.50       rin 			p = "netbsd32_kevent100p_t";
   9021   1.1  christos 			break;
   9022   1.1  christos 		case 4:
   9023   1.1  christos 			p = "netbsd32_size_t";
   9024   1.1  christos 			break;
   9025   1.1  christos 		case 5:
   9026   1.1  christos 			p = "const netbsd32_timespecp_t";
   9027   1.1  christos 			break;
   9028   1.1  christos 		default:
   9029   1.1  christos 			break;
   9030   1.1  christos 		};
   9031   1.1  christos 		break;
   9032   1.1  christos 	/* netbsd32___pselect50 */
   9033   1.1  christos 	case 436:
   9034   1.1  christos 		switch(ndx) {
   9035   1.1  christos 		case 0:
   9036   1.1  christos 			p = "int";
   9037   1.1  christos 			break;
   9038   1.1  christos 		case 1:
   9039   1.1  christos 			p = "netbsd32_fd_setp_t";
   9040   1.1  christos 			break;
   9041   1.1  christos 		case 2:
   9042   1.1  christos 			p = "netbsd32_fd_setp_t";
   9043   1.1  christos 			break;
   9044   1.1  christos 		case 3:
   9045   1.1  christos 			p = "netbsd32_fd_setp_t";
   9046   1.1  christos 			break;
   9047   1.1  christos 		case 4:
   9048   1.1  christos 			p = "const netbsd32_timespecp_t";
   9049   1.1  christos 			break;
   9050   1.1  christos 		case 5:
   9051   1.1  christos 			p = "const netbsd32_sigsetp_t";
   9052   1.1  christos 			break;
   9053   1.1  christos 		default:
   9054   1.1  christos 			break;
   9055   1.1  christos 		};
   9056   1.1  christos 		break;
   9057   1.1  christos 	/* netbsd32___pollts50 */
   9058   1.1  christos 	case 437:
   9059   1.1  christos 		switch(ndx) {
   9060   1.1  christos 		case 0:
   9061   1.1  christos 			p = "netbsd32_pollfdp_t";
   9062   1.1  christos 			break;
   9063   1.1  christos 		case 1:
   9064   1.1  christos 			p = "u_int";
   9065   1.1  christos 			break;
   9066   1.1  christos 		case 2:
   9067   1.1  christos 			p = "const netbsd32_timespecp_t";
   9068   1.1  christos 			break;
   9069   1.1  christos 		case 3:
   9070   1.1  christos 			p = "const netbsd32_sigsetp_t";
   9071   1.1  christos 			break;
   9072   1.1  christos 		default:
   9073   1.1  christos 			break;
   9074   1.1  christos 		};
   9075   1.1  christos 		break;
   9076   1.1  christos 	/* netbsd32___stat50 */
   9077   1.1  christos 	case 439:
   9078   1.1  christos 		switch(ndx) {
   9079   1.1  christos 		case 0:
   9080   1.1  christos 			p = "const netbsd32_charp";
   9081   1.1  christos 			break;
   9082   1.1  christos 		case 1:
   9083   1.1  christos 			p = "netbsd32_statp_t";
   9084   1.1  christos 			break;
   9085   1.1  christos 		default:
   9086   1.1  christos 			break;
   9087   1.1  christos 		};
   9088   1.1  christos 		break;
   9089   1.1  christos 	/* netbsd32___fstat50 */
   9090   1.1  christos 	case 440:
   9091   1.1  christos 		switch(ndx) {
   9092   1.1  christos 		case 0:
   9093   1.1  christos 			p = "int";
   9094   1.1  christos 			break;
   9095   1.1  christos 		case 1:
   9096   1.1  christos 			p = "netbsd32_statp_t";
   9097   1.1  christos 			break;
   9098   1.1  christos 		default:
   9099   1.1  christos 			break;
   9100   1.1  christos 		};
   9101   1.1  christos 		break;
   9102   1.1  christos 	/* netbsd32___lstat50 */
   9103   1.1  christos 	case 441:
   9104   1.1  christos 		switch(ndx) {
   9105   1.1  christos 		case 0:
   9106   1.1  christos 			p = "const netbsd32_charp";
   9107   1.1  christos 			break;
   9108   1.1  christos 		case 1:
   9109   1.1  christos 			p = "netbsd32_statp_t";
   9110   1.1  christos 			break;
   9111   1.1  christos 		default:
   9112   1.1  christos 			break;
   9113   1.1  christos 		};
   9114   1.1  christos 		break;
   9115   1.1  christos 	/* netbsd32_____semctl50 */
   9116   1.1  christos 	case 442:
   9117   1.1  christos 		switch(ndx) {
   9118   1.1  christos 		case 0:
   9119   1.1  christos 			p = "int";
   9120   1.1  christos 			break;
   9121   1.1  christos 		case 1:
   9122   1.1  christos 			p = "int";
   9123   1.1  christos 			break;
   9124   1.1  christos 		case 2:
   9125   1.1  christos 			p = "int";
   9126   1.1  christos 			break;
   9127   1.1  christos 		case 3:
   9128   1.1  christos 			p = "netbsd32_semunp_t";
   9129   1.1  christos 			break;
   9130   1.1  christos 		default:
   9131   1.1  christos 			break;
   9132   1.1  christos 		};
   9133   1.1  christos 		break;
   9134   1.1  christos 	/* netbsd32___shmctl50 */
   9135   1.1  christos 	case 443:
   9136   1.1  christos 		switch(ndx) {
   9137   1.1  christos 		case 0:
   9138   1.1  christos 			p = "int";
   9139   1.1  christos 			break;
   9140   1.1  christos 		case 1:
   9141   1.1  christos 			p = "int";
   9142   1.1  christos 			break;
   9143   1.1  christos 		case 2:
   9144   1.1  christos 			p = "netbsd32_shmid_dsp_t";
   9145   1.1  christos 			break;
   9146   1.1  christos 		default:
   9147   1.1  christos 			break;
   9148   1.1  christos 		};
   9149   1.1  christos 		break;
   9150   1.1  christos 	/* netbsd32___msgctl50 */
   9151   1.1  christos 	case 444:
   9152   1.1  christos 		switch(ndx) {
   9153   1.1  christos 		case 0:
   9154   1.1  christos 			p = "int";
   9155   1.1  christos 			break;
   9156   1.1  christos 		case 1:
   9157   1.1  christos 			p = "int";
   9158   1.1  christos 			break;
   9159   1.1  christos 		case 2:
   9160   1.1  christos 			p = "netbsd32_msqid_dsp_t";
   9161   1.1  christos 			break;
   9162   1.1  christos 		default:
   9163   1.1  christos 			break;
   9164   1.1  christos 		};
   9165   1.1  christos 		break;
   9166   1.1  christos 	/* netbsd32___getrusage50 */
   9167   1.1  christos 	case 445:
   9168   1.1  christos 		switch(ndx) {
   9169   1.1  christos 		case 0:
   9170   1.1  christos 			p = "int";
   9171   1.1  christos 			break;
   9172   1.1  christos 		case 1:
   9173   1.1  christos 			p = "netbsd32_rusagep_t";
   9174   1.1  christos 			break;
   9175   1.1  christos 		default:
   9176   1.1  christos 			break;
   9177   1.1  christos 		};
   9178   1.1  christos 		break;
   9179   1.1  christos 	/* netbsd32___timer_settime50 */
   9180   1.1  christos 	case 446:
   9181   1.1  christos 		switch(ndx) {
   9182   1.1  christos 		case 0:
   9183   1.1  christos 			p = "timer_t";
   9184   1.1  christos 			break;
   9185   1.1  christos 		case 1:
   9186   1.1  christos 			p = "int";
   9187   1.1  christos 			break;
   9188   1.1  christos 		case 2:
   9189   1.1  christos 			p = "const netbsd32_itimerspecp_t";
   9190   1.1  christos 			break;
   9191   1.1  christos 		case 3:
   9192   1.1  christos 			p = "netbsd32_itimerspecp_t";
   9193   1.1  christos 			break;
   9194   1.1  christos 		default:
   9195   1.1  christos 			break;
   9196   1.1  christos 		};
   9197   1.1  christos 		break;
   9198   1.1  christos 	/* netbsd32___timer_gettime50 */
   9199   1.1  christos 	case 447:
   9200   1.1  christos 		switch(ndx) {
   9201   1.1  christos 		case 0:
   9202   1.1  christos 			p = "timer_t";
   9203   1.1  christos 			break;
   9204   1.1  christos 		case 1:
   9205   1.1  christos 			p = "netbsd32_itimerspecp_t";
   9206   1.1  christos 			break;
   9207   1.1  christos 		default:
   9208   1.1  christos 			break;
   9209   1.1  christos 		};
   9210   1.1  christos 		break;
   9211   1.1  christos #if defined(NTP) || !defined(_KERNEL_OPT)
   9212   1.1  christos 	/* netbsd32___ntp_gettime50 */
   9213   1.1  christos 	case 448:
   9214   1.1  christos 		switch(ndx) {
   9215   1.1  christos 		case 0:
   9216   1.1  christos 			p = "netbsd32_ntptimevalp_t";
   9217   1.1  christos 			break;
   9218   1.1  christos 		default:
   9219   1.1  christos 			break;
   9220   1.1  christos 		};
   9221   1.1  christos 		break;
   9222   1.1  christos #else
   9223   1.1  christos #endif
   9224   1.1  christos 	/* netbsd32___wait450 */
   9225   1.1  christos 	case 449:
   9226   1.1  christos 		switch(ndx) {
   9227   1.1  christos 		case 0:
   9228   1.1  christos 			p = "int";
   9229   1.1  christos 			break;
   9230   1.1  christos 		case 1:
   9231   1.1  christos 			p = "netbsd32_intp";
   9232   1.1  christos 			break;
   9233   1.1  christos 		case 2:
   9234   1.1  christos 			p = "int";
   9235   1.1  christos 			break;
   9236   1.1  christos 		case 3:
   9237   1.1  christos 			p = "netbsd32_rusagep_t";
   9238   1.1  christos 			break;
   9239   1.1  christos 		default:
   9240   1.1  christos 			break;
   9241   1.1  christos 		};
   9242   1.1  christos 		break;
   9243   1.1  christos 	/* netbsd32___mknod50 */
   9244   1.1  christos 	case 450:
   9245   1.1  christos 		switch(ndx) {
   9246   1.1  christos 		case 0:
   9247   1.1  christos 			p = "const netbsd32_charp";
   9248   1.1  christos 			break;
   9249   1.1  christos 		case 1:
   9250   1.1  christos 			p = "mode_t";
   9251   1.1  christos 			break;
   9252   1.1  christos 		case 2:
   9253   1.1  christos 			p = "netbsd32_dev_t";
   9254   1.1  christos 			break;
   9255   1.1  christos 		default:
   9256   1.1  christos 			break;
   9257   1.1  christos 		};
   9258   1.1  christos 		break;
   9259   1.1  christos 	/* netbsd32___fhstat50 */
   9260   1.1  christos 	case 451:
   9261   1.1  christos 		switch(ndx) {
   9262   1.1  christos 		case 0:
   9263   1.1  christos 			p = "const netbsd32_voidp";
   9264   1.1  christos 			break;
   9265   1.1  christos 		case 1:
   9266   1.1  christos 			p = "netbsd32_size_t";
   9267   1.1  christos 			break;
   9268   1.1  christos 		case 2:
   9269   1.1  christos 			p = "netbsd32_statp_t";
   9270   1.1  christos 			break;
   9271   1.1  christos 		default:
   9272   1.1  christos 			break;
   9273   1.1  christos 		};
   9274   1.1  christos 		break;
   9275   1.1  christos 	/* netbsd32_pipe2 */
   9276   1.1  christos 	case 453:
   9277   1.1  christos 		switch(ndx) {
   9278   1.1  christos 		case 0:
   9279   1.1  christos 			p = "netbsd32_intp";
   9280   1.1  christos 			break;
   9281   1.1  christos 		case 1:
   9282   1.1  christos 			p = "int";
   9283   1.1  christos 			break;
   9284   1.1  christos 		default:
   9285   1.1  christos 			break;
   9286   1.1  christos 		};
   9287   1.1  christos 		break;
   9288   1.1  christos 	/* netbsd32_dup3 */
   9289   1.1  christos 	case 454:
   9290   1.1  christos 		switch(ndx) {
   9291   1.1  christos 		case 0:
   9292   1.1  christos 			p = "int";
   9293   1.1  christos 			break;
   9294   1.1  christos 		case 1:
   9295   1.1  christos 			p = "int";
   9296   1.1  christos 			break;
   9297   1.1  christos 		case 2:
   9298   1.1  christos 			p = "int";
   9299   1.1  christos 			break;
   9300   1.1  christos 		default:
   9301   1.1  christos 			break;
   9302   1.1  christos 		};
   9303   1.1  christos 		break;
   9304   1.1  christos 	/* netbsd32_kqueue1 */
   9305   1.1  christos 	case 455:
   9306   1.1  christos 		switch(ndx) {
   9307   1.1  christos 		case 0:
   9308   1.1  christos 			p = "int";
   9309   1.1  christos 			break;
   9310   1.1  christos 		default:
   9311   1.1  christos 			break;
   9312   1.1  christos 		};
   9313   1.1  christos 		break;
   9314   1.1  christos 	/* netbsd32_paccept */
   9315   1.1  christos 	case 456:
   9316   1.1  christos 		switch(ndx) {
   9317   1.1  christos 		case 0:
   9318   1.1  christos 			p = "int";
   9319   1.1  christos 			break;
   9320   1.1  christos 		case 1:
   9321   1.1  christos 			p = "netbsd32_sockaddrp_t";
   9322   1.1  christos 			break;
   9323   1.1  christos 		case 2:
   9324   1.1  christos 			p = "netbsd32_socklenp_t";
   9325   1.1  christos 			break;
   9326   1.1  christos 		case 3:
   9327   1.1  christos 			p = "const netbsd32_sigsetp_t";
   9328   1.1  christos 			break;
   9329   1.1  christos 		case 4:
   9330   1.1  christos 			p = "int";
   9331   1.1  christos 			break;
   9332   1.1  christos 		default:
   9333   1.1  christos 			break;
   9334   1.1  christos 		};
   9335   1.1  christos 		break;
   9336   1.1  christos 	/* netbsd32_linkat */
   9337   1.1  christos 	case 457:
   9338   1.1  christos 		switch(ndx) {
   9339   1.1  christos 		case 0:
   9340   1.1  christos 			p = "int";
   9341   1.1  christos 			break;
   9342   1.1  christos 		case 1:
   9343   1.1  christos 			p = "const netbsd32_charp";
   9344   1.1  christos 			break;
   9345   1.1  christos 		case 2:
   9346   1.1  christos 			p = "int";
   9347   1.1  christos 			break;
   9348   1.1  christos 		case 3:
   9349   1.1  christos 			p = "const netbsd32_charp";
   9350   1.1  christos 			break;
   9351   1.1  christos 		case 4:
   9352   1.1  christos 			p = "int";
   9353   1.1  christos 			break;
   9354   1.1  christos 		default:
   9355   1.1  christos 			break;
   9356   1.1  christos 		};
   9357   1.1  christos 		break;
   9358   1.1  christos 	/* netbsd32_renameat */
   9359   1.1  christos 	case 458:
   9360   1.1  christos 		switch(ndx) {
   9361   1.1  christos 		case 0:
   9362   1.1  christos 			p = "int";
   9363   1.1  christos 			break;
   9364   1.1  christos 		case 1:
   9365   1.1  christos 			p = "const netbsd32_charp";
   9366   1.1  christos 			break;
   9367   1.1  christos 		case 2:
   9368   1.1  christos 			p = "int";
   9369   1.1  christos 			break;
   9370   1.1  christos 		case 3:
   9371   1.1  christos 			p = "const netbsd32_charp";
   9372   1.1  christos 			break;
   9373   1.1  christos 		default:
   9374   1.1  christos 			break;
   9375   1.1  christos 		};
   9376   1.1  christos 		break;
   9377   1.1  christos 	/* netbsd32_mkfifoat */
   9378   1.1  christos 	case 459:
   9379   1.1  christos 		switch(ndx) {
   9380   1.1  christos 		case 0:
   9381   1.1  christos 			p = "int";
   9382   1.1  christos 			break;
   9383   1.1  christos 		case 1:
   9384   1.1  christos 			p = "const netbsd32_charp";
   9385   1.1  christos 			break;
   9386   1.1  christos 		case 2:
   9387   1.1  christos 			p = "mode_t";
   9388   1.1  christos 			break;
   9389   1.1  christos 		default:
   9390   1.1  christos 			break;
   9391   1.1  christos 		};
   9392   1.1  christos 		break;
   9393   1.1  christos 	/* netbsd32_mknodat */
   9394   1.1  christos 	case 460:
   9395   1.1  christos 		switch(ndx) {
   9396   1.1  christos 		case 0:
   9397   1.1  christos 			p = "int";
   9398   1.1  christos 			break;
   9399   1.1  christos 		case 1:
   9400   1.1  christos 			p = "const netbsd32_charp";
   9401   1.1  christos 			break;
   9402   1.1  christos 		case 2:
   9403   1.1  christos 			p = "mode_t";
   9404   1.1  christos 			break;
   9405   1.1  christos 		case 3:
   9406   1.1  christos 			p = "int";
   9407   1.1  christos 			break;
   9408   1.1  christos 		case 4:
   9409   1.1  christos 			p = "netbsd32_dev_t";
   9410   1.1  christos 			break;
   9411   1.1  christos 		default:
   9412   1.1  christos 			break;
   9413   1.1  christos 		};
   9414   1.1  christos 		break;
   9415   1.1  christos 	/* netbsd32_mkdirat */
   9416   1.1  christos 	case 461:
   9417   1.1  christos 		switch(ndx) {
   9418   1.1  christos 		case 0:
   9419   1.1  christos 			p = "int";
   9420   1.1  christos 			break;
   9421   1.1  christos 		case 1:
   9422   1.1  christos 			p = "const netbsd32_charp";
   9423   1.1  christos 			break;
   9424   1.1  christos 		case 2:
   9425   1.1  christos 			p = "mode_t";
   9426   1.1  christos 			break;
   9427   1.1  christos 		default:
   9428   1.1  christos 			break;
   9429   1.1  christos 		};
   9430   1.1  christos 		break;
   9431   1.1  christos 	/* netbsd32_faccessat */
   9432   1.1  christos 	case 462:
   9433   1.1  christos 		switch(ndx) {
   9434   1.1  christos 		case 0:
   9435   1.1  christos 			p = "int";
   9436   1.1  christos 			break;
   9437   1.1  christos 		case 1:
   9438   1.1  christos 			p = "const netbsd32_charp";
   9439   1.1  christos 			break;
   9440   1.1  christos 		case 2:
   9441   1.1  christos 			p = "int";
   9442   1.1  christos 			break;
   9443   1.1  christos 		case 3:
   9444   1.1  christos 			p = "int";
   9445   1.1  christos 			break;
   9446   1.1  christos 		default:
   9447   1.1  christos 			break;
   9448   1.1  christos 		};
   9449   1.1  christos 		break;
   9450   1.1  christos 	/* netbsd32_fchmodat */
   9451   1.1  christos 	case 463:
   9452   1.1  christos 		switch(ndx) {
   9453   1.1  christos 		case 0:
   9454   1.1  christos 			p = "int";
   9455   1.1  christos 			break;
   9456   1.1  christos 		case 1:
   9457   1.1  christos 			p = "const netbsd32_charp";
   9458   1.1  christos 			break;
   9459   1.1  christos 		case 2:
   9460   1.1  christos 			p = "mode_t";
   9461   1.1  christos 			break;
   9462   1.1  christos 		case 3:
   9463   1.1  christos 			p = "int";
   9464   1.1  christos 			break;
   9465   1.1  christos 		default:
   9466   1.1  christos 			break;
   9467   1.1  christos 		};
   9468   1.1  christos 		break;
   9469   1.1  christos 	/* netbsd32_fchownat */
   9470   1.1  christos 	case 464:
   9471   1.1  christos 		switch(ndx) {
   9472   1.1  christos 		case 0:
   9473   1.1  christos 			p = "int";
   9474   1.1  christos 			break;
   9475   1.1  christos 		case 1:
   9476   1.1  christos 			p = "const netbsd32_charp";
   9477   1.1  christos 			break;
   9478   1.1  christos 		case 2:
   9479   1.1  christos 			p = "uid_t";
   9480   1.1  christos 			break;
   9481   1.1  christos 		case 3:
   9482   1.1  christos 			p = "gid_t";
   9483   1.1  christos 			break;
   9484   1.1  christos 		case 4:
   9485   1.1  christos 			p = "int";
   9486   1.1  christos 			break;
   9487   1.1  christos 		default:
   9488   1.1  christos 			break;
   9489   1.1  christos 		};
   9490   1.1  christos 		break;
   9491   1.1  christos 	/* netbsd32_fexecve */
   9492   1.1  christos 	case 465:
   9493   1.1  christos 		switch(ndx) {
   9494   1.1  christos 		case 0:
   9495   1.1  christos 			p = "int";
   9496   1.1  christos 			break;
   9497   1.1  christos 		case 1:
   9498   1.1  christos 			p = "netbsd32_charpp";
   9499   1.1  christos 			break;
   9500   1.1  christos 		case 2:
   9501   1.1  christos 			p = "netbsd32_charpp";
   9502   1.1  christos 			break;
   9503   1.1  christos 		default:
   9504   1.1  christos 			break;
   9505   1.1  christos 		};
   9506   1.1  christos 		break;
   9507   1.1  christos 	/* netbsd32_fstatat */
   9508   1.1  christos 	case 466:
   9509   1.1  christos 		switch(ndx) {
   9510   1.1  christos 		case 0:
   9511   1.1  christos 			p = "int";
   9512   1.1  christos 			break;
   9513   1.1  christos 		case 1:
   9514   1.1  christos 			p = "const netbsd32_charp";
   9515   1.1  christos 			break;
   9516   1.1  christos 		case 2:
   9517   1.1  christos 			p = "netbsd32_statp_t";
   9518   1.1  christos 			break;
   9519   1.1  christos 		case 3:
   9520   1.1  christos 			p = "int";
   9521   1.1  christos 			break;
   9522   1.1  christos 		default:
   9523   1.1  christos 			break;
   9524   1.1  christos 		};
   9525   1.1  christos 		break;
   9526   1.1  christos 	/* netbsd32_utimensat */
   9527   1.1  christos 	case 467:
   9528   1.1  christos 		switch(ndx) {
   9529   1.1  christos 		case 0:
   9530   1.1  christos 			p = "int";
   9531   1.1  christos 			break;
   9532   1.1  christos 		case 1:
   9533   1.1  christos 			p = "const netbsd32_charp";
   9534   1.1  christos 			break;
   9535   1.1  christos 		case 2:
   9536   1.1  christos 			p = "const netbsd32_timespecp_t";
   9537   1.1  christos 			break;
   9538   1.1  christos 		case 3:
   9539   1.1  christos 			p = "int";
   9540   1.1  christos 			break;
   9541   1.1  christos 		default:
   9542   1.1  christos 			break;
   9543   1.1  christos 		};
   9544   1.1  christos 		break;
   9545   1.1  christos 	/* netbsd32_openat */
   9546   1.1  christos 	case 468:
   9547   1.1  christos 		switch(ndx) {
   9548   1.1  christos 		case 0:
   9549   1.1  christos 			p = "int";
   9550   1.1  christos 			break;
   9551   1.1  christos 		case 1:
   9552   1.1  christos 			p = "const netbsd32_charp";
   9553   1.1  christos 			break;
   9554   1.1  christos 		case 2:
   9555   1.1  christos 			p = "int";
   9556   1.1  christos 			break;
   9557   1.1  christos 		case 3:
   9558   1.1  christos 			p = "mode_t";
   9559   1.1  christos 			break;
   9560   1.1  christos 		default:
   9561   1.1  christos 			break;
   9562   1.1  christos 		};
   9563   1.1  christos 		break;
   9564   1.1  christos 	/* netbsd32_readlinkat */
   9565   1.1  christos 	case 469:
   9566   1.1  christos 		switch(ndx) {
   9567   1.1  christos 		case 0:
   9568   1.1  christos 			p = "int";
   9569   1.1  christos 			break;
   9570   1.1  christos 		case 1:
   9571   1.1  christos 			p = "const netbsd32_charp";
   9572   1.1  christos 			break;
   9573   1.1  christos 		case 2:
   9574   1.1  christos 			p = "netbsd32_charp";
   9575   1.1  christos 			break;
   9576   1.1  christos 		case 3:
   9577  1.35       rin 			p = "netbsd32_size_t";
   9578   1.1  christos 			break;
   9579   1.1  christos 		default:
   9580   1.1  christos 			break;
   9581   1.1  christos 		};
   9582   1.1  christos 		break;
   9583   1.1  christos 	/* netbsd32_symlinkat */
   9584   1.1  christos 	case 470:
   9585   1.1  christos 		switch(ndx) {
   9586   1.1  christos 		case 0:
   9587   1.1  christos 			p = "const netbsd32_charp";
   9588   1.1  christos 			break;
   9589   1.1  christos 		case 1:
   9590   1.1  christos 			p = "int";
   9591   1.1  christos 			break;
   9592   1.1  christos 		case 2:
   9593   1.1  christos 			p = "const netbsd32_charp";
   9594   1.1  christos 			break;
   9595   1.1  christos 		default:
   9596   1.1  christos 			break;
   9597   1.1  christos 		};
   9598   1.1  christos 		break;
   9599   1.1  christos 	/* netbsd32_unlinkat */
   9600   1.1  christos 	case 471:
   9601   1.1  christos 		switch(ndx) {
   9602   1.1  christos 		case 0:
   9603   1.1  christos 			p = "int";
   9604   1.1  christos 			break;
   9605   1.1  christos 		case 1:
   9606   1.1  christos 			p = "const netbsd32_charp";
   9607   1.1  christos 			break;
   9608   1.1  christos 		case 2:
   9609   1.1  christos 			p = "int";
   9610   1.1  christos 			break;
   9611   1.1  christos 		default:
   9612   1.1  christos 			break;
   9613   1.1  christos 		};
   9614   1.1  christos 		break;
   9615   1.1  christos 	/* netbsd32_futimens */
   9616   1.1  christos 	case 472:
   9617   1.1  christos 		switch(ndx) {
   9618   1.1  christos 		case 0:
   9619   1.1  christos 			p = "int";
   9620   1.1  christos 			break;
   9621   1.1  christos 		case 1:
   9622   1.1  christos 			p = "const netbsd32_timespecp_t";
   9623   1.1  christos 			break;
   9624   1.1  christos 		default:
   9625   1.1  christos 			break;
   9626   1.1  christos 		};
   9627   1.1  christos 		break;
   9628   1.1  christos 	/* netbsd32___quotactl */
   9629   1.1  christos 	case 473:
   9630   1.1  christos 		switch(ndx) {
   9631   1.1  christos 		case 0:
   9632   1.1  christos 			p = "const netbsd32_charp";
   9633   1.1  christos 			break;
   9634   1.1  christos 		case 1:
   9635   1.1  christos 			p = "netbsd32_voidp";
   9636   1.1  christos 			break;
   9637   1.1  christos 		default:
   9638   1.1  christos 			break;
   9639   1.1  christos 		};
   9640   1.1  christos 		break;
   9641   1.1  christos 	/* netbsd32_posix_spawn */
   9642   1.1  christos 	case 474:
   9643   1.1  christos 		switch(ndx) {
   9644   1.1  christos 		case 0:
   9645   1.1  christos 			p = "netbsd32_pid_tp";
   9646   1.1  christos 			break;
   9647   1.1  christos 		case 1:
   9648   1.1  christos 			p = "const netbsd32_charp";
   9649   1.1  christos 			break;
   9650   1.1  christos 		case 2:
   9651   1.1  christos 			p = "const netbsd32_posix_spawn_file_actionsp";
   9652   1.1  christos 			break;
   9653   1.1  christos 		case 3:
   9654   1.1  christos 			p = "const netbsd32_posix_spawnattrp";
   9655   1.1  christos 			break;
   9656   1.1  christos 		case 4:
   9657   1.1  christos 			p = "netbsd32_charpp";
   9658   1.1  christos 			break;
   9659   1.1  christos 		case 5:
   9660   1.1  christos 			p = "netbsd32_charpp";
   9661   1.1  christos 			break;
   9662   1.1  christos 		default:
   9663   1.1  christos 			break;
   9664   1.1  christos 		};
   9665   1.1  christos 		break;
   9666  1.25  christos 	/* netbsd32_recvmmsg */
   9667  1.25  christos 	case 475:
   9668  1.25  christos 		switch(ndx) {
   9669  1.25  christos 		case 0:
   9670  1.25  christos 			p = "int";
   9671  1.25  christos 			break;
   9672  1.25  christos 		case 1:
   9673  1.25  christos 			p = "netbsd32_mmsghdrp_t";
   9674  1.25  christos 			break;
   9675  1.25  christos 		case 2:
   9676  1.25  christos 			p = "unsigned int";
   9677  1.25  christos 			break;
   9678  1.25  christos 		case 3:
   9679  1.25  christos 			p = "unsigned int";
   9680  1.25  christos 			break;
   9681  1.25  christos 		case 4:
   9682  1.25  christos 			p = "netbsd32_timespecp_t";
   9683  1.25  christos 			break;
   9684  1.25  christos 		default:
   9685  1.25  christos 			break;
   9686  1.25  christos 		};
   9687  1.25  christos 		break;
   9688  1.25  christos 	/* netbsd32_sendmmsg */
   9689  1.25  christos 	case 476:
   9690  1.25  christos 		switch(ndx) {
   9691  1.25  christos 		case 0:
   9692  1.25  christos 			p = "int";
   9693  1.25  christos 			break;
   9694  1.25  christos 		case 1:
   9695  1.25  christos 			p = "netbsd32_mmsghdrp_t";
   9696  1.25  christos 			break;
   9697  1.25  christos 		case 2:
   9698  1.25  christos 			p = "unsigned int";
   9699  1.25  christos 			break;
   9700  1.25  christos 		case 3:
   9701  1.25  christos 			p = "unsigned int";
   9702  1.25  christos 			break;
   9703  1.25  christos 		default:
   9704  1.25  christos 			break;
   9705  1.25  christos 		};
   9706  1.25  christos 		break;
   9707   1.1  christos 	/* netbsd32_clock_nanosleep */
   9708   1.1  christos 	case 477:
   9709   1.1  christos 		switch(ndx) {
   9710   1.1  christos 		case 0:
   9711   1.1  christos 			p = "netbsd32_clockid_t";
   9712   1.1  christos 			break;
   9713   1.1  christos 		case 1:
   9714   1.1  christos 			p = "int";
   9715   1.1  christos 			break;
   9716   1.1  christos 		case 2:
   9717   1.1  christos 			p = "const netbsd32_timespecp_t";
   9718   1.1  christos 			break;
   9719   1.1  christos 		case 3:
   9720   1.1  christos 			p = "netbsd32_timespecp_t";
   9721   1.1  christos 			break;
   9722   1.1  christos 		default:
   9723   1.1  christos 			break;
   9724   1.1  christos 		};
   9725   1.1  christos 		break;
   9726   1.1  christos 	/* netbsd32____lwp_park60 */
   9727   1.1  christos 	case 478:
   9728   1.1  christos 		switch(ndx) {
   9729   1.1  christos 		case 0:
   9730   1.1  christos 			p = "netbsd32_clockid_t";
   9731   1.1  christos 			break;
   9732   1.1  christos 		case 1:
   9733   1.1  christos 			p = "int";
   9734   1.1  christos 			break;
   9735   1.1  christos 		case 2:
   9736  1.20     kamil 			p = "netbsd32_timespecp_t";
   9737   1.1  christos 			break;
   9738   1.1  christos 		case 3:
   9739   1.1  christos 			p = "lwpid_t";
   9740   1.1  christos 			break;
   9741   1.1  christos 		case 4:
   9742   1.1  christos 			p = "netbsd32_voidp";
   9743   1.1  christos 			break;
   9744   1.1  christos 		case 5:
   9745   1.1  christos 			p = "netbsd32_voidp";
   9746   1.1  christos 			break;
   9747   1.1  christos 		default:
   9748   1.1  christos 			break;
   9749   1.1  christos 		};
   9750   1.1  christos 		break;
   9751   1.2    martin 	/* netbsd32_posix_fallocate */
   9752   1.2    martin 	case 479:
   9753   1.2    martin 		switch(ndx) {
   9754   1.2    martin 		case 0:
   9755   1.2    martin 			p = "int";
   9756   1.2    martin 			break;
   9757   1.2    martin 		case 1:
   9758   1.2    martin 			p = "int";
   9759   1.2    martin 			break;
   9760   1.2    martin 		case 2:
   9761   1.2    martin 			p = "netbsd32_off_t";
   9762   1.2    martin 			break;
   9763   1.2    martin 		case 3:
   9764   1.2    martin 			p = "netbsd32_off_t";
   9765   1.2    martin 			break;
   9766   1.2    martin 		default:
   9767   1.2    martin 			break;
   9768   1.2    martin 		};
   9769   1.2    martin 		break;
   9770   1.2    martin 	/* netbsd32_fdiscard */
   9771   1.2    martin 	case 480:
   9772   1.2    martin 		switch(ndx) {
   9773   1.2    martin 		case 0:
   9774   1.2    martin 			p = "int";
   9775   1.2    martin 			break;
   9776   1.2    martin 		case 1:
   9777   1.2    martin 			p = "int";
   9778   1.2    martin 			break;
   9779   1.2    martin 		case 2:
   9780   1.2    martin 			p = "netbsd32_off_t";
   9781   1.2    martin 			break;
   9782   1.2    martin 		case 3:
   9783   1.2    martin 			p = "netbsd32_off_t";
   9784   1.2    martin 			break;
   9785   1.2    martin 		default:
   9786   1.2    martin 			break;
   9787   1.2    martin 		};
   9788   1.2    martin 		break;
   9789  1.14     skrll 	/* netbsd32_wait6 */
   9790  1.14     skrll 	case 481:
   9791  1.14     skrll 		switch(ndx) {
   9792  1.14     skrll 		case 0:
   9793  1.14     skrll 			p = "idtype_t";
   9794  1.14     skrll 			break;
   9795  1.14     skrll 		case 1:
   9796  1.14     skrll 			p = "id_t";
   9797  1.14     skrll 			break;
   9798  1.14     skrll 		case 2:
   9799  1.14     skrll 			p = "netbsd32_intp";
   9800  1.14     skrll 			break;
   9801  1.14     skrll 		case 3:
   9802  1.14     skrll 			p = "int";
   9803  1.14     skrll 			break;
   9804  1.14     skrll 		case 4:
   9805  1.14     skrll 			p = "netbsd32_wrusagep_t";
   9806  1.14     skrll 			break;
   9807  1.14     skrll 		case 5:
   9808  1.14     skrll 			p = "netbsd32_siginfop_t";
   9809  1.14     skrll 			break;
   9810  1.14     skrll 		default:
   9811  1.14     skrll 			break;
   9812  1.14     skrll 		};
   9813  1.14     skrll 		break;
   9814  1.14     skrll 	/* netbsd32_clock_getcpuclockid2 */
   9815  1.14     skrll 	case 482:
   9816  1.14     skrll 		switch(ndx) {
   9817  1.14     skrll 		case 0:
   9818  1.14     skrll 			p = "idtype_t";
   9819  1.14     skrll 			break;
   9820  1.14     skrll 		case 1:
   9821  1.14     skrll 			p = "id_t";
   9822  1.14     skrll 			break;
   9823  1.14     skrll 		case 2:
   9824  1.14     skrll 			p = "netbsd32_clockidp_t";
   9825  1.14     skrll 			break;
   9826  1.14     skrll 		default:
   9827  1.14     skrll 			break;
   9828  1.14     skrll 		};
   9829  1.14     skrll 		break;
   9830  1.33  christos 	/* netbsd32___getvfsstat90 */
   9831  1.33  christos 	case 483:
   9832  1.33  christos 		switch(ndx) {
   9833  1.33  christos 		case 0:
   9834  1.33  christos 			p = "netbsd32_statvfsp_t";
   9835  1.33  christos 			break;
   9836  1.33  christos 		case 1:
   9837  1.36       rin 			p = "netbsd32_size_t";
   9838  1.33  christos 			break;
   9839  1.33  christos 		case 2:
   9840  1.33  christos 			p = "int";
   9841  1.33  christos 			break;
   9842  1.33  christos 		default:
   9843  1.33  christos 			break;
   9844  1.33  christos 		};
   9845  1.33  christos 		break;
   9846  1.33  christos 	/* netbsd32___statvfs190 */
   9847  1.33  christos 	case 484:
   9848  1.33  christos 		switch(ndx) {
   9849  1.33  christos 		case 0:
   9850  1.33  christos 			p = "netbsd32_charp";
   9851  1.33  christos 			break;
   9852  1.33  christos 		case 1:
   9853  1.33  christos 			p = "netbsd32_statvfsp_t";
   9854  1.33  christos 			break;
   9855  1.33  christos 		case 2:
   9856  1.33  christos 			p = "int";
   9857  1.33  christos 			break;
   9858  1.33  christos 		default:
   9859  1.33  christos 			break;
   9860  1.33  christos 		};
   9861  1.33  christos 		break;
   9862  1.33  christos 	/* netbsd32___fstatvfs190 */
   9863  1.33  christos 	case 485:
   9864  1.33  christos 		switch(ndx) {
   9865  1.33  christos 		case 0:
   9866  1.33  christos 			p = "int";
   9867  1.33  christos 			break;
   9868  1.33  christos 		case 1:
   9869  1.33  christos 			p = "netbsd32_statvfsp_t";
   9870  1.33  christos 			break;
   9871  1.33  christos 		case 2:
   9872  1.33  christos 			p = "int";
   9873  1.33  christos 			break;
   9874  1.33  christos 		default:
   9875  1.33  christos 			break;
   9876  1.33  christos 		};
   9877  1.33  christos 		break;
   9878  1.33  christos 	/* netbsd32___fhstatvfs190 */
   9879  1.33  christos 	case 486:
   9880  1.33  christos 		switch(ndx) {
   9881  1.33  christos 		case 0:
   9882  1.33  christos 			p = "netbsd32_voidp";
   9883  1.33  christos 			break;
   9884  1.33  christos 		case 1:
   9885  1.36       rin 			p = "netbsd32_size_t";
   9886  1.33  christos 			break;
   9887  1.33  christos 		case 2:
   9888  1.33  christos 			p = "netbsd32_statvfsp_t";
   9889  1.33  christos 			break;
   9890  1.33  christos 		case 3:
   9891  1.33  christos 			p = "int";
   9892  1.33  christos 			break;
   9893  1.33  christos 		default:
   9894  1.33  christos 			break;
   9895  1.33  christos 		};
   9896  1.33  christos 		break;
   9897  1.44  christos 	/* netbsd32___acl_get_link */
   9898  1.44  christos 	case 487:
   9899  1.44  christos 		switch(ndx) {
   9900  1.44  christos 		case 0:
   9901  1.44  christos 			p = "const netbsd32_charp";
   9902  1.44  christos 			break;
   9903  1.44  christos 		case 1:
   9904  1.44  christos 			p = "acl_type_t";
   9905  1.44  christos 			break;
   9906  1.44  christos 		case 2:
   9907  1.44  christos 			p = "netbsd32_aclp_t";
   9908  1.44  christos 			break;
   9909  1.44  christos 		default:
   9910  1.44  christos 			break;
   9911  1.44  christos 		};
   9912  1.44  christos 		break;
   9913  1.44  christos 	/* netbsd32___acl_set_link */
   9914  1.44  christos 	case 488:
   9915  1.44  christos 		switch(ndx) {
   9916  1.44  christos 		case 0:
   9917  1.44  christos 			p = "const netbsd32_charp";
   9918  1.44  christos 			break;
   9919  1.44  christos 		case 1:
   9920  1.44  christos 			p = "acl_type_t";
   9921  1.44  christos 			break;
   9922  1.44  christos 		case 2:
   9923  1.44  christos 			p = "netbsd32_aclp_t";
   9924  1.44  christos 			break;
   9925  1.44  christos 		default:
   9926  1.44  christos 			break;
   9927  1.44  christos 		};
   9928  1.44  christos 		break;
   9929  1.44  christos 	/* netbsd32___acl_delete_link */
   9930  1.44  christos 	case 489:
   9931  1.44  christos 		switch(ndx) {
   9932  1.44  christos 		case 0:
   9933  1.44  christos 			p = "const netbsd32_charp";
   9934  1.44  christos 			break;
   9935  1.44  christos 		case 1:
   9936  1.44  christos 			p = "acl_type_t";
   9937  1.44  christos 			break;
   9938  1.44  christos 		default:
   9939  1.44  christos 			break;
   9940  1.44  christos 		};
   9941  1.44  christos 		break;
   9942  1.44  christos 	/* netbsd32___acl_aclcheck_link */
   9943  1.44  christos 	case 490:
   9944  1.44  christos 		switch(ndx) {
   9945  1.44  christos 		case 0:
   9946  1.44  christos 			p = "const netbsd32_charp";
   9947  1.44  christos 			break;
   9948  1.44  christos 		case 1:
   9949  1.44  christos 			p = "acl_type_t";
   9950  1.44  christos 			break;
   9951  1.44  christos 		case 2:
   9952  1.44  christos 			p = "netbsd32_aclp_t";
   9953  1.44  christos 			break;
   9954  1.44  christos 		default:
   9955  1.44  christos 			break;
   9956  1.44  christos 		};
   9957  1.44  christos 		break;
   9958  1.44  christos 	/* netbsd32___acl_get_file */
   9959  1.44  christos 	case 491:
   9960  1.44  christos 		switch(ndx) {
   9961  1.44  christos 		case 0:
   9962  1.44  christos 			p = "const netbsd32_charp";
   9963  1.44  christos 			break;
   9964  1.44  christos 		case 1:
   9965  1.44  christos 			p = "acl_type_t";
   9966  1.44  christos 			break;
   9967  1.44  christos 		case 2:
   9968  1.44  christos 			p = "netbsd32_aclp_t";
   9969  1.44  christos 			break;
   9970  1.44  christos 		default:
   9971  1.44  christos 			break;
   9972  1.44  christos 		};
   9973  1.44  christos 		break;
   9974  1.44  christos 	/* netbsd32___acl_set_file */
   9975  1.44  christos 	case 492:
   9976  1.44  christos 		switch(ndx) {
   9977  1.44  christos 		case 0:
   9978  1.44  christos 			p = "const netbsd32_charp";
   9979  1.44  christos 			break;
   9980  1.44  christos 		case 1:
   9981  1.44  christos 			p = "acl_type_t";
   9982  1.44  christos 			break;
   9983  1.44  christos 		case 2:
   9984  1.44  christos 			p = "netbsd32_aclp_t";
   9985  1.44  christos 			break;
   9986  1.44  christos 		default:
   9987  1.44  christos 			break;
   9988  1.44  christos 		};
   9989  1.44  christos 		break;
   9990  1.44  christos 	/* netbsd32___acl_get_fd */
   9991  1.44  christos 	case 493:
   9992  1.44  christos 		switch(ndx) {
   9993  1.44  christos 		case 0:
   9994  1.44  christos 			p = "int";
   9995  1.44  christos 			break;
   9996  1.44  christos 		case 1:
   9997  1.44  christos 			p = "acl_type_t";
   9998  1.44  christos 			break;
   9999  1.44  christos 		case 2:
   10000  1.44  christos 			p = "netbsd32_aclp_t";
   10001  1.44  christos 			break;
   10002  1.44  christos 		default:
   10003  1.44  christos 			break;
   10004  1.44  christos 		};
   10005  1.44  christos 		break;
   10006  1.44  christos 	/* netbsd32___acl_set_fd */
   10007  1.44  christos 	case 494:
   10008  1.44  christos 		switch(ndx) {
   10009  1.44  christos 		case 0:
   10010  1.44  christos 			p = "int";
   10011  1.44  christos 			break;
   10012  1.44  christos 		case 1:
   10013  1.44  christos 			p = "acl_type_t";
   10014  1.44  christos 			break;
   10015  1.44  christos 		case 2:
   10016  1.44  christos 			p = "netbsd32_aclp_t";
   10017  1.44  christos 			break;
   10018  1.44  christos 		default:
   10019  1.44  christos 			break;
   10020  1.44  christos 		};
   10021  1.44  christos 		break;
   10022  1.44  christos 	/* netbsd32___acl_delete_file */
   10023  1.44  christos 	case 495:
   10024  1.44  christos 		switch(ndx) {
   10025  1.44  christos 		case 0:
   10026  1.44  christos 			p = "const netbsd32_charp";
   10027  1.44  christos 			break;
   10028  1.44  christos 		case 1:
   10029  1.44  christos 			p = "acl_type_t";
   10030  1.44  christos 			break;
   10031  1.44  christos 		default:
   10032  1.44  christos 			break;
   10033  1.44  christos 		};
   10034  1.44  christos 		break;
   10035  1.44  christos 	/* netbsd32___acl_delete_fd */
   10036  1.44  christos 	case 496:
   10037  1.44  christos 		switch(ndx) {
   10038  1.44  christos 		case 0:
   10039  1.44  christos 			p = "int";
   10040  1.44  christos 			break;
   10041  1.44  christos 		case 1:
   10042  1.44  christos 			p = "acl_type_t";
   10043  1.44  christos 			break;
   10044  1.44  christos 		default:
   10045  1.44  christos 			break;
   10046  1.44  christos 		};
   10047  1.44  christos 		break;
   10048  1.44  christos 	/* netbsd32___acl_aclcheck_file */
   10049  1.44  christos 	case 497:
   10050  1.44  christos 		switch(ndx) {
   10051  1.44  christos 		case 0:
   10052  1.44  christos 			p = "const netbsd32_charp";
   10053  1.44  christos 			break;
   10054  1.44  christos 		case 1:
   10055  1.44  christos 			p = "acl_type_t";
   10056  1.44  christos 			break;
   10057  1.44  christos 		case 2:
   10058  1.44  christos 			p = "netbsd32_aclp_t";
   10059  1.44  christos 			break;
   10060  1.44  christos 		default:
   10061  1.44  christos 			break;
   10062  1.44  christos 		};
   10063  1.44  christos 		break;
   10064  1.44  christos 	/* netbsd32___acl_aclcheck_fd */
   10065  1.44  christos 	case 498:
   10066  1.44  christos 		switch(ndx) {
   10067  1.44  christos 		case 0:
   10068  1.44  christos 			p = "int";
   10069  1.44  christos 			break;
   10070  1.44  christos 		case 1:
   10071  1.44  christos 			p = "acl_type_t";
   10072  1.44  christos 			break;
   10073  1.44  christos 		case 2:
   10074  1.44  christos 			p = "netbsd32_aclp_t";
   10075  1.44  christos 			break;
   10076  1.44  christos 		default:
   10077  1.44  christos 			break;
   10078  1.44  christos 		};
   10079  1.44  christos 		break;
   10080  1.44  christos 	/* netbsd32_lpathconf */
   10081  1.44  christos 	case 499:
   10082  1.44  christos 		switch(ndx) {
   10083  1.44  christos 		case 0:
   10084  1.44  christos 			p = "const netbsd32_charp";
   10085  1.44  christos 			break;
   10086  1.44  christos 		case 1:
   10087  1.44  christos 			p = "int";
   10088  1.44  christos 			break;
   10089  1.44  christos 		default:
   10090  1.44  christos 			break;
   10091  1.44  christos 		};
   10092  1.44  christos 		break;
   10093  1.51       rin 	/* netbsd32_memfd_create */
   10094  1.51       rin 	case 500:
   10095  1.51       rin 		switch(ndx) {
   10096  1.51       rin 		case 0:
   10097  1.51       rin 			p = "const netbsd32_charp";
   10098  1.51       rin 			break;
   10099  1.51       rin 		case 1:
   10100  1.51       rin 			p = "unsigned int";
   10101  1.51       rin 			break;
   10102  1.51       rin 		default:
   10103  1.51       rin 			break;
   10104  1.51       rin 		};
   10105  1.51       rin 		break;
   10106  1.50       rin 	/* netbsd32___kevent100 */
   10107  1.50       rin 	case 501:
   10108  1.50       rin 		switch(ndx) {
   10109  1.50       rin 		case 0:
   10110  1.50       rin 			p = "int";
   10111  1.50       rin 			break;
   10112  1.50       rin 		case 1:
   10113  1.50       rin 			p = "const netbsd32_keventp_t";
   10114  1.50       rin 			break;
   10115  1.50       rin 		case 2:
   10116  1.50       rin 			p = "netbsd32_size_t";
   10117  1.50       rin 			break;
   10118  1.50       rin 		case 3:
   10119  1.50       rin 			p = "netbsd32_keventp_t";
   10120  1.50       rin 			break;
   10121  1.50       rin 		case 4:
   10122  1.50       rin 			p = "netbsd32_size_t";
   10123  1.50       rin 			break;
   10124  1.50       rin 		case 5:
   10125  1.50       rin 			p = "const netbsd32_timespecp_t";
   10126  1.50       rin 			break;
   10127  1.50       rin 		default:
   10128  1.50       rin 			break;
   10129  1.50       rin 		};
   10130  1.50       rin 		break;
   10131  1.52       rin 	/* netbsd32_epoll_create1 */
   10132  1.52       rin 	case 502:
   10133  1.52       rin 		switch(ndx) {
   10134  1.52       rin 		case 0:
   10135  1.52       rin 			p = "int";
   10136  1.52       rin 			break;
   10137  1.52       rin 		default:
   10138  1.52       rin 			break;
   10139  1.52       rin 		};
   10140  1.52       rin 		break;
   10141  1.52       rin 	/* netbsd32_epoll_ctl */
   10142  1.52       rin 	case 503:
   10143  1.52       rin 		switch(ndx) {
   10144  1.52       rin 		case 0:
   10145  1.52       rin 			p = "int";
   10146  1.52       rin 			break;
   10147  1.52       rin 		case 1:
   10148  1.52       rin 			p = "int";
   10149  1.52       rin 			break;
   10150  1.52       rin 		case 2:
   10151  1.52       rin 			p = "int";
   10152  1.52       rin 			break;
   10153  1.52       rin 		case 3:
   10154  1.52       rin 			p = "netbsd32_epoll_eventp_t";
   10155  1.52       rin 			break;
   10156  1.52       rin 		default:
   10157  1.52       rin 			break;
   10158  1.52       rin 		};
   10159  1.52       rin 		break;
   10160  1.52       rin 	/* netbsd32_epoll_pwait2 */
   10161  1.52       rin 	case 504:
   10162  1.52       rin 		switch(ndx) {
   10163  1.52       rin 		case 0:
   10164  1.52       rin 			p = "int";
   10165  1.52       rin 			break;
   10166  1.52       rin 		case 1:
   10167  1.52       rin 			p = "netbsd32_epoll_eventp_t";
   10168  1.52       rin 			break;
   10169  1.52       rin 		case 2:
   10170  1.52       rin 			p = "int";
   10171  1.52       rin 			break;
   10172  1.52       rin 		case 3:
   10173  1.52       rin 			p = "netbsd32_timespecp_t";
   10174  1.52       rin 			break;
   10175  1.52       rin 		case 4:
   10176  1.52       rin 			p = "netbsd32_sigsetp_t";
   10177  1.52       rin 			break;
   10178  1.52       rin 		default:
   10179  1.52       rin 			break;
   10180  1.52       rin 		};
   10181  1.52       rin 		break;
   10182  1.54  christos 	/* netbsd32___dup3100 */
   10183  1.53  christos 	case 505:
   10184  1.53  christos 		switch(ndx) {
   10185  1.53  christos 		case 0:
   10186  1.53  christos 			p = "int";
   10187  1.53  christos 			break;
   10188  1.53  christos 		case 1:
   10189  1.53  christos 			p = "int";
   10190  1.53  christos 			break;
   10191  1.53  christos 		case 2:
   10192  1.53  christos 			p = "int";
   10193  1.53  christos 			break;
   10194  1.53  christos 		default:
   10195  1.53  christos 			break;
   10196  1.53  christos 		};
   10197  1.53  christos 		break;
   10198  1.55    martin 	/* netbsd32_semtimedop */
   10199  1.55    martin 	case 506:
   10200  1.55    martin 		switch(ndx) {
   10201  1.55    martin 		case 0:
   10202  1.55    martin 			p = "int";
   10203  1.55    martin 			break;
   10204  1.55    martin 		case 1:
   10205  1.55    martin 			p = "netbsd32_sembufp_t";
   10206  1.55    martin 			break;
   10207  1.55    martin 		case 2:
   10208  1.55    martin 			p = "netbsd32_size_t";
   10209  1.55    martin 			break;
   10210  1.55    martin 		case 3:
   10211  1.55    martin 			p = "netbsd32_timespecp_t";
   10212  1.55    martin 			break;
   10213  1.55    martin 		default:
   10214  1.55    martin 			break;
   10215  1.55    martin 		};
   10216  1.55    martin 		break;
   10217   1.1  christos 	default:
   10218   1.1  christos 		break;
   10219   1.1  christos 	};
   10220   1.1  christos 	if (p != NULL)
   10221   1.1  christos 		strlcpy(desc, p, descsz);
   10222   1.1  christos }
   10223   1.1  christos static void
   10224   1.1  christos systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
   10225   1.1  christos {
   10226   1.1  christos 	const char *p = NULL;
   10227   1.1  christos 	switch (sysnum) {
   10228   1.1  christos 	/* netbsd32_syscall */
   10229   1.1  christos 	case 0:
   10230   1.1  christos 		if (ndx == 0 || ndx == 1)
   10231   1.1  christos 			p = "int";
   10232   1.1  christos 		break;
   10233   1.1  christos 	/* netbsd32_exit */
   10234   1.1  christos 	case 1:
   10235   1.1  christos 		if (ndx == 0 || ndx == 1)
   10236   1.1  christos 			p = "void";
   10237   1.1  christos 		break;
   10238   1.1  christos 	/* sys_fork */
   10239   1.1  christos 	case 2:
   10240   1.1  christos 	/* netbsd32_read */
   10241   1.1  christos 	case 3:
   10242   1.1  christos 		if (ndx == 0 || ndx == 1)
   10243   1.1  christos 			p = "netbsd32_ssize_t";
   10244   1.1  christos 		break;
   10245   1.1  christos 	/* netbsd32_write */
   10246   1.1  christos 	case 4:
   10247   1.1  christos 		if (ndx == 0 || ndx == 1)
   10248   1.1  christos 			p = "netbsd32_ssize_t";
   10249   1.1  christos 		break;
   10250   1.1  christos 	/* netbsd32_open */
   10251   1.1  christos 	case 5:
   10252   1.1  christos 		if (ndx == 0 || ndx == 1)
   10253   1.1  christos 			p = "int";
   10254   1.1  christos 		break;
   10255   1.1  christos 	/* netbsd32_close */
   10256   1.1  christos 	case 6:
   10257   1.1  christos 		if (ndx == 0 || ndx == 1)
   10258   1.1  christos 			p = "int";
   10259   1.1  christos 		break;
   10260   1.1  christos 	/* netbsd32_wait4 */
   10261   1.1  christos 	case 7:
   10262   1.1  christos 		if (ndx == 0 || ndx == 1)
   10263   1.1  christos 			p = "int";
   10264   1.1  christos 		break;
   10265   1.1  christos 	/* netbsd32_ocreat */
   10266   1.1  christos 	case 8:
   10267   1.1  christos 		if (ndx == 0 || ndx == 1)
   10268   1.1  christos 			p = "int";
   10269   1.1  christos 		break;
   10270   1.1  christos 	/* netbsd32_link */
   10271   1.1  christos 	case 9:
   10272   1.1  christos 		if (ndx == 0 || ndx == 1)
   10273   1.1  christos 			p = "int";
   10274   1.1  christos 		break;
   10275   1.1  christos 	/* netbsd32_unlink */
   10276   1.1  christos 	case 10:
   10277   1.1  christos 		if (ndx == 0 || ndx == 1)
   10278   1.1  christos 			p = "int";
   10279   1.1  christos 		break;
   10280   1.1  christos 	/* netbsd32_chdir */
   10281   1.1  christos 	case 12:
   10282   1.1  christos 		if (ndx == 0 || ndx == 1)
   10283   1.1  christos 			p = "int";
   10284   1.1  christos 		break;
   10285   1.1  christos 	/* netbsd32_fchdir */
   10286   1.1  christos 	case 13:
   10287   1.1  christos 		if (ndx == 0 || ndx == 1)
   10288   1.1  christos 			p = "int";
   10289   1.1  christos 		break;
   10290   1.1  christos 	/* netbsd32_mknod */
   10291   1.1  christos 	case 14:
   10292   1.1  christos 		if (ndx == 0 || ndx == 1)
   10293   1.1  christos 			p = "int";
   10294   1.1  christos 		break;
   10295   1.1  christos 	/* netbsd32_chmod */
   10296   1.1  christos 	case 15:
   10297   1.1  christos 		if (ndx == 0 || ndx == 1)
   10298   1.1  christos 			p = "int";
   10299   1.1  christos 		break;
   10300   1.1  christos 	/* netbsd32_chown */
   10301   1.1  christos 	case 16:
   10302   1.1  christos 		if (ndx == 0 || ndx == 1)
   10303   1.1  christos 			p = "int";
   10304   1.1  christos 		break;
   10305   1.1  christos 	/* netbsd32_break */
   10306   1.1  christos 	case 17:
   10307   1.1  christos 		if (ndx == 0 || ndx == 1)
   10308   1.1  christos 			p = "int";
   10309   1.1  christos 		break;
   10310   1.1  christos 	/* netbsd32_getfsstat */
   10311   1.1  christos 	case 18:
   10312   1.1  christos 		if (ndx == 0 || ndx == 1)
   10313   1.1  christos 			p = "int";
   10314   1.1  christos 		break;
   10315   1.1  christos 	/* netbsd32_olseek */
   10316   1.1  christos 	case 19:
   10317   1.1  christos 		if (ndx == 0 || ndx == 1)
   10318   1.1  christos 			p = "netbsd32_long";
   10319   1.1  christos 		break;
   10320  1.37     kamil 	/* sys_getpid_with_ppid */
   10321   1.1  christos 	case 20:
   10322   1.1  christos 	/* netbsd32_mount */
   10323   1.1  christos 	case 21:
   10324   1.1  christos 		if (ndx == 0 || ndx == 1)
   10325   1.1  christos 			p = "int";
   10326   1.1  christos 		break;
   10327   1.1  christos 	/* netbsd32_unmount */
   10328   1.1  christos 	case 22:
   10329   1.1  christos 		if (ndx == 0 || ndx == 1)
   10330   1.1  christos 			p = "int";
   10331   1.1  christos 		break;
   10332   1.1  christos 	/* netbsd32_setuid */
   10333   1.1  christos 	case 23:
   10334   1.1  christos 		if (ndx == 0 || ndx == 1)
   10335   1.1  christos 			p = "int";
   10336   1.1  christos 		break;
   10337  1.37     kamil 	/* sys_getuid_with_euid */
   10338   1.1  christos 	case 24:
   10339   1.1  christos 	/* sys_geteuid */
   10340   1.1  christos 	case 25:
   10341   1.1  christos 	/* netbsd32_ptrace */
   10342   1.1  christos 	case 26:
   10343   1.1  christos 		if (ndx == 0 || ndx == 1)
   10344   1.1  christos 			p = "int";
   10345   1.1  christos 		break;
   10346   1.1  christos 	/* netbsd32_recvmsg */
   10347   1.1  christos 	case 27:
   10348   1.1  christos 		if (ndx == 0 || ndx == 1)
   10349   1.1  christos 			p = "netbsd32_ssize_t";
   10350   1.1  christos 		break;
   10351   1.1  christos 	/* netbsd32_sendmsg */
   10352   1.1  christos 	case 28:
   10353   1.1  christos 		if (ndx == 0 || ndx == 1)
   10354   1.1  christos 			p = "netbsd32_ssize_t";
   10355   1.1  christos 		break;
   10356   1.1  christos 	/* netbsd32_recvfrom */
   10357   1.1  christos 	case 29:
   10358   1.1  christos 		if (ndx == 0 || ndx == 1)
   10359   1.1  christos 			p = "netbsd32_ssize_t";
   10360   1.1  christos 		break;
   10361   1.1  christos 	/* netbsd32_accept */
   10362   1.1  christos 	case 30:
   10363   1.1  christos 		if (ndx == 0 || ndx == 1)
   10364   1.1  christos 			p = "int";
   10365   1.1  christos 		break;
   10366   1.1  christos 	/* netbsd32_getpeername */
   10367   1.1  christos 	case 31:
   10368   1.1  christos 		if (ndx == 0 || ndx == 1)
   10369   1.1  christos 			p = "int";
   10370   1.1  christos 		break;
   10371   1.1  christos 	/* netbsd32_getsockname */
   10372   1.1  christos 	case 32:
   10373   1.1  christos 		if (ndx == 0 || ndx == 1)
   10374   1.1  christos 			p = "int";
   10375   1.1  christos 		break;
   10376   1.1  christos 	/* netbsd32_access */
   10377   1.1  christos 	case 33:
   10378   1.1  christos 		if (ndx == 0 || ndx == 1)
   10379   1.1  christos 			p = "int";
   10380   1.1  christos 		break;
   10381   1.1  christos 	/* netbsd32_chflags */
   10382   1.1  christos 	case 34:
   10383   1.1  christos 		if (ndx == 0 || ndx == 1)
   10384   1.1  christos 			p = "int";
   10385   1.1  christos 		break;
   10386   1.1  christos 	/* netbsd32_fchflags */
   10387   1.1  christos 	case 35:
   10388   1.1  christos 		if (ndx == 0 || ndx == 1)
   10389   1.1  christos 			p = "int";
   10390   1.1  christos 		break;
   10391   1.1  christos 	/* sys_sync */
   10392   1.1  christos 	case 36:
   10393   1.1  christos 	/* netbsd32_kill */
   10394   1.1  christos 	case 37:
   10395   1.1  christos 		if (ndx == 0 || ndx == 1)
   10396   1.1  christos 			p = "int";
   10397   1.1  christos 		break;
   10398   1.1  christos 	/* netbsd32_stat43 */
   10399   1.1  christos 	case 38:
   10400   1.1  christos 		if (ndx == 0 || ndx == 1)
   10401   1.1  christos 			p = "int";
   10402   1.1  christos 		break;
   10403   1.1  christos 	/* sys_getppid */
   10404   1.1  christos 	case 39:
   10405   1.1  christos 	/* netbsd32_lstat43 */
   10406   1.1  christos 	case 40:
   10407   1.1  christos 		if (ndx == 0 || ndx == 1)
   10408   1.1  christos 			p = "int";
   10409   1.1  christos 		break;
   10410   1.1  christos 	/* netbsd32_dup */
   10411   1.1  christos 	case 41:
   10412   1.1  christos 		if (ndx == 0 || ndx == 1)
   10413   1.1  christos 			p = "int";
   10414   1.1  christos 		break;
   10415   1.1  christos 	/* sys_pipe */
   10416   1.1  christos 	case 42:
   10417   1.1  christos 	/* sys_getegid */
   10418   1.1  christos 	case 43:
   10419   1.1  christos 	/* netbsd32_profil */
   10420   1.1  christos 	case 44:
   10421   1.1  christos 		if (ndx == 0 || ndx == 1)
   10422   1.1  christos 			p = "int";
   10423   1.1  christos 		break;
   10424   1.1  christos 	/* netbsd32_ktrace */
   10425   1.1  christos 	case 45:
   10426   1.1  christos 		if (ndx == 0 || ndx == 1)
   10427   1.1  christos 			p = "int";
   10428   1.1  christos 		break;
   10429   1.1  christos 	/* netbsd32_sigaction */
   10430   1.1  christos 	case 46:
   10431   1.1  christos 		if (ndx == 0 || ndx == 1)
   10432   1.1  christos 			p = "int";
   10433   1.1  christos 		break;
   10434  1.37     kamil 	/* sys_getgid_with_egid */
   10435   1.1  christos 	case 47:
   10436   1.1  christos 	/* netbsd32_sigprocmask */
   10437   1.1  christos 	case 48:
   10438   1.1  christos 		if (ndx == 0 || ndx == 1)
   10439   1.1  christos 			p = "int";
   10440   1.1  christos 		break;
   10441   1.1  christos 	/* netbsd32___getlogin */
   10442   1.1  christos 	case 49:
   10443   1.1  christos 		if (ndx == 0 || ndx == 1)
   10444   1.1  christos 			p = "int";
   10445   1.1  christos 		break;
   10446   1.1  christos 	/* netbsd32_setlogin */
   10447   1.1  christos 	case 50:
   10448   1.1  christos 		if (ndx == 0 || ndx == 1)
   10449   1.1  christos 			p = "int";
   10450   1.1  christos 		break;
   10451   1.1  christos 	/* netbsd32_acct */
   10452   1.1  christos 	case 51:
   10453   1.1  christos 		if (ndx == 0 || ndx == 1)
   10454   1.1  christos 			p = "int";
   10455   1.1  christos 		break;
   10456   1.1  christos 	/* sys_sigpending */
   10457   1.1  christos 	case 52:
   10458   1.1  christos 	/* netbsd32_sigaltstack13 */
   10459   1.1  christos 	case 53:
   10460   1.1  christos 		if (ndx == 0 || ndx == 1)
   10461   1.1  christos 			p = "int";
   10462   1.1  christos 		break;
   10463   1.1  christos 	/* netbsd32_ioctl */
   10464   1.1  christos 	case 54:
   10465   1.1  christos 		if (ndx == 0 || ndx == 1)
   10466   1.1  christos 			p = "int";
   10467   1.1  christos 		break;
   10468   1.1  christos 	/* netbsd32_reboot */
   10469   1.1  christos 	case 55:
   10470   1.1  christos 		if (ndx == 0 || ndx == 1)
   10471   1.1  christos 			p = "int";
   10472   1.1  christos 		break;
   10473   1.1  christos 	/* netbsd32_revoke */
   10474   1.1  christos 	case 56:
   10475   1.1  christos 		if (ndx == 0 || ndx == 1)
   10476   1.1  christos 			p = "int";
   10477   1.1  christos 		break;
   10478   1.1  christos 	/* netbsd32_symlink */
   10479   1.1  christos 	case 57:
   10480   1.1  christos 		if (ndx == 0 || ndx == 1)
   10481   1.1  christos 			p = "int";
   10482   1.1  christos 		break;
   10483   1.1  christos 	/* netbsd32_readlink */
   10484   1.1  christos 	case 58:
   10485   1.1  christos 		if (ndx == 0 || ndx == 1)
   10486   1.1  christos 			p = "int";
   10487   1.1  christos 		break;
   10488   1.1  christos 	/* netbsd32_execve */
   10489   1.1  christos 	case 59:
   10490   1.1  christos 		if (ndx == 0 || ndx == 1)
   10491   1.1  christos 			p = "int";
   10492   1.1  christos 		break;
   10493   1.1  christos 	/* netbsd32_umask */
   10494   1.1  christos 	case 60:
   10495   1.1  christos 		if (ndx == 0 || ndx == 1)
   10496   1.1  christos 			p = "mode_t";
   10497   1.1  christos 		break;
   10498   1.1  christos 	/* netbsd32_chroot */
   10499   1.1  christos 	case 61:
   10500   1.1  christos 		if (ndx == 0 || ndx == 1)
   10501   1.1  christos 			p = "int";
   10502   1.1  christos 		break;
   10503   1.1  christos 	/* netbsd32_fstat43 */
   10504   1.1  christos 	case 62:
   10505   1.1  christos 		if (ndx == 0 || ndx == 1)
   10506   1.1  christos 			p = "int";
   10507   1.1  christos 		break;
   10508   1.1  christos 	/* netbsd32_ogetkerninfo */
   10509   1.1  christos 	case 63:
   10510   1.1  christos 		if (ndx == 0 || ndx == 1)
   10511   1.1  christos 			p = "int";
   10512   1.1  christos 		break;
   10513   1.1  christos 	/* sys_getpagesize */
   10514   1.1  christos 	case 64:
   10515   1.1  christos 	/* netbsd32_msync */
   10516   1.1  christos 	case 65:
   10517   1.1  christos 		if (ndx == 0 || ndx == 1)
   10518   1.1  christos 			p = "int";
   10519   1.1  christos 		break;
   10520   1.1  christos 	/* sys_vfork */
   10521   1.1  christos 	case 66:
   10522   1.1  christos 	/* netbsd32_ommap */
   10523   1.1  christos 	case 71:
   10524   1.1  christos 		if (ndx == 0 || ndx == 1)
   10525   1.1  christos 			p = "int";
   10526   1.1  christos 		break;
   10527  1.24     kamil 	/* netbsd32_ovadvise */
   10528  1.24     kamil 	case 72:
   10529  1.24     kamil 		if (ndx == 0 || ndx == 1)
   10530  1.24     kamil 			p = "int";
   10531  1.24     kamil 		break;
   10532   1.1  christos 	/* netbsd32_munmap */
   10533   1.1  christos 	case 73:
   10534   1.1  christos 		if (ndx == 0 || ndx == 1)
   10535   1.1  christos 			p = "int";
   10536   1.1  christos 		break;
   10537   1.1  christos 	/* netbsd32_mprotect */
   10538   1.1  christos 	case 74:
   10539   1.1  christos 		if (ndx == 0 || ndx == 1)
   10540   1.1  christos 			p = "int";
   10541   1.1  christos 		break;
   10542   1.1  christos 	/* netbsd32_madvise */
   10543   1.1  christos 	case 75:
   10544   1.1  christos 		if (ndx == 0 || ndx == 1)
   10545   1.1  christos 			p = "int";
   10546   1.1  christos 		break;
   10547   1.1  christos 	/* netbsd32_mincore */
   10548   1.1  christos 	case 78:
   10549   1.1  christos 		if (ndx == 0 || ndx == 1)
   10550   1.1  christos 			p = "int";
   10551   1.1  christos 		break;
   10552   1.1  christos 	/* netbsd32_getgroups */
   10553   1.1  christos 	case 79:
   10554   1.1  christos 		if (ndx == 0 || ndx == 1)
   10555   1.1  christos 			p = "int";
   10556   1.1  christos 		break;
   10557   1.1  christos 	/* netbsd32_setgroups */
   10558   1.1  christos 	case 80:
   10559   1.1  christos 		if (ndx == 0 || ndx == 1)
   10560   1.1  christos 			p = "int";
   10561   1.1  christos 		break;
   10562   1.1  christos 	/* sys_getpgrp */
   10563   1.1  christos 	case 81:
   10564   1.1  christos 	/* netbsd32_setpgid */
   10565   1.1  christos 	case 82:
   10566   1.1  christos 		if (ndx == 0 || ndx == 1)
   10567   1.1  christos 			p = "int";
   10568   1.1  christos 		break;
   10569   1.1  christos 	/* netbsd32_setitimer */
   10570   1.1  christos 	case 83:
   10571   1.1  christos 		if (ndx == 0 || ndx == 1)
   10572   1.1  christos 			p = "int";
   10573   1.1  christos 		break;
   10574   1.1  christos 	/* sys_wait */
   10575   1.1  christos 	case 84:
   10576   1.1  christos 	/* netbsd32_oswapon */
   10577   1.1  christos 	case 85:
   10578   1.1  christos 		if (ndx == 0 || ndx == 1)
   10579   1.1  christos 			p = "int";
   10580   1.1  christos 		break;
   10581   1.1  christos 	/* netbsd32_getitimer */
   10582   1.1  christos 	case 86:
   10583   1.1  christos 		if (ndx == 0 || ndx == 1)
   10584   1.1  christos 			p = "int";
   10585   1.1  christos 		break;
   10586   1.1  christos 	/* netbsd32_ogethostname */
   10587   1.1  christos 	case 87:
   10588   1.1  christos 		if (ndx == 0 || ndx == 1)
   10589   1.1  christos 			p = "int";
   10590   1.1  christos 		break;
   10591   1.1  christos 	/* netbsd32_osethostname */
   10592   1.1  christos 	case 88:
   10593   1.1  christos 		if (ndx == 0 || ndx == 1)
   10594   1.1  christos 			p = "int";
   10595   1.1  christos 		break;
   10596   1.1  christos 	/* sys_getdtablesize */
   10597   1.1  christos 	case 89:
   10598   1.1  christos 	/* netbsd32_dup2 */
   10599   1.1  christos 	case 90:
   10600   1.1  christos 		if (ndx == 0 || ndx == 1)
   10601   1.1  christos 			p = "int";
   10602   1.1  christos 		break;
   10603  1.45       rin 	/* netbsd32_getrandom */
   10604  1.45       rin 	case 91:
   10605  1.45       rin 		if (ndx == 0 || ndx == 1)
   10606  1.45       rin 			p = "netbsd32_ssize_t";
   10607  1.45       rin 		break;
   10608   1.1  christos 	/* netbsd32_fcntl */
   10609   1.1  christos 	case 92:
   10610   1.1  christos 		if (ndx == 0 || ndx == 1)
   10611   1.1  christos 			p = "int";
   10612   1.1  christos 		break;
   10613   1.1  christos 	/* netbsd32_select */
   10614   1.1  christos 	case 93:
   10615   1.1  christos 		if (ndx == 0 || ndx == 1)
   10616   1.1  christos 			p = "int";
   10617   1.1  christos 		break;
   10618   1.1  christos 	/* netbsd32_fsync */
   10619   1.1  christos 	case 95:
   10620   1.1  christos 		if (ndx == 0 || ndx == 1)
   10621   1.1  christos 			p = "int";
   10622   1.1  christos 		break;
   10623   1.1  christos 	/* netbsd32_setpriority */
   10624   1.1  christos 	case 96:
   10625   1.1  christos 		if (ndx == 0 || ndx == 1)
   10626   1.1  christos 			p = "int";
   10627   1.1  christos 		break;
   10628   1.1  christos 	/* netbsd32_socket */
   10629   1.1  christos 	case 97:
   10630   1.1  christos 		if (ndx == 0 || ndx == 1)
   10631   1.1  christos 			p = "int";
   10632   1.1  christos 		break;
   10633   1.1  christos 	/* netbsd32_connect */
   10634   1.1  christos 	case 98:
   10635   1.1  christos 		if (ndx == 0 || ndx == 1)
   10636   1.1  christos 			p = "int";
   10637   1.1  christos 		break;
   10638   1.1  christos 	/* netbsd32_oaccept */
   10639   1.1  christos 	case 99:
   10640   1.1  christos 		if (ndx == 0 || ndx == 1)
   10641   1.1  christos 			p = "int";
   10642   1.1  christos 		break;
   10643   1.1  christos 	/* netbsd32_getpriority */
   10644   1.1  christos 	case 100:
   10645   1.1  christos 		if (ndx == 0 || ndx == 1)
   10646   1.1  christos 			p = "int";
   10647   1.1  christos 		break;
   10648   1.1  christos 	/* netbsd32_osend */
   10649   1.1  christos 	case 101:
   10650   1.1  christos 		if (ndx == 0 || ndx == 1)
   10651   1.1  christos 			p = "int";
   10652   1.1  christos 		break;
   10653   1.1  christos 	/* netbsd32_orecv */
   10654   1.1  christos 	case 102:
   10655   1.1  christos 		if (ndx == 0 || ndx == 1)
   10656   1.1  christos 			p = "int";
   10657   1.1  christos 		break;
   10658   1.1  christos 	/* netbsd32_sigreturn */
   10659   1.1  christos 	case 103:
   10660   1.1  christos 		if (ndx == 0 || ndx == 1)
   10661   1.1  christos 			p = "int";
   10662   1.1  christos 		break;
   10663   1.1  christos 	/* netbsd32_bind */
   10664   1.1  christos 	case 104:
   10665   1.1  christos 		if (ndx == 0 || ndx == 1)
   10666   1.1  christos 			p = "int";
   10667   1.1  christos 		break;
   10668   1.1  christos 	/* netbsd32_setsockopt */
   10669   1.1  christos 	case 105:
   10670   1.1  christos 		if (ndx == 0 || ndx == 1)
   10671   1.1  christos 			p = "int";
   10672   1.1  christos 		break;
   10673   1.1  christos 	/* netbsd32_listen */
   10674   1.1  christos 	case 106:
   10675   1.1  christos 		if (ndx == 0 || ndx == 1)
   10676   1.1  christos 			p = "int";
   10677   1.1  christos 		break;
   10678   1.1  christos 	/* netbsd32_osigvec */
   10679   1.1  christos 	case 108:
   10680   1.1  christos 		if (ndx == 0 || ndx == 1)
   10681   1.1  christos 			p = "int";
   10682   1.1  christos 		break;
   10683   1.1  christos 	/* netbsd32_sigblock */
   10684   1.1  christos 	case 109:
   10685   1.1  christos 		if (ndx == 0 || ndx == 1)
   10686   1.1  christos 			p = "int";
   10687   1.1  christos 		break;
   10688   1.1  christos 	/* netbsd32_sigsetmask */
   10689   1.1  christos 	case 110:
   10690   1.1  christos 		if (ndx == 0 || ndx == 1)
   10691   1.1  christos 			p = "int";
   10692   1.1  christos 		break;
   10693   1.1  christos 	/* netbsd32_sigsuspend */
   10694   1.1  christos 	case 111:
   10695   1.1  christos 		if (ndx == 0 || ndx == 1)
   10696   1.1  christos 			p = "int";
   10697   1.1  christos 		break;
   10698   1.1  christos 	/* netbsd32_osigstack */
   10699   1.1  christos 	case 112:
   10700   1.1  christos 		if (ndx == 0 || ndx == 1)
   10701   1.1  christos 			p = "int";
   10702   1.1  christos 		break;
   10703   1.1  christos 	/* netbsd32_orecvmsg */
   10704   1.1  christos 	case 113:
   10705   1.1  christos 		if (ndx == 0 || ndx == 1)
   10706   1.1  christos 			p = "int";
   10707   1.1  christos 		break;
   10708   1.1  christos 	/* netbsd32_osendmsg */
   10709   1.1  christos 	case 114:
   10710   1.1  christos 		if (ndx == 0 || ndx == 1)
   10711   1.1  christos 			p = "int";
   10712   1.1  christos 		break;
   10713   1.1  christos 	/* netbsd32_gettimeofday */
   10714   1.1  christos 	case 116:
   10715   1.1  christos 		if (ndx == 0 || ndx == 1)
   10716   1.1  christos 			p = "int";
   10717   1.1  christos 		break;
   10718   1.1  christos 	/* netbsd32_getrusage */
   10719   1.1  christos 	case 117:
   10720   1.1  christos 		if (ndx == 0 || ndx == 1)
   10721   1.1  christos 			p = "int";
   10722   1.1  christos 		break;
   10723   1.1  christos 	/* netbsd32_getsockopt */
   10724   1.1  christos 	case 118:
   10725   1.1  christos 		if (ndx == 0 || ndx == 1)
   10726   1.1  christos 			p = "int";
   10727   1.1  christos 		break;
   10728   1.1  christos 	/* netbsd32_readv */
   10729   1.1  christos 	case 120:
   10730   1.1  christos 		if (ndx == 0 || ndx == 1)
   10731   1.1  christos 			p = "netbsd32_ssize_t";
   10732   1.1  christos 		break;
   10733   1.1  christos 	/* netbsd32_writev */
   10734   1.1  christos 	case 121:
   10735   1.1  christos 		if (ndx == 0 || ndx == 1)
   10736   1.1  christos 			p = "netbsd32_ssize_t";
   10737   1.1  christos 		break;
   10738   1.1  christos 	/* netbsd32_settimeofday */
   10739   1.1  christos 	case 122:
   10740   1.1  christos 		if (ndx == 0 || ndx == 1)
   10741   1.1  christos 			p = "int";
   10742   1.1  christos 		break;
   10743   1.1  christos 	/* netbsd32_fchown */
   10744   1.1  christos 	case 123:
   10745   1.1  christos 		if (ndx == 0 || ndx == 1)
   10746   1.1  christos 			p = "int";
   10747   1.1  christos 		break;
   10748   1.1  christos 	/* netbsd32_fchmod */
   10749   1.1  christos 	case 124:
   10750   1.1  christos 		if (ndx == 0 || ndx == 1)
   10751   1.1  christos 			p = "int";
   10752   1.1  christos 		break;
   10753   1.1  christos 	/* netbsd32_orecvfrom */
   10754   1.1  christos 	case 125:
   10755   1.1  christos 		if (ndx == 0 || ndx == 1)
   10756   1.1  christos 			p = "int";
   10757   1.1  christos 		break;
   10758   1.1  christos 	/* netbsd32_setreuid */
   10759   1.1  christos 	case 126:
   10760   1.1  christos 		if (ndx == 0 || ndx == 1)
   10761   1.1  christos 			p = "int";
   10762   1.1  christos 		break;
   10763   1.1  christos 	/* netbsd32_setregid */
   10764   1.1  christos 	case 127:
   10765   1.1  christos 		if (ndx == 0 || ndx == 1)
   10766   1.1  christos 			p = "int";
   10767   1.1  christos 		break;
   10768   1.1  christos 	/* netbsd32_rename */
   10769   1.1  christos 	case 128:
   10770   1.1  christos 		if (ndx == 0 || ndx == 1)
   10771   1.1  christos 			p = "int";
   10772   1.1  christos 		break;
   10773   1.1  christos 	/* netbsd32_otruncate */
   10774   1.1  christos 	case 129:
   10775   1.1  christos 		if (ndx == 0 || ndx == 1)
   10776   1.1  christos 			p = "int";
   10777   1.1  christos 		break;
   10778   1.1  christos 	/* netbsd32_oftruncate */
   10779   1.1  christos 	case 130:
   10780   1.1  christos 		if (ndx == 0 || ndx == 1)
   10781   1.1  christos 			p = "int";
   10782   1.1  christos 		break;
   10783   1.1  christos 	/* netbsd32_flock */
   10784   1.1  christos 	case 131:
   10785   1.1  christos 		if (ndx == 0 || ndx == 1)
   10786   1.1  christos 			p = "int";
   10787   1.1  christos 		break;
   10788   1.1  christos 	/* netbsd32_mkfifo */
   10789   1.1  christos 	case 132:
   10790   1.1  christos 		if (ndx == 0 || ndx == 1)
   10791   1.1  christos 			p = "int";
   10792   1.1  christos 		break;
   10793   1.1  christos 	/* netbsd32_sendto */
   10794   1.1  christos 	case 133:
   10795   1.1  christos 		if (ndx == 0 || ndx == 1)
   10796   1.1  christos 			p = "netbsd32_ssize_t";
   10797   1.1  christos 		break;
   10798   1.1  christos 	/* netbsd32_shutdown */
   10799   1.1  christos 	case 134:
   10800   1.1  christos 		if (ndx == 0 || ndx == 1)
   10801   1.1  christos 			p = "int";
   10802   1.1  christos 		break;
   10803   1.1  christos 	/* netbsd32_socketpair */
   10804   1.1  christos 	case 135:
   10805   1.1  christos 		if (ndx == 0 || ndx == 1)
   10806   1.1  christos 			p = "int";
   10807   1.1  christos 		break;
   10808   1.1  christos 	/* netbsd32_mkdir */
   10809   1.1  christos 	case 136:
   10810   1.1  christos 		if (ndx == 0 || ndx == 1)
   10811   1.1  christos 			p = "int";
   10812   1.1  christos 		break;
   10813   1.1  christos 	/* netbsd32_rmdir */
   10814   1.1  christos 	case 137:
   10815   1.1  christos 		if (ndx == 0 || ndx == 1)
   10816   1.1  christos 			p = "int";
   10817   1.1  christos 		break;
   10818   1.1  christos 	/* netbsd32_utimes */
   10819   1.1  christos 	case 138:
   10820   1.1  christos 		if (ndx == 0 || ndx == 1)
   10821   1.1  christos 			p = "int";
   10822   1.1  christos 		break;
   10823   1.1  christos 	/* netbsd32_adjtime */
   10824   1.1  christos 	case 140:
   10825   1.1  christos 		if (ndx == 0 || ndx == 1)
   10826   1.1  christos 			p = "int";
   10827   1.1  christos 		break;
   10828   1.1  christos 	/* netbsd32_ogetpeername */
   10829   1.1  christos 	case 141:
   10830   1.1  christos 		if (ndx == 0 || ndx == 1)
   10831   1.1  christos 			p = "int";
   10832   1.1  christos 		break;
   10833   1.1  christos 	/* sys_gethostid */
   10834   1.1  christos 	case 142:
   10835   1.1  christos 	/* netbsd32_sethostid */
   10836   1.1  christos 	case 143:
   10837   1.1  christos 		if (ndx == 0 || ndx == 1)
   10838   1.1  christos 			p = "int";
   10839   1.1  christos 		break;
   10840   1.1  christos 	/* netbsd32_ogetrlimit */
   10841   1.1  christos 	case 144:
   10842   1.1  christos 		if (ndx == 0 || ndx == 1)
   10843   1.1  christos 			p = "int";
   10844   1.1  christos 		break;
   10845   1.1  christos 	/* netbsd32_osetrlimit */
   10846   1.1  christos 	case 145:
   10847   1.1  christos 		if (ndx == 0 || ndx == 1)
   10848   1.1  christos 			p = "int";
   10849   1.1  christos 		break;
   10850   1.1  christos 	/* netbsd32_killpg */
   10851   1.1  christos 	case 146:
   10852   1.1  christos 		if (ndx == 0 || ndx == 1)
   10853   1.1  christos 			p = "int";
   10854   1.1  christos 		break;
   10855   1.1  christos 	/* sys_setsid */
   10856   1.1  christos 	case 147:
   10857   1.1  christos 	/* netbsd32_quotactl */
   10858   1.1  christos 	case 148:
   10859   1.1  christos 		if (ndx == 0 || ndx == 1)
   10860   1.1  christos 			p = "int";
   10861   1.1  christos 		break;
   10862   1.1  christos 	/* netbsd32_ogetsockname */
   10863   1.1  christos 	case 150:
   10864   1.1  christos 		if (ndx == 0 || ndx == 1)
   10865   1.1  christos 			p = "int";
   10866   1.1  christos 		break;
   10867   1.6       mrg 	/* netbsd32_nfssvc */
   10868   1.6       mrg 	case 155:
   10869   1.6       mrg 		if (ndx == 0 || ndx == 1)
   10870   1.6       mrg 			p = "int";
   10871   1.6       mrg 		break;
   10872   1.1  christos 	/* netbsd32_ogetdirentries */
   10873   1.1  christos 	case 156:
   10874   1.1  christos 		if (ndx == 0 || ndx == 1)
   10875   1.1  christos 			p = "int";
   10876   1.1  christos 		break;
   10877   1.1  christos 	/* netbsd32_statfs */
   10878   1.1  christos 	case 157:
   10879   1.1  christos 		if (ndx == 0 || ndx == 1)
   10880   1.1  christos 			p = "int";
   10881   1.1  christos 		break;
   10882   1.1  christos 	/* netbsd32_fstatfs */
   10883   1.1  christos 	case 158:
   10884   1.1  christos 		if (ndx == 0 || ndx == 1)
   10885   1.1  christos 			p = "int";
   10886   1.1  christos 		break;
   10887   1.1  christos 	/* netbsd32_getfh */
   10888   1.1  christos 	case 161:
   10889   1.1  christos 		if (ndx == 0 || ndx == 1)
   10890   1.1  christos 			p = "int";
   10891   1.1  christos 		break;
   10892   1.1  christos 	/* netbsd32_ogetdomainname */
   10893   1.1  christos 	case 162:
   10894   1.1  christos 		if (ndx == 0 || ndx == 1)
   10895   1.1  christos 			p = "int";
   10896   1.1  christos 		break;
   10897   1.1  christos 	/* netbsd32_osetdomainname */
   10898   1.1  christos 	case 163:
   10899   1.1  christos 		if (ndx == 0 || ndx == 1)
   10900   1.1  christos 			p = "int";
   10901   1.1  christos 		break;
   10902   1.1  christos 	/* netbsd32_uname */
   10903   1.1  christos 	case 164:
   10904   1.1  christos 		if (ndx == 0 || ndx == 1)
   10905   1.1  christos 			p = "int";
   10906   1.1  christos 		break;
   10907   1.1  christos 	/* netbsd32_sysarch */
   10908   1.1  christos 	case 165:
   10909   1.1  christos 		if (ndx == 0 || ndx == 1)
   10910   1.1  christos 			p = "int";
   10911   1.1  christos 		break;
   10912  1.43   thorpej 	/* netbsd32___futex */
   10913  1.43   thorpej 	case 166:
   10914  1.43   thorpej 		if (ndx == 0 || ndx == 1)
   10915  1.43   thorpej 			p = "int";
   10916  1.43   thorpej 		break;
   10917  1.43   thorpej 	/* netbsd32___futex_set_robust_list */
   10918  1.43   thorpej 	case 167:
   10919  1.43   thorpej 		if (ndx == 0 || ndx == 1)
   10920  1.43   thorpej 			p = "int";
   10921  1.43   thorpej 		break;
   10922  1.43   thorpej 	/* netbsd32___futex_get_robust_list */
   10923  1.43   thorpej 	case 168:
   10924  1.43   thorpej 		if (ndx == 0 || ndx == 1)
   10925  1.43   thorpej 			p = "int";
   10926  1.43   thorpej 		break;
   10927   1.1  christos 	/* netbsd32_semsys */
   10928   1.1  christos 	case 169:
   10929   1.1  christos 		if (ndx == 0 || ndx == 1)
   10930   1.1  christos 			p = "int";
   10931   1.1  christos 		break;
   10932   1.1  christos 	/* netbsd32_msgsys */
   10933   1.1  christos 	case 170:
   10934   1.1  christos 		if (ndx == 0 || ndx == 1)
   10935   1.1  christos 			p = "int";
   10936   1.1  christos 		break;
   10937   1.1  christos 	/* netbsd32_shmsys */
   10938   1.1  christos 	case 171:
   10939   1.1  christos 		if (ndx == 0 || ndx == 1)
   10940   1.1  christos 			p = "int";
   10941   1.1  christos 		break;
   10942   1.1  christos 	/* netbsd32_pread */
   10943   1.1  christos 	case 173:
   10944   1.1  christos 		if (ndx == 0 || ndx == 1)
   10945   1.1  christos 			p = "netbsd32_ssize_t";
   10946   1.1  christos 		break;
   10947   1.1  christos 	/* netbsd32_pwrite */
   10948   1.1  christos 	case 174:
   10949   1.1  christos 		if (ndx == 0 || ndx == 1)
   10950   1.1  christos 			p = "netbsd32_ssize_t";
   10951   1.1  christos 		break;
   10952   1.1  christos 	/* netbsd32_ntp_gettime */
   10953   1.1  christos 	case 175:
   10954   1.1  christos 		if (ndx == 0 || ndx == 1)
   10955   1.1  christos 			p = "int";
   10956   1.1  christos 		break;
   10957  1.30  pgoyette #if defined(NTP) || !defined(_KERNEL_OPT)
   10958   1.1  christos 	/* netbsd32_ntp_adjtime */
   10959   1.1  christos 	case 176:
   10960   1.1  christos 		if (ndx == 0 || ndx == 1)
   10961   1.1  christos 			p = "int";
   10962   1.1  christos 		break;
   10963   1.1  christos #else
   10964   1.1  christos #endif
   10965  1.48   thorpej 	/* netbsd32_timerfd_create */
   10966  1.48   thorpej 	case 177:
   10967  1.48   thorpej 		if (ndx == 0 || ndx == 1)
   10968  1.48   thorpej 			p = "int";
   10969  1.48   thorpej 		break;
   10970  1.48   thorpej 	/* netbsd32_timerfd_settime */
   10971  1.48   thorpej 	case 178:
   10972  1.48   thorpej 		if (ndx == 0 || ndx == 1)
   10973  1.48   thorpej 			p = "int";
   10974  1.48   thorpej 		break;
   10975  1.48   thorpej 	/* netbsd32_timerfd_gettime */
   10976  1.48   thorpej 	case 179:
   10977  1.48   thorpej 		if (ndx == 0 || ndx == 1)
   10978  1.48   thorpej 			p = "int";
   10979  1.48   thorpej 		break;
   10980   1.1  christos 	/* netbsd32_setgid */
   10981   1.1  christos 	case 181:
   10982   1.1  christos 		if (ndx == 0 || ndx == 1)
   10983   1.1  christos 			p = "int";
   10984   1.1  christos 		break;
   10985   1.1  christos 	/* netbsd32_setegid */
   10986   1.1  christos 	case 182:
   10987   1.1  christos 		if (ndx == 0 || ndx == 1)
   10988   1.1  christos 			p = "int";
   10989   1.1  christos 		break;
   10990   1.1  christos 	/* netbsd32_seteuid */
   10991   1.1  christos 	case 183:
   10992   1.1  christos 		if (ndx == 0 || ndx == 1)
   10993   1.1  christos 			p = "int";
   10994   1.1  christos 		break;
   10995   1.1  christos 	/* netbsd32_stat12 */
   10996   1.1  christos 	case 188:
   10997   1.1  christos 		if (ndx == 0 || ndx == 1)
   10998   1.1  christos 			p = "int";
   10999   1.1  christos 		break;
   11000   1.1  christos 	/* netbsd32_fstat12 */
   11001   1.1  christos 	case 189:
   11002   1.1  christos 		if (ndx == 0 || ndx == 1)
   11003   1.1  christos 			p = "int";
   11004   1.1  christos 		break;
   11005   1.1  christos 	/* netbsd32_lstat12 */
   11006   1.1  christos 	case 190:
   11007   1.1  christos 		if (ndx == 0 || ndx == 1)
   11008   1.1  christos 			p = "int";
   11009   1.1  christos 		break;
   11010   1.1  christos 	/* netbsd32_pathconf */
   11011   1.1  christos 	case 191:
   11012   1.1  christos 		if (ndx == 0 || ndx == 1)
   11013   1.1  christos 			p = "netbsd32_long";
   11014   1.1  christos 		break;
   11015   1.1  christos 	/* netbsd32_fpathconf */
   11016   1.1  christos 	case 192:
   11017   1.1  christos 		if (ndx == 0 || ndx == 1)
   11018   1.1  christos 			p = "netbsd32_long";
   11019   1.1  christos 		break;
   11020  1.26       rjs 	/* netbsd32_getsockopt2 */
   11021  1.26       rjs 	case 193:
   11022  1.26       rjs 		if (ndx == 0 || ndx == 1)
   11023  1.26       rjs 			p = "int";
   11024  1.26       rjs 		break;
   11025   1.1  christos 	/* netbsd32_getrlimit */
   11026   1.1  christos 	case 194:
   11027   1.1  christos 		if (ndx == 0 || ndx == 1)
   11028   1.1  christos 			p = "int";
   11029   1.1  christos 		break;
   11030   1.1  christos 	/* netbsd32_setrlimit */
   11031   1.1  christos 	case 195:
   11032   1.1  christos 		if (ndx == 0 || ndx == 1)
   11033   1.1  christos 			p = "int";
   11034   1.1  christos 		break;
   11035   1.1  christos 	/* netbsd32_getdirentries */
   11036   1.1  christos 	case 196:
   11037   1.1  christos 		if (ndx == 0 || ndx == 1)
   11038   1.1  christos 			p = "int";
   11039   1.1  christos 		break;
   11040   1.1  christos 	/* netbsd32_mmap */
   11041   1.1  christos 	case 197:
   11042   1.1  christos 		if (ndx == 0 || ndx == 1)
   11043   1.1  christos 			p = "netbsd32_voidp";
   11044   1.1  christos 		break;
   11045   1.1  christos 	/* netbsd32____syscall */
   11046   1.1  christos 	case 198:
   11047   1.1  christos 		if (ndx == 0 || ndx == 1)
   11048   1.1  christos 			p = "quad_t";
   11049   1.1  christos 		break;
   11050   1.1  christos 	/* netbsd32_lseek */
   11051   1.1  christos 	case 199:
   11052   1.1  christos 		if (ndx == 0 || ndx == 1)
   11053   1.1  christos 			p = "netbsd32_off_t";
   11054   1.1  christos 		break;
   11055   1.1  christos 	/* netbsd32_truncate */
   11056   1.1  christos 	case 200:
   11057   1.1  christos 		if (ndx == 0 || ndx == 1)
   11058   1.1  christos 			p = "int";
   11059   1.1  christos 		break;
   11060   1.1  christos 	/* netbsd32_ftruncate */
   11061   1.1  christos 	case 201:
   11062   1.1  christos 		if (ndx == 0 || ndx == 1)
   11063   1.1  christos 			p = "int";
   11064   1.1  christos 		break;
   11065   1.1  christos 	/* netbsd32___sysctl */
   11066   1.1  christos 	case 202:
   11067   1.1  christos 		if (ndx == 0 || ndx == 1)
   11068   1.1  christos 			p = "int";
   11069   1.1  christos 		break;
   11070   1.1  christos 	/* netbsd32_mlock */
   11071   1.1  christos 	case 203:
   11072   1.1  christos 		if (ndx == 0 || ndx == 1)
   11073   1.1  christos 			p = "int";
   11074   1.1  christos 		break;
   11075   1.1  christos 	/* netbsd32_munlock */
   11076   1.1  christos 	case 204:
   11077   1.1  christos 		if (ndx == 0 || ndx == 1)
   11078   1.1  christos 			p = "int";
   11079   1.1  christos 		break;
   11080   1.1  christos 	/* netbsd32_undelete */
   11081   1.1  christos 	case 205:
   11082   1.1  christos 		if (ndx == 0 || ndx == 1)
   11083   1.1  christos 			p = "int";
   11084   1.1  christos 		break;
   11085   1.1  christos 	/* netbsd32_futimes */
   11086   1.1  christos 	case 206:
   11087   1.1  christos 		if (ndx == 0 || ndx == 1)
   11088   1.1  christos 			p = "int";
   11089   1.1  christos 		break;
   11090   1.1  christos 	/* netbsd32_getpgid */
   11091   1.1  christos 	case 207:
   11092   1.1  christos 		if (ndx == 0 || ndx == 1)
   11093   1.1  christos 			p = "int";
   11094   1.1  christos 		break;
   11095   1.1  christos 	/* netbsd32_reboot */
   11096   1.1  christos 	case 208:
   11097   1.1  christos 		if (ndx == 0 || ndx == 1)
   11098   1.1  christos 			p = "int";
   11099   1.1  christos 		break;
   11100   1.1  christos 	/* netbsd32_poll */
   11101   1.1  christos 	case 209:
   11102   1.1  christos 		if (ndx == 0 || ndx == 1)
   11103   1.1  christos 			p = "int";
   11104   1.1  christos 		break;
   11105   1.1  christos 	/* netbsd32___semctl */
   11106   1.1  christos 	case 220:
   11107   1.1  christos 		if (ndx == 0 || ndx == 1)
   11108   1.1  christos 			p = "int";
   11109   1.1  christos 		break;
   11110   1.1  christos 	/* netbsd32_semget */
   11111   1.1  christos 	case 221:
   11112   1.1  christos 		if (ndx == 0 || ndx == 1)
   11113   1.1  christos 			p = "int";
   11114   1.1  christos 		break;
   11115   1.1  christos 	/* netbsd32_semop */
   11116   1.1  christos 	case 222:
   11117   1.1  christos 		if (ndx == 0 || ndx == 1)
   11118   1.1  christos 			p = "int";
   11119   1.1  christos 		break;
   11120   1.1  christos 	/* netbsd32_semconfig */
   11121   1.1  christos 	case 223:
   11122   1.1  christos 		if (ndx == 0 || ndx == 1)
   11123   1.1  christos 			p = "int";
   11124   1.1  christos 		break;
   11125   1.1  christos 	/* netbsd32_msgctl */
   11126   1.1  christos 	case 224:
   11127   1.1  christos 		if (ndx == 0 || ndx == 1)
   11128   1.1  christos 			p = "int";
   11129   1.1  christos 		break;
   11130   1.1  christos 	/* netbsd32_msgget */
   11131   1.1  christos 	case 225:
   11132   1.1  christos 		if (ndx == 0 || ndx == 1)
   11133   1.1  christos 			p = "int";
   11134   1.1  christos 		break;
   11135   1.1  christos 	/* netbsd32_msgsnd */
   11136   1.1  christos 	case 226:
   11137   1.1  christos 		if (ndx == 0 || ndx == 1)
   11138   1.1  christos 			p = "int";
   11139   1.1  christos 		break;
   11140   1.1  christos 	/* netbsd32_msgrcv */
   11141   1.1  christos 	case 227:
   11142   1.1  christos 		if (ndx == 0 || ndx == 1)
   11143   1.1  christos 			p = "netbsd32_ssize_t";
   11144   1.1  christos 		break;
   11145   1.1  christos 	/* netbsd32_shmat */
   11146   1.1  christos 	case 228:
   11147   1.1  christos 		if (ndx == 0 || ndx == 1)
   11148   1.1  christos 			p = "netbsd32_voidp";
   11149   1.1  christos 		break;
   11150   1.1  christos 	/* netbsd32_shmctl */
   11151   1.1  christos 	case 229:
   11152   1.1  christos 		if (ndx == 0 || ndx == 1)
   11153   1.1  christos 			p = "int";
   11154   1.1  christos 		break;
   11155   1.1  christos 	/* netbsd32_shmdt */
   11156   1.1  christos 	case 230:
   11157   1.1  christos 		if (ndx == 0 || ndx == 1)
   11158   1.1  christos 			p = "int";
   11159   1.1  christos 		break;
   11160   1.1  christos 	/* netbsd32_shmget */
   11161   1.1  christos 	case 231:
   11162   1.1  christos 		if (ndx == 0 || ndx == 1)
   11163   1.1  christos 			p = "int";
   11164   1.1  christos 		break;
   11165   1.1  christos 	/* netbsd32_clock_gettime */
   11166   1.1  christos 	case 232:
   11167   1.1  christos 		if (ndx == 0 || ndx == 1)
   11168   1.1  christos 			p = "int";
   11169   1.1  christos 		break;
   11170   1.1  christos 	/* netbsd32_clock_settime */
   11171   1.1  christos 	case 233:
   11172   1.1  christos 		if (ndx == 0 || ndx == 1)
   11173   1.1  christos 			p = "int";
   11174   1.1  christos 		break;
   11175   1.1  christos 	/* netbsd32_clock_getres */
   11176   1.1  christos 	case 234:
   11177   1.1  christos 		if (ndx == 0 || ndx == 1)
   11178   1.1  christos 			p = "int";
   11179   1.1  christos 		break;
   11180   1.1  christos 	/* netbsd32_timer_create */
   11181   1.1  christos 	case 235:
   11182   1.1  christos 		if (ndx == 0 || ndx == 1)
   11183   1.1  christos 			p = "int";
   11184   1.1  christos 		break;
   11185   1.1  christos 	/* netbsd32_timer_delete */
   11186   1.1  christos 	case 236:
   11187   1.1  christos 		if (ndx == 0 || ndx == 1)
   11188   1.1  christos 			p = "int";
   11189   1.1  christos 		break;
   11190   1.1  christos 	/* netbsd32_timer_settime */
   11191   1.1  christos 	case 237:
   11192   1.1  christos 		if (ndx == 0 || ndx == 1)
   11193   1.1  christos 			p = "int";
   11194   1.1  christos 		break;
   11195   1.1  christos 	/* netbsd32_timer_gettime */
   11196   1.1  christos 	case 238:
   11197   1.1  christos 		if (ndx == 0 || ndx == 1)
   11198   1.1  christos 			p = "int";
   11199   1.1  christos 		break;
   11200   1.1  christos 	/* netbsd32_timer_getoverrun */
   11201   1.1  christos 	case 239:
   11202   1.1  christos 		if (ndx == 0 || ndx == 1)
   11203   1.1  christos 			p = "int";
   11204   1.1  christos 		break;
   11205   1.1  christos 	/* netbsd32_nanosleep */
   11206   1.1  christos 	case 240:
   11207   1.1  christos 		if (ndx == 0 || ndx == 1)
   11208   1.1  christos 			p = "int";
   11209   1.1  christos 		break;
   11210   1.1  christos 	/* netbsd32_fdatasync */
   11211   1.1  christos 	case 241:
   11212   1.1  christos 		if (ndx == 0 || ndx == 1)
   11213   1.1  christos 			p = "int";
   11214   1.1  christos 		break;
   11215   1.1  christos 	/* netbsd32_mlockall */
   11216   1.1  christos 	case 242:
   11217   1.1  christos 		if (ndx == 0 || ndx == 1)
   11218   1.1  christos 			p = "int";
   11219   1.1  christos 		break;
   11220   1.1  christos 	/* sys_munlockall */
   11221   1.1  christos 	case 243:
   11222   1.1  christos 	/* netbsd32___sigtimedwait */
   11223   1.1  christos 	case 244:
   11224   1.1  christos 		if (ndx == 0 || ndx == 1)
   11225   1.1  christos 			p = "int";
   11226   1.1  christos 		break;
   11227   1.3    martin 	/* netbsd32_sigqueueinfo */
   11228   1.3    martin 	case 245:
   11229   1.3    martin 		if (ndx == 0 || ndx == 1)
   11230   1.3    martin 			p = "int";
   11231   1.3    martin 		break;
   11232   1.3    martin 	/* netbsd32_modctl */
   11233   1.3    martin 	case 246:
   11234   1.3    martin 		if (ndx == 0 || ndx == 1)
   11235   1.3    martin 			p = "int";
   11236   1.3    martin 		break;
   11237   1.1  christos 	/* netbsd32__ksem_init */
   11238   1.1  christos 	case 247:
   11239   1.1  christos 		if (ndx == 0 || ndx == 1)
   11240   1.1  christos 			p = "int";
   11241   1.1  christos 		break;
   11242   1.1  christos 	/* netbsd32__ksem_open */
   11243   1.1  christos 	case 248:
   11244   1.1  christos 		if (ndx == 0 || ndx == 1)
   11245   1.1  christos 			p = "int";
   11246   1.1  christos 		break;
   11247   1.1  christos 	/* netbsd32__ksem_unlink */
   11248   1.1  christos 	case 249:
   11249   1.1  christos 		if (ndx == 0 || ndx == 1)
   11250   1.1  christos 			p = "int";
   11251   1.1  christos 		break;
   11252   1.1  christos 	/* netbsd32__ksem_close */
   11253   1.1  christos 	case 250:
   11254   1.1  christos 		if (ndx == 0 || ndx == 1)
   11255   1.1  christos 			p = "int";
   11256   1.1  christos 		break;
   11257   1.1  christos 	/* netbsd32__ksem_post */
   11258   1.1  christos 	case 251:
   11259   1.1  christos 		if (ndx == 0 || ndx == 1)
   11260   1.1  christos 			p = "int";
   11261   1.1  christos 		break;
   11262   1.1  christos 	/* netbsd32__ksem_wait */
   11263   1.1  christos 	case 252:
   11264   1.1  christos 		if (ndx == 0 || ndx == 1)
   11265   1.1  christos 			p = "int";
   11266   1.1  christos 		break;
   11267   1.1  christos 	/* netbsd32__ksem_trywait */
   11268   1.1  christos 	case 253:
   11269   1.1  christos 		if (ndx == 0 || ndx == 1)
   11270   1.1  christos 			p = "int";
   11271   1.1  christos 		break;
   11272   1.1  christos 	/* netbsd32__ksem_getvalue */
   11273   1.1  christos 	case 254:
   11274   1.1  christos 		if (ndx == 0 || ndx == 1)
   11275   1.1  christos 			p = "int";
   11276   1.1  christos 		break;
   11277   1.1  christos 	/* netbsd32__ksem_destroy */
   11278   1.1  christos 	case 255:
   11279   1.1  christos 		if (ndx == 0 || ndx == 1)
   11280   1.1  christos 			p = "int";
   11281   1.1  christos 		break;
   11282   1.1  christos 	/* netbsd32__ksem_timedwait */
   11283   1.1  christos 	case 256:
   11284   1.1  christos 		if (ndx == 0 || ndx == 1)
   11285   1.1  christos 			p = "int";
   11286   1.1  christos 		break;
   11287   1.3    martin 	/* netbsd32_mq_open */
   11288   1.3    martin 	case 257:
   11289   1.3    martin 		if (ndx == 0 || ndx == 1)
   11290   1.3    martin 			p = "mqd_t";
   11291   1.3    martin 		break;
   11292   1.3    martin 	/* netbsd32_mq_close */
   11293   1.3    martin 	case 258:
   11294   1.3    martin 		if (ndx == 0 || ndx == 1)
   11295   1.3    martin 			p = "int";
   11296   1.3    martin 		break;
   11297   1.3    martin 	/* netbsd32_mq_unlink */
   11298   1.3    martin 	case 259:
   11299   1.3    martin 		if (ndx == 0 || ndx == 1)
   11300   1.3    martin 			p = "int";
   11301   1.3    martin 		break;
   11302   1.3    martin 	/* netbsd32_mq_getattr */
   11303   1.3    martin 	case 260:
   11304   1.3    martin 		if (ndx == 0 || ndx == 1)
   11305   1.3    martin 			p = "int";
   11306   1.3    martin 		break;
   11307   1.3    martin 	/* netbsd32_mq_setattr */
   11308   1.3    martin 	case 261:
   11309   1.3    martin 		if (ndx == 0 || ndx == 1)
   11310   1.3    martin 			p = "int";
   11311   1.3    martin 		break;
   11312   1.3    martin 	/* netbsd32_mq_notify */
   11313   1.3    martin 	case 262:
   11314   1.3    martin 		if (ndx == 0 || ndx == 1)
   11315   1.3    martin 			p = "int";
   11316   1.3    martin 		break;
   11317   1.3    martin 	/* netbsd32_mq_send */
   11318   1.3    martin 	case 263:
   11319   1.3    martin 		if (ndx == 0 || ndx == 1)
   11320   1.3    martin 			p = "int";
   11321   1.3    martin 		break;
   11322   1.3    martin 	/* netbsd32_mq_receive */
   11323   1.3    martin 	case 264:
   11324   1.3    martin 		if (ndx == 0 || ndx == 1)
   11325   1.3    martin 			p = "netbsd32_ssize_t";
   11326   1.3    martin 		break;
   11327   1.3    martin 	/* netbsd32_mq_timedsend */
   11328   1.3    martin 	case 265:
   11329   1.3    martin 		if (ndx == 0 || ndx == 1)
   11330   1.3    martin 			p = "int";
   11331   1.3    martin 		break;
   11332   1.3    martin 	/* netbsd32_mq_timedreceive */
   11333   1.3    martin 	case 266:
   11334   1.3    martin 		if (ndx == 0 || ndx == 1)
   11335   1.3    martin 			p = "netbsd32_ssize_t";
   11336   1.3    martin 		break;
   11337  1.49   thorpej 	/* netbsd32_eventfd */
   11338  1.49   thorpej 	case 267:
   11339  1.49   thorpej 		if (ndx == 0 || ndx == 1)
   11340  1.49   thorpej 			p = "int";
   11341  1.49   thorpej 		break;
   11342   1.1  christos 	/* netbsd32___posix_rename */
   11343   1.1  christos 	case 270:
   11344   1.1  christos 		if (ndx == 0 || ndx == 1)
   11345   1.1  christos 			p = "int";
   11346   1.1  christos 		break;
   11347   1.1  christos 	/* netbsd32_swapctl */
   11348   1.1  christos 	case 271:
   11349   1.1  christos 		if (ndx == 0 || ndx == 1)
   11350   1.1  christos 			p = "int";
   11351   1.1  christos 		break;
   11352   1.1  christos 	/* netbsd32_getdents */
   11353   1.1  christos 	case 272:
   11354   1.1  christos 		if (ndx == 0 || ndx == 1)
   11355   1.1  christos 			p = "int";
   11356   1.1  christos 		break;
   11357   1.1  christos 	/* netbsd32_minherit */
   11358   1.1  christos 	case 273:
   11359   1.1  christos 		if (ndx == 0 || ndx == 1)
   11360   1.1  christos 			p = "int";
   11361   1.1  christos 		break;
   11362   1.1  christos 	/* netbsd32_lchmod */
   11363   1.1  christos 	case 274:
   11364   1.1  christos 		if (ndx == 0 || ndx == 1)
   11365   1.1  christos 			p = "int";
   11366   1.1  christos 		break;
   11367   1.1  christos 	/* netbsd32_lchown */
   11368   1.1  christos 	case 275:
   11369   1.1  christos 		if (ndx == 0 || ndx == 1)
   11370   1.1  christos 			p = "int";
   11371   1.1  christos 		break;
   11372   1.1  christos 	/* netbsd32_lutimes */
   11373   1.1  christos 	case 276:
   11374   1.1  christos 		if (ndx == 0 || ndx == 1)
   11375   1.1  christos 			p = "int";
   11376   1.1  christos 		break;
   11377   1.1  christos 	/* netbsd32___msync13 */
   11378   1.1  christos 	case 277:
   11379   1.1  christos 		if (ndx == 0 || ndx == 1)
   11380   1.1  christos 			p = "int";
   11381   1.1  christos 		break;
   11382   1.1  christos 	/* netbsd32___stat13 */
   11383   1.1  christos 	case 278:
   11384   1.1  christos 		if (ndx == 0 || ndx == 1)
   11385   1.1  christos 			p = "int";
   11386   1.1  christos 		break;
   11387   1.1  christos 	/* netbsd32___fstat13 */
   11388   1.1  christos 	case 279:
   11389   1.1  christos 		if (ndx == 0 || ndx == 1)
   11390   1.1  christos 			p = "int";
   11391   1.1  christos 		break;
   11392   1.1  christos 	/* netbsd32___lstat13 */
   11393   1.1  christos 	case 280:
   11394   1.1  christos 		if (ndx == 0 || ndx == 1)
   11395   1.1  christos 			p = "int";
   11396   1.1  christos 		break;
   11397   1.1  christos 	/* netbsd32___sigaltstack14 */
   11398   1.1  christos 	case 281:
   11399   1.1  christos 		if (ndx == 0 || ndx == 1)
   11400   1.1  christos 			p = "int";
   11401   1.1  christos 		break;
   11402   1.1  christos 	/* sys___vfork14 */
   11403   1.1  christos 	case 282:
   11404   1.1  christos 	/* netbsd32___posix_chown */
   11405   1.1  christos 	case 283:
   11406   1.1  christos 		if (ndx == 0 || ndx == 1)
   11407   1.1  christos 			p = "int";
   11408   1.1  christos 		break;
   11409   1.1  christos 	/* netbsd32___posix_fchown */
   11410   1.1  christos 	case 284:
   11411   1.1  christos 		if (ndx == 0 || ndx == 1)
   11412   1.1  christos 			p = "int";
   11413   1.1  christos 		break;
   11414   1.1  christos 	/* netbsd32___posix_lchown */
   11415   1.1  christos 	case 285:
   11416   1.1  christos 		if (ndx == 0 || ndx == 1)
   11417   1.1  christos 			p = "int";
   11418   1.1  christos 		break;
   11419   1.1  christos 	/* netbsd32_getsid */
   11420   1.1  christos 	case 286:
   11421   1.1  christos 		if (ndx == 0 || ndx == 1)
   11422   1.1  christos 			p = "pid_t";
   11423   1.1  christos 		break;
   11424   1.1  christos 	/* netbsd32___clone */
   11425   1.1  christos 	case 287:
   11426   1.1  christos 		if (ndx == 0 || ndx == 1)
   11427   1.1  christos 			p = "int";
   11428   1.1  christos 		break;
   11429   1.1  christos 	/* netbsd32_fktrace */
   11430   1.1  christos 	case 288:
   11431   1.1  christos 		if (ndx == 0 || ndx == 1)
   11432   1.1  christos 			p = "int";
   11433   1.1  christos 		break;
   11434   1.1  christos 	/* netbsd32_preadv */
   11435   1.1  christos 	case 289:
   11436   1.1  christos 		if (ndx == 0 || ndx == 1)
   11437   1.1  christos 			p = "netbsd32_ssize_t";
   11438   1.1  christos 		break;
   11439   1.1  christos 	/* netbsd32_pwritev */
   11440   1.1  christos 	case 290:
   11441   1.1  christos 		if (ndx == 0 || ndx == 1)
   11442   1.1  christos 			p = "netbsd32_ssize_t";
   11443   1.1  christos 		break;
   11444   1.1  christos 	/* netbsd32___sigaction14 */
   11445   1.1  christos 	case 291:
   11446   1.1  christos 		if (ndx == 0 || ndx == 1)
   11447   1.1  christos 			p = "int";
   11448   1.1  christos 		break;
   11449   1.1  christos 	/* netbsd32___sigpending14 */
   11450   1.1  christos 	case 292:
   11451   1.1  christos 		if (ndx == 0 || ndx == 1)
   11452   1.1  christos 			p = "int";
   11453   1.1  christos 		break;
   11454   1.1  christos 	/* netbsd32___sigprocmask14 */
   11455   1.1  christos 	case 293:
   11456   1.1  christos 		if (ndx == 0 || ndx == 1)
   11457   1.1  christos 			p = "int";
   11458   1.1  christos 		break;
   11459   1.1  christos 	/* netbsd32___sigsuspend14 */
   11460   1.1  christos 	case 294:
   11461   1.1  christos 		if (ndx == 0 || ndx == 1)
   11462   1.1  christos 			p = "int";
   11463   1.1  christos 		break;
   11464   1.1  christos 	/* netbsd32___sigreturn14 */
   11465   1.1  christos 	case 295:
   11466   1.1  christos 		if (ndx == 0 || ndx == 1)
   11467   1.1  christos 			p = "int";
   11468   1.1  christos 		break;
   11469   1.1  christos 	/* netbsd32___getcwd */
   11470   1.1  christos 	case 296:
   11471   1.1  christos 		if (ndx == 0 || ndx == 1)
   11472   1.1  christos 			p = "int";
   11473   1.1  christos 		break;
   11474   1.1  christos 	/* netbsd32_fchroot */
   11475   1.1  christos 	case 297:
   11476   1.1  christos 		if (ndx == 0 || ndx == 1)
   11477   1.1  christos 			p = "int";
   11478   1.1  christos 		break;
   11479   1.1  christos 	/* netbsd32_fhopen */
   11480   1.1  christos 	case 298:
   11481   1.1  christos 		if (ndx == 0 || ndx == 1)
   11482   1.1  christos 			p = "int";
   11483   1.1  christos 		break;
   11484   1.1  christos 	/* netbsd32_fhstat */
   11485   1.1  christos 	case 299:
   11486   1.1  christos 		if (ndx == 0 || ndx == 1)
   11487   1.1  christos 			p = "int";
   11488   1.1  christos 		break;
   11489   1.1  christos 	/* netbsd32_fhstatfs */
   11490   1.1  christos 	case 300:
   11491   1.1  christos 		if (ndx == 0 || ndx == 1)
   11492   1.1  christos 			p = "int";
   11493   1.1  christos 		break;
   11494   1.1  christos 	/* netbsd32___semctl14 */
   11495   1.1  christos 	case 301:
   11496   1.1  christos 		if (ndx == 0 || ndx == 1)
   11497   1.1  christos 			p = "int";
   11498   1.1  christos 		break;
   11499   1.1  christos 	/* netbsd32___msgctl13 */
   11500   1.1  christos 	case 302:
   11501   1.1  christos 		if (ndx == 0 || ndx == 1)
   11502   1.1  christos 			p = "int";
   11503   1.1  christos 		break;
   11504   1.1  christos 	/* netbsd32___shmctl13 */
   11505   1.1  christos 	case 303:
   11506   1.1  christos 		if (ndx == 0 || ndx == 1)
   11507   1.1  christos 			p = "int";
   11508   1.1  christos 		break;
   11509   1.1  christos 	/* netbsd32_lchflags */
   11510   1.1  christos 	case 304:
   11511   1.1  christos 		if (ndx == 0 || ndx == 1)
   11512   1.1  christos 			p = "int";
   11513   1.1  christos 		break;
   11514   1.1  christos 	/* sys_issetugid */
   11515   1.1  christos 	case 305:
   11516   1.1  christos 	/* netbsd32_utrace */
   11517   1.1  christos 	case 306:
   11518   1.1  christos 		if (ndx == 0 || ndx == 1)
   11519   1.1  christos 			p = "int";
   11520   1.1  christos 		break;
   11521   1.1  christos 	/* netbsd32_getcontext */
   11522   1.1  christos 	case 307:
   11523   1.1  christos 		if (ndx == 0 || ndx == 1)
   11524   1.1  christos 			p = "int";
   11525   1.1  christos 		break;
   11526   1.1  christos 	/* netbsd32_setcontext */
   11527   1.1  christos 	case 308:
   11528   1.1  christos 		if (ndx == 0 || ndx == 1)
   11529   1.1  christos 			p = "int";
   11530   1.1  christos 		break;
   11531   1.1  christos 	/* netbsd32__lwp_create */
   11532   1.1  christos 	case 309:
   11533   1.1  christos 		if (ndx == 0 || ndx == 1)
   11534   1.1  christos 			p = "int";
   11535   1.1  christos 		break;
   11536   1.1  christos 	/* sys__lwp_exit */
   11537   1.1  christos 	case 310:
   11538   1.1  christos 	/* sys__lwp_self */
   11539   1.1  christos 	case 311:
   11540   1.1  christos 	/* netbsd32__lwp_wait */
   11541   1.1  christos 	case 312:
   11542   1.1  christos 		if (ndx == 0 || ndx == 1)
   11543   1.1  christos 			p = "int";
   11544   1.1  christos 		break;
   11545   1.1  christos 	/* netbsd32__lwp_suspend */
   11546   1.1  christos 	case 313:
   11547   1.1  christos 		if (ndx == 0 || ndx == 1)
   11548   1.1  christos 			p = "int";
   11549   1.1  christos 		break;
   11550   1.1  christos 	/* netbsd32__lwp_continue */
   11551   1.1  christos 	case 314:
   11552   1.1  christos 		if (ndx == 0 || ndx == 1)
   11553   1.1  christos 			p = "int";
   11554   1.1  christos 		break;
   11555   1.1  christos 	/* netbsd32__lwp_wakeup */
   11556   1.1  christos 	case 315:
   11557   1.1  christos 		if (ndx == 0 || ndx == 1)
   11558   1.1  christos 			p = "int";
   11559   1.1  christos 		break;
   11560   1.1  christos 	/* sys__lwp_getprivate */
   11561   1.1  christos 	case 316:
   11562   1.1  christos 	/* netbsd32__lwp_setprivate */
   11563   1.1  christos 	case 317:
   11564   1.1  christos 		if (ndx == 0 || ndx == 1)
   11565   1.1  christos 			p = "void";
   11566   1.1  christos 		break;
   11567   1.1  christos 	/* netbsd32__lwp_kill */
   11568   1.1  christos 	case 318:
   11569   1.1  christos 		if (ndx == 0 || ndx == 1)
   11570   1.1  christos 			p = "int";
   11571   1.1  christos 		break;
   11572   1.1  christos 	/* netbsd32__lwp_detach */
   11573   1.1  christos 	case 319:
   11574   1.1  christos 		if (ndx == 0 || ndx == 1)
   11575   1.1  christos 			p = "int";
   11576   1.1  christos 		break;
   11577   1.1  christos 	/* netbsd32__lwp_park */
   11578   1.1  christos 	case 320:
   11579   1.1  christos 		if (ndx == 0 || ndx == 1)
   11580   1.1  christos 			p = "int";
   11581   1.1  christos 		break;
   11582   1.1  christos 	/* netbsd32__lwp_unpark */
   11583   1.1  christos 	case 321:
   11584   1.1  christos 		if (ndx == 0 || ndx == 1)
   11585   1.1  christos 			p = "int";
   11586   1.1  christos 		break;
   11587   1.1  christos 	/* netbsd32__lwp_unpark_all */
   11588   1.1  christos 	case 322:
   11589   1.1  christos 		if (ndx == 0 || ndx == 1)
   11590   1.1  christos 			p = "netbsd32_size_t";
   11591   1.1  christos 		break;
   11592   1.1  christos 	/* netbsd32__lwp_setname */
   11593   1.1  christos 	case 323:
   11594   1.1  christos 		if (ndx == 0 || ndx == 1)
   11595   1.1  christos 			p = "int";
   11596   1.1  christos 		break;
   11597   1.1  christos 	/* netbsd32__lwp_getname */
   11598   1.1  christos 	case 324:
   11599   1.1  christos 		if (ndx == 0 || ndx == 1)
   11600   1.1  christos 			p = "int";
   11601   1.1  christos 		break;
   11602   1.1  christos 	/* netbsd32__lwp_ctl */
   11603   1.1  christos 	case 325:
   11604   1.1  christos 		if (ndx == 0 || ndx == 1)
   11605   1.1  christos 			p = "int";
   11606   1.1  christos 		break;
   11607   1.1  christos 	/* netbsd32___sigaction_sigtramp */
   11608   1.1  christos 	case 340:
   11609   1.1  christos 		if (ndx == 0 || ndx == 1)
   11610   1.1  christos 			p = "int";
   11611   1.1  christos 		break;
   11612   1.1  christos 	/* netbsd32_rasctl */
   11613   1.1  christos 	case 343:
   11614   1.1  christos 		if (ndx == 0 || ndx == 1)
   11615   1.1  christos 			p = "int";
   11616   1.1  christos 		break;
   11617   1.1  christos 	/* sys_kqueue */
   11618   1.1  christos 	case 344:
   11619   1.1  christos 	/* netbsd32_kevent */
   11620   1.1  christos 	case 345:
   11621   1.1  christos 		if (ndx == 0 || ndx == 1)
   11622   1.1  christos 			p = "int";
   11623   1.1  christos 		break;
   11624   1.1  christos 	/* netbsd32__sched_setparam */
   11625   1.1  christos 	case 346:
   11626   1.1  christos 		if (ndx == 0 || ndx == 1)
   11627   1.1  christos 			p = "int";
   11628   1.1  christos 		break;
   11629   1.1  christos 	/* netbsd32__sched_getparam */
   11630   1.1  christos 	case 347:
   11631   1.1  christos 		if (ndx == 0 || ndx == 1)
   11632   1.1  christos 			p = "int";
   11633   1.1  christos 		break;
   11634   1.1  christos 	/* netbsd32__sched_setaffinity */
   11635   1.1  christos 	case 348:
   11636   1.1  christos 		if (ndx == 0 || ndx == 1)
   11637   1.1  christos 			p = "int";
   11638   1.1  christos 		break;
   11639   1.1  christos 	/* netbsd32__sched_getaffinity */
   11640   1.1  christos 	case 349:
   11641   1.1  christos 		if (ndx == 0 || ndx == 1)
   11642   1.1  christos 			p = "int";
   11643   1.1  christos 		break;
   11644   1.1  christos 	/* sys_sched_yield */
   11645   1.1  christos 	case 350:
   11646  1.13     skrll 	/* netbsd32__sched_protect */
   11647  1.13     skrll 	case 351:
   11648  1.13     skrll 		if (ndx == 0 || ndx == 1)
   11649  1.13     skrll 			p = "int";
   11650  1.13     skrll 		break;
   11651   1.1  christos 	/* netbsd32_fsync_range */
   11652   1.1  christos 	case 354:
   11653   1.1  christos 		if (ndx == 0 || ndx == 1)
   11654   1.1  christos 			p = "int";
   11655   1.1  christos 		break;
   11656   1.1  christos 	/* netbsd32_uuidgen */
   11657   1.1  christos 	case 355:
   11658   1.1  christos 		if (ndx == 0 || ndx == 1)
   11659   1.1  christos 			p = "int";
   11660   1.1  christos 		break;
   11661   1.1  christos 	/* netbsd32_getvfsstat */
   11662   1.1  christos 	case 356:
   11663   1.1  christos 		if (ndx == 0 || ndx == 1)
   11664   1.1  christos 			p = "int";
   11665   1.1  christos 		break;
   11666   1.1  christos 	/* netbsd32_statvfs1 */
   11667   1.1  christos 	case 357:
   11668   1.1  christos 		if (ndx == 0 || ndx == 1)
   11669   1.1  christos 			p = "int";
   11670   1.1  christos 		break;
   11671   1.1  christos 	/* netbsd32_fstatvfs1 */
   11672   1.1  christos 	case 358:
   11673   1.1  christos 		if (ndx == 0 || ndx == 1)
   11674   1.1  christos 			p = "int";
   11675   1.1  christos 		break;
   11676   1.1  christos 	/* netbsd32_fhstatvfs1 */
   11677   1.1  christos 	case 359:
   11678   1.1  christos 		if (ndx == 0 || ndx == 1)
   11679   1.1  christos 			p = "int";
   11680   1.1  christos 		break;
   11681   1.1  christos 	/* netbsd32_extattrctl */
   11682   1.1  christos 	case 360:
   11683   1.1  christos 		if (ndx == 0 || ndx == 1)
   11684   1.1  christos 			p = "int";
   11685   1.1  christos 		break;
   11686   1.1  christos 	/* netbsd32_extattr_set_file */
   11687   1.1  christos 	case 361:
   11688   1.1  christos 		if (ndx == 0 || ndx == 1)
   11689   1.1  christos 			p = "int";
   11690   1.1  christos 		break;
   11691   1.1  christos 	/* netbsd32_extattr_get_file */
   11692   1.1  christos 	case 362:
   11693   1.1  christos 		if (ndx == 0 || ndx == 1)
   11694   1.1  christos 			p = "int";
   11695   1.1  christos 		break;
   11696   1.1  christos 	/* netbsd32_extattr_delete_file */
   11697   1.1  christos 	case 363:
   11698   1.1  christos 		if (ndx == 0 || ndx == 1)
   11699   1.1  christos 			p = "int";
   11700   1.1  christos 		break;
   11701   1.1  christos 	/* netbsd32_extattr_set_fd */
   11702   1.1  christos 	case 364:
   11703   1.1  christos 		if (ndx == 0 || ndx == 1)
   11704   1.1  christos 			p = "int";
   11705   1.1  christos 		break;
   11706   1.1  christos 	/* netbsd32_extattr_get_fd */
   11707   1.1  christos 	case 365:
   11708   1.1  christos 		if (ndx == 0 || ndx == 1)
   11709   1.1  christos 			p = "int";
   11710   1.1  christos 		break;
   11711   1.1  christos 	/* netbsd32_extattr_delete_fd */
   11712   1.1  christos 	case 366:
   11713   1.1  christos 		if (ndx == 0 || ndx == 1)
   11714   1.1  christos 			p = "int";
   11715   1.1  christos 		break;
   11716   1.1  christos 	/* netbsd32_extattr_set_link */
   11717   1.1  christos 	case 367:
   11718   1.1  christos 		if (ndx == 0 || ndx == 1)
   11719   1.1  christos 			p = "int";
   11720   1.1  christos 		break;
   11721   1.1  christos 	/* netbsd32_extattr_get_link */
   11722   1.1  christos 	case 368:
   11723   1.1  christos 		if (ndx == 0 || ndx == 1)
   11724   1.1  christos 			p = "int";
   11725   1.1  christos 		break;
   11726   1.1  christos 	/* netbsd32_extattr_delete_link */
   11727   1.1  christos 	case 369:
   11728   1.1  christos 		if (ndx == 0 || ndx == 1)
   11729   1.1  christos 			p = "int";
   11730   1.1  christos 		break;
   11731   1.1  christos 	/* netbsd32_extattr_list_fd */
   11732   1.1  christos 	case 370:
   11733   1.1  christos 		if (ndx == 0 || ndx == 1)
   11734   1.1  christos 			p = "int";
   11735   1.1  christos 		break;
   11736   1.1  christos 	/* netbsd32_extattr_list_file */
   11737   1.1  christos 	case 371:
   11738   1.1  christos 		if (ndx == 0 || ndx == 1)
   11739   1.1  christos 			p = "int";
   11740   1.1  christos 		break;
   11741   1.1  christos 	/* netbsd32_extattr_list_link */
   11742   1.1  christos 	case 372:
   11743   1.1  christos 		if (ndx == 0 || ndx == 1)
   11744   1.1  christos 			p = "int";
   11745   1.1  christos 		break;
   11746   1.1  christos 	/* netbsd32_pselect */
   11747   1.1  christos 	case 373:
   11748   1.1  christos 		if (ndx == 0 || ndx == 1)
   11749   1.1  christos 			p = "int";
   11750   1.1  christos 		break;
   11751   1.1  christos 	/* netbsd32_pollts */
   11752   1.1  christos 	case 374:
   11753   1.1  christos 		if (ndx == 0 || ndx == 1)
   11754   1.1  christos 			p = "int";
   11755   1.1  christos 		break;
   11756   1.1  christos 	/* netbsd32_setxattr */
   11757   1.1  christos 	case 375:
   11758   1.1  christos 		if (ndx == 0 || ndx == 1)
   11759   1.1  christos 			p = "int";
   11760   1.1  christos 		break;
   11761   1.1  christos 	/* netbsd32_lsetxattr */
   11762   1.1  christos 	case 376:
   11763   1.1  christos 		if (ndx == 0 || ndx == 1)
   11764   1.1  christos 			p = "int";
   11765   1.1  christos 		break;
   11766   1.1  christos 	/* netbsd32_fsetxattr */
   11767   1.1  christos 	case 377:
   11768   1.1  christos 		if (ndx == 0 || ndx == 1)
   11769   1.1  christos 			p = "int";
   11770   1.1  christos 		break;
   11771   1.1  christos 	/* netbsd32_getxattr */
   11772   1.1  christos 	case 378:
   11773   1.1  christos 		if (ndx == 0 || ndx == 1)
   11774   1.1  christos 			p = "int";
   11775   1.1  christos 		break;
   11776   1.1  christos 	/* netbsd32_lgetxattr */
   11777   1.1  christos 	case 379:
   11778   1.1  christos 		if (ndx == 0 || ndx == 1)
   11779   1.1  christos 			p = "int";
   11780   1.1  christos 		break;
   11781   1.1  christos 	/* netbsd32_fgetxattr */
   11782   1.1  christos 	case 380:
   11783   1.1  christos 		if (ndx == 0 || ndx == 1)
   11784   1.1  christos 			p = "int";
   11785   1.1  christos 		break;
   11786   1.1  christos 	/* netbsd32_listxattr */
   11787   1.1  christos 	case 381:
   11788   1.1  christos 		if (ndx == 0 || ndx == 1)
   11789   1.1  christos 			p = "int";
   11790   1.1  christos 		break;
   11791   1.1  christos 	/* netbsd32_llistxattr */
   11792   1.1  christos 	case 382:
   11793   1.1  christos 		if (ndx == 0 || ndx == 1)
   11794   1.1  christos 			p = "int";
   11795   1.1  christos 		break;
   11796   1.1  christos 	/* netbsd32_flistxattr */
   11797   1.1  christos 	case 383:
   11798   1.1  christos 		if (ndx == 0 || ndx == 1)
   11799   1.1  christos 			p = "int";
   11800   1.1  christos 		break;
   11801   1.1  christos 	/* netbsd32_removexattr */
   11802   1.1  christos 	case 384:
   11803   1.1  christos 		if (ndx == 0 || ndx == 1)
   11804   1.1  christos 			p = "int";
   11805   1.1  christos 		break;
   11806   1.1  christos 	/* netbsd32_lremovexattr */
   11807   1.1  christos 	case 385:
   11808   1.1  christos 		if (ndx == 0 || ndx == 1)
   11809   1.1  christos 			p = "int";
   11810   1.1  christos 		break;
   11811   1.1  christos 	/* netbsd32_fremovexattr */
   11812   1.1  christos 	case 386:
   11813   1.1  christos 		if (ndx == 0 || ndx == 1)
   11814   1.1  christos 			p = "int";
   11815   1.1  christos 		break;
   11816   1.1  christos 	/* netbsd32___stat30 */
   11817   1.1  christos 	case 387:
   11818   1.1  christos 		if (ndx == 0 || ndx == 1)
   11819   1.1  christos 			p = "int";
   11820   1.1  christos 		break;
   11821   1.1  christos 	/* netbsd32___fstat30 */
   11822   1.1  christos 	case 388:
   11823   1.1  christos 		if (ndx == 0 || ndx == 1)
   11824   1.1  christos 			p = "int";
   11825   1.1  christos 		break;
   11826   1.1  christos 	/* netbsd32___lstat30 */
   11827   1.1  christos 	case 389:
   11828   1.1  christos 		if (ndx == 0 || ndx == 1)
   11829   1.1  christos 			p = "int";
   11830   1.1  christos 		break;
   11831   1.1  christos 	/* netbsd32___getdents30 */
   11832   1.1  christos 	case 390:
   11833   1.1  christos 		if (ndx == 0 || ndx == 1)
   11834   1.1  christos 			p = "int";
   11835   1.1  christos 		break;
   11836   1.1  christos 	/* netbsd32___fhstat30 */
   11837   1.1  christos 	case 392:
   11838   1.1  christos 		if (ndx == 0 || ndx == 1)
   11839   1.1  christos 			p = "int";
   11840   1.1  christos 		break;
   11841   1.1  christos 	/* netbsd32_ntp_gettime */
   11842   1.1  christos 	case 393:
   11843   1.1  christos 		if (ndx == 0 || ndx == 1)
   11844   1.1  christos 			p = "int";
   11845   1.1  christos 		break;
   11846   1.1  christos 	/* netbsd32___socket30 */
   11847   1.1  christos 	case 394:
   11848   1.1  christos 		if (ndx == 0 || ndx == 1)
   11849   1.1  christos 			p = "int";
   11850   1.1  christos 		break;
   11851   1.1  christos 	/* netbsd32___getfh30 */
   11852   1.1  christos 	case 395:
   11853   1.1  christos 		if (ndx == 0 || ndx == 1)
   11854   1.1  christos 			p = "int";
   11855   1.1  christos 		break;
   11856   1.1  christos 	/* netbsd32___fhopen40 */
   11857   1.1  christos 	case 396:
   11858   1.1  christos 		if (ndx == 0 || ndx == 1)
   11859   1.1  christos 			p = "int";
   11860   1.1  christos 		break;
   11861  1.33  christos 	/* netbsd32_fhstatvfs1 */
   11862   1.1  christos 	case 397:
   11863   1.1  christos 		if (ndx == 0 || ndx == 1)
   11864   1.1  christos 			p = "int";
   11865   1.1  christos 		break;
   11866   1.1  christos 	/* netbsd32___fhstat40 */
   11867   1.1  christos 	case 398:
   11868   1.1  christos 		if (ndx == 0 || ndx == 1)
   11869   1.1  christos 			p = "int";
   11870   1.1  christos 		break;
   11871   1.1  christos 	/* netbsd32___mount50 */
   11872   1.1  christos 	case 410:
   11873   1.1  christos 		if (ndx == 0 || ndx == 1)
   11874   1.1  christos 			p = "int";
   11875   1.1  christos 		break;
   11876   1.1  christos 	/* netbsd32_mremap */
   11877   1.1  christos 	case 411:
   11878   1.1  christos 		if (ndx == 0 || ndx == 1)
   11879   1.1  christos 			p = "netbsd32_voidp";
   11880   1.1  christos 		break;
   11881   1.5    martin 	/* netbsd32_pset_create */
   11882   1.5    martin 	case 412:
   11883   1.5    martin 		if (ndx == 0 || ndx == 1)
   11884   1.5    martin 			p = "int";
   11885   1.5    martin 		break;
   11886   1.5    martin 	/* netbsd32_pset_destroy */
   11887   1.5    martin 	case 413:
   11888   1.5    martin 		if (ndx == 0 || ndx == 1)
   11889   1.5    martin 			p = "int";
   11890   1.5    martin 		break;
   11891   1.5    martin 	/* netbsd32_pset_assign */
   11892   1.5    martin 	case 414:
   11893   1.5    martin 		if (ndx == 0 || ndx == 1)
   11894   1.5    martin 			p = "int";
   11895   1.5    martin 		break;
   11896   1.5    martin 	/* netbsd32__pset_bind */
   11897   1.5    martin 	case 415:
   11898   1.5    martin 		if (ndx == 0 || ndx == 1)
   11899   1.5    martin 			p = "int";
   11900   1.5    martin 		break;
   11901   1.1  christos 	/* netbsd32___posix_fadvise50 */
   11902   1.1  christos 	case 416:
   11903   1.1  christos 		if (ndx == 0 || ndx == 1)
   11904   1.1  christos 			p = "int";
   11905   1.1  christos 		break;
   11906   1.1  christos 	/* netbsd32___select50 */
   11907   1.1  christos 	case 417:
   11908   1.1  christos 		if (ndx == 0 || ndx == 1)
   11909   1.1  christos 			p = "int";
   11910   1.1  christos 		break;
   11911   1.1  christos 	/* netbsd32___gettimeofday50 */
   11912   1.1  christos 	case 418:
   11913   1.1  christos 		if (ndx == 0 || ndx == 1)
   11914   1.1  christos 			p = "int";
   11915   1.1  christos 		break;
   11916   1.1  christos 	/* netbsd32___settimeofday50 */
   11917   1.1  christos 	case 419:
   11918   1.1  christos 		if (ndx == 0 || ndx == 1)
   11919   1.1  christos 			p = "int";
   11920   1.1  christos 		break;
   11921   1.1  christos 	/* netbsd32___utimes50 */
   11922   1.1  christos 	case 420:
   11923   1.1  christos 		if (ndx == 0 || ndx == 1)
   11924   1.1  christos 			p = "int";
   11925   1.1  christos 		break;
   11926   1.1  christos 	/* netbsd32___adjtime50 */
   11927   1.1  christos 	case 421:
   11928   1.1  christos 		if (ndx == 0 || ndx == 1)
   11929   1.1  christos 			p = "int";
   11930   1.1  christos 		break;
   11931   1.1  christos 	/* netbsd32___futimes50 */
   11932   1.1  christos 	case 423:
   11933   1.1  christos 		if (ndx == 0 || ndx == 1)
   11934   1.1  christos 			p = "int";
   11935   1.1  christos 		break;
   11936   1.1  christos 	/* netbsd32___lutimes50 */
   11937   1.1  christos 	case 424:
   11938   1.1  christos 		if (ndx == 0 || ndx == 1)
   11939   1.1  christos 			p = "int";
   11940   1.1  christos 		break;
   11941   1.1  christos 	/* netbsd32___setitimer50 */
   11942   1.1  christos 	case 425:
   11943   1.1  christos 		if (ndx == 0 || ndx == 1)
   11944   1.1  christos 			p = "int";
   11945   1.1  christos 		break;
   11946   1.1  christos 	/* netbsd32___getitimer50 */
   11947   1.1  christos 	case 426:
   11948   1.1  christos 		if (ndx == 0 || ndx == 1)
   11949   1.1  christos 			p = "int";
   11950   1.1  christos 		break;
   11951   1.1  christos 	/* netbsd32___clock_gettime50 */
   11952   1.1  christos 	case 427:
   11953   1.1  christos 		if (ndx == 0 || ndx == 1)
   11954   1.1  christos 			p = "int";
   11955   1.1  christos 		break;
   11956   1.1  christos 	/* netbsd32___clock_settime50 */
   11957   1.1  christos 	case 428:
   11958   1.1  christos 		if (ndx == 0 || ndx == 1)
   11959   1.1  christos 			p = "int";
   11960   1.1  christos 		break;
   11961   1.1  christos 	/* netbsd32___clock_getres50 */
   11962   1.1  christos 	case 429:
   11963   1.1  christos 		if (ndx == 0 || ndx == 1)
   11964   1.1  christos 			p = "int";
   11965   1.1  christos 		break;
   11966   1.1  christos 	/* netbsd32___nanosleep50 */
   11967   1.1  christos 	case 430:
   11968   1.1  christos 		if (ndx == 0 || ndx == 1)
   11969   1.1  christos 			p = "int";
   11970   1.1  christos 		break;
   11971   1.1  christos 	/* netbsd32_____sigtimedwait50 */
   11972   1.1  christos 	case 431:
   11973   1.1  christos 		if (ndx == 0 || ndx == 1)
   11974   1.1  christos 			p = "int";
   11975   1.1  christos 		break;
   11976   1.4    martin 	/* netbsd32___mq_timedsend50 */
   11977   1.4    martin 	case 432:
   11978   1.4    martin 		if (ndx == 0 || ndx == 1)
   11979   1.4    martin 			p = "int";
   11980   1.4    martin 		break;
   11981   1.4    martin 	/* netbsd32___mq_timedreceive50 */
   11982   1.4    martin 	case 433:
   11983   1.4    martin 		if (ndx == 0 || ndx == 1)
   11984   1.4    martin 			p = "netbsd32_ssize_t";
   11985   1.4    martin 		break;
   11986   1.1  christos 	/* netbsd32__lwp_park */
   11987   1.1  christos 	case 434:
   11988   1.1  christos 		if (ndx == 0 || ndx == 1)
   11989   1.1  christos 			p = "int";
   11990   1.1  christos 		break;
   11991   1.1  christos 	/* netbsd32___kevent50 */
   11992   1.1  christos 	case 435:
   11993   1.1  christos 		if (ndx == 0 || ndx == 1)
   11994   1.1  christos 			p = "int";
   11995   1.1  christos 		break;
   11996   1.1  christos 	/* netbsd32___pselect50 */
   11997   1.1  christos 	case 436:
   11998   1.1  christos 		if (ndx == 0 || ndx == 1)
   11999   1.1  christos 			p = "int";
   12000   1.1  christos 		break;
   12001   1.1  christos 	/* netbsd32___pollts50 */
   12002   1.1  christos 	case 437:
   12003   1.1  christos 		if (ndx == 0 || ndx == 1)
   12004   1.1  christos 			p = "int";
   12005   1.1  christos 		break;
   12006   1.1  christos 	/* netbsd32___stat50 */
   12007   1.1  christos 	case 439:
   12008   1.1  christos 		if (ndx == 0 || ndx == 1)
   12009   1.1  christos 			p = "int";
   12010   1.1  christos 		break;
   12011   1.1  christos 	/* netbsd32___fstat50 */
   12012   1.1  christos 	case 440:
   12013   1.1  christos 		if (ndx == 0 || ndx == 1)
   12014   1.1  christos 			p = "int";
   12015   1.1  christos 		break;
   12016   1.1  christos 	/* netbsd32___lstat50 */
   12017   1.1  christos 	case 441:
   12018   1.1  christos 		if (ndx == 0 || ndx == 1)
   12019   1.1  christos 			p = "int";
   12020   1.1  christos 		break;
   12021   1.1  christos 	/* netbsd32_____semctl50 */
   12022   1.1  christos 	case 442:
   12023   1.1  christos 		if (ndx == 0 || ndx == 1)
   12024   1.1  christos 			p = "int";
   12025   1.1  christos 		break;
   12026   1.1  christos 	/* netbsd32___shmctl50 */
   12027   1.1  christos 	case 443:
   12028   1.1  christos 		if (ndx == 0 || ndx == 1)
   12029   1.1  christos 			p = "int";
   12030   1.1  christos 		break;
   12031   1.1  christos 	/* netbsd32___msgctl50 */
   12032   1.1  christos 	case 444:
   12033   1.1  christos 		if (ndx == 0 || ndx == 1)
   12034   1.1  christos 			p = "int";
   12035   1.1  christos 		break;
   12036   1.1  christos 	/* netbsd32___getrusage50 */
   12037   1.1  christos 	case 445:
   12038   1.1  christos 		if (ndx == 0 || ndx == 1)
   12039   1.1  christos 			p = "int";
   12040   1.1  christos 		break;
   12041   1.1  christos 	/* netbsd32___timer_settime50 */
   12042   1.1  christos 	case 446:
   12043   1.1  christos 		if (ndx == 0 || ndx == 1)
   12044   1.1  christos 			p = "int";
   12045   1.1  christos 		break;
   12046   1.1  christos 	/* netbsd32___timer_gettime50 */
   12047   1.1  christos 	case 447:
   12048   1.1  christos 		if (ndx == 0 || ndx == 1)
   12049   1.1  christos 			p = "int";
   12050   1.1  christos 		break;
   12051   1.1  christos #if defined(NTP) || !defined(_KERNEL_OPT)
   12052   1.1  christos 	/* netbsd32___ntp_gettime50 */
   12053   1.1  christos 	case 448:
   12054   1.1  christos 		if (ndx == 0 || ndx == 1)
   12055   1.1  christos 			p = "int";
   12056   1.1  christos 		break;
   12057   1.1  christos #else
   12058   1.1  christos #endif
   12059   1.1  christos 	/* netbsd32___wait450 */
   12060   1.1  christos 	case 449:
   12061   1.1  christos 		if (ndx == 0 || ndx == 1)
   12062   1.1  christos 			p = "int";
   12063   1.1  christos 		break;
   12064   1.1  christos 	/* netbsd32___mknod50 */
   12065   1.1  christos 	case 450:
   12066   1.1  christos 		if (ndx == 0 || ndx == 1)
   12067   1.1  christos 			p = "int";
   12068   1.1  christos 		break;
   12069   1.1  christos 	/* netbsd32___fhstat50 */
   12070   1.1  christos 	case 451:
   12071   1.1  christos 		if (ndx == 0 || ndx == 1)
   12072   1.1  christos 			p = "int";
   12073   1.1  christos 		break;
   12074   1.1  christos 	/* netbsd32_pipe2 */
   12075   1.1  christos 	case 453:
   12076   1.1  christos 		if (ndx == 0 || ndx == 1)
   12077   1.1  christos 			p = "int";
   12078   1.1  christos 		break;
   12079   1.1  christos 	/* netbsd32_dup3 */
   12080   1.1  christos 	case 454:
   12081   1.1  christos 		if (ndx == 0 || ndx == 1)
   12082   1.1  christos 			p = "int";
   12083   1.1  christos 		break;
   12084   1.1  christos 	/* netbsd32_kqueue1 */
   12085   1.1  christos 	case 455:
   12086   1.1  christos 		if (ndx == 0 || ndx == 1)
   12087   1.1  christos 			p = "int";
   12088   1.1  christos 		break;
   12089   1.1  christos 	/* netbsd32_paccept */
   12090   1.1  christos 	case 456:
   12091   1.1  christos 		if (ndx == 0 || ndx == 1)
   12092   1.1  christos 			p = "int";
   12093   1.1  christos 		break;
   12094   1.1  christos 	/* netbsd32_linkat */
   12095   1.1  christos 	case 457:
   12096   1.1  christos 		if (ndx == 0 || ndx == 1)
   12097   1.1  christos 			p = "int";
   12098   1.1  christos 		break;
   12099   1.1  christos 	/* netbsd32_renameat */
   12100   1.1  christos 	case 458:
   12101   1.1  christos 		if (ndx == 0 || ndx == 1)
   12102   1.1  christos 			p = "int";
   12103   1.1  christos 		break;
   12104   1.1  christos 	/* netbsd32_mkfifoat */
   12105   1.1  christos 	case 459:
   12106   1.1  christos 		if (ndx == 0 || ndx == 1)
   12107   1.1  christos 			p = "int";
   12108   1.1  christos 		break;
   12109   1.1  christos 	/* netbsd32_mknodat */
   12110   1.1  christos 	case 460:
   12111   1.1  christos 		if (ndx == 0 || ndx == 1)
   12112   1.1  christos 			p = "int";
   12113   1.1  christos 		break;
   12114   1.1  christos 	/* netbsd32_mkdirat */
   12115   1.1  christos 	case 461:
   12116   1.1  christos 		if (ndx == 0 || ndx == 1)
   12117   1.1  christos 			p = "int";
   12118   1.1  christos 		break;
   12119   1.1  christos 	/* netbsd32_faccessat */
   12120   1.1  christos 	case 462:
   12121   1.1  christos 		if (ndx == 0 || ndx == 1)
   12122   1.1  christos 			p = "int";
   12123   1.1  christos 		break;
   12124   1.1  christos 	/* netbsd32_fchmodat */
   12125   1.1  christos 	case 463:
   12126   1.1  christos 		if (ndx == 0 || ndx == 1)
   12127   1.1  christos 			p = "int";
   12128   1.1  christos 		break;
   12129   1.1  christos 	/* netbsd32_fchownat */
   12130   1.1  christos 	case 464:
   12131   1.1  christos 		if (ndx == 0 || ndx == 1)
   12132   1.1  christos 			p = "int";
   12133   1.1  christos 		break;
   12134   1.1  christos 	/* netbsd32_fexecve */
   12135   1.1  christos 	case 465:
   12136   1.1  christos 		if (ndx == 0 || ndx == 1)
   12137   1.1  christos 			p = "int";
   12138   1.1  christos 		break;
   12139   1.1  christos 	/* netbsd32_fstatat */
   12140   1.1  christos 	case 466:
   12141   1.1  christos 		if (ndx == 0 || ndx == 1)
   12142   1.1  christos 			p = "int";
   12143   1.1  christos 		break;
   12144   1.1  christos 	/* netbsd32_utimensat */
   12145   1.1  christos 	case 467:
   12146   1.1  christos 		if (ndx == 0 || ndx == 1)
   12147   1.1  christos 			p = "int";
   12148   1.1  christos 		break;
   12149   1.1  christos 	/* netbsd32_openat */
   12150   1.1  christos 	case 468:
   12151   1.1  christos 		if (ndx == 0 || ndx == 1)
   12152   1.1  christos 			p = "int";
   12153   1.1  christos 		break;
   12154   1.1  christos 	/* netbsd32_readlinkat */
   12155   1.1  christos 	case 469:
   12156   1.1  christos 		if (ndx == 0 || ndx == 1)
   12157   1.1  christos 			p = "netbsd32_ssize_t";
   12158   1.1  christos 		break;
   12159   1.1  christos 	/* netbsd32_symlinkat */
   12160   1.1  christos 	case 470:
   12161   1.1  christos 		if (ndx == 0 || ndx == 1)
   12162   1.1  christos 			p = "int";
   12163   1.1  christos 		break;
   12164   1.1  christos 	/* netbsd32_unlinkat */
   12165   1.1  christos 	case 471:
   12166   1.1  christos 		if (ndx == 0 || ndx == 1)
   12167   1.1  christos 			p = "int";
   12168   1.1  christos 		break;
   12169   1.1  christos 	/* netbsd32_futimens */
   12170   1.1  christos 	case 472:
   12171   1.1  christos 		if (ndx == 0 || ndx == 1)
   12172   1.1  christos 			p = "int";
   12173   1.1  christos 		break;
   12174   1.1  christos 	/* netbsd32___quotactl */
   12175   1.1  christos 	case 473:
   12176   1.1  christos 		if (ndx == 0 || ndx == 1)
   12177   1.1  christos 			p = "int";
   12178   1.1  christos 		break;
   12179   1.1  christos 	/* netbsd32_posix_spawn */
   12180   1.1  christos 	case 474:
   12181   1.1  christos 		if (ndx == 0 || ndx == 1)
   12182   1.1  christos 			p = "int";
   12183   1.1  christos 		break;
   12184  1.25  christos 	/* netbsd32_recvmmsg */
   12185  1.25  christos 	case 475:
   12186  1.25  christos 		if (ndx == 0 || ndx == 1)
   12187  1.25  christos 			p = "int";
   12188  1.25  christos 		break;
   12189  1.25  christos 	/* netbsd32_sendmmsg */
   12190  1.25  christos 	case 476:
   12191  1.25  christos 		if (ndx == 0 || ndx == 1)
   12192  1.25  christos 			p = "int";
   12193  1.25  christos 		break;
   12194   1.1  christos 	/* netbsd32_clock_nanosleep */
   12195   1.1  christos 	case 477:
   12196   1.1  christos 		if (ndx == 0 || ndx == 1)
   12197   1.1  christos 			p = "int";
   12198   1.1  christos 		break;
   12199   1.1  christos 	/* netbsd32____lwp_park60 */
   12200   1.1  christos 	case 478:
   12201   1.1  christos 		if (ndx == 0 || ndx == 1)
   12202   1.1  christos 			p = "int";
   12203   1.1  christos 		break;
   12204   1.2    martin 	/* netbsd32_posix_fallocate */
   12205   1.2    martin 	case 479:
   12206   1.2    martin 		if (ndx == 0 || ndx == 1)
   12207   1.2    martin 			p = "int";
   12208   1.2    martin 		break;
   12209   1.2    martin 	/* netbsd32_fdiscard */
   12210   1.2    martin 	case 480:
   12211   1.2    martin 		if (ndx == 0 || ndx == 1)
   12212   1.2    martin 			p = "int";
   12213   1.2    martin 		break;
   12214  1.14     skrll 	/* netbsd32_wait6 */
   12215  1.14     skrll 	case 481:
   12216  1.14     skrll 		if (ndx == 0 || ndx == 1)
   12217  1.14     skrll 			p = "int";
   12218  1.14     skrll 		break;
   12219  1.14     skrll 	/* netbsd32_clock_getcpuclockid2 */
   12220  1.14     skrll 	case 482:
   12221  1.14     skrll 		if (ndx == 0 || ndx == 1)
   12222  1.14     skrll 			p = "int";
   12223  1.14     skrll 		break;
   12224  1.33  christos 	/* netbsd32___getvfsstat90 */
   12225  1.33  christos 	case 483:
   12226  1.33  christos 		if (ndx == 0 || ndx == 1)
   12227  1.33  christos 			p = "int";
   12228  1.33  christos 		break;
   12229  1.33  christos 	/* netbsd32___statvfs190 */
   12230  1.33  christos 	case 484:
   12231  1.33  christos 		if (ndx == 0 || ndx == 1)
   12232  1.33  christos 			p = "int";
   12233  1.33  christos 		break;
   12234  1.33  christos 	/* netbsd32___fstatvfs190 */
   12235  1.33  christos 	case 485:
   12236  1.33  christos 		if (ndx == 0 || ndx == 1)
   12237  1.33  christos 			p = "int";
   12238  1.33  christos 		break;
   12239  1.33  christos 	/* netbsd32___fhstatvfs190 */
   12240  1.33  christos 	case 486:
   12241  1.33  christos 		if (ndx == 0 || ndx == 1)
   12242  1.33  christos 			p = "int";
   12243  1.33  christos 		break;
   12244  1.44  christos 	/* netbsd32___acl_get_link */
   12245  1.44  christos 	case 487:
   12246  1.44  christos 		if (ndx == 0 || ndx == 1)
   12247  1.44  christos 			p = "int";
   12248  1.44  christos 		break;
   12249  1.44  christos 	/* netbsd32___acl_set_link */
   12250  1.44  christos 	case 488:
   12251  1.44  christos 		if (ndx == 0 || ndx == 1)
   12252  1.44  christos 			p = "int";
   12253  1.44  christos 		break;
   12254  1.44  christos 	/* netbsd32___acl_delete_link */
   12255  1.44  christos 	case 489:
   12256  1.44  christos 		if (ndx == 0 || ndx == 1)
   12257  1.44  christos 			p = "int";
   12258  1.44  christos 		break;
   12259  1.44  christos 	/* netbsd32___acl_aclcheck_link */
   12260  1.44  christos 	case 490:
   12261  1.44  christos 		if (ndx == 0 || ndx == 1)
   12262  1.44  christos 			p = "int";
   12263  1.44  christos 		break;
   12264  1.44  christos 	/* netbsd32___acl_get_file */
   12265  1.44  christos 	case 491:
   12266  1.44  christos 		if (ndx == 0 || ndx == 1)
   12267  1.44  christos 			p = "int";
   12268  1.44  christos 		break;
   12269  1.44  christos 	/* netbsd32___acl_set_file */
   12270  1.44  christos 	case 492:
   12271  1.44  christos 		if (ndx == 0 || ndx == 1)
   12272  1.44  christos 			p = "int";
   12273  1.44  christos 		break;
   12274  1.44  christos 	/* netbsd32___acl_get_fd */
   12275  1.44  christos 	case 493:
   12276  1.44  christos 		if (ndx == 0 || ndx == 1)
   12277  1.44  christos 			p = "int";
   12278  1.44  christos 		break;
   12279  1.44  christos 	/* netbsd32___acl_set_fd */
   12280  1.44  christos 	case 494:
   12281  1.44  christos 		if (ndx == 0 || ndx == 1)
   12282  1.44  christos 			p = "int";
   12283  1.44  christos 		break;
   12284  1.44  christos 	/* netbsd32___acl_delete_file */
   12285  1.44  christos 	case 495:
   12286  1.44  christos 		if (ndx == 0 || ndx == 1)
   12287  1.44  christos 			p = "int";
   12288  1.44  christos 		break;
   12289  1.44  christos 	/* netbsd32___acl_delete_fd */
   12290  1.44  christos 	case 496:
   12291  1.44  christos 		if (ndx == 0 || ndx == 1)
   12292  1.44  christos 			p = "int";
   12293  1.44  christos 		break;
   12294  1.44  christos 	/* netbsd32___acl_aclcheck_file */
   12295  1.44  christos 	case 497:
   12296  1.44  christos 		if (ndx == 0 || ndx == 1)
   12297  1.44  christos 			p = "int";
   12298  1.44  christos 		break;
   12299  1.44  christos 	/* netbsd32___acl_aclcheck_fd */
   12300  1.44  christos 	case 498:
   12301  1.44  christos 		if (ndx == 0 || ndx == 1)
   12302  1.44  christos 			p = "int";
   12303  1.44  christos 		break;
   12304  1.44  christos 	/* netbsd32_lpathconf */
   12305  1.44  christos 	case 499:
   12306  1.44  christos 		if (ndx == 0 || ndx == 1)
   12307  1.44  christos 			p = "long";
   12308  1.44  christos 		break;
   12309  1.51       rin 	/* netbsd32_memfd_create */
   12310  1.51       rin 	case 500:
   12311  1.51       rin 		if (ndx == 0 || ndx == 1)
   12312  1.51       rin 			p = "int";
   12313  1.51       rin 		break;
   12314  1.50       rin 	/* netbsd32___kevent100 */
   12315  1.50       rin 	case 501:
   12316  1.50       rin 		if (ndx == 0 || ndx == 1)
   12317  1.50       rin 			p = "int";
   12318  1.50       rin 		break;
   12319  1.52       rin 	/* netbsd32_epoll_create1 */
   12320  1.52       rin 	case 502:
   12321  1.52       rin 		if (ndx == 0 || ndx == 1)
   12322  1.52       rin 			p = "int";
   12323  1.52       rin 		break;
   12324  1.52       rin 	/* netbsd32_epoll_ctl */
   12325  1.52       rin 	case 503:
   12326  1.52       rin 		if (ndx == 0 || ndx == 1)
   12327  1.52       rin 			p = "int";
   12328  1.52       rin 		break;
   12329  1.52       rin 	/* netbsd32_epoll_pwait2 */
   12330  1.52       rin 	case 504:
   12331  1.52       rin 		if (ndx == 0 || ndx == 1)
   12332  1.52       rin 			p = "int";
   12333  1.52       rin 		break;
   12334  1.54  christos 	/* netbsd32___dup3100 */
   12335  1.53  christos 	case 505:
   12336  1.53  christos 		if (ndx == 0 || ndx == 1)
   12337  1.53  christos 			p = "int";
   12338  1.53  christos 		break;
   12339  1.55    martin 	/* netbsd32_semtimedop */
   12340  1.55    martin 	case 506:
   12341  1.55    martin 		if (ndx == 0 || ndx == 1)
   12342  1.55    martin 			p = "int";
   12343  1.55    martin 		break;
   12344   1.1  christos 	default:
   12345   1.1  christos 		break;
   12346   1.1  christos 	};
   12347   1.1  christos 	if (p != NULL)
   12348   1.1  christos 		strlcpy(desc, p, descsz);
   12349   1.1  christos }
   12350