Home | History | Annotate | Line # | Download | only in netbsd32
netbsd32_systrace_args.c revision 1.49
      1  1.31  christos /* $NetBSD: netbsd32_systrace_args.c,v 1.49 2021/09/20 01:07:56 thorpej 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.1  christos 		uarg[1] = (intptr_t) SCARG(p, changelist).i32; /* netbsd32_keventp_t */
   2419   1.1  christos 		iarg[2] = SCARG(p, nchanges); /* netbsd32_size_t */
   2420   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, eventlist).i32; /* netbsd32_keventp_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.17  christos 		const struct netbsd32___kevent50_args *p = params;
   3115   1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3116   1.1  christos 		uarg[1] = (intptr_t) SCARG(p, changelist).i32; /* const netbsd32_keventp_t */
   3117   1.1  christos 		iarg[2] = SCARG(p, nchanges); /* netbsd32_size_t */
   3118   1.1  christos 		uarg[3] = (intptr_t) SCARG(p, eventlist).i32; /* netbsd32_keventp_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.17  christos 		const struct 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.1  christos 	default:
   3708   1.1  christos 		*n_args = 0;
   3709   1.1  christos 		break;
   3710   1.1  christos 	};
   3711   1.1  christos }
   3712   1.1  christos static void
   3713   1.1  christos systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
   3714   1.1  christos {
   3715   1.1  christos 	const char *p = NULL;
   3716   1.1  christos 	switch (sysnum) {
   3717   1.1  christos 	/* netbsd32_syscall */
   3718   1.1  christos 	case 0:
   3719   1.1  christos 		switch(ndx) {
   3720   1.1  christos 		case 0:
   3721   1.1  christos 			p = "int";
   3722   1.1  christos 			break;
   3723   1.1  christos 		case 1:
   3724   1.1  christos 			p = "register32_t";
   3725   1.1  christos 			break;
   3726   1.1  christos 		default:
   3727   1.1  christos 			break;
   3728   1.1  christos 		};
   3729   1.1  christos 		break;
   3730   1.1  christos 	/* netbsd32_exit */
   3731   1.1  christos 	case 1:
   3732   1.1  christos 		switch(ndx) {
   3733   1.1  christos 		case 0:
   3734   1.1  christos 			p = "int";
   3735   1.1  christos 			break;
   3736   1.1  christos 		default:
   3737   1.1  christos 			break;
   3738   1.1  christos 		};
   3739   1.1  christos 		break;
   3740   1.1  christos 	/* sys_fork */
   3741   1.1  christos 	case 2:
   3742   1.1  christos 		break;
   3743   1.1  christos 	/* netbsd32_read */
   3744   1.1  christos 	case 3:
   3745   1.1  christos 		switch(ndx) {
   3746   1.1  christos 		case 0:
   3747   1.1  christos 			p = "int";
   3748   1.1  christos 			break;
   3749   1.1  christos 		case 1:
   3750   1.1  christos 			p = "netbsd32_voidp";
   3751   1.1  christos 			break;
   3752   1.1  christos 		case 2:
   3753   1.1  christos 			p = "netbsd32_size_t";
   3754   1.1  christos 			break;
   3755   1.1  christos 		default:
   3756   1.1  christos 			break;
   3757   1.1  christos 		};
   3758   1.1  christos 		break;
   3759   1.1  christos 	/* netbsd32_write */
   3760   1.1  christos 	case 4:
   3761   1.1  christos 		switch(ndx) {
   3762   1.1  christos 		case 0:
   3763   1.1  christos 			p = "int";
   3764   1.1  christos 			break;
   3765   1.1  christos 		case 1:
   3766   1.1  christos 			p = "netbsd32_voidp";
   3767   1.1  christos 			break;
   3768   1.1  christos 		case 2:
   3769   1.1  christos 			p = "netbsd32_size_t";
   3770   1.1  christos 			break;
   3771   1.1  christos 		default:
   3772   1.1  christos 			break;
   3773   1.1  christos 		};
   3774   1.1  christos 		break;
   3775   1.1  christos 	/* netbsd32_open */
   3776   1.1  christos 	case 5:
   3777   1.1  christos 		switch(ndx) {
   3778   1.1  christos 		case 0:
   3779   1.1  christos 			p = "netbsd32_charp";
   3780   1.1  christos 			break;
   3781   1.1  christos 		case 1:
   3782   1.1  christos 			p = "int";
   3783   1.1  christos 			break;
   3784   1.1  christos 		case 2:
   3785   1.1  christos 			p = "mode_t";
   3786   1.1  christos 			break;
   3787   1.1  christos 		default:
   3788   1.1  christos 			break;
   3789   1.1  christos 		};
   3790   1.1  christos 		break;
   3791   1.1  christos 	/* netbsd32_close */
   3792   1.1  christos 	case 6:
   3793   1.1  christos 		switch(ndx) {
   3794   1.1  christos 		case 0:
   3795   1.1  christos 			p = "int";
   3796   1.1  christos 			break;
   3797   1.1  christos 		default:
   3798   1.1  christos 			break;
   3799   1.1  christos 		};
   3800   1.1  christos 		break;
   3801   1.1  christos 	/* netbsd32_wait4 */
   3802   1.1  christos 	case 7:
   3803   1.1  christos 		switch(ndx) {
   3804   1.1  christos 		case 0:
   3805   1.1  christos 			p = "int";
   3806   1.1  christos 			break;
   3807   1.1  christos 		case 1:
   3808   1.1  christos 			p = "netbsd32_intp";
   3809   1.1  christos 			break;
   3810   1.1  christos 		case 2:
   3811   1.1  christos 			p = "int";
   3812   1.1  christos 			break;
   3813   1.1  christos 		case 3:
   3814   1.1  christos 			p = "netbsd32_rusage50p_t";
   3815   1.1  christos 			break;
   3816   1.1  christos 		default:
   3817   1.1  christos 			break;
   3818   1.1  christos 		};
   3819   1.1  christos 		break;
   3820   1.1  christos 	/* netbsd32_ocreat */
   3821   1.1  christos 	case 8:
   3822   1.1  christos 		switch(ndx) {
   3823   1.1  christos 		case 0:
   3824   1.1  christos 			p = "netbsd32_charp";
   3825   1.1  christos 			break;
   3826   1.1  christos 		case 1:
   3827   1.1  christos 			p = "mode_t";
   3828   1.1  christos 			break;
   3829   1.1  christos 		default:
   3830   1.1  christos 			break;
   3831   1.1  christos 		};
   3832   1.1  christos 		break;
   3833   1.1  christos 	/* netbsd32_link */
   3834   1.1  christos 	case 9:
   3835   1.1  christos 		switch(ndx) {
   3836   1.1  christos 		case 0:
   3837   1.1  christos 			p = "netbsd32_charp";
   3838   1.1  christos 			break;
   3839   1.1  christos 		case 1:
   3840   1.1  christos 			p = "netbsd32_charp";
   3841   1.1  christos 			break;
   3842   1.1  christos 		default:
   3843   1.1  christos 			break;
   3844   1.1  christos 		};
   3845   1.1  christos 		break;
   3846   1.1  christos 	/* netbsd32_unlink */
   3847   1.1  christos 	case 10:
   3848   1.1  christos 		switch(ndx) {
   3849   1.1  christos 		case 0:
   3850   1.1  christos 			p = "netbsd32_charp";
   3851   1.1  christos 			break;
   3852   1.1  christos 		default:
   3853   1.1  christos 			break;
   3854   1.1  christos 		};
   3855   1.1  christos 		break;
   3856   1.1  christos 	/* netbsd32_chdir */
   3857   1.1  christos 	case 12:
   3858   1.1  christos 		switch(ndx) {
   3859   1.1  christos 		case 0:
   3860   1.1  christos 			p = "netbsd32_charp";
   3861   1.1  christos 			break;
   3862   1.1  christos 		default:
   3863   1.1  christos 			break;
   3864   1.1  christos 		};
   3865   1.1  christos 		break;
   3866   1.1  christos 	/* netbsd32_fchdir */
   3867   1.1  christos 	case 13:
   3868   1.1  christos 		switch(ndx) {
   3869   1.1  christos 		case 0:
   3870   1.1  christos 			p = "int";
   3871   1.1  christos 			break;
   3872   1.1  christos 		default:
   3873   1.1  christos 			break;
   3874   1.1  christos 		};
   3875   1.1  christos 		break;
   3876   1.1  christos 	/* netbsd32_mknod */
   3877   1.1  christos 	case 14:
   3878   1.1  christos 		switch(ndx) {
   3879   1.1  christos 		case 0:
   3880   1.1  christos 			p = "netbsd32_charp";
   3881   1.1  christos 			break;
   3882   1.1  christos 		case 1:
   3883   1.1  christos 			p = "mode_t";
   3884   1.1  christos 			break;
   3885   1.1  christos 		case 2:
   3886   1.1  christos 			p = "uint32_t";
   3887   1.1  christos 			break;
   3888   1.1  christos 		default:
   3889   1.1  christos 			break;
   3890   1.1  christos 		};
   3891   1.1  christos 		break;
   3892   1.1  christos 	/* netbsd32_chmod */
   3893   1.1  christos 	case 15:
   3894   1.1  christos 		switch(ndx) {
   3895   1.1  christos 		case 0:
   3896   1.1  christos 			p = "netbsd32_charp";
   3897   1.1  christos 			break;
   3898   1.1  christos 		case 1:
   3899   1.1  christos 			p = "mode_t";
   3900   1.1  christos 			break;
   3901   1.1  christos 		default:
   3902   1.1  christos 			break;
   3903   1.1  christos 		};
   3904   1.1  christos 		break;
   3905   1.1  christos 	/* netbsd32_chown */
   3906   1.1  christos 	case 16:
   3907   1.1  christos 		switch(ndx) {
   3908   1.1  christos 		case 0:
   3909   1.1  christos 			p = "netbsd32_charp";
   3910   1.1  christos 			break;
   3911   1.1  christos 		case 1:
   3912   1.1  christos 			p = "uid_t";
   3913   1.1  christos 			break;
   3914   1.1  christos 		case 2:
   3915   1.1  christos 			p = "gid_t";
   3916   1.1  christos 			break;
   3917   1.1  christos 		default:
   3918   1.1  christos 			break;
   3919   1.1  christos 		};
   3920   1.1  christos 		break;
   3921   1.1  christos 	/* netbsd32_break */
   3922   1.1  christos 	case 17:
   3923   1.1  christos 		switch(ndx) {
   3924   1.1  christos 		case 0:
   3925   1.1  christos 			p = "netbsd32_charp";
   3926   1.1  christos 			break;
   3927   1.1  christos 		default:
   3928   1.1  christos 			break;
   3929   1.1  christos 		};
   3930   1.1  christos 		break;
   3931   1.1  christos 	/* netbsd32_getfsstat */
   3932   1.1  christos 	case 18:
   3933   1.1  christos 		switch(ndx) {
   3934   1.1  christos 		case 0:
   3935   1.1  christos 			p = "netbsd32_statfsp_t";
   3936   1.1  christos 			break;
   3937   1.1  christos 		case 1:
   3938   1.1  christos 			p = "netbsd32_long";
   3939   1.1  christos 			break;
   3940   1.1  christos 		case 2:
   3941   1.1  christos 			p = "int";
   3942   1.1  christos 			break;
   3943   1.1  christos 		default:
   3944   1.1  christos 			break;
   3945   1.1  christos 		};
   3946   1.1  christos 		break;
   3947   1.1  christos 	/* netbsd32_olseek */
   3948   1.1  christos 	case 19:
   3949   1.1  christos 		switch(ndx) {
   3950   1.1  christos 		case 0:
   3951   1.1  christos 			p = "int";
   3952   1.1  christos 			break;
   3953   1.1  christos 		case 1:
   3954   1.1  christos 			p = "netbsd32_long";
   3955   1.1  christos 			break;
   3956   1.1  christos 		case 2:
   3957   1.1  christos 			p = "int";
   3958   1.1  christos 			break;
   3959   1.1  christos 		default:
   3960   1.1  christos 			break;
   3961   1.1  christos 		};
   3962   1.1  christos 		break;
   3963  1.37     kamil 	/* sys_getpid_with_ppid */
   3964   1.1  christos 	case 20:
   3965   1.1  christos 		break;
   3966   1.1  christos 	/* netbsd32_mount */
   3967   1.1  christos 	case 21:
   3968   1.1  christos 		switch(ndx) {
   3969   1.1  christos 		case 0:
   3970   1.1  christos 			p = "netbsd32_charp";
   3971   1.1  christos 			break;
   3972   1.1  christos 		case 1:
   3973   1.1  christos 			p = "netbsd32_charp";
   3974   1.1  christos 			break;
   3975   1.1  christos 		case 2:
   3976   1.1  christos 			p = "int";
   3977   1.1  christos 			break;
   3978   1.1  christos 		case 3:
   3979   1.1  christos 			p = "netbsd32_voidp";
   3980   1.1  christos 			break;
   3981   1.1  christos 		default:
   3982   1.1  christos 			break;
   3983   1.1  christos 		};
   3984   1.1  christos 		break;
   3985   1.1  christos 	/* netbsd32_unmount */
   3986   1.1  christos 	case 22:
   3987   1.1  christos 		switch(ndx) {
   3988   1.1  christos 		case 0:
   3989   1.1  christos 			p = "netbsd32_charp";
   3990   1.1  christos 			break;
   3991   1.1  christos 		case 1:
   3992   1.1  christos 			p = "int";
   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_setuid */
   3999   1.1  christos 	case 23:
   4000   1.1  christos 		switch(ndx) {
   4001   1.1  christos 		case 0:
   4002   1.1  christos 			p = "uid_t";
   4003   1.1  christos 			break;
   4004   1.1  christos 		default:
   4005   1.1  christos 			break;
   4006   1.1  christos 		};
   4007   1.1  christos 		break;
   4008  1.37     kamil 	/* sys_getuid_with_euid */
   4009   1.1  christos 	case 24:
   4010   1.1  christos 		break;
   4011   1.1  christos 	/* sys_geteuid */
   4012   1.1  christos 	case 25:
   4013   1.1  christos 		break;
   4014   1.1  christos 	/* netbsd32_ptrace */
   4015   1.1  christos 	case 26:
   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 = "pid_t";
   4022   1.1  christos 			break;
   4023   1.1  christos 		case 2:
   4024   1.1  christos 			p = "netbsd32_voidp";
   4025   1.1  christos 			break;
   4026   1.1  christos 		case 3:
   4027   1.1  christos 			p = "int";
   4028   1.1  christos 			break;
   4029   1.1  christos 		default:
   4030   1.1  christos 			break;
   4031   1.1  christos 		};
   4032   1.1  christos 		break;
   4033   1.1  christos 	/* netbsd32_recvmsg */
   4034   1.1  christos 	case 27:
   4035   1.1  christos 		switch(ndx) {
   4036   1.1  christos 		case 0:
   4037   1.1  christos 			p = "int";
   4038   1.1  christos 			break;
   4039   1.1  christos 		case 1:
   4040   1.1  christos 			p = "netbsd32_msghdrp_t";
   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 		default:
   4046   1.1  christos 			break;
   4047   1.1  christos 		};
   4048   1.1  christos 		break;
   4049   1.1  christos 	/* netbsd32_sendmsg */
   4050   1.1  christos 	case 28:
   4051   1.1  christos 		switch(ndx) {
   4052   1.1  christos 		case 0:
   4053   1.1  christos 			p = "int";
   4054   1.1  christos 			break;
   4055   1.1  christos 		case 1:
   4056   1.1  christos 			p = "netbsd32_msghdrp_t";
   4057   1.1  christos 			break;
   4058   1.1  christos 		case 2:
   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_recvfrom */
   4066   1.1  christos 	case 29:
   4067   1.1  christos 		switch(ndx) {
   4068   1.1  christos 		case 0:
   4069   1.1  christos 			p = "int";
   4070   1.1  christos 			break;
   4071   1.1  christos 		case 1:
   4072   1.1  christos 			p = "netbsd32_voidp";
   4073   1.1  christos 			break;
   4074   1.1  christos 		case 2:
   4075   1.1  christos 			p = "netbsd32_size_t";
   4076   1.1  christos 			break;
   4077   1.1  christos 		case 3:
   4078   1.1  christos 			p = "int";
   4079   1.1  christos 			break;
   4080   1.1  christos 		case 4:
   4081   1.1  christos 			p = "netbsd32_sockaddrp_t";
   4082   1.1  christos 			break;
   4083   1.1  christos 		case 5:
   4084   1.1  christos 			p = "netbsd32_intp";
   4085   1.1  christos 			break;
   4086   1.1  christos 		default:
   4087   1.1  christos 			break;
   4088   1.1  christos 		};
   4089   1.1  christos 		break;
   4090   1.1  christos 	/* netbsd32_accept */
   4091   1.1  christos 	case 30:
   4092   1.1  christos 		switch(ndx) {
   4093   1.1  christos 		case 0:
   4094   1.1  christos 			p = "int";
   4095   1.1  christos 			break;
   4096   1.1  christos 		case 1:
   4097   1.1  christos 			p = "netbsd32_sockaddrp_t";
   4098   1.1  christos 			break;
   4099   1.1  christos 		case 2:
   4100   1.1  christos 			p = "netbsd32_intp";
   4101   1.1  christos 			break;
   4102   1.1  christos 		default:
   4103   1.1  christos 			break;
   4104   1.1  christos 		};
   4105   1.1  christos 		break;
   4106   1.1  christos 	/* netbsd32_getpeername */
   4107   1.1  christos 	case 31:
   4108   1.1  christos 		switch(ndx) {
   4109   1.1  christos 		case 0:
   4110   1.1  christos 			p = "int";
   4111   1.1  christos 			break;
   4112   1.1  christos 		case 1:
   4113   1.1  christos 			p = "netbsd32_sockaddrp_t";
   4114   1.1  christos 			break;
   4115   1.1  christos 		case 2:
   4116   1.1  christos 			p = "netbsd32_intp";
   4117   1.1  christos 			break;
   4118   1.1  christos 		default:
   4119   1.1  christos 			break;
   4120   1.1  christos 		};
   4121   1.1  christos 		break;
   4122   1.1  christos 	/* netbsd32_getsockname */
   4123   1.1  christos 	case 32:
   4124   1.1  christos 		switch(ndx) {
   4125   1.1  christos 		case 0:
   4126   1.1  christos 			p = "int";
   4127   1.1  christos 			break;
   4128   1.1  christos 		case 1:
   4129   1.1  christos 			p = "netbsd32_sockaddrp_t";
   4130   1.1  christos 			break;
   4131   1.1  christos 		case 2:
   4132   1.1  christos 			p = "netbsd32_intp";
   4133   1.1  christos 			break;
   4134   1.1  christos 		default:
   4135   1.1  christos 			break;
   4136   1.1  christos 		};
   4137   1.1  christos 		break;
   4138   1.1  christos 	/* netbsd32_access */
   4139   1.1  christos 	case 33:
   4140   1.1  christos 		switch(ndx) {
   4141   1.1  christos 		case 0:
   4142   1.1  christos 			p = "netbsd32_charp";
   4143   1.1  christos 			break;
   4144   1.1  christos 		case 1:
   4145   1.1  christos 			p = "int";
   4146   1.1  christos 			break;
   4147   1.1  christos 		default:
   4148   1.1  christos 			break;
   4149   1.1  christos 		};
   4150   1.1  christos 		break;
   4151   1.1  christos 	/* netbsd32_chflags */
   4152   1.1  christos 	case 34:
   4153   1.1  christos 		switch(ndx) {
   4154   1.1  christos 		case 0:
   4155   1.1  christos 			p = "netbsd32_charp";
   4156   1.1  christos 			break;
   4157   1.1  christos 		case 1:
   4158   1.1  christos 			p = "netbsd32_u_long";
   4159   1.1  christos 			break;
   4160   1.1  christos 		default:
   4161   1.1  christos 			break;
   4162   1.1  christos 		};
   4163   1.1  christos 		break;
   4164   1.1  christos 	/* netbsd32_fchflags */
   4165   1.1  christos 	case 35:
   4166   1.1  christos 		switch(ndx) {
   4167   1.1  christos 		case 0:
   4168   1.1  christos 			p = "int";
   4169   1.1  christos 			break;
   4170   1.1  christos 		case 1:
   4171   1.1  christos 			p = "netbsd32_u_long";
   4172   1.1  christos 			break;
   4173   1.1  christos 		default:
   4174   1.1  christos 			break;
   4175   1.1  christos 		};
   4176   1.1  christos 		break;
   4177   1.1  christos 	/* sys_sync */
   4178   1.1  christos 	case 36:
   4179   1.1  christos 		break;
   4180   1.1  christos 	/* netbsd32_kill */
   4181   1.1  christos 	case 37:
   4182   1.1  christos 		switch(ndx) {
   4183   1.1  christos 		case 0:
   4184   1.1  christos 			p = "int";
   4185   1.1  christos 			break;
   4186   1.1  christos 		case 1:
   4187   1.1  christos 			p = "int";
   4188   1.1  christos 			break;
   4189   1.1  christos 		default:
   4190   1.1  christos 			break;
   4191   1.1  christos 		};
   4192   1.1  christos 		break;
   4193   1.1  christos 	/* netbsd32_stat43 */
   4194   1.1  christos 	case 38:
   4195   1.1  christos 		switch(ndx) {
   4196   1.1  christos 		case 0:
   4197   1.1  christos 			p = "netbsd32_charp";
   4198   1.1  christos 			break;
   4199   1.1  christos 		case 1:
   4200   1.1  christos 			p = "netbsd32_stat43p_t";
   4201   1.1  christos 			break;
   4202   1.1  christos 		default:
   4203   1.1  christos 			break;
   4204   1.1  christos 		};
   4205   1.1  christos 		break;
   4206   1.1  christos 	/* sys_getppid */
   4207   1.1  christos 	case 39:
   4208   1.1  christos 		break;
   4209   1.1  christos 	/* netbsd32_lstat43 */
   4210   1.1  christos 	case 40:
   4211   1.1  christos 		switch(ndx) {
   4212   1.1  christos 		case 0:
   4213   1.1  christos 			p = "netbsd32_charp";
   4214   1.1  christos 			break;
   4215   1.1  christos 		case 1:
   4216   1.1  christos 			p = "netbsd32_stat43p_t";
   4217   1.1  christos 			break;
   4218   1.1  christos 		default:
   4219   1.1  christos 			break;
   4220   1.1  christos 		};
   4221   1.1  christos 		break;
   4222   1.1  christos 	/* netbsd32_dup */
   4223   1.1  christos 	case 41:
   4224   1.1  christos 		switch(ndx) {
   4225   1.1  christos 		case 0:
   4226   1.1  christos 			p = "int";
   4227   1.1  christos 			break;
   4228   1.1  christos 		default:
   4229   1.1  christos 			break;
   4230   1.1  christos 		};
   4231   1.1  christos 		break;
   4232   1.1  christos 	/* sys_pipe */
   4233   1.1  christos 	case 42:
   4234   1.1  christos 		break;
   4235   1.1  christos 	/* sys_getegid */
   4236   1.1  christos 	case 43:
   4237   1.1  christos 		break;
   4238   1.1  christos 	/* netbsd32_profil */
   4239   1.1  christos 	case 44:
   4240   1.1  christos 		switch(ndx) {
   4241   1.1  christos 		case 0:
   4242   1.1  christos 			p = "netbsd32_voidp";
   4243   1.1  christos 			break;
   4244   1.1  christos 		case 1:
   4245   1.1  christos 			p = "netbsd32_size_t";
   4246   1.1  christos 			break;
   4247   1.1  christos 		case 2:
   4248   1.1  christos 			p = "netbsd32_u_long";
   4249   1.1  christos 			break;
   4250   1.1  christos 		case 3:
   4251   1.1  christos 			p = "u_int";
   4252   1.1  christos 			break;
   4253   1.1  christos 		default:
   4254   1.1  christos 			break;
   4255   1.1  christos 		};
   4256   1.1  christos 		break;
   4257   1.1  christos 	/* netbsd32_ktrace */
   4258   1.1  christos 	case 45:
   4259   1.1  christos 		switch(ndx) {
   4260   1.1  christos 		case 0:
   4261   1.1  christos 			p = "netbsd32_charp";
   4262   1.1  christos 			break;
   4263   1.1  christos 		case 1:
   4264   1.1  christos 			p = "int";
   4265   1.1  christos 			break;
   4266   1.1  christos 		case 2:
   4267   1.1  christos 			p = "int";
   4268   1.1  christos 			break;
   4269   1.1  christos 		case 3:
   4270   1.1  christos 			p = "int";
   4271   1.1  christos 			break;
   4272   1.1  christos 		default:
   4273   1.1  christos 			break;
   4274   1.1  christos 		};
   4275   1.1  christos 		break;
   4276   1.1  christos 	/* netbsd32_sigaction */
   4277   1.1  christos 	case 46:
   4278   1.1  christos 		switch(ndx) {
   4279   1.1  christos 		case 0:
   4280   1.1  christos 			p = "int";
   4281   1.1  christos 			break;
   4282   1.1  christos 		case 1:
   4283   1.1  christos 			p = "netbsd32_sigactionp_t";
   4284   1.1  christos 			break;
   4285   1.1  christos 		case 2:
   4286   1.1  christos 			p = "netbsd32_sigactionp_t";
   4287   1.1  christos 			break;
   4288   1.1  christos 		default:
   4289   1.1  christos 			break;
   4290   1.1  christos 		};
   4291   1.1  christos 		break;
   4292  1.37     kamil 	/* sys_getgid_with_egid */
   4293   1.1  christos 	case 47:
   4294   1.1  christos 		break;
   4295   1.1  christos 	/* netbsd32_sigprocmask */
   4296   1.1  christos 	case 48:
   4297   1.1  christos 		switch(ndx) {
   4298   1.1  christos 		case 0:
   4299   1.1  christos 			p = "int";
   4300   1.1  christos 			break;
   4301   1.1  christos 		case 1:
   4302   1.1  christos 			p = "int";
   4303   1.1  christos 			break;
   4304   1.1  christos 		default:
   4305   1.1  christos 			break;
   4306   1.1  christos 		};
   4307   1.1  christos 		break;
   4308   1.1  christos 	/* netbsd32___getlogin */
   4309   1.1  christos 	case 49:
   4310   1.1  christos 		switch(ndx) {
   4311   1.1  christos 		case 0:
   4312   1.1  christos 			p = "netbsd32_charp";
   4313   1.1  christos 			break;
   4314   1.1  christos 		case 1:
   4315   1.1  christos 			p = "u_int";
   4316   1.1  christos 			break;
   4317   1.1  christos 		default:
   4318   1.1  christos 			break;
   4319   1.1  christos 		};
   4320   1.1  christos 		break;
   4321   1.1  christos 	/* netbsd32_setlogin */
   4322   1.1  christos 	case 50:
   4323   1.1  christos 		switch(ndx) {
   4324   1.1  christos 		case 0:
   4325   1.1  christos 			p = "netbsd32_charp";
   4326   1.1  christos 			break;
   4327   1.1  christos 		default:
   4328   1.1  christos 			break;
   4329   1.1  christos 		};
   4330   1.1  christos 		break;
   4331   1.1  christos 	/* netbsd32_acct */
   4332   1.1  christos 	case 51:
   4333   1.1  christos 		switch(ndx) {
   4334   1.1  christos 		case 0:
   4335   1.1  christos 			p = "netbsd32_charp";
   4336   1.1  christos 			break;
   4337   1.1  christos 		default:
   4338   1.1  christos 			break;
   4339   1.1  christos 		};
   4340   1.1  christos 		break;
   4341   1.1  christos 	/* sys_sigpending */
   4342   1.1  christos 	case 52:
   4343   1.1  christos 		break;
   4344   1.1  christos 	/* netbsd32_sigaltstack13 */
   4345   1.1  christos 	case 53:
   4346   1.1  christos 		switch(ndx) {
   4347   1.1  christos 		case 0:
   4348   1.1  christos 			p = "netbsd32_sigaltstack13p_t";
   4349   1.1  christos 			break;
   4350   1.1  christos 		case 1:
   4351   1.1  christos 			p = "netbsd32_sigaltstack13p_t";
   4352   1.1  christos 			break;
   4353   1.1  christos 		default:
   4354   1.1  christos 			break;
   4355   1.1  christos 		};
   4356   1.1  christos 		break;
   4357   1.1  christos 	/* netbsd32_ioctl */
   4358   1.1  christos 	case 54:
   4359   1.1  christos 		switch(ndx) {
   4360   1.1  christos 		case 0:
   4361   1.1  christos 			p = "int";
   4362   1.1  christos 			break;
   4363   1.1  christos 		case 1:
   4364   1.1  christos 			p = "netbsd32_u_long";
   4365   1.1  christos 			break;
   4366   1.1  christos 		case 2:
   4367   1.1  christos 			p = "netbsd32_voidp";
   4368   1.1  christos 			break;
   4369   1.1  christos 		default:
   4370   1.1  christos 			break;
   4371   1.1  christos 		};
   4372   1.1  christos 		break;
   4373   1.1  christos 	/* netbsd32_reboot */
   4374   1.1  christos 	case 55:
   4375   1.1  christos 		switch(ndx) {
   4376   1.1  christos 		case 0:
   4377   1.1  christos 			p = "int";
   4378   1.1  christos 			break;
   4379   1.1  christos 		default:
   4380   1.1  christos 			break;
   4381   1.1  christos 		};
   4382   1.1  christos 		break;
   4383   1.1  christos 	/* netbsd32_revoke */
   4384   1.1  christos 	case 56:
   4385   1.1  christos 		switch(ndx) {
   4386   1.1  christos 		case 0:
   4387   1.1  christos 			p = "netbsd32_charp";
   4388   1.1  christos 			break;
   4389   1.1  christos 		default:
   4390   1.1  christos 			break;
   4391   1.1  christos 		};
   4392   1.1  christos 		break;
   4393   1.1  christos 	/* netbsd32_symlink */
   4394   1.1  christos 	case 57:
   4395   1.1  christos 		switch(ndx) {
   4396   1.1  christos 		case 0:
   4397   1.1  christos 			p = "netbsd32_charp";
   4398   1.1  christos 			break;
   4399   1.1  christos 		case 1:
   4400   1.1  christos 			p = "netbsd32_charp";
   4401   1.1  christos 			break;
   4402   1.1  christos 		default:
   4403   1.1  christos 			break;
   4404   1.1  christos 		};
   4405   1.1  christos 		break;
   4406   1.1  christos 	/* netbsd32_readlink */
   4407   1.1  christos 	case 58:
   4408   1.1  christos 		switch(ndx) {
   4409   1.1  christos 		case 0:
   4410   1.1  christos 			p = "netbsd32_charp";
   4411   1.1  christos 			break;
   4412   1.1  christos 		case 1:
   4413   1.1  christos 			p = "netbsd32_charp";
   4414   1.1  christos 			break;
   4415   1.1  christos 		case 2:
   4416   1.1  christos 			p = "netbsd32_size_t";
   4417   1.1  christos 			break;
   4418   1.1  christos 		default:
   4419   1.1  christos 			break;
   4420   1.1  christos 		};
   4421   1.1  christos 		break;
   4422   1.1  christos 	/* netbsd32_execve */
   4423   1.1  christos 	case 59:
   4424   1.1  christos 		switch(ndx) {
   4425   1.1  christos 		case 0:
   4426   1.1  christos 			p = "netbsd32_charp";
   4427   1.1  christos 			break;
   4428   1.1  christos 		case 1:
   4429   1.1  christos 			p = "netbsd32_charpp";
   4430   1.1  christos 			break;
   4431   1.1  christos 		case 2:
   4432   1.1  christos 			p = "netbsd32_charpp";
   4433   1.1  christos 			break;
   4434   1.1  christos 		default:
   4435   1.1  christos 			break;
   4436   1.1  christos 		};
   4437   1.1  christos 		break;
   4438   1.1  christos 	/* netbsd32_umask */
   4439   1.1  christos 	case 60:
   4440   1.1  christos 		switch(ndx) {
   4441   1.1  christos 		case 0:
   4442   1.1  christos 			p = "mode_t";
   4443   1.1  christos 			break;
   4444   1.1  christos 		default:
   4445   1.1  christos 			break;
   4446   1.1  christos 		};
   4447   1.1  christos 		break;
   4448   1.1  christos 	/* netbsd32_chroot */
   4449   1.1  christos 	case 61:
   4450   1.1  christos 		switch(ndx) {
   4451   1.1  christos 		case 0:
   4452   1.1  christos 			p = "netbsd32_charp";
   4453   1.1  christos 			break;
   4454   1.1  christos 		default:
   4455   1.1  christos 			break;
   4456   1.1  christos 		};
   4457   1.1  christos 		break;
   4458   1.1  christos 	/* netbsd32_fstat43 */
   4459   1.1  christos 	case 62:
   4460   1.1  christos 		switch(ndx) {
   4461   1.1  christos 		case 0:
   4462   1.1  christos 			p = "int";
   4463   1.1  christos 			break;
   4464   1.1  christos 		case 1:
   4465   1.1  christos 			p = "netbsd32_stat43p_t";
   4466   1.1  christos 			break;
   4467   1.1  christos 		default:
   4468   1.1  christos 			break;
   4469   1.1  christos 		};
   4470   1.1  christos 		break;
   4471   1.1  christos 	/* netbsd32_ogetkerninfo */
   4472   1.1  christos 	case 63:
   4473   1.1  christos 		switch(ndx) {
   4474   1.1  christos 		case 0:
   4475   1.1  christos 			p = "int";
   4476   1.1  christos 			break;
   4477   1.1  christos 		case 1:
   4478   1.1  christos 			p = "netbsd32_charp";
   4479   1.1  christos 			break;
   4480   1.1  christos 		case 2:
   4481   1.1  christos 			p = "netbsd32_intp";
   4482   1.1  christos 			break;
   4483   1.1  christos 		case 3:
   4484   1.1  christos 			p = "int";
   4485   1.1  christos 			break;
   4486   1.1  christos 		default:
   4487   1.1  christos 			break;
   4488   1.1  christos 		};
   4489   1.1  christos 		break;
   4490   1.1  christos 	/* sys_getpagesize */
   4491   1.1  christos 	case 64:
   4492   1.1  christos 		break;
   4493   1.1  christos 	/* netbsd32_msync */
   4494   1.1  christos 	case 65:
   4495   1.1  christos 		switch(ndx) {
   4496   1.1  christos 		case 0:
   4497   1.1  christos 			p = "netbsd32_voidp";
   4498   1.1  christos 			break;
   4499   1.1  christos 		case 1:
   4500   1.1  christos 			p = "netbsd32_size_t";
   4501   1.1  christos 			break;
   4502   1.1  christos 		default:
   4503   1.1  christos 			break;
   4504   1.1  christos 		};
   4505   1.1  christos 		break;
   4506   1.1  christos 	/* sys_vfork */
   4507   1.1  christos 	case 66:
   4508   1.1  christos 		break;
   4509   1.1  christos 	/* netbsd32_ommap */
   4510   1.1  christos 	case 71:
   4511   1.1  christos 		switch(ndx) {
   4512   1.1  christos 		case 0:
   4513   1.1  christos 			p = "netbsd32_voidp";
   4514   1.1  christos 			break;
   4515   1.1  christos 		case 1:
   4516   1.1  christos 			p = "netbsd32_size_t";
   4517   1.1  christos 			break;
   4518   1.1  christos 		case 2:
   4519   1.1  christos 			p = "int";
   4520   1.1  christos 			break;
   4521   1.1  christos 		case 3:
   4522   1.1  christos 			p = "int";
   4523   1.1  christos 			break;
   4524   1.1  christos 		case 4:
   4525   1.1  christos 			p = "int";
   4526   1.1  christos 			break;
   4527   1.1  christos 		case 5:
   4528   1.1  christos 			p = "netbsd32_long";
   4529   1.1  christos 			break;
   4530   1.1  christos 		default:
   4531   1.1  christos 			break;
   4532   1.1  christos 		};
   4533   1.1  christos 		break;
   4534  1.24     kamil 	/* netbsd32_ovadvise */
   4535  1.24     kamil 	case 72:
   4536  1.24     kamil 		switch(ndx) {
   4537  1.24     kamil 		case 0:
   4538  1.24     kamil 			p = "int";
   4539  1.24     kamil 			break;
   4540  1.24     kamil 		default:
   4541  1.24     kamil 			break;
   4542  1.24     kamil 		};
   4543  1.24     kamil 		break;
   4544   1.1  christos 	/* netbsd32_munmap */
   4545   1.1  christos 	case 73:
   4546   1.1  christos 		switch(ndx) {
   4547   1.1  christos 		case 0:
   4548   1.1  christos 			p = "netbsd32_voidp";
   4549   1.1  christos 			break;
   4550   1.1  christos 		case 1:
   4551   1.1  christos 			p = "netbsd32_size_t";
   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 	/* netbsd32_mprotect */
   4558   1.1  christos 	case 74:
   4559   1.1  christos 		switch(ndx) {
   4560   1.1  christos 		case 0:
   4561   1.1  christos 			p = "netbsd32_voidp";
   4562   1.1  christos 			break;
   4563   1.1  christos 		case 1:
   4564   1.1  christos 			p = "netbsd32_size_t";
   4565   1.1  christos 			break;
   4566   1.1  christos 		case 2:
   4567   1.1  christos 			p = "int";
   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 	/* netbsd32_madvise */
   4574   1.1  christos 	case 75:
   4575   1.1  christos 		switch(ndx) {
   4576   1.1  christos 		case 0:
   4577   1.1  christos 			p = "netbsd32_voidp";
   4578   1.1  christos 			break;
   4579   1.1  christos 		case 1:
   4580   1.1  christos 			p = "netbsd32_size_t";
   4581   1.1  christos 			break;
   4582   1.1  christos 		case 2:
   4583   1.1  christos 			p = "int";
   4584   1.1  christos 			break;
   4585   1.1  christos 		default:
   4586   1.1  christos 			break;
   4587   1.1  christos 		};
   4588   1.1  christos 		break;
   4589   1.1  christos 	/* netbsd32_mincore */
   4590   1.1  christos 	case 78:
   4591   1.1  christos 		switch(ndx) {
   4592   1.1  christos 		case 0:
   4593   1.1  christos 			p = "netbsd32_voidp";
   4594   1.1  christos 			break;
   4595   1.1  christos 		case 1:
   4596   1.1  christos 			p = "netbsd32_size_t";
   4597   1.1  christos 			break;
   4598   1.1  christos 		case 2:
   4599   1.1  christos 			p = "netbsd32_charp";
   4600   1.1  christos 			break;
   4601   1.1  christos 		default:
   4602   1.1  christos 			break;
   4603   1.1  christos 		};
   4604   1.1  christos 		break;
   4605   1.1  christos 	/* netbsd32_getgroups */
   4606   1.1  christos 	case 79:
   4607   1.1  christos 		switch(ndx) {
   4608   1.1  christos 		case 0:
   4609   1.1  christos 			p = "int";
   4610   1.1  christos 			break;
   4611   1.1  christos 		case 1:
   4612   1.1  christos 			p = "netbsd32_gid_tp";
   4613   1.1  christos 			break;
   4614   1.1  christos 		default:
   4615   1.1  christos 			break;
   4616   1.1  christos 		};
   4617   1.1  christos 		break;
   4618   1.1  christos 	/* netbsd32_setgroups */
   4619   1.1  christos 	case 80:
   4620   1.1  christos 		switch(ndx) {
   4621   1.1  christos 		case 0:
   4622   1.1  christos 			p = "int";
   4623   1.1  christos 			break;
   4624   1.1  christos 		case 1:
   4625   1.1  christos 			p = "netbsd32_gid_tp";
   4626   1.1  christos 			break;
   4627   1.1  christos 		default:
   4628   1.1  christos 			break;
   4629   1.1  christos 		};
   4630   1.1  christos 		break;
   4631   1.1  christos 	/* sys_getpgrp */
   4632   1.1  christos 	case 81:
   4633   1.1  christos 		break;
   4634   1.1  christos 	/* netbsd32_setpgid */
   4635   1.1  christos 	case 82:
   4636   1.1  christos 		switch(ndx) {
   4637   1.1  christos 		case 0:
   4638   1.1  christos 			p = "int";
   4639   1.1  christos 			break;
   4640   1.1  christos 		case 1:
   4641   1.1  christos 			p = "int";
   4642   1.1  christos 			break;
   4643   1.1  christos 		default:
   4644   1.1  christos 			break;
   4645   1.1  christos 		};
   4646   1.1  christos 		break;
   4647   1.1  christos 	/* netbsd32_setitimer */
   4648   1.1  christos 	case 83:
   4649   1.1  christos 		switch(ndx) {
   4650   1.1  christos 		case 0:
   4651   1.1  christos 			p = "int";
   4652   1.1  christos 			break;
   4653   1.1  christos 		case 1:
   4654   1.1  christos 			p = "netbsd32_itimerval50p_t";
   4655   1.1  christos 			break;
   4656   1.1  christos 		case 2:
   4657   1.1  christos 			p = "netbsd32_itimerval50p_t";
   4658   1.1  christos 			break;
   4659   1.1  christos 		default:
   4660   1.1  christos 			break;
   4661   1.1  christos 		};
   4662   1.1  christos 		break;
   4663   1.1  christos 	/* sys_wait */
   4664   1.1  christos 	case 84:
   4665   1.1  christos 		break;
   4666   1.1  christos 	/* netbsd32_oswapon */
   4667   1.1  christos 	case 85:
   4668   1.1  christos 		switch(ndx) {
   4669   1.1  christos 		case 0:
   4670   1.1  christos 			p = "netbsd32_charp";
   4671   1.1  christos 			break;
   4672   1.1  christos 		default:
   4673   1.1  christos 			break;
   4674   1.1  christos 		};
   4675   1.1  christos 		break;
   4676   1.1  christos 	/* netbsd32_getitimer */
   4677   1.1  christos 	case 86:
   4678   1.1  christos 		switch(ndx) {
   4679   1.1  christos 		case 0:
   4680   1.1  christos 			p = "int";
   4681   1.1  christos 			break;
   4682   1.1  christos 		case 1:
   4683   1.1  christos 			p = "netbsd32_itimerval50p_t";
   4684   1.1  christos 			break;
   4685   1.1  christos 		default:
   4686   1.1  christos 			break;
   4687   1.1  christos 		};
   4688   1.1  christos 		break;
   4689   1.1  christos 	/* netbsd32_ogethostname */
   4690   1.1  christos 	case 87:
   4691   1.1  christos 		switch(ndx) {
   4692   1.1  christos 		case 0:
   4693   1.1  christos 			p = "netbsd32_charp";
   4694   1.1  christos 			break;
   4695   1.1  christos 		case 1:
   4696   1.1  christos 			p = "u_int";
   4697   1.1  christos 			break;
   4698   1.1  christos 		default:
   4699   1.1  christos 			break;
   4700   1.1  christos 		};
   4701   1.1  christos 		break;
   4702   1.1  christos 	/* netbsd32_osethostname */
   4703   1.1  christos 	case 88:
   4704   1.1  christos 		switch(ndx) {
   4705   1.1  christos 		case 0:
   4706   1.1  christos 			p = "netbsd32_charp";
   4707   1.1  christos 			break;
   4708   1.1  christos 		case 1:
   4709   1.1  christos 			p = "u_int";
   4710   1.1  christos 			break;
   4711   1.1  christos 		default:
   4712   1.1  christos 			break;
   4713   1.1  christos 		};
   4714   1.1  christos 		break;
   4715   1.1  christos 	/* sys_getdtablesize */
   4716   1.1  christos 	case 89:
   4717   1.1  christos 		break;
   4718   1.1  christos 	/* netbsd32_dup2 */
   4719   1.1  christos 	case 90:
   4720   1.1  christos 		switch(ndx) {
   4721   1.1  christos 		case 0:
   4722   1.1  christos 			p = "int";
   4723   1.1  christos 			break;
   4724   1.1  christos 		case 1:
   4725   1.1  christos 			p = "int";
   4726   1.1  christos 			break;
   4727   1.1  christos 		default:
   4728   1.1  christos 			break;
   4729   1.1  christos 		};
   4730   1.1  christos 		break;
   4731  1.45       rin 	/* netbsd32_getrandom */
   4732  1.45       rin 	case 91:
   4733  1.45       rin 		switch(ndx) {
   4734  1.45       rin 		case 0:
   4735  1.45       rin 			p = "netbsd32_voidp";
   4736  1.45       rin 			break;
   4737  1.45       rin 		case 1:
   4738  1.45       rin 			p = "netbsd32_size_t";
   4739  1.45       rin 			break;
   4740  1.45       rin 		case 2:
   4741  1.45       rin 			p = "unsigned int";
   4742  1.45       rin 			break;
   4743  1.45       rin 		default:
   4744  1.45       rin 			break;
   4745  1.45       rin 		};
   4746  1.45       rin 		break;
   4747   1.1  christos 	/* netbsd32_fcntl */
   4748   1.1  christos 	case 92:
   4749   1.1  christos 		switch(ndx) {
   4750   1.1  christos 		case 0:
   4751   1.1  christos 			p = "int";
   4752   1.1  christos 			break;
   4753   1.1  christos 		case 1:
   4754   1.1  christos 			p = "int";
   4755   1.1  christos 			break;
   4756   1.1  christos 		case 2:
   4757   1.1  christos 			p = "netbsd32_voidp";
   4758   1.1  christos 			break;
   4759   1.1  christos 		default:
   4760   1.1  christos 			break;
   4761   1.1  christos 		};
   4762   1.1  christos 		break;
   4763   1.1  christos 	/* netbsd32_select */
   4764   1.1  christos 	case 93:
   4765   1.1  christos 		switch(ndx) {
   4766   1.1  christos 		case 0:
   4767   1.1  christos 			p = "int";
   4768   1.1  christos 			break;
   4769   1.1  christos 		case 1:
   4770   1.1  christos 			p = "netbsd32_fd_setp_t";
   4771   1.1  christos 			break;
   4772   1.1  christos 		case 2:
   4773   1.1  christos 			p = "netbsd32_fd_setp_t";
   4774   1.1  christos 			break;
   4775   1.1  christos 		case 3:
   4776   1.1  christos 			p = "netbsd32_fd_setp_t";
   4777   1.1  christos 			break;
   4778   1.1  christos 		case 4:
   4779   1.1  christos 			p = "netbsd32_timeval50p_t";
   4780   1.1  christos 			break;
   4781   1.1  christos 		default:
   4782   1.1  christos 			break;
   4783   1.1  christos 		};
   4784   1.1  christos 		break;
   4785   1.1  christos 	/* netbsd32_fsync */
   4786   1.1  christos 	case 95:
   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 		default:
   4792   1.1  christos 			break;
   4793   1.1  christos 		};
   4794   1.1  christos 		break;
   4795   1.1  christos 	/* netbsd32_setpriority */
   4796   1.1  christos 	case 96:
   4797   1.1  christos 		switch(ndx) {
   4798   1.1  christos 		case 0:
   4799   1.1  christos 			p = "int";
   4800   1.1  christos 			break;
   4801   1.1  christos 		case 1:
   4802   1.1  christos 			p = "int";
   4803   1.1  christos 			break;
   4804   1.1  christos 		case 2:
   4805   1.1  christos 			p = "int";
   4806   1.1  christos 			break;
   4807   1.1  christos 		default:
   4808   1.1  christos 			break;
   4809   1.1  christos 		};
   4810   1.1  christos 		break;
   4811   1.1  christos 	/* netbsd32_socket */
   4812   1.1  christos 	case 97:
   4813   1.1  christos 		switch(ndx) {
   4814   1.1  christos 		case 0:
   4815   1.1  christos 			p = "int";
   4816   1.1  christos 			break;
   4817   1.1  christos 		case 1:
   4818   1.1  christos 			p = "int";
   4819   1.1  christos 			break;
   4820   1.1  christos 		case 2:
   4821   1.1  christos 			p = "int";
   4822   1.1  christos 			break;
   4823   1.1  christos 		default:
   4824   1.1  christos 			break;
   4825   1.1  christos 		};
   4826   1.1  christos 		break;
   4827   1.1  christos 	/* netbsd32_connect */
   4828   1.1  christos 	case 98:
   4829   1.1  christos 		switch(ndx) {
   4830   1.1  christos 		case 0:
   4831   1.1  christos 			p = "int";
   4832   1.1  christos 			break;
   4833   1.1  christos 		case 1:
   4834   1.1  christos 			p = "netbsd32_sockaddrp_t";
   4835   1.1  christos 			break;
   4836   1.1  christos 		case 2:
   4837   1.1  christos 			p = "int";
   4838   1.1  christos 			break;
   4839   1.1  christos 		default:
   4840   1.1  christos 			break;
   4841   1.1  christos 		};
   4842   1.1  christos 		break;
   4843   1.1  christos 	/* netbsd32_oaccept */
   4844   1.1  christos 	case 99:
   4845   1.1  christos 		switch(ndx) {
   4846   1.1  christos 		case 0:
   4847   1.1  christos 			p = "int";
   4848   1.1  christos 			break;
   4849   1.1  christos 		case 1:
   4850   1.1  christos 			p = "netbsd32_voidp";
   4851   1.1  christos 			break;
   4852   1.1  christos 		case 2:
   4853   1.1  christos 			p = "netbsd32_intp";
   4854   1.1  christos 			break;
   4855   1.1  christos 		default:
   4856   1.1  christos 			break;
   4857   1.1  christos 		};
   4858   1.1  christos 		break;
   4859   1.1  christos 	/* netbsd32_getpriority */
   4860   1.1  christos 	case 100:
   4861   1.1  christos 		switch(ndx) {
   4862   1.1  christos 		case 0:
   4863   1.1  christos 			p = "int";
   4864   1.1  christos 			break;
   4865   1.1  christos 		case 1:
   4866   1.1  christos 			p = "int";
   4867   1.1  christos 			break;
   4868   1.1  christos 		default:
   4869   1.1  christos 			break;
   4870   1.1  christos 		};
   4871   1.1  christos 		break;
   4872   1.1  christos 	/* netbsd32_osend */
   4873   1.1  christos 	case 101:
   4874   1.1  christos 		switch(ndx) {
   4875   1.1  christos 		case 0:
   4876   1.1  christos 			p = "int";
   4877   1.1  christos 			break;
   4878   1.1  christos 		case 1:
   4879   1.1  christos 			p = "netbsd32_voidp";
   4880   1.1  christos 			break;
   4881   1.1  christos 		case 2:
   4882   1.1  christos 			p = "int";
   4883   1.1  christos 			break;
   4884   1.1  christos 		case 3:
   4885   1.1  christos 			p = "int";
   4886   1.1  christos 			break;
   4887   1.1  christos 		default:
   4888   1.1  christos 			break;
   4889   1.1  christos 		};
   4890   1.1  christos 		break;
   4891   1.1  christos 	/* netbsd32_orecv */
   4892   1.1  christos 	case 102:
   4893   1.1  christos 		switch(ndx) {
   4894   1.1  christos 		case 0:
   4895   1.1  christos 			p = "int";
   4896   1.1  christos 			break;
   4897   1.1  christos 		case 1:
   4898   1.1  christos 			p = "netbsd32_voidp";
   4899   1.1  christos 			break;
   4900   1.1  christos 		case 2:
   4901   1.1  christos 			p = "int";
   4902   1.1  christos 			break;
   4903   1.1  christos 		case 3:
   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_sigreturn */
   4911   1.1  christos 	case 103:
   4912   1.1  christos 		switch(ndx) {
   4913   1.1  christos 		case 0:
   4914   1.1  christos 			p = "netbsd32_sigcontextp_t";
   4915   1.1  christos 			break;
   4916   1.1  christos 		default:
   4917   1.1  christos 			break;
   4918   1.1  christos 		};
   4919   1.1  christos 		break;
   4920   1.1  christos 	/* netbsd32_bind */
   4921   1.1  christos 	case 104:
   4922   1.1  christos 		switch(ndx) {
   4923   1.1  christos 		case 0:
   4924   1.1  christos 			p = "int";
   4925   1.1  christos 			break;
   4926   1.1  christos 		case 1:
   4927   1.1  christos 			p = "netbsd32_sockaddrp_t";
   4928   1.1  christos 			break;
   4929   1.1  christos 		case 2:
   4930   1.1  christos 			p = "int";
   4931   1.1  christos 			break;
   4932   1.1  christos 		default:
   4933   1.1  christos 			break;
   4934   1.1  christos 		};
   4935   1.1  christos 		break;
   4936   1.1  christos 	/* netbsd32_setsockopt */
   4937   1.1  christos 	case 105:
   4938   1.1  christos 		switch(ndx) {
   4939   1.1  christos 		case 0:
   4940   1.1  christos 			p = "int";
   4941   1.1  christos 			break;
   4942   1.1  christos 		case 1:
   4943   1.1  christos 			p = "int";
   4944   1.1  christos 			break;
   4945   1.1  christos 		case 2:
   4946   1.1  christos 			p = "int";
   4947   1.1  christos 			break;
   4948   1.1  christos 		case 3:
   4949   1.1  christos 			p = "netbsd32_voidp";
   4950   1.1  christos 			break;
   4951   1.1  christos 		case 4:
   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_listen */
   4959   1.1  christos 	case 106:
   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 = "int";
   4966   1.1  christos 			break;
   4967   1.1  christos 		default:
   4968   1.1  christos 			break;
   4969   1.1  christos 		};
   4970   1.1  christos 		break;
   4971   1.1  christos 	/* netbsd32_osigvec */
   4972   1.1  christos 	case 108:
   4973   1.1  christos 		switch(ndx) {
   4974   1.1  christos 		case 0:
   4975   1.1  christos 			p = "int";
   4976   1.1  christos 			break;
   4977   1.1  christos 		case 1:
   4978   1.1  christos 			p = "netbsd32_sigvecp_t";
   4979   1.1  christos 			break;
   4980   1.1  christos 		case 2:
   4981   1.1  christos 			p = "netbsd32_sigvecp_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_sigblock */
   4988   1.1  christos 	case 109:
   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 		default:
   4994   1.1  christos 			break;
   4995   1.1  christos 		};
   4996   1.1  christos 		break;
   4997   1.1  christos 	/* netbsd32_sigsetmask */
   4998   1.1  christos 	case 110:
   4999   1.1  christos 		switch(ndx) {
   5000   1.1  christos 		case 0:
   5001   1.1  christos 			p = "int";
   5002   1.1  christos 			break;
   5003   1.1  christos 		default:
   5004   1.1  christos 			break;
   5005   1.1  christos 		};
   5006   1.1  christos 		break;
   5007   1.1  christos 	/* netbsd32_sigsuspend */
   5008   1.1  christos 	case 111:
   5009   1.1  christos 		switch(ndx) {
   5010   1.1  christos 		case 0:
   5011   1.1  christos 			p = "int";
   5012   1.1  christos 			break;
   5013   1.1  christos 		default:
   5014   1.1  christos 			break;
   5015   1.1  christos 		};
   5016   1.1  christos 		break;
   5017   1.1  christos 	/* netbsd32_osigstack */
   5018   1.1  christos 	case 112:
   5019   1.1  christos 		switch(ndx) {
   5020   1.1  christos 		case 0:
   5021   1.1  christos 			p = "netbsd32_sigstackp_t";
   5022   1.1  christos 			break;
   5023   1.1  christos 		case 1:
   5024   1.1  christos 			p = "netbsd32_sigstackp_t";
   5025   1.1  christos 			break;
   5026   1.1  christos 		default:
   5027   1.1  christos 			break;
   5028   1.1  christos 		};
   5029   1.1  christos 		break;
   5030   1.1  christos 	/* netbsd32_orecvmsg */
   5031   1.1  christos 	case 113:
   5032   1.1  christos 		switch(ndx) {
   5033   1.1  christos 		case 0:
   5034   1.1  christos 			p = "int";
   5035   1.1  christos 			break;
   5036   1.1  christos 		case 1:
   5037   1.1  christos 			p = "netbsd32_omsghdrp_t";
   5038   1.1  christos 			break;
   5039   1.1  christos 		case 2:
   5040   1.1  christos 			p = "int";
   5041   1.1  christos 			break;
   5042   1.1  christos 		default:
   5043   1.1  christos 			break;
   5044   1.1  christos 		};
   5045   1.1  christos 		break;
   5046   1.1  christos 	/* netbsd32_osendmsg */
   5047   1.1  christos 	case 114:
   5048   1.1  christos 		switch(ndx) {
   5049   1.1  christos 		case 0:
   5050   1.1  christos 			p = "int";
   5051   1.1  christos 			break;
   5052   1.1  christos 		case 1:
   5053   1.1  christos 			p = "netbsd32_voidp";
   5054   1.1  christos 			break;
   5055   1.1  christos 		case 2:
   5056   1.1  christos 			p = "int";
   5057   1.1  christos 			break;
   5058   1.1  christos 		default:
   5059   1.1  christos 			break;
   5060   1.1  christos 		};
   5061   1.1  christos 		break;
   5062   1.1  christos 	/* netbsd32_gettimeofday */
   5063   1.1  christos 	case 116:
   5064   1.1  christos 		switch(ndx) {
   5065   1.1  christos 		case 0:
   5066   1.1  christos 			p = "netbsd32_timeval50p_t";
   5067   1.1  christos 			break;
   5068   1.1  christos 		case 1:
   5069   1.1  christos 			p = "netbsd32_timezonep_t";
   5070   1.1  christos 			break;
   5071   1.1  christos 		default:
   5072   1.1  christos 			break;
   5073   1.1  christos 		};
   5074   1.1  christos 		break;
   5075   1.1  christos 	/* netbsd32_getrusage */
   5076   1.1  christos 	case 117:
   5077   1.1  christos 		switch(ndx) {
   5078   1.1  christos 		case 0:
   5079   1.1  christos 			p = "int";
   5080   1.1  christos 			break;
   5081   1.1  christos 		case 1:
   5082   1.1  christos 			p = "netbsd32_rusage50p_t";
   5083   1.1  christos 			break;
   5084   1.1  christos 		default:
   5085   1.1  christos 			break;
   5086   1.1  christos 		};
   5087   1.1  christos 		break;
   5088   1.1  christos 	/* netbsd32_getsockopt */
   5089   1.1  christos 	case 118:
   5090   1.1  christos 		switch(ndx) {
   5091   1.1  christos 		case 0:
   5092   1.1  christos 			p = "int";
   5093   1.1  christos 			break;
   5094   1.1  christos 		case 1:
   5095   1.1  christos 			p = "int";
   5096   1.1  christos 			break;
   5097   1.1  christos 		case 2:
   5098   1.1  christos 			p = "int";
   5099   1.1  christos 			break;
   5100   1.1  christos 		case 3:
   5101   1.1  christos 			p = "netbsd32_voidp";
   5102   1.1  christos 			break;
   5103   1.1  christos 		case 4:
   5104   1.1  christos 			p = "netbsd32_intp";
   5105   1.1  christos 			break;
   5106   1.1  christos 		default:
   5107   1.1  christos 			break;
   5108   1.1  christos 		};
   5109   1.1  christos 		break;
   5110   1.1  christos 	/* netbsd32_readv */
   5111   1.1  christos 	case 120:
   5112   1.1  christos 		switch(ndx) {
   5113   1.1  christos 		case 0:
   5114   1.1  christos 			p = "int";
   5115   1.1  christos 			break;
   5116   1.1  christos 		case 1:
   5117   1.1  christos 			p = "netbsd32_iovecp_t";
   5118   1.1  christos 			break;
   5119   1.1  christos 		case 2:
   5120   1.1  christos 			p = "int";
   5121   1.1  christos 			break;
   5122   1.1  christos 		default:
   5123   1.1  christos 			break;
   5124   1.1  christos 		};
   5125   1.1  christos 		break;
   5126   1.1  christos 	/* netbsd32_writev */
   5127   1.1  christos 	case 121:
   5128   1.1  christos 		switch(ndx) {
   5129   1.1  christos 		case 0:
   5130   1.1  christos 			p = "int";
   5131   1.1  christos 			break;
   5132   1.1  christos 		case 1:
   5133   1.1  christos 			p = "netbsd32_iovecp_t";
   5134   1.1  christos 			break;
   5135   1.1  christos 		case 2:
   5136   1.1  christos 			p = "int";
   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_settimeofday */
   5143   1.1  christos 	case 122:
   5144   1.1  christos 		switch(ndx) {
   5145   1.1  christos 		case 0:
   5146   1.1  christos 			p = "netbsd32_timeval50p_t";
   5147   1.1  christos 			break;
   5148   1.1  christos 		case 1:
   5149   1.1  christos 			p = "netbsd32_timezonep_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_fchown */
   5156   1.1  christos 	case 123:
   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 = "uid_t";
   5163   1.1  christos 			break;
   5164   1.1  christos 		case 2:
   5165   1.1  christos 			p = "gid_t";
   5166   1.1  christos 			break;
   5167   1.1  christos 		default:
   5168   1.1  christos 			break;
   5169   1.1  christos 		};
   5170   1.1  christos 		break;
   5171   1.1  christos 	/* netbsd32_fchmod */
   5172   1.1  christos 	case 124:
   5173   1.1  christos 		switch(ndx) {
   5174   1.1  christos 		case 0:
   5175   1.1  christos 			p = "int";
   5176   1.1  christos 			break;
   5177   1.1  christos 		case 1:
   5178   1.1  christos 			p = "mode_t";
   5179   1.1  christos 			break;
   5180   1.1  christos 		default:
   5181   1.1  christos 			break;
   5182   1.1  christos 		};
   5183   1.1  christos 		break;
   5184   1.1  christos 	/* netbsd32_orecvfrom */
   5185   1.1  christos 	case 125:
   5186   1.1  christos 		switch(ndx) {
   5187   1.1  christos 		case 0:
   5188   1.1  christos 			p = "int";
   5189   1.1  christos 			break;
   5190   1.1  christos 		case 1:
   5191   1.1  christos 			p = "netbsd32_voidp";
   5192   1.1  christos 			break;
   5193   1.1  christos 		case 2:
   5194   1.1  christos 			p = "netbsd32_size_t";
   5195   1.1  christos 			break;
   5196   1.1  christos 		case 3:
   5197   1.1  christos 			p = "int";
   5198   1.1  christos 			break;
   5199   1.1  christos 		case 4:
   5200   1.1  christos 			p = "netbsd32_voidp";
   5201   1.1  christos 			break;
   5202   1.1  christos 		case 5:
   5203   1.1  christos 			p = "netbsd32_intp";
   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_setreuid */
   5210   1.1  christos 	case 126:
   5211   1.1  christos 		switch(ndx) {
   5212   1.1  christos 		case 0:
   5213   1.1  christos 			p = "uid_t";
   5214   1.1  christos 			break;
   5215   1.1  christos 		case 1:
   5216   1.1  christos 			p = "uid_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_setregid */
   5223   1.1  christos 	case 127:
   5224   1.1  christos 		switch(ndx) {
   5225   1.1  christos 		case 0:
   5226   1.1  christos 			p = "gid_t";
   5227   1.1  christos 			break;
   5228   1.1  christos 		case 1:
   5229   1.1  christos 			p = "gid_t";
   5230   1.1  christos 			break;
   5231   1.1  christos 		default:
   5232   1.1  christos 			break;
   5233   1.1  christos 		};
   5234   1.1  christos 		break;
   5235   1.1  christos 	/* netbsd32_rename */
   5236   1.1  christos 	case 128:
   5237   1.1  christos 		switch(ndx) {
   5238   1.1  christos 		case 0:
   5239   1.1  christos 			p = "netbsd32_charp";
   5240   1.1  christos 			break;
   5241   1.1  christos 		case 1:
   5242   1.1  christos 			p = "netbsd32_charp";
   5243   1.1  christos 			break;
   5244   1.1  christos 		default:
   5245   1.1  christos 			break;
   5246   1.1  christos 		};
   5247   1.1  christos 		break;
   5248   1.1  christos 	/* netbsd32_otruncate */
   5249   1.1  christos 	case 129:
   5250   1.1  christos 		switch(ndx) {
   5251   1.1  christos 		case 0:
   5252   1.1  christos 			p = "netbsd32_charp";
   5253   1.1  christos 			break;
   5254   1.1  christos 		case 1:
   5255   1.1  christos 			p = "netbsd32_long";
   5256   1.1  christos 			break;
   5257   1.1  christos 		default:
   5258   1.1  christos 			break;
   5259   1.1  christos 		};
   5260   1.1  christos 		break;
   5261   1.1  christos 	/* netbsd32_oftruncate */
   5262   1.1  christos 	case 130:
   5263   1.1  christos 		switch(ndx) {
   5264   1.1  christos 		case 0:
   5265   1.1  christos 			p = "int";
   5266   1.1  christos 			break;
   5267   1.1  christos 		case 1:
   5268   1.1  christos 			p = "netbsd32_long";
   5269   1.1  christos 			break;
   5270   1.1  christos 		default:
   5271   1.1  christos 			break;
   5272   1.1  christos 		};
   5273   1.1  christos 		break;
   5274   1.1  christos 	/* netbsd32_flock */
   5275   1.1  christos 	case 131:
   5276   1.1  christos 		switch(ndx) {
   5277   1.1  christos 		case 0:
   5278   1.1  christos 			p = "int";
   5279   1.1  christos 			break;
   5280   1.1  christos 		case 1:
   5281   1.1  christos 			p = "int";
   5282   1.1  christos 			break;
   5283   1.1  christos 		default:
   5284   1.1  christos 			break;
   5285   1.1  christos 		};
   5286   1.1  christos 		break;
   5287   1.1  christos 	/* netbsd32_mkfifo */
   5288   1.1  christos 	case 132:
   5289   1.1  christos 		switch(ndx) {
   5290   1.1  christos 		case 0:
   5291   1.1  christos 			p = "netbsd32_charp";
   5292   1.1  christos 			break;
   5293   1.1  christos 		case 1:
   5294   1.1  christos 			p = "mode_t";
   5295   1.1  christos 			break;
   5296   1.1  christos 		default:
   5297   1.1  christos 			break;
   5298   1.1  christos 		};
   5299   1.1  christos 		break;
   5300   1.1  christos 	/* netbsd32_sendto */
   5301   1.1  christos 	case 133:
   5302   1.1  christos 		switch(ndx) {
   5303   1.1  christos 		case 0:
   5304   1.1  christos 			p = "int";
   5305   1.1  christos 			break;
   5306   1.1  christos 		case 1:
   5307   1.1  christos 			p = "netbsd32_voidp";
   5308   1.1  christos 			break;
   5309   1.1  christos 		case 2:
   5310   1.1  christos 			p = "netbsd32_size_t";
   5311   1.1  christos 			break;
   5312   1.1  christos 		case 3:
   5313   1.1  christos 			p = "int";
   5314   1.1  christos 			break;
   5315   1.1  christos 		case 4:
   5316   1.1  christos 			p = "netbsd32_sockaddrp_t";
   5317   1.1  christos 			break;
   5318   1.1  christos 		case 5:
   5319   1.1  christos 			p = "int";
   5320   1.1  christos 			break;
   5321   1.1  christos 		default:
   5322   1.1  christos 			break;
   5323   1.1  christos 		};
   5324   1.1  christos 		break;
   5325   1.1  christos 	/* netbsd32_shutdown */
   5326   1.1  christos 	case 134:
   5327   1.1  christos 		switch(ndx) {
   5328   1.1  christos 		case 0:
   5329   1.1  christos 			p = "int";
   5330   1.1  christos 			break;
   5331   1.1  christos 		case 1:
   5332   1.1  christos 			p = "int";
   5333   1.1  christos 			break;
   5334   1.1  christos 		default:
   5335   1.1  christos 			break;
   5336   1.1  christos 		};
   5337   1.1  christos 		break;
   5338   1.1  christos 	/* netbsd32_socketpair */
   5339   1.1  christos 	case 135:
   5340   1.1  christos 		switch(ndx) {
   5341   1.1  christos 		case 0:
   5342   1.1  christos 			p = "int";
   5343   1.1  christos 			break;
   5344   1.1  christos 		case 1:
   5345   1.1  christos 			p = "int";
   5346   1.1  christos 			break;
   5347   1.1  christos 		case 2:
   5348   1.1  christos 			p = "int";
   5349   1.1  christos 			break;
   5350   1.1  christos 		case 3:
   5351   1.1  christos 			p = "netbsd32_intp";
   5352   1.1  christos 			break;
   5353   1.1  christos 		default:
   5354   1.1  christos 			break;
   5355   1.1  christos 		};
   5356   1.1  christos 		break;
   5357   1.1  christos 	/* netbsd32_mkdir */
   5358   1.1  christos 	case 136:
   5359   1.1  christos 		switch(ndx) {
   5360   1.1  christos 		case 0:
   5361   1.1  christos 			p = "netbsd32_charp";
   5362   1.1  christos 			break;
   5363   1.1  christos 		case 1:
   5364   1.1  christos 			p = "mode_t";
   5365   1.1  christos 			break;
   5366   1.1  christos 		default:
   5367   1.1  christos 			break;
   5368   1.1  christos 		};
   5369   1.1  christos 		break;
   5370   1.1  christos 	/* netbsd32_rmdir */
   5371   1.1  christos 	case 137:
   5372   1.1  christos 		switch(ndx) {
   5373   1.1  christos 		case 0:
   5374   1.1  christos 			p = "netbsd32_charp";
   5375   1.1  christos 			break;
   5376   1.1  christos 		default:
   5377   1.1  christos 			break;
   5378   1.1  christos 		};
   5379   1.1  christos 		break;
   5380   1.1  christos 	/* netbsd32_utimes */
   5381   1.1  christos 	case 138:
   5382   1.1  christos 		switch(ndx) {
   5383   1.1  christos 		case 0:
   5384   1.1  christos 			p = "netbsd32_charp";
   5385   1.1  christos 			break;
   5386   1.1  christos 		case 1:
   5387   1.1  christos 			p = "netbsd32_timeval50p_t";
   5388   1.1  christos 			break;
   5389   1.1  christos 		default:
   5390   1.1  christos 			break;
   5391   1.1  christos 		};
   5392   1.1  christos 		break;
   5393   1.1  christos 	/* netbsd32_adjtime */
   5394   1.1  christos 	case 140:
   5395   1.1  christos 		switch(ndx) {
   5396   1.1  christos 		case 0:
   5397   1.1  christos 			p = "netbsd32_timeval50p_t";
   5398   1.1  christos 			break;
   5399   1.1  christos 		case 1:
   5400   1.1  christos 			p = "netbsd32_timeval50p_t";
   5401   1.1  christos 			break;
   5402   1.1  christos 		default:
   5403   1.1  christos 			break;
   5404   1.1  christos 		};
   5405   1.1  christos 		break;
   5406   1.1  christos 	/* netbsd32_ogetpeername */
   5407   1.1  christos 	case 141:
   5408   1.1  christos 		switch(ndx) {
   5409   1.1  christos 		case 0:
   5410   1.1  christos 			p = "int";
   5411   1.1  christos 			break;
   5412   1.1  christos 		case 1:
   5413   1.1  christos 			p = "netbsd32_voidp";
   5414   1.1  christos 			break;
   5415   1.1  christos 		case 2:
   5416   1.1  christos 			p = "netbsd32_intp";
   5417   1.1  christos 			break;
   5418   1.1  christos 		default:
   5419   1.1  christos 			break;
   5420   1.1  christos 		};
   5421   1.1  christos 		break;
   5422   1.1  christos 	/* sys_gethostid */
   5423   1.1  christos 	case 142:
   5424   1.1  christos 		break;
   5425   1.1  christos 	/* netbsd32_sethostid */
   5426   1.1  christos 	case 143:
   5427   1.1  christos 		switch(ndx) {
   5428   1.1  christos 		case 0:
   5429   1.1  christos 			p = "int32_t";
   5430   1.1  christos 			break;
   5431   1.1  christos 		default:
   5432   1.1  christos 			break;
   5433   1.1  christos 		};
   5434   1.1  christos 		break;
   5435   1.1  christos 	/* netbsd32_ogetrlimit */
   5436   1.1  christos 	case 144:
   5437   1.1  christos 		switch(ndx) {
   5438   1.1  christos 		case 0:
   5439   1.1  christos 			p = "int";
   5440   1.1  christos 			break;
   5441   1.1  christos 		case 1:
   5442   1.1  christos 			p = "netbsd32_orlimitp_t";
   5443   1.1  christos 			break;
   5444   1.1  christos 		default:
   5445   1.1  christos 			break;
   5446   1.1  christos 		};
   5447   1.1  christos 		break;
   5448   1.1  christos 	/* netbsd32_osetrlimit */
   5449   1.1  christos 	case 145:
   5450   1.1  christos 		switch(ndx) {
   5451   1.1  christos 		case 0:
   5452   1.1  christos 			p = "int";
   5453   1.1  christos 			break;
   5454   1.1  christos 		case 1:
   5455   1.1  christos 			p = "netbsd32_orlimitp_t";
   5456   1.1  christos 			break;
   5457   1.1  christos 		default:
   5458   1.1  christos 			break;
   5459   1.1  christos 		};
   5460   1.1  christos 		break;
   5461   1.1  christos 	/* netbsd32_killpg */
   5462   1.1  christos 	case 146:
   5463   1.1  christos 		switch(ndx) {
   5464   1.1  christos 		case 0:
   5465   1.1  christos 			p = "int";
   5466   1.1  christos 			break;
   5467   1.1  christos 		case 1:
   5468   1.1  christos 			p = "int";
   5469   1.1  christos 			break;
   5470   1.1  christos 		default:
   5471   1.1  christos 			break;
   5472   1.1  christos 		};
   5473   1.1  christos 		break;
   5474   1.1  christos 	/* sys_setsid */
   5475   1.1  christos 	case 147:
   5476   1.1  christos 		break;
   5477   1.1  christos 	/* netbsd32_quotactl */
   5478   1.1  christos 	case 148:
   5479   1.1  christos 		switch(ndx) {
   5480   1.1  christos 		case 0:
   5481   1.1  christos 			p = "netbsd32_charp";
   5482   1.1  christos 			break;
   5483   1.1  christos 		case 1:
   5484   1.1  christos 			p = "int";
   5485   1.1  christos 			break;
   5486   1.1  christos 		case 2:
   5487   1.1  christos 			p = "int";
   5488   1.1  christos 			break;
   5489   1.1  christos 		case 3:
   5490   1.1  christos 			p = "netbsd32_voidp";
   5491   1.1  christos 			break;
   5492   1.1  christos 		default:
   5493   1.1  christos 			break;
   5494   1.1  christos 		};
   5495   1.1  christos 		break;
   5496   1.1  christos 	/* netbsd32_ogetsockname */
   5497   1.1  christos 	case 150:
   5498   1.1  christos 		switch(ndx) {
   5499   1.1  christos 		case 0:
   5500   1.1  christos 			p = "int";
   5501   1.1  christos 			break;
   5502   1.1  christos 		case 1:
   5503   1.1  christos 			p = "netbsd32_voidp";
   5504   1.1  christos 			break;
   5505   1.1  christos 		case 2:
   5506   1.1  christos 			p = "netbsd32_intp";
   5507   1.1  christos 			break;
   5508   1.1  christos 		default:
   5509   1.1  christos 			break;
   5510   1.1  christos 		};
   5511   1.1  christos 		break;
   5512   1.6       mrg 	/* netbsd32_nfssvc */
   5513   1.6       mrg 	case 155:
   5514   1.6       mrg 		switch(ndx) {
   5515   1.6       mrg 		case 0:
   5516   1.6       mrg 			p = "int";
   5517   1.6       mrg 			break;
   5518   1.6       mrg 		case 1:
   5519   1.6       mrg 			p = "netbsd32_voidp";
   5520   1.6       mrg 			break;
   5521   1.6       mrg 		default:
   5522   1.6       mrg 			break;
   5523   1.6       mrg 		};
   5524   1.6       mrg 		break;
   5525   1.1  christos 	/* netbsd32_ogetdirentries */
   5526   1.1  christos 	case 156:
   5527   1.1  christos 		switch(ndx) {
   5528   1.1  christos 		case 0:
   5529   1.1  christos 			p = "int";
   5530   1.1  christos 			break;
   5531   1.1  christos 		case 1:
   5532   1.1  christos 			p = "netbsd32_charp";
   5533   1.1  christos 			break;
   5534   1.1  christos 		case 2:
   5535   1.1  christos 			p = "u_int";
   5536   1.1  christos 			break;
   5537   1.1  christos 		case 3:
   5538   1.1  christos 			p = "netbsd32_longp";
   5539   1.1  christos 			break;
   5540   1.1  christos 		default:
   5541   1.1  christos 			break;
   5542   1.1  christos 		};
   5543   1.1  christos 		break;
   5544   1.1  christos 	/* netbsd32_statfs */
   5545   1.1  christos 	case 157:
   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 = "netbsd32_statfsp_t";
   5552   1.1  christos 			break;
   5553   1.1  christos 		default:
   5554   1.1  christos 			break;
   5555   1.1  christos 		};
   5556   1.1  christos 		break;
   5557   1.1  christos 	/* netbsd32_fstatfs */
   5558   1.1  christos 	case 158:
   5559   1.1  christos 		switch(ndx) {
   5560   1.1  christos 		case 0:
   5561   1.1  christos 			p = "int";
   5562   1.1  christos 			break;
   5563   1.1  christos 		case 1:
   5564   1.1  christos 			p = "netbsd32_statfsp_t";
   5565   1.1  christos 			break;
   5566   1.1  christos 		default:
   5567   1.1  christos 			break;
   5568   1.1  christos 		};
   5569   1.1  christos 		break;
   5570   1.1  christos 	/* netbsd32_getfh */
   5571   1.1  christos 	case 161:
   5572   1.1  christos 		switch(ndx) {
   5573   1.1  christos 		case 0:
   5574   1.1  christos 			p = "netbsd32_charp";
   5575   1.1  christos 			break;
   5576   1.1  christos 		case 1:
   5577   1.1  christos 			p = "netbsd32_compat_30_fhandlep_t";
   5578   1.1  christos 			break;
   5579   1.1  christos 		default:
   5580   1.1  christos 			break;
   5581   1.1  christos 		};
   5582   1.1  christos 		break;
   5583   1.1  christos 	/* netbsd32_ogetdomainname */
   5584   1.1  christos 	case 162:
   5585   1.1  christos 		switch(ndx) {
   5586   1.1  christos 		case 0:
   5587   1.1  christos 			p = "netbsd32_charp";
   5588   1.1  christos 			break;
   5589   1.1  christos 		case 1:
   5590   1.1  christos 			p = "int";
   5591   1.1  christos 			break;
   5592   1.1  christos 		default:
   5593   1.1  christos 			break;
   5594   1.1  christos 		};
   5595   1.1  christos 		break;
   5596   1.1  christos 	/* netbsd32_osetdomainname */
   5597   1.1  christos 	case 163:
   5598   1.1  christos 		switch(ndx) {
   5599   1.1  christos 		case 0:
   5600   1.1  christos 			p = "netbsd32_charp";
   5601   1.1  christos 			break;
   5602   1.1  christos 		case 1:
   5603   1.1  christos 			p = "int";
   5604   1.1  christos 			break;
   5605   1.1  christos 		default:
   5606   1.1  christos 			break;
   5607   1.1  christos 		};
   5608   1.1  christos 		break;
   5609   1.1  christos 	/* netbsd32_uname */
   5610   1.1  christos 	case 164:
   5611   1.1  christos 		switch(ndx) {
   5612   1.1  christos 		case 0:
   5613   1.1  christos 			p = "netbsd32_outsnamep_t";
   5614   1.1  christos 			break;
   5615   1.1  christos 		default:
   5616   1.1  christos 			break;
   5617   1.1  christos 		};
   5618   1.1  christos 		break;
   5619   1.1  christos 	/* netbsd32_sysarch */
   5620   1.1  christos 	case 165:
   5621   1.1  christos 		switch(ndx) {
   5622   1.1  christos 		case 0:
   5623   1.1  christos 			p = "int";
   5624   1.1  christos 			break;
   5625   1.1  christos 		case 1:
   5626   1.1  christos 			p = "netbsd32_voidp";
   5627   1.1  christos 			break;
   5628   1.1  christos 		default:
   5629   1.1  christos 			break;
   5630   1.1  christos 		};
   5631   1.1  christos 		break;
   5632  1.43   thorpej 	/* netbsd32___futex */
   5633  1.43   thorpej 	case 166:
   5634  1.43   thorpej 		switch(ndx) {
   5635  1.43   thorpej 		case 0:
   5636  1.43   thorpej 			p = "netbsd32_intp";
   5637  1.43   thorpej 			break;
   5638  1.43   thorpej 		case 1:
   5639  1.43   thorpej 			p = "int";
   5640  1.43   thorpej 			break;
   5641  1.43   thorpej 		case 2:
   5642  1.43   thorpej 			p = "int";
   5643  1.43   thorpej 			break;
   5644  1.43   thorpej 		case 3:
   5645  1.43   thorpej 			p = "const netbsd32_timespecp_t";
   5646  1.43   thorpej 			break;
   5647  1.43   thorpej 		case 4:
   5648  1.43   thorpej 			p = "netbsd32_intp";
   5649  1.43   thorpej 			break;
   5650  1.43   thorpej 		case 5:
   5651  1.43   thorpej 			p = "int";
   5652  1.43   thorpej 			break;
   5653  1.43   thorpej 		case 6:
   5654  1.43   thorpej 			p = "int";
   5655  1.43   thorpej 			break;
   5656  1.43   thorpej 		default:
   5657  1.43   thorpej 			break;
   5658  1.43   thorpej 		};
   5659  1.43   thorpej 		break;
   5660  1.43   thorpej 	/* netbsd32___futex_set_robust_list */
   5661  1.43   thorpej 	case 167:
   5662  1.43   thorpej 		switch(ndx) {
   5663  1.43   thorpej 		case 0:
   5664  1.43   thorpej 			p = "netbsd32_voidp";
   5665  1.43   thorpej 			break;
   5666  1.43   thorpej 		case 1:
   5667  1.43   thorpej 			p = "netbsd32_size_t";
   5668  1.43   thorpej 			break;
   5669  1.43   thorpej 		default:
   5670  1.43   thorpej 			break;
   5671  1.43   thorpej 		};
   5672  1.43   thorpej 		break;
   5673  1.43   thorpej 	/* netbsd32___futex_get_robust_list */
   5674  1.43   thorpej 	case 168:
   5675  1.43   thorpej 		switch(ndx) {
   5676  1.43   thorpej 		case 0:
   5677  1.43   thorpej 			p = "lwpid_t";
   5678  1.43   thorpej 			break;
   5679  1.43   thorpej 		case 1:
   5680  1.43   thorpej 			p = "netbsd32_voidp";
   5681  1.43   thorpej 			break;
   5682  1.43   thorpej 		case 2:
   5683  1.43   thorpej 			p = "netbsd32_size_tp";
   5684  1.43   thorpej 			break;
   5685  1.43   thorpej 		default:
   5686  1.43   thorpej 			break;
   5687  1.43   thorpej 		};
   5688  1.43   thorpej 		break;
   5689   1.1  christos 	/* netbsd32_semsys */
   5690   1.1  christos 	case 169:
   5691   1.1  christos 		switch(ndx) {
   5692   1.1  christos 		case 0:
   5693   1.1  christos 			p = "int";
   5694   1.1  christos 			break;
   5695   1.1  christos 		case 1:
   5696   1.1  christos 			p = "int";
   5697   1.1  christos 			break;
   5698   1.1  christos 		case 2:
   5699   1.1  christos 			p = "int";
   5700   1.1  christos 			break;
   5701   1.1  christos 		case 3:
   5702   1.1  christos 			p = "int";
   5703   1.1  christos 			break;
   5704   1.1  christos 		case 4:
   5705   1.1  christos 			p = "int";
   5706   1.1  christos 			break;
   5707   1.1  christos 		default:
   5708   1.1  christos 			break;
   5709   1.1  christos 		};
   5710   1.1  christos 		break;
   5711   1.1  christos 	/* netbsd32_msgsys */
   5712   1.1  christos 	case 170:
   5713   1.1  christos 		switch(ndx) {
   5714   1.1  christos 		case 0:
   5715   1.1  christos 			p = "int";
   5716   1.1  christos 			break;
   5717   1.1  christos 		case 1:
   5718   1.1  christos 			p = "int";
   5719   1.1  christos 			break;
   5720   1.1  christos 		case 2:
   5721   1.1  christos 			p = "int";
   5722   1.1  christos 			break;
   5723   1.1  christos 		case 3:
   5724   1.1  christos 			p = "int";
   5725   1.1  christos 			break;
   5726   1.1  christos 		case 4:
   5727   1.1  christos 			p = "int";
   5728   1.1  christos 			break;
   5729   1.1  christos 		case 5:
   5730   1.1  christos 			p = "int";
   5731   1.1  christos 			break;
   5732   1.1  christos 		default:
   5733   1.1  christos 			break;
   5734   1.1  christos 		};
   5735   1.1  christos 		break;
   5736   1.1  christos 	/* netbsd32_shmsys */
   5737   1.1  christos 	case 171:
   5738   1.1  christos 		switch(ndx) {
   5739   1.1  christos 		case 0:
   5740   1.1  christos 			p = "int";
   5741   1.1  christos 			break;
   5742   1.1  christos 		case 1:
   5743   1.1  christos 			p = "int";
   5744   1.1  christos 			break;
   5745   1.1  christos 		case 2:
   5746   1.1  christos 			p = "int";
   5747   1.1  christos 			break;
   5748   1.1  christos 		case 3:
   5749   1.1  christos 			p = "int";
   5750   1.1  christos 			break;
   5751   1.1  christos 		default:
   5752   1.1  christos 			break;
   5753   1.1  christos 		};
   5754   1.1  christos 		break;
   5755   1.1  christos 	/* netbsd32_pread */
   5756   1.1  christos 	case 173:
   5757   1.1  christos 		switch(ndx) {
   5758   1.1  christos 		case 0:
   5759   1.1  christos 			p = "int";
   5760   1.1  christos 			break;
   5761   1.1  christos 		case 1:
   5762   1.1  christos 			p = "netbsd32_voidp";
   5763   1.1  christos 			break;
   5764   1.1  christos 		case 2:
   5765   1.1  christos 			p = "netbsd32_size_t";
   5766   1.1  christos 			break;
   5767   1.1  christos 		case 3:
   5768   1.1  christos 			p = "int";
   5769   1.1  christos 			break;
   5770   1.1  christos 		case 4:
   5771   1.1  christos 			p = "netbsd32_off_t";
   5772   1.1  christos 			break;
   5773   1.1  christos 		default:
   5774   1.1  christos 			break;
   5775   1.1  christos 		};
   5776   1.1  christos 		break;
   5777   1.1  christos 	/* netbsd32_pwrite */
   5778   1.1  christos 	case 174:
   5779   1.1  christos 		switch(ndx) {
   5780   1.1  christos 		case 0:
   5781   1.1  christos 			p = "int";
   5782   1.1  christos 			break;
   5783   1.1  christos 		case 1:
   5784   1.1  christos 			p = "netbsd32_voidp";
   5785   1.1  christos 			break;
   5786   1.1  christos 		case 2:
   5787   1.1  christos 			p = "netbsd32_size_t";
   5788   1.1  christos 			break;
   5789   1.1  christos 		case 3:
   5790   1.1  christos 			p = "int";
   5791   1.1  christos 			break;
   5792   1.1  christos 		case 4:
   5793   1.1  christos 			p = "netbsd32_off_t";
   5794   1.1  christos 			break;
   5795   1.1  christos 		default:
   5796   1.1  christos 			break;
   5797   1.1  christos 		};
   5798   1.1  christos 		break;
   5799   1.1  christos 	/* netbsd32_ntp_gettime */
   5800   1.1  christos 	case 175:
   5801   1.1  christos 		switch(ndx) {
   5802   1.1  christos 		case 0:
   5803   1.1  christos 			p = "netbsd32_ntptimeval50p_t";
   5804   1.1  christos 			break;
   5805   1.1  christos 		default:
   5806   1.1  christos 			break;
   5807   1.1  christos 		};
   5808   1.1  christos 		break;
   5809  1.30  pgoyette #if defined(NTP) || !defined(_KERNEL_OPT)
   5810   1.1  christos 	/* netbsd32_ntp_adjtime */
   5811   1.1  christos 	case 176:
   5812   1.1  christos 		switch(ndx) {
   5813   1.1  christos 		case 0:
   5814   1.1  christos 			p = "netbsd32_timexp_t";
   5815   1.1  christos 			break;
   5816   1.1  christos 		default:
   5817   1.1  christos 			break;
   5818   1.1  christos 		};
   5819   1.1  christos 		break;
   5820   1.1  christos #else
   5821   1.1  christos #endif
   5822  1.48   thorpej 	/* netbsd32_timerfd_create */
   5823  1.48   thorpej 	case 177:
   5824  1.48   thorpej 		switch(ndx) {
   5825  1.48   thorpej 		case 0:
   5826  1.48   thorpej 			p = "netbsd32_clockid_t";
   5827  1.48   thorpej 			break;
   5828  1.48   thorpej 		case 1:
   5829  1.48   thorpej 			p = "int";
   5830  1.48   thorpej 			break;
   5831  1.48   thorpej 		default:
   5832  1.48   thorpej 			break;
   5833  1.48   thorpej 		};
   5834  1.48   thorpej 		break;
   5835  1.48   thorpej 	/* netbsd32_timerfd_settime */
   5836  1.48   thorpej 	case 178:
   5837  1.48   thorpej 		switch(ndx) {
   5838  1.48   thorpej 		case 0:
   5839  1.48   thorpej 			p = "int";
   5840  1.48   thorpej 			break;
   5841  1.48   thorpej 		case 1:
   5842  1.48   thorpej 			p = "int";
   5843  1.48   thorpej 			break;
   5844  1.48   thorpej 		case 2:
   5845  1.48   thorpej 			p = "const netbsd32_itimerspecp_t";
   5846  1.48   thorpej 			break;
   5847  1.48   thorpej 		case 3:
   5848  1.48   thorpej 			p = "netbsd32_itimerspecp_t";
   5849  1.48   thorpej 			break;
   5850  1.48   thorpej 		default:
   5851  1.48   thorpej 			break;
   5852  1.48   thorpej 		};
   5853  1.48   thorpej 		break;
   5854  1.48   thorpej 	/* netbsd32_timerfd_gettime */
   5855  1.48   thorpej 	case 179:
   5856  1.48   thorpej 		switch(ndx) {
   5857  1.48   thorpej 		case 0:
   5858  1.48   thorpej 			p = "int";
   5859  1.48   thorpej 			break;
   5860  1.48   thorpej 		case 1:
   5861  1.48   thorpej 			p = "netbsd32_itimerspecp_t";
   5862  1.48   thorpej 			break;
   5863  1.48   thorpej 		default:
   5864  1.48   thorpej 			break;
   5865  1.48   thorpej 		};
   5866  1.48   thorpej 		break;
   5867   1.1  christos 	/* netbsd32_setgid */
   5868   1.1  christos 	case 181:
   5869   1.1  christos 		switch(ndx) {
   5870   1.1  christos 		case 0:
   5871   1.1  christos 			p = "gid_t";
   5872   1.1  christos 			break;
   5873   1.1  christos 		default:
   5874   1.1  christos 			break;
   5875   1.1  christos 		};
   5876   1.1  christos 		break;
   5877   1.1  christos 	/* netbsd32_setegid */
   5878   1.1  christos 	case 182:
   5879   1.1  christos 		switch(ndx) {
   5880   1.1  christos 		case 0:
   5881   1.1  christos 			p = "gid_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 	/* netbsd32_seteuid */
   5888   1.1  christos 	case 183:
   5889   1.1  christos 		switch(ndx) {
   5890   1.1  christos 		case 0:
   5891   1.1  christos 			p = "uid_t";
   5892   1.1  christos 			break;
   5893   1.1  christos 		default:
   5894   1.1  christos 			break;
   5895   1.1  christos 		};
   5896   1.1  christos 		break;
   5897   1.1  christos 	/* netbsd32_stat12 */
   5898   1.1  christos 	case 188:
   5899   1.1  christos 		switch(ndx) {
   5900   1.1  christos 		case 0:
   5901   1.1  christos 			p = "netbsd32_charp";
   5902   1.1  christos 			break;
   5903   1.1  christos 		case 1:
   5904   1.1  christos 			p = "netbsd32_stat12p_t";
   5905   1.1  christos 			break;
   5906   1.1  christos 		default:
   5907   1.1  christos 			break;
   5908   1.1  christos 		};
   5909   1.1  christos 		break;
   5910   1.1  christos 	/* netbsd32_fstat12 */
   5911   1.1  christos 	case 189:
   5912   1.1  christos 		switch(ndx) {
   5913   1.1  christos 		case 0:
   5914   1.1  christos 			p = "int";
   5915   1.1  christos 			break;
   5916   1.1  christos 		case 1:
   5917   1.1  christos 			p = "netbsd32_stat12p_t";
   5918   1.1  christos 			break;
   5919   1.1  christos 		default:
   5920   1.1  christos 			break;
   5921   1.1  christos 		};
   5922   1.1  christos 		break;
   5923   1.1  christos 	/* netbsd32_lstat12 */
   5924   1.1  christos 	case 190:
   5925   1.1  christos 		switch(ndx) {
   5926   1.1  christos 		case 0:
   5927   1.1  christos 			p = "netbsd32_charp";
   5928   1.1  christos 			break;
   5929   1.1  christos 		case 1:
   5930   1.1  christos 			p = "netbsd32_stat12p_t";
   5931   1.1  christos 			break;
   5932   1.1  christos 		default:
   5933   1.1  christos 			break;
   5934   1.1  christos 		};
   5935   1.1  christos 		break;
   5936   1.1  christos 	/* netbsd32_pathconf */
   5937   1.1  christos 	case 191:
   5938   1.1  christos 		switch(ndx) {
   5939   1.1  christos 		case 0:
   5940   1.1  christos 			p = "netbsd32_charp";
   5941   1.1  christos 			break;
   5942   1.1  christos 		case 1:
   5943   1.1  christos 			p = "int";
   5944   1.1  christos 			break;
   5945   1.1  christos 		default:
   5946   1.1  christos 			break;
   5947   1.1  christos 		};
   5948   1.1  christos 		break;
   5949   1.1  christos 	/* netbsd32_fpathconf */
   5950   1.1  christos 	case 192:
   5951   1.1  christos 		switch(ndx) {
   5952   1.1  christos 		case 0:
   5953   1.1  christos 			p = "int";
   5954   1.1  christos 			break;
   5955   1.1  christos 		case 1:
   5956   1.1  christos 			p = "int";
   5957   1.1  christos 			break;
   5958   1.1  christos 		default:
   5959   1.1  christos 			break;
   5960   1.1  christos 		};
   5961   1.1  christos 		break;
   5962  1.26       rjs 	/* netbsd32_getsockopt2 */
   5963  1.26       rjs 	case 193:
   5964  1.26       rjs 		switch(ndx) {
   5965  1.26       rjs 		case 0:
   5966  1.26       rjs 			p = "int";
   5967  1.26       rjs 			break;
   5968  1.26       rjs 		case 1:
   5969  1.26       rjs 			p = "int";
   5970  1.26       rjs 			break;
   5971  1.26       rjs 		case 2:
   5972  1.26       rjs 			p = "int";
   5973  1.26       rjs 			break;
   5974  1.26       rjs 		case 3:
   5975  1.26       rjs 			p = "netbsd32_voidp";
   5976  1.26       rjs 			break;
   5977  1.26       rjs 		case 4:
   5978  1.26       rjs 			p = "netbsd32_intp";
   5979  1.26       rjs 			break;
   5980  1.26       rjs 		default:
   5981  1.26       rjs 			break;
   5982  1.26       rjs 		};
   5983  1.26       rjs 		break;
   5984   1.1  christos 	/* netbsd32_getrlimit */
   5985   1.1  christos 	case 194:
   5986   1.1  christos 		switch(ndx) {
   5987   1.1  christos 		case 0:
   5988   1.1  christos 			p = "int";
   5989   1.1  christos 			break;
   5990   1.1  christos 		case 1:
   5991   1.1  christos 			p = "netbsd32_rlimitp_t";
   5992   1.1  christos 			break;
   5993   1.1  christos 		default:
   5994   1.1  christos 			break;
   5995   1.1  christos 		};
   5996   1.1  christos 		break;
   5997   1.1  christos 	/* netbsd32_setrlimit */
   5998   1.1  christos 	case 195:
   5999   1.1  christos 		switch(ndx) {
   6000   1.1  christos 		case 0:
   6001   1.1  christos 			p = "int";
   6002   1.1  christos 			break;
   6003   1.1  christos 		case 1:
   6004   1.1  christos 			p = "netbsd32_rlimitp_t";
   6005   1.1  christos 			break;
   6006   1.1  christos 		default:
   6007   1.1  christos 			break;
   6008   1.1  christos 		};
   6009   1.1  christos 		break;
   6010   1.1  christos 	/* netbsd32_getdirentries */
   6011   1.1  christos 	case 196:
   6012   1.1  christos 		switch(ndx) {
   6013   1.1  christos 		case 0:
   6014   1.1  christos 			p = "int";
   6015   1.1  christos 			break;
   6016   1.1  christos 		case 1:
   6017   1.1  christos 			p = "netbsd32_charp";
   6018   1.1  christos 			break;
   6019   1.1  christos 		case 2:
   6020   1.1  christos 			p = "u_int";
   6021   1.1  christos 			break;
   6022   1.1  christos 		case 3:
   6023   1.1  christos 			p = "netbsd32_longp";
   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.1  christos 	/* netbsd32_mmap */
   6030   1.1  christos 	case 197:
   6031   1.1  christos 		switch(ndx) {
   6032   1.1  christos 		case 0:
   6033   1.1  christos 			p = "netbsd32_voidp";
   6034   1.1  christos 			break;
   6035   1.1  christos 		case 1:
   6036   1.1  christos 			p = "netbsd32_size_t";
   6037   1.1  christos 			break;
   6038   1.1  christos 		case 2:
   6039   1.1  christos 			p = "int";
   6040   1.1  christos 			break;
   6041   1.1  christos 		case 3:
   6042   1.1  christos 			p = "int";
   6043   1.1  christos 			break;
   6044   1.1  christos 		case 4:
   6045   1.1  christos 			p = "int";
   6046   1.1  christos 			break;
   6047   1.1  christos 		case 5:
   6048   1.1  christos 			p = "netbsd32_long";
   6049   1.1  christos 			break;
   6050   1.1  christos 		case 6:
   6051   1.1  christos 			p = "netbsd32_off_t";
   6052   1.1  christos 			break;
   6053   1.1  christos 		default:
   6054   1.1  christos 			break;
   6055   1.1  christos 		};
   6056   1.1  christos 		break;
   6057   1.1  christos 	/* netbsd32____syscall */
   6058   1.1  christos 	case 198:
   6059   1.1  christos 		switch(ndx) {
   6060   1.1  christos 		case 0:
   6061   1.1  christos 			p = "quad_t";
   6062   1.1  christos 			break;
   6063   1.1  christos 		case 1:
   6064   1.1  christos 			p = "register32_t";
   6065   1.1  christos 			break;
   6066   1.1  christos 		default:
   6067   1.1  christos 			break;
   6068   1.1  christos 		};
   6069   1.1  christos 		break;
   6070   1.1  christos 	/* netbsd32_lseek */
   6071   1.1  christos 	case 199:
   6072   1.1  christos 		switch(ndx) {
   6073   1.1  christos 		case 0:
   6074   1.1  christos 			p = "int";
   6075   1.1  christos 			break;
   6076   1.1  christos 		case 1:
   6077   1.1  christos 			p = "int";
   6078   1.1  christos 			break;
   6079   1.1  christos 		case 2:
   6080   1.1  christos 			p = "netbsd32_off_t";
   6081   1.1  christos 			break;
   6082   1.1  christos 		case 3:
   6083   1.1  christos 			p = "int";
   6084   1.1  christos 			break;
   6085   1.1  christos 		default:
   6086   1.1  christos 			break;
   6087   1.1  christos 		};
   6088   1.1  christos 		break;
   6089   1.1  christos 	/* netbsd32_truncate */
   6090   1.1  christos 	case 200:
   6091   1.1  christos 		switch(ndx) {
   6092   1.1  christos 		case 0:
   6093   1.1  christos 			p = "netbsd32_charp";
   6094   1.1  christos 			break;
   6095   1.1  christos 		case 1:
   6096   1.1  christos 			p = "int";
   6097   1.1  christos 			break;
   6098   1.1  christos 		case 2:
   6099   1.1  christos 			p = "netbsd32_off_t";
   6100   1.1  christos 			break;
   6101   1.1  christos 		default:
   6102   1.1  christos 			break;
   6103   1.1  christos 		};
   6104   1.1  christos 		break;
   6105   1.1  christos 	/* netbsd32_ftruncate */
   6106   1.1  christos 	case 201:
   6107   1.1  christos 		switch(ndx) {
   6108   1.1  christos 		case 0:
   6109   1.1  christos 			p = "int";
   6110   1.1  christos 			break;
   6111   1.1  christos 		case 1:
   6112   1.1  christos 			p = "int";
   6113   1.1  christos 			break;
   6114   1.1  christos 		case 2:
   6115   1.1  christos 			p = "netbsd32_off_t";
   6116   1.1  christos 			break;
   6117   1.1  christos 		default:
   6118   1.1  christos 			break;
   6119   1.1  christos 		};
   6120   1.1  christos 		break;
   6121   1.1  christos 	/* netbsd32___sysctl */
   6122   1.1  christos 	case 202:
   6123   1.1  christos 		switch(ndx) {
   6124   1.1  christos 		case 0:
   6125   1.1  christos 			p = "netbsd32_intp";
   6126   1.1  christos 			break;
   6127   1.1  christos 		case 1:
   6128   1.1  christos 			p = "u_int";
   6129   1.1  christos 			break;
   6130   1.1  christos 		case 2:
   6131   1.1  christos 			p = "netbsd32_voidp";
   6132   1.1  christos 			break;
   6133   1.1  christos 		case 3:
   6134   1.1  christos 			p = "netbsd32_size_tp";
   6135   1.1  christos 			break;
   6136   1.1  christos 		case 4:
   6137   1.1  christos 			p = "netbsd32_voidp";
   6138   1.1  christos 			break;
   6139   1.1  christos 		case 5:
   6140   1.1  christos 			p = "netbsd32_size_t";
   6141   1.1  christos 			break;
   6142   1.1  christos 		default:
   6143   1.1  christos 			break;
   6144   1.1  christos 		};
   6145   1.1  christos 		break;
   6146   1.1  christos 	/* netbsd32_mlock */
   6147   1.1  christos 	case 203:
   6148   1.1  christos 		switch(ndx) {
   6149   1.1  christos 		case 0:
   6150   1.1  christos 			p = "netbsd32_voidp";
   6151   1.1  christos 			break;
   6152   1.1  christos 		case 1:
   6153   1.1  christos 			p = "netbsd32_size_t";
   6154   1.1  christos 			break;
   6155   1.1  christos 		default:
   6156   1.1  christos 			break;
   6157   1.1  christos 		};
   6158   1.1  christos 		break;
   6159   1.1  christos 	/* netbsd32_munlock */
   6160   1.1  christos 	case 204:
   6161   1.1  christos 		switch(ndx) {
   6162   1.1  christos 		case 0:
   6163   1.1  christos 			p = "netbsd32_voidp";
   6164   1.1  christos 			break;
   6165   1.1  christos 		case 1:
   6166   1.1  christos 			p = "netbsd32_size_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_undelete */
   6173   1.1  christos 	case 205:
   6174   1.1  christos 		switch(ndx) {
   6175   1.1  christos 		case 0:
   6176   1.1  christos 			p = "netbsd32_charp";
   6177   1.1  christos 			break;
   6178   1.1  christos 		default:
   6179   1.1  christos 			break;
   6180   1.1  christos 		};
   6181   1.1  christos 		break;
   6182   1.1  christos 	/* netbsd32_futimes */
   6183   1.1  christos 	case 206:
   6184   1.1  christos 		switch(ndx) {
   6185   1.1  christos 		case 0:
   6186   1.1  christos 			p = "int";
   6187   1.1  christos 			break;
   6188   1.1  christos 		case 1:
   6189   1.1  christos 			p = "netbsd32_timeval50p_t";
   6190   1.1  christos 			break;
   6191   1.1  christos 		default:
   6192   1.1  christos 			break;
   6193   1.1  christos 		};
   6194   1.1  christos 		break;
   6195   1.1  christos 	/* netbsd32_getpgid */
   6196   1.1  christos 	case 207:
   6197   1.1  christos 		switch(ndx) {
   6198   1.1  christos 		case 0:
   6199   1.1  christos 			p = "pid_t";
   6200   1.1  christos 			break;
   6201   1.1  christos 		default:
   6202   1.1  christos 			break;
   6203   1.1  christos 		};
   6204   1.1  christos 		break;
   6205   1.1  christos 	/* netbsd32_reboot */
   6206   1.1  christos 	case 208:
   6207   1.1  christos 		switch(ndx) {
   6208   1.1  christos 		case 0:
   6209   1.1  christos 			p = "int";
   6210   1.1  christos 			break;
   6211   1.1  christos 		case 1:
   6212   1.1  christos 			p = "netbsd32_charp";
   6213   1.1  christos 			break;
   6214   1.1  christos 		default:
   6215   1.1  christos 			break;
   6216   1.1  christos 		};
   6217   1.1  christos 		break;
   6218   1.1  christos 	/* netbsd32_poll */
   6219   1.1  christos 	case 209:
   6220   1.1  christos 		switch(ndx) {
   6221   1.1  christos 		case 0:
   6222   1.1  christos 			p = "netbsd32_pollfdp_t";
   6223   1.1  christos 			break;
   6224   1.1  christos 		case 1:
   6225   1.1  christos 			p = "u_int";
   6226   1.1  christos 			break;
   6227   1.1  christos 		case 2:
   6228   1.1  christos 			p = "int";
   6229   1.1  christos 			break;
   6230   1.1  christos 		default:
   6231   1.1  christos 			break;
   6232   1.1  christos 		};
   6233   1.1  christos 		break;
   6234   1.1  christos 	/* netbsd32___semctl */
   6235   1.1  christos 	case 220:
   6236   1.1  christos 		switch(ndx) {
   6237   1.1  christos 		case 0:
   6238   1.1  christos 			p = "int";
   6239   1.1  christos 			break;
   6240   1.1  christos 		case 1:
   6241   1.1  christos 			p = "int";
   6242   1.1  christos 			break;
   6243   1.1  christos 		case 2:
   6244   1.1  christos 			p = "int";
   6245   1.1  christos 			break;
   6246   1.1  christos 		case 3:
   6247   1.1  christos 			p = "netbsd32_semunu_t";
   6248   1.1  christos 			break;
   6249   1.1  christos 		default:
   6250   1.1  christos 			break;
   6251   1.1  christos 		};
   6252   1.1  christos 		break;
   6253   1.1  christos 	/* netbsd32_semget */
   6254   1.1  christos 	case 221:
   6255   1.1  christos 		switch(ndx) {
   6256   1.1  christos 		case 0:
   6257   1.1  christos 			p = "netbsd32_key_t";
   6258   1.1  christos 			break;
   6259   1.1  christos 		case 1:
   6260   1.1  christos 			p = "int";
   6261   1.1  christos 			break;
   6262   1.1  christos 		case 2:
   6263   1.1  christos 			p = "int";
   6264   1.1  christos 			break;
   6265   1.1  christos 		default:
   6266   1.1  christos 			break;
   6267   1.1  christos 		};
   6268   1.1  christos 		break;
   6269   1.1  christos 	/* netbsd32_semop */
   6270   1.1  christos 	case 222:
   6271   1.1  christos 		switch(ndx) {
   6272   1.1  christos 		case 0:
   6273   1.1  christos 			p = "int";
   6274   1.1  christos 			break;
   6275   1.1  christos 		case 1:
   6276   1.1  christos 			p = "netbsd32_sembufp_t";
   6277   1.1  christos 			break;
   6278   1.1  christos 		case 2:
   6279   1.1  christos 			p = "netbsd32_size_t";
   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_semconfig */
   6286   1.1  christos 	case 223:
   6287   1.1  christos 		switch(ndx) {
   6288   1.1  christos 		case 0:
   6289   1.1  christos 			p = "int";
   6290   1.1  christos 			break;
   6291   1.1  christos 		default:
   6292   1.1  christos 			break;
   6293   1.1  christos 		};
   6294   1.1  christos 		break;
   6295   1.1  christos 	/* netbsd32_msgctl */
   6296   1.1  christos 	case 224:
   6297   1.1  christos 		switch(ndx) {
   6298   1.1  christos 		case 0:
   6299   1.1  christos 			p = "int";
   6300   1.1  christos 			break;
   6301   1.1  christos 		case 1:
   6302   1.1  christos 			p = "int";
   6303   1.1  christos 			break;
   6304   1.1  christos 		case 2:
   6305   1.1  christos 			p = "netbsd32_msqid_ds14p_t";
   6306   1.1  christos 			break;
   6307   1.1  christos 		default:
   6308   1.1  christos 			break;
   6309   1.1  christos 		};
   6310   1.1  christos 		break;
   6311   1.1  christos 	/* netbsd32_msgget */
   6312   1.1  christos 	case 225:
   6313   1.1  christos 		switch(ndx) {
   6314   1.1  christos 		case 0:
   6315   1.1  christos 			p = "netbsd32_key_t";
   6316   1.1  christos 			break;
   6317   1.1  christos 		case 1:
   6318   1.1  christos 			p = "int";
   6319   1.1  christos 			break;
   6320   1.1  christos 		default:
   6321   1.1  christos 			break;
   6322   1.1  christos 		};
   6323   1.1  christos 		break;
   6324   1.1  christos 	/* netbsd32_msgsnd */
   6325   1.1  christos 	case 226:
   6326   1.1  christos 		switch(ndx) {
   6327   1.1  christos 		case 0:
   6328   1.1  christos 			p = "int";
   6329   1.1  christos 			break;
   6330   1.1  christos 		case 1:
   6331   1.1  christos 			p = "netbsd32_voidp";
   6332   1.1  christos 			break;
   6333   1.1  christos 		case 2:
   6334   1.1  christos 			p = "netbsd32_size_t";
   6335   1.1  christos 			break;
   6336   1.1  christos 		case 3:
   6337   1.1  christos 			p = "int";
   6338   1.1  christos 			break;
   6339   1.1  christos 		default:
   6340   1.1  christos 			break;
   6341   1.1  christos 		};
   6342   1.1  christos 		break;
   6343   1.1  christos 	/* netbsd32_msgrcv */
   6344   1.1  christos 	case 227:
   6345   1.1  christos 		switch(ndx) {
   6346   1.1  christos 		case 0:
   6347   1.1  christos 			p = "int";
   6348   1.1  christos 			break;
   6349   1.1  christos 		case 1:
   6350   1.1  christos 			p = "netbsd32_voidp";
   6351   1.1  christos 			break;
   6352   1.1  christos 		case 2:
   6353   1.1  christos 			p = "netbsd32_size_t";
   6354   1.1  christos 			break;
   6355   1.1  christos 		case 3:
   6356   1.1  christos 			p = "netbsd32_long";
   6357   1.1  christos 			break;
   6358   1.1  christos 		case 4:
   6359   1.1  christos 			p = "int";
   6360   1.1  christos 			break;
   6361   1.1  christos 		default:
   6362   1.1  christos 			break;
   6363   1.1  christos 		};
   6364   1.1  christos 		break;
   6365   1.1  christos 	/* netbsd32_shmat */
   6366   1.1  christos 	case 228:
   6367   1.1  christos 		switch(ndx) {
   6368   1.1  christos 		case 0:
   6369   1.1  christos 			p = "int";
   6370   1.1  christos 			break;
   6371   1.1  christos 		case 1:
   6372   1.1  christos 			p = "netbsd32_voidp";
   6373   1.1  christos 			break;
   6374   1.1  christos 		case 2:
   6375   1.1  christos 			p = "int";
   6376   1.1  christos 			break;
   6377   1.1  christos 		default:
   6378   1.1  christos 			break;
   6379   1.1  christos 		};
   6380   1.1  christos 		break;
   6381   1.1  christos 	/* netbsd32_shmctl */
   6382   1.1  christos 	case 229:
   6383   1.1  christos 		switch(ndx) {
   6384   1.1  christos 		case 0:
   6385   1.1  christos 			p = "int";
   6386   1.1  christos 			break;
   6387   1.1  christos 		case 1:
   6388   1.1  christos 			p = "int";
   6389   1.1  christos 			break;
   6390   1.1  christos 		case 2:
   6391   1.1  christos 			p = "netbsd32_shmid_dsp_t";
   6392   1.1  christos 			break;
   6393   1.1  christos 		default:
   6394   1.1  christos 			break;
   6395   1.1  christos 		};
   6396   1.1  christos 		break;
   6397   1.1  christos 	/* netbsd32_shmdt */
   6398   1.1  christos 	case 230:
   6399   1.1  christos 		switch(ndx) {
   6400   1.1  christos 		case 0:
   6401   1.1  christos 			p = "netbsd32_voidp";
   6402   1.1  christos 			break;
   6403   1.1  christos 		default:
   6404   1.1  christos 			break;
   6405   1.1  christos 		};
   6406   1.1  christos 		break;
   6407   1.1  christos 	/* netbsd32_shmget */
   6408   1.1  christos 	case 231:
   6409   1.1  christos 		switch(ndx) {
   6410   1.1  christos 		case 0:
   6411   1.1  christos 			p = "netbsd32_key_t";
   6412   1.1  christos 			break;
   6413   1.1  christos 		case 1:
   6414   1.1  christos 			p = "netbsd32_size_t";
   6415   1.1  christos 			break;
   6416   1.1  christos 		case 2:
   6417   1.1  christos 			p = "int";
   6418   1.1  christos 			break;
   6419   1.1  christos 		default:
   6420   1.1  christos 			break;
   6421   1.1  christos 		};
   6422   1.1  christos 		break;
   6423   1.1  christos 	/* netbsd32_clock_gettime */
   6424   1.1  christos 	case 232:
   6425   1.1  christos 		switch(ndx) {
   6426   1.1  christos 		case 0:
   6427   1.1  christos 			p = "netbsd32_clockid_t";
   6428   1.1  christos 			break;
   6429   1.1  christos 		case 1:
   6430   1.1  christos 			p = "netbsd32_timespec50p_t";
   6431   1.1  christos 			break;
   6432   1.1  christos 		default:
   6433   1.1  christos 			break;
   6434   1.1  christos 		};
   6435   1.1  christos 		break;
   6436   1.1  christos 	/* netbsd32_clock_settime */
   6437   1.1  christos 	case 233:
   6438   1.1  christos 		switch(ndx) {
   6439   1.1  christos 		case 0:
   6440   1.1  christos 			p = "netbsd32_clockid_t";
   6441   1.1  christos 			break;
   6442   1.1  christos 		case 1:
   6443   1.1  christos 			p = "netbsd32_timespec50p_t";
   6444   1.1  christos 			break;
   6445   1.1  christos 		default:
   6446   1.1  christos 			break;
   6447   1.1  christos 		};
   6448   1.1  christos 		break;
   6449   1.1  christos 	/* netbsd32_clock_getres */
   6450   1.1  christos 	case 234:
   6451   1.1  christos 		switch(ndx) {
   6452   1.1  christos 		case 0:
   6453   1.1  christos 			p = "netbsd32_clockid_t";
   6454   1.1  christos 			break;
   6455   1.1  christos 		case 1:
   6456   1.1  christos 			p = "netbsd32_timespec50p_t";
   6457   1.1  christos 			break;
   6458   1.1  christos 		default:
   6459   1.1  christos 			break;
   6460   1.1  christos 		};
   6461   1.1  christos 		break;
   6462   1.1  christos 	/* netbsd32_timer_create */
   6463   1.1  christos 	case 235:
   6464   1.1  christos 		switch(ndx) {
   6465   1.1  christos 		case 0:
   6466   1.1  christos 			p = "netbsd32_clockid_t";
   6467   1.1  christos 			break;
   6468   1.1  christos 		case 1:
   6469   1.1  christos 			p = "netbsd32_sigeventp_t";
   6470   1.1  christos 			break;
   6471   1.1  christos 		case 2:
   6472   1.1  christos 			p = "netbsd32_timerp_t";
   6473   1.1  christos 			break;
   6474   1.1  christos 		default:
   6475   1.1  christos 			break;
   6476   1.1  christos 		};
   6477   1.1  christos 		break;
   6478   1.1  christos 	/* netbsd32_timer_delete */
   6479   1.1  christos 	case 236:
   6480   1.1  christos 		switch(ndx) {
   6481   1.1  christos 		case 0:
   6482   1.1  christos 			p = "netbsd32_timer_t";
   6483   1.1  christos 			break;
   6484   1.1  christos 		default:
   6485   1.1  christos 			break;
   6486   1.1  christos 		};
   6487   1.1  christos 		break;
   6488   1.1  christos 	/* netbsd32_timer_settime */
   6489   1.1  christos 	case 237:
   6490   1.1  christos 		switch(ndx) {
   6491   1.1  christos 		case 0:
   6492   1.1  christos 			p = "netbsd32_timer_t";
   6493   1.1  christos 			break;
   6494   1.1  christos 		case 1:
   6495   1.1  christos 			p = "int";
   6496   1.1  christos 			break;
   6497   1.1  christos 		case 2:
   6498   1.1  christos 			p = "netbsd32_itimerspec50p_t";
   6499   1.1  christos 			break;
   6500   1.1  christos 		case 3:
   6501   1.1  christos 			p = "netbsd32_itimerspec50p_t";
   6502   1.1  christos 			break;
   6503   1.1  christos 		default:
   6504   1.1  christos 			break;
   6505   1.1  christos 		};
   6506   1.1  christos 		break;
   6507   1.1  christos 	/* netbsd32_timer_gettime */
   6508   1.1  christos 	case 238:
   6509   1.1  christos 		switch(ndx) {
   6510   1.1  christos 		case 0:
   6511   1.1  christos 			p = "netbsd32_timer_t";
   6512   1.1  christos 			break;
   6513   1.1  christos 		case 1:
   6514   1.1  christos 			p = "netbsd32_itimerspec50p_t";
   6515   1.1  christos 			break;
   6516   1.1  christos 		default:
   6517   1.1  christos 			break;
   6518   1.1  christos 		};
   6519   1.1  christos 		break;
   6520   1.1  christos 	/* netbsd32_timer_getoverrun */
   6521   1.1  christos 	case 239:
   6522   1.1  christos 		switch(ndx) {
   6523   1.1  christos 		case 0:
   6524   1.1  christos 			p = "netbsd32_timer_t";
   6525   1.1  christos 			break;
   6526   1.1  christos 		default:
   6527   1.1  christos 			break;
   6528   1.1  christos 		};
   6529   1.1  christos 		break;
   6530   1.1  christos 	/* netbsd32_nanosleep */
   6531   1.1  christos 	case 240:
   6532   1.1  christos 		switch(ndx) {
   6533   1.1  christos 		case 0:
   6534   1.1  christos 			p = "netbsd32_timespec50p_t";
   6535   1.1  christos 			break;
   6536   1.1  christos 		case 1:
   6537   1.1  christos 			p = "netbsd32_timespec50p_t";
   6538   1.1  christos 			break;
   6539   1.1  christos 		default:
   6540   1.1  christos 			break;
   6541   1.1  christos 		};
   6542   1.1  christos 		break;
   6543   1.1  christos 	/* netbsd32_fdatasync */
   6544   1.1  christos 	case 241:
   6545   1.1  christos 		switch(ndx) {
   6546   1.1  christos 		case 0:
   6547   1.1  christos 			p = "int";
   6548   1.1  christos 			break;
   6549   1.1  christos 		default:
   6550   1.1  christos 			break;
   6551   1.1  christos 		};
   6552   1.1  christos 		break;
   6553   1.1  christos 	/* netbsd32_mlockall */
   6554   1.1  christos 	case 242:
   6555   1.1  christos 		switch(ndx) {
   6556   1.1  christos 		case 0:
   6557   1.1  christos 			p = "int";
   6558   1.1  christos 			break;
   6559   1.1  christos 		default:
   6560   1.1  christos 			break;
   6561   1.1  christos 		};
   6562   1.1  christos 		break;
   6563   1.1  christos 	/* sys_munlockall */
   6564   1.1  christos 	case 243:
   6565   1.1  christos 		break;
   6566   1.1  christos 	/* netbsd32___sigtimedwait */
   6567   1.1  christos 	case 244:
   6568   1.1  christos 		switch(ndx) {
   6569   1.1  christos 		case 0:
   6570   1.1  christos 			p = "netbsd32_sigsetp_t";
   6571   1.1  christos 			break;
   6572   1.1  christos 		case 1:
   6573   1.1  christos 			p = "netbsd32_siginfop_t";
   6574   1.1  christos 			break;
   6575   1.1  christos 		case 2:
   6576   1.1  christos 			p = "netbsd32_timespec50p_t";
   6577   1.1  christos 			break;
   6578   1.1  christos 		default:
   6579   1.1  christos 			break;
   6580   1.1  christos 		};
   6581   1.1  christos 		break;
   6582   1.3    martin 	/* netbsd32_sigqueueinfo */
   6583   1.3    martin 	case 245:
   6584   1.3    martin 		switch(ndx) {
   6585   1.3    martin 		case 0:
   6586   1.3    martin 			p = "pid_t";
   6587   1.3    martin 			break;
   6588   1.3    martin 		case 1:
   6589   1.3    martin 			p = "const netbsd32_siginfop_t";
   6590   1.3    martin 			break;
   6591   1.3    martin 		default:
   6592   1.3    martin 			break;
   6593   1.3    martin 		};
   6594   1.3    martin 		break;
   6595   1.3    martin 	/* netbsd32_modctl */
   6596   1.3    martin 	case 246:
   6597   1.3    martin 		switch(ndx) {
   6598   1.3    martin 		case 0:
   6599   1.3    martin 			p = "int";
   6600   1.3    martin 			break;
   6601   1.3    martin 		case 1:
   6602   1.3    martin 			p = "netbsd32_voidp";
   6603   1.3    martin 			break;
   6604   1.3    martin 		default:
   6605   1.3    martin 			break;
   6606   1.3    martin 		};
   6607   1.3    martin 		break;
   6608   1.1  christos 	/* netbsd32__ksem_init */
   6609   1.1  christos 	case 247:
   6610   1.1  christos 		switch(ndx) {
   6611   1.1  christos 		case 0:
   6612   1.1  christos 			p = "unsigned int";
   6613   1.1  christos 			break;
   6614   1.1  christos 		case 1:
   6615   1.1  christos 			p = "netbsd32_semidp_t";
   6616   1.1  christos 			break;
   6617   1.1  christos 		default:
   6618   1.1  christos 			break;
   6619   1.1  christos 		};
   6620   1.1  christos 		break;
   6621   1.1  christos 	/* netbsd32__ksem_open */
   6622   1.1  christos 	case 248:
   6623   1.1  christos 		switch(ndx) {
   6624   1.1  christos 		case 0:
   6625   1.1  christos 			p = "netbsd32_charp";
   6626   1.1  christos 			break;
   6627   1.1  christos 		case 1:
   6628   1.1  christos 			p = "int";
   6629   1.1  christos 			break;
   6630   1.1  christos 		case 2:
   6631   1.1  christos 			p = "mode_t";
   6632   1.1  christos 			break;
   6633   1.1  christos 		case 3:
   6634   1.1  christos 			p = "unsigned int";
   6635   1.1  christos 			break;
   6636   1.1  christos 		case 4:
   6637   1.1  christos 			p = "netbsd32_semidp_t";
   6638   1.1  christos 			break;
   6639   1.1  christos 		default:
   6640   1.1  christos 			break;
   6641   1.1  christos 		};
   6642   1.1  christos 		break;
   6643   1.1  christos 	/* netbsd32__ksem_unlink */
   6644   1.1  christos 	case 249:
   6645   1.1  christos 		switch(ndx) {
   6646   1.1  christos 		case 0:
   6647   1.1  christos 			p = "netbsd32_charp";
   6648   1.1  christos 			break;
   6649   1.1  christos 		default:
   6650   1.1  christos 			break;
   6651   1.1  christos 		};
   6652   1.1  christos 		break;
   6653   1.1  christos 	/* netbsd32__ksem_close */
   6654   1.1  christos 	case 250:
   6655   1.1  christos 		switch(ndx) {
   6656   1.1  christos 		case 0:
   6657   1.1  christos 			p = "netbsd32_intptr_t";
   6658   1.1  christos 			break;
   6659   1.1  christos 		default:
   6660   1.1  christos 			break;
   6661   1.1  christos 		};
   6662   1.1  christos 		break;
   6663   1.1  christos 	/* netbsd32__ksem_post */
   6664   1.1  christos 	case 251:
   6665   1.1  christos 		switch(ndx) {
   6666   1.1  christos 		case 0:
   6667   1.1  christos 			p = "netbsd32_intptr_t";
   6668   1.1  christos 			break;
   6669   1.1  christos 		default:
   6670   1.1  christos 			break;
   6671   1.1  christos 		};
   6672   1.1  christos 		break;
   6673   1.1  christos 	/* netbsd32__ksem_wait */
   6674   1.1  christos 	case 252:
   6675   1.1  christos 		switch(ndx) {
   6676   1.1  christos 		case 0:
   6677   1.1  christos 			p = "netbsd32_intptr_t";
   6678   1.1  christos 			break;
   6679   1.1  christos 		default:
   6680   1.1  christos 			break;
   6681   1.1  christos 		};
   6682   1.1  christos 		break;
   6683   1.1  christos 	/* netbsd32__ksem_trywait */
   6684   1.1  christos 	case 253:
   6685   1.1  christos 		switch(ndx) {
   6686   1.1  christos 		case 0:
   6687   1.1  christos 			p = "netbsd32_intptr_t";
   6688   1.1  christos 			break;
   6689   1.1  christos 		default:
   6690   1.1  christos 			break;
   6691   1.1  christos 		};
   6692   1.1  christos 		break;
   6693   1.1  christos 	/* netbsd32__ksem_getvalue */
   6694   1.1  christos 	case 254:
   6695   1.1  christos 		switch(ndx) {
   6696   1.1  christos 		case 0:
   6697   1.1  christos 			p = "netbsd32_intptr_t";
   6698   1.1  christos 			break;
   6699   1.1  christos 		case 1:
   6700   1.1  christos 			p = "netbsd32_intp";
   6701   1.1  christos 			break;
   6702   1.1  christos 		default:
   6703   1.1  christos 			break;
   6704   1.1  christos 		};
   6705   1.1  christos 		break;
   6706   1.1  christos 	/* netbsd32__ksem_destroy */
   6707   1.1  christos 	case 255:
   6708   1.1  christos 		switch(ndx) {
   6709   1.1  christos 		case 0:
   6710   1.1  christos 			p = "netbsd32_intptr_t";
   6711   1.1  christos 			break;
   6712   1.1  christos 		default:
   6713   1.1  christos 			break;
   6714   1.1  christos 		};
   6715   1.1  christos 		break;
   6716   1.1  christos 	/* netbsd32__ksem_timedwait */
   6717   1.1  christos 	case 256:
   6718   1.1  christos 		switch(ndx) {
   6719   1.1  christos 		case 0:
   6720   1.1  christos 			p = "intptr_t";
   6721   1.1  christos 			break;
   6722   1.1  christos 		case 1:
   6723   1.1  christos 			p = "const netbsd32_timespecp_t";
   6724   1.1  christos 			break;
   6725   1.1  christos 		default:
   6726   1.1  christos 			break;
   6727   1.1  christos 		};
   6728   1.1  christos 		break;
   6729   1.3    martin 	/* netbsd32_mq_open */
   6730   1.3    martin 	case 257:
   6731   1.3    martin 		switch(ndx) {
   6732   1.3    martin 		case 0:
   6733   1.3    martin 			p = "const netbsd32_charp";
   6734   1.3    martin 			break;
   6735   1.3    martin 		case 1:
   6736   1.3    martin 			p = "int";
   6737   1.3    martin 			break;
   6738   1.3    martin 		case 2:
   6739   1.3    martin 			p = "mode_t";
   6740   1.3    martin 			break;
   6741   1.3    martin 		case 3:
   6742   1.3    martin 			p = "netbsd32_mq_attrp_t";
   6743   1.3    martin 			break;
   6744   1.3    martin 		default:
   6745   1.3    martin 			break;
   6746   1.3    martin 		};
   6747   1.3    martin 		break;
   6748   1.3    martin 	/* netbsd32_mq_close */
   6749   1.3    martin 	case 258:
   6750   1.3    martin 		switch(ndx) {
   6751   1.3    martin 		case 0:
   6752   1.3    martin 			p = "mqd_t";
   6753   1.3    martin 			break;
   6754   1.3    martin 		default:
   6755   1.3    martin 			break;
   6756   1.3    martin 		};
   6757   1.3    martin 		break;
   6758   1.3    martin 	/* netbsd32_mq_unlink */
   6759   1.3    martin 	case 259:
   6760   1.3    martin 		switch(ndx) {
   6761   1.3    martin 		case 0:
   6762   1.3    martin 			p = "const netbsd32_charp";
   6763   1.3    martin 			break;
   6764   1.3    martin 		default:
   6765   1.3    martin 			break;
   6766   1.3    martin 		};
   6767   1.3    martin 		break;
   6768   1.3    martin 	/* netbsd32_mq_getattr */
   6769   1.3    martin 	case 260:
   6770   1.3    martin 		switch(ndx) {
   6771   1.3    martin 		case 0:
   6772   1.3    martin 			p = "mqd_t";
   6773   1.3    martin 			break;
   6774   1.3    martin 		case 1:
   6775   1.3    martin 			p = "netbsd32_mq_attrp_t";
   6776   1.3    martin 			break;
   6777   1.3    martin 		default:
   6778   1.3    martin 			break;
   6779   1.3    martin 		};
   6780   1.3    martin 		break;
   6781   1.3    martin 	/* netbsd32_mq_setattr */
   6782   1.3    martin 	case 261:
   6783   1.3    martin 		switch(ndx) {
   6784   1.3    martin 		case 0:
   6785   1.3    martin 			p = "mqd_t";
   6786   1.3    martin 			break;
   6787   1.3    martin 		case 1:
   6788   1.3    martin 			p = "const netbsd32_mq_attrp_t";
   6789   1.3    martin 			break;
   6790   1.3    martin 		case 2:
   6791   1.3    martin 			p = "netbsd32_mq_attrp_t";
   6792   1.3    martin 			break;
   6793   1.3    martin 		default:
   6794   1.3    martin 			break;
   6795   1.3    martin 		};
   6796   1.3    martin 		break;
   6797   1.3    martin 	/* netbsd32_mq_notify */
   6798   1.3    martin 	case 262:
   6799   1.3    martin 		switch(ndx) {
   6800   1.3    martin 		case 0:
   6801   1.3    martin 			p = "mqd_t";
   6802   1.3    martin 			break;
   6803   1.3    martin 		case 1:
   6804   1.3    martin 			p = "const netbsd32_sigeventp_t";
   6805   1.3    martin 			break;
   6806   1.3    martin 		default:
   6807   1.3    martin 			break;
   6808   1.3    martin 		};
   6809   1.3    martin 		break;
   6810   1.3    martin 	/* netbsd32_mq_send */
   6811   1.3    martin 	case 263:
   6812   1.3    martin 		switch(ndx) {
   6813   1.3    martin 		case 0:
   6814   1.3    martin 			p = "mqd_t";
   6815   1.3    martin 			break;
   6816   1.3    martin 		case 1:
   6817   1.3    martin 			p = "const netbsd32_charp";
   6818   1.3    martin 			break;
   6819   1.3    martin 		case 2:
   6820   1.3    martin 			p = "netbsd32_size_t";
   6821   1.3    martin 			break;
   6822   1.3    martin 		case 3:
   6823   1.3    martin 			p = "unsigned";
   6824   1.3    martin 			break;
   6825   1.3    martin 		default:
   6826   1.3    martin 			break;
   6827   1.3    martin 		};
   6828   1.3    martin 		break;
   6829   1.3    martin 	/* netbsd32_mq_receive */
   6830   1.3    martin 	case 264:
   6831   1.3    martin 		switch(ndx) {
   6832   1.3    martin 		case 0:
   6833   1.3    martin 			p = "mqd_t";
   6834   1.3    martin 			break;
   6835   1.3    martin 		case 1:
   6836   1.3    martin 			p = "netbsd32_charp";
   6837   1.3    martin 			break;
   6838   1.3    martin 		case 2:
   6839   1.3    martin 			p = "netbsd32_size_t";
   6840   1.3    martin 			break;
   6841   1.3    martin 		case 3:
   6842   1.3    martin 			p = "netbsd32_uintp";
   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_timedsend */
   6849   1.3    martin 	case 265:
   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_charp";
   6856   1.3    martin 			break;
   6857   1.3    martin 		case 2:
   6858   1.3    martin 			p = "netbsd32_size_t";
   6859   1.3    martin 			break;
   6860   1.3    martin 		case 3:
   6861   1.3    martin 			p = "unsigned";
   6862   1.3    martin 			break;
   6863   1.3    martin 		case 4:
   6864   1.3    martin 			p = "const netbsd32_timespec50p_t";
   6865   1.3    martin 			break;
   6866   1.3    martin 		default:
   6867   1.3    martin 			break;
   6868   1.3    martin 		};
   6869   1.3    martin 		break;
   6870   1.3    martin 	/* netbsd32_mq_timedreceive */
   6871   1.3    martin 	case 266:
   6872   1.3    martin 		switch(ndx) {
   6873   1.3    martin 		case 0:
   6874   1.3    martin 			p = "mqd_t";
   6875   1.3    martin 			break;
   6876   1.3    martin 		case 1:
   6877   1.3    martin 			p = "netbsd32_charp";
   6878   1.3    martin 			break;
   6879   1.3    martin 		case 2:
   6880   1.3    martin 			p = "netbsd32_size_t";
   6881   1.3    martin 			break;
   6882   1.3    martin 		case 3:
   6883   1.3    martin 			p = "netbsd32_uintp";
   6884   1.3    martin 			break;
   6885   1.3    martin 		case 4:
   6886   1.3    martin 			p = "const netbsd32_timespec50p_t";
   6887   1.3    martin 			break;
   6888   1.3    martin 		default:
   6889   1.3    martin 			break;
   6890   1.3    martin 		};
   6891   1.3    martin 		break;
   6892  1.49   thorpej 	/* netbsd32_eventfd */
   6893  1.49   thorpej 	case 267:
   6894  1.49   thorpej 		switch(ndx) {
   6895  1.49   thorpej 		case 0:
   6896  1.49   thorpej 			p = "unsigned int";
   6897  1.49   thorpej 			break;
   6898  1.49   thorpej 		case 1:
   6899  1.49   thorpej 			p = "int";
   6900  1.49   thorpej 			break;
   6901  1.49   thorpej 		default:
   6902  1.49   thorpej 			break;
   6903  1.49   thorpej 		};
   6904  1.49   thorpej 		break;
   6905   1.1  christos 	/* netbsd32___posix_rename */
   6906   1.1  christos 	case 270:
   6907   1.1  christos 		switch(ndx) {
   6908   1.1  christos 		case 0:
   6909   1.1  christos 			p = "netbsd32_charp";
   6910   1.1  christos 			break;
   6911   1.1  christos 		case 1:
   6912   1.1  christos 			p = "netbsd32_charp";
   6913   1.1  christos 			break;
   6914   1.1  christos 		default:
   6915   1.1  christos 			break;
   6916   1.1  christos 		};
   6917   1.1  christos 		break;
   6918   1.1  christos 	/* netbsd32_swapctl */
   6919   1.1  christos 	case 271:
   6920   1.1  christos 		switch(ndx) {
   6921   1.1  christos 		case 0:
   6922   1.1  christos 			p = "int";
   6923   1.1  christos 			break;
   6924   1.1  christos 		case 1:
   6925   1.1  christos 			p = "netbsd32_voidp";
   6926   1.1  christos 			break;
   6927   1.1  christos 		case 2:
   6928   1.1  christos 			p = "int";
   6929   1.1  christos 			break;
   6930   1.1  christos 		default:
   6931   1.1  christos 			break;
   6932   1.1  christos 		};
   6933   1.1  christos 		break;
   6934   1.1  christos 	/* netbsd32_getdents */
   6935   1.1  christos 	case 272:
   6936   1.1  christos 		switch(ndx) {
   6937   1.1  christos 		case 0:
   6938   1.1  christos 			p = "int";
   6939   1.1  christos 			break;
   6940   1.1  christos 		case 1:
   6941   1.1  christos 			p = "netbsd32_charp";
   6942   1.1  christos 			break;
   6943   1.1  christos 		case 2:
   6944   1.1  christos 			p = "netbsd32_size_t";
   6945   1.1  christos 			break;
   6946   1.1  christos 		default:
   6947   1.1  christos 			break;
   6948   1.1  christos 		};
   6949   1.1  christos 		break;
   6950   1.1  christos 	/* netbsd32_minherit */
   6951   1.1  christos 	case 273:
   6952   1.1  christos 		switch(ndx) {
   6953   1.1  christos 		case 0:
   6954   1.1  christos 			p = "netbsd32_voidp";
   6955   1.1  christos 			break;
   6956   1.1  christos 		case 1:
   6957   1.1  christos 			p = "netbsd32_size_t";
   6958   1.1  christos 			break;
   6959   1.1  christos 		case 2:
   6960   1.1  christos 			p = "int";
   6961   1.1  christos 			break;
   6962   1.1  christos 		default:
   6963   1.1  christos 			break;
   6964   1.1  christos 		};
   6965   1.1  christos 		break;
   6966   1.1  christos 	/* netbsd32_lchmod */
   6967   1.1  christos 	case 274:
   6968   1.1  christos 		switch(ndx) {
   6969   1.1  christos 		case 0:
   6970   1.1  christos 			p = "netbsd32_charp";
   6971   1.1  christos 			break;
   6972   1.1  christos 		case 1:
   6973   1.1  christos 			p = "mode_t";
   6974   1.1  christos 			break;
   6975   1.1  christos 		default:
   6976   1.1  christos 			break;
   6977   1.1  christos 		};
   6978   1.1  christos 		break;
   6979   1.1  christos 	/* netbsd32_lchown */
   6980   1.1  christos 	case 275:
   6981   1.1  christos 		switch(ndx) {
   6982   1.1  christos 		case 0:
   6983   1.1  christos 			p = "netbsd32_charp";
   6984   1.1  christos 			break;
   6985   1.1  christos 		case 1:
   6986   1.1  christos 			p = "uid_t";
   6987   1.1  christos 			break;
   6988   1.1  christos 		case 2:
   6989   1.1  christos 			p = "gid_t";
   6990   1.1  christos 			break;
   6991   1.1  christos 		default:
   6992   1.1  christos 			break;
   6993   1.1  christos 		};
   6994   1.1  christos 		break;
   6995   1.1  christos 	/* netbsd32_lutimes */
   6996   1.1  christos 	case 276:
   6997   1.1  christos 		switch(ndx) {
   6998   1.1  christos 		case 0:
   6999   1.1  christos 			p = "netbsd32_charp";
   7000   1.1  christos 			break;
   7001   1.1  christos 		case 1:
   7002   1.1  christos 			p = "netbsd32_timeval50p_t";
   7003   1.1  christos 			break;
   7004   1.1  christos 		default:
   7005   1.1  christos 			break;
   7006   1.1  christos 		};
   7007   1.1  christos 		break;
   7008   1.1  christos 	/* netbsd32___msync13 */
   7009   1.1  christos 	case 277:
   7010   1.1  christos 		switch(ndx) {
   7011   1.1  christos 		case 0:
   7012   1.1  christos 			p = "netbsd32_voidp";
   7013   1.1  christos 			break;
   7014   1.1  christos 		case 1:
   7015   1.1  christos 			p = "netbsd32_size_t";
   7016   1.1  christos 			break;
   7017   1.1  christos 		case 2:
   7018   1.1  christos 			p = "int";
   7019   1.1  christos 			break;
   7020   1.1  christos 		default:
   7021   1.1  christos 			break;
   7022   1.1  christos 		};
   7023   1.1  christos 		break;
   7024   1.1  christos 	/* netbsd32___stat13 */
   7025   1.1  christos 	case 278:
   7026   1.1  christos 		switch(ndx) {
   7027   1.1  christos 		case 0:
   7028   1.1  christos 			p = "netbsd32_charp";
   7029   1.1  christos 			break;
   7030   1.1  christos 		case 1:
   7031   1.1  christos 			p = "netbsd32_stat13p_t";
   7032   1.1  christos 			break;
   7033   1.1  christos 		default:
   7034   1.1  christos 			break;
   7035   1.1  christos 		};
   7036   1.1  christos 		break;
   7037   1.1  christos 	/* netbsd32___fstat13 */
   7038   1.1  christos 	case 279:
   7039   1.1  christos 		switch(ndx) {
   7040   1.1  christos 		case 0:
   7041   1.1  christos 			p = "int";
   7042   1.1  christos 			break;
   7043   1.1  christos 		case 1:
   7044   1.1  christos 			p = "netbsd32_stat13p_t";
   7045   1.1  christos 			break;
   7046   1.1  christos 		default:
   7047   1.1  christos 			break;
   7048   1.1  christos 		};
   7049   1.1  christos 		break;
   7050   1.1  christos 	/* netbsd32___lstat13 */
   7051   1.1  christos 	case 280:
   7052   1.1  christos 		switch(ndx) {
   7053   1.1  christos 		case 0:
   7054   1.1  christos 			p = "netbsd32_charp";
   7055   1.1  christos 			break;
   7056   1.1  christos 		case 1:
   7057   1.1  christos 			p = "netbsd32_stat13p_t";
   7058   1.1  christos 			break;
   7059   1.1  christos 		default:
   7060   1.1  christos 			break;
   7061   1.1  christos 		};
   7062   1.1  christos 		break;
   7063   1.1  christos 	/* netbsd32___sigaltstack14 */
   7064   1.1  christos 	case 281:
   7065   1.1  christos 		switch(ndx) {
   7066   1.1  christos 		case 0:
   7067   1.1  christos 			p = "netbsd32_sigaltstackp_t";
   7068   1.1  christos 			break;
   7069   1.1  christos 		case 1:
   7070   1.1  christos 			p = "netbsd32_sigaltstackp_t";
   7071   1.1  christos 			break;
   7072   1.1  christos 		default:
   7073   1.1  christos 			break;
   7074   1.1  christos 		};
   7075   1.1  christos 		break;
   7076   1.1  christos 	/* sys___vfork14 */
   7077   1.1  christos 	case 282:
   7078   1.1  christos 		break;
   7079   1.1  christos 	/* netbsd32___posix_chown */
   7080   1.1  christos 	case 283:
   7081   1.1  christos 		switch(ndx) {
   7082   1.1  christos 		case 0:
   7083   1.1  christos 			p = "netbsd32_charp";
   7084   1.1  christos 			break;
   7085   1.1  christos 		case 1:
   7086   1.1  christos 			p = "uid_t";
   7087   1.1  christos 			break;
   7088   1.1  christos 		case 2:
   7089   1.1  christos 			p = "gid_t";
   7090   1.1  christos 			break;
   7091   1.1  christos 		default:
   7092   1.1  christos 			break;
   7093   1.1  christos 		};
   7094   1.1  christos 		break;
   7095   1.1  christos 	/* netbsd32___posix_fchown */
   7096   1.1  christos 	case 284:
   7097   1.1  christos 		switch(ndx) {
   7098   1.1  christos 		case 0:
   7099   1.1  christos 			p = "int";
   7100   1.1  christos 			break;
   7101   1.1  christos 		case 1:
   7102   1.1  christos 			p = "uid_t";
   7103   1.1  christos 			break;
   7104   1.1  christos 		case 2:
   7105   1.1  christos 			p = "gid_t";
   7106   1.1  christos 			break;
   7107   1.1  christos 		default:
   7108   1.1  christos 			break;
   7109   1.1  christos 		};
   7110   1.1  christos 		break;
   7111   1.1  christos 	/* netbsd32___posix_lchown */
   7112   1.1  christos 	case 285:
   7113   1.1  christos 		switch(ndx) {
   7114   1.1  christos 		case 0:
   7115   1.1  christos 			p = "netbsd32_charp";
   7116   1.1  christos 			break;
   7117   1.1  christos 		case 1:
   7118   1.1  christos 			p = "uid_t";
   7119   1.1  christos 			break;
   7120   1.1  christos 		case 2:
   7121   1.1  christos 			p = "gid_t";
   7122   1.1  christos 			break;
   7123   1.1  christos 		default:
   7124   1.1  christos 			break;
   7125   1.1  christos 		};
   7126   1.1  christos 		break;
   7127   1.1  christos 	/* netbsd32_getsid */
   7128   1.1  christos 	case 286:
   7129   1.1  christos 		switch(ndx) {
   7130   1.1  christos 		case 0:
   7131   1.1  christos 			p = "pid_t";
   7132   1.1  christos 			break;
   7133   1.1  christos 		default:
   7134   1.1  christos 			break;
   7135   1.1  christos 		};
   7136   1.1  christos 		break;
   7137   1.1  christos 	/* netbsd32___clone */
   7138   1.1  christos 	case 287:
   7139   1.1  christos 		switch(ndx) {
   7140   1.1  christos 		case 0:
   7141   1.1  christos 			p = "int";
   7142   1.1  christos 			break;
   7143   1.1  christos 		case 1:
   7144   1.1  christos 			p = "netbsd32_voidp";
   7145   1.1  christos 			break;
   7146   1.1  christos 		default:
   7147   1.1  christos 			break;
   7148   1.1  christos 		};
   7149   1.1  christos 		break;
   7150   1.1  christos 	/* netbsd32_fktrace */
   7151   1.1  christos 	case 288:
   7152   1.1  christos 		switch(ndx) {
   7153   1.1  christos 		case 0:
   7154   1.1  christos 			p = "int";
   7155   1.1  christos 			break;
   7156   1.1  christos 		case 1:
   7157   1.1  christos 			p = "int";
   7158   1.1  christos 			break;
   7159   1.1  christos 		case 2:
   7160   1.1  christos 			p = "int";
   7161   1.1  christos 			break;
   7162   1.1  christos 		case 3:
   7163   1.1  christos 			p = "int";
   7164   1.1  christos 			break;
   7165   1.1  christos 		default:
   7166   1.1  christos 			break;
   7167   1.1  christos 		};
   7168   1.1  christos 		break;
   7169   1.1  christos 	/* netbsd32_preadv */
   7170   1.1  christos 	case 289:
   7171   1.1  christos 		switch(ndx) {
   7172   1.1  christos 		case 0:
   7173   1.1  christos 			p = "int";
   7174   1.1  christos 			break;
   7175   1.1  christos 		case 1:
   7176   1.1  christos 			p = "netbsd32_iovecp_t";
   7177   1.1  christos 			break;
   7178   1.1  christos 		case 2:
   7179   1.1  christos 			p = "int";
   7180   1.1  christos 			break;
   7181   1.1  christos 		case 3:
   7182   1.1  christos 			p = "int";
   7183   1.1  christos 			break;
   7184   1.1  christos 		case 4:
   7185   1.1  christos 			p = "netbsd32_off_t";
   7186   1.1  christos 			break;
   7187   1.1  christos 		default:
   7188   1.1  christos 			break;
   7189   1.1  christos 		};
   7190   1.1  christos 		break;
   7191   1.1  christos 	/* netbsd32_pwritev */
   7192   1.1  christos 	case 290:
   7193   1.1  christos 		switch(ndx) {
   7194   1.1  christos 		case 0:
   7195   1.1  christos 			p = "int";
   7196   1.1  christos 			break;
   7197   1.1  christos 		case 1:
   7198   1.1  christos 			p = "netbsd32_iovecp_t";
   7199   1.1  christos 			break;
   7200   1.1  christos 		case 2:
   7201   1.1  christos 			p = "int";
   7202   1.1  christos 			break;
   7203   1.1  christos 		case 3:
   7204   1.1  christos 			p = "int";
   7205   1.1  christos 			break;
   7206   1.1  christos 		case 4:
   7207   1.1  christos 			p = "netbsd32_off_t";
   7208   1.1  christos 			break;
   7209   1.1  christos 		default:
   7210   1.1  christos 			break;
   7211   1.1  christos 		};
   7212   1.1  christos 		break;
   7213   1.1  christos 	/* netbsd32___sigaction14 */
   7214   1.1  christos 	case 291:
   7215   1.1  christos 		switch(ndx) {
   7216   1.1  christos 		case 0:
   7217   1.1  christos 			p = "int";
   7218   1.1  christos 			break;
   7219   1.1  christos 		case 1:
   7220   1.1  christos 			p = "netbsd32_sigactionp_t";
   7221   1.1  christos 			break;
   7222   1.1  christos 		case 2:
   7223   1.1  christos 			p = "netbsd32_sigactionp_t";
   7224   1.1  christos 			break;
   7225   1.1  christos 		default:
   7226   1.1  christos 			break;
   7227   1.1  christos 		};
   7228   1.1  christos 		break;
   7229   1.1  christos 	/* netbsd32___sigpending14 */
   7230   1.1  christos 	case 292:
   7231   1.1  christos 		switch(ndx) {
   7232   1.1  christos 		case 0:
   7233   1.1  christos 			p = "netbsd32_sigsetp_t";
   7234   1.1  christos 			break;
   7235   1.1  christos 		default:
   7236   1.1  christos 			break;
   7237   1.1  christos 		};
   7238   1.1  christos 		break;
   7239   1.1  christos 	/* netbsd32___sigprocmask14 */
   7240   1.1  christos 	case 293:
   7241   1.1  christos 		switch(ndx) {
   7242   1.1  christos 		case 0:
   7243   1.1  christos 			p = "int";
   7244   1.1  christos 			break;
   7245   1.1  christos 		case 1:
   7246   1.1  christos 			p = "netbsd32_sigsetp_t";
   7247   1.1  christos 			break;
   7248   1.1  christos 		case 2:
   7249   1.1  christos 			p = "netbsd32_sigsetp_t";
   7250   1.1  christos 			break;
   7251   1.1  christos 		default:
   7252   1.1  christos 			break;
   7253   1.1  christos 		};
   7254   1.1  christos 		break;
   7255   1.1  christos 	/* netbsd32___sigsuspend14 */
   7256   1.1  christos 	case 294:
   7257   1.1  christos 		switch(ndx) {
   7258   1.1  christos 		case 0:
   7259   1.1  christos 			p = "netbsd32_sigsetp_t";
   7260   1.1  christos 			break;
   7261   1.1  christos 		default:
   7262   1.1  christos 			break;
   7263   1.1  christos 		};
   7264   1.1  christos 		break;
   7265   1.1  christos 	/* netbsd32___sigreturn14 */
   7266   1.1  christos 	case 295:
   7267   1.1  christos 		switch(ndx) {
   7268   1.1  christos 		case 0:
   7269   1.1  christos 			p = "netbsd32_sigcontextp_t";
   7270   1.1  christos 			break;
   7271   1.1  christos 		default:
   7272   1.1  christos 			break;
   7273   1.1  christos 		};
   7274   1.1  christos 		break;
   7275   1.1  christos 	/* netbsd32___getcwd */
   7276   1.1  christos 	case 296:
   7277   1.1  christos 		switch(ndx) {
   7278   1.1  christos 		case 0:
   7279   1.1  christos 			p = "netbsd32_charp";
   7280   1.1  christos 			break;
   7281   1.1  christos 		case 1:
   7282   1.1  christos 			p = "netbsd32_size_t";
   7283   1.1  christos 			break;
   7284   1.1  christos 		default:
   7285   1.1  christos 			break;
   7286   1.1  christos 		};
   7287   1.1  christos 		break;
   7288   1.1  christos 	/* netbsd32_fchroot */
   7289   1.1  christos 	case 297:
   7290   1.1  christos 		switch(ndx) {
   7291   1.1  christos 		case 0:
   7292   1.1  christos 			p = "int";
   7293   1.1  christos 			break;
   7294   1.1  christos 		default:
   7295   1.1  christos 			break;
   7296   1.1  christos 		};
   7297   1.1  christos 		break;
   7298   1.1  christos 	/* netbsd32_fhopen */
   7299   1.1  christos 	case 298:
   7300   1.1  christos 		switch(ndx) {
   7301   1.1  christos 		case 0:
   7302   1.1  christos 			p = "netbsd32_fhandlep_t";
   7303   1.1  christos 			break;
   7304   1.1  christos 		case 1:
   7305   1.1  christos 			p = "int";
   7306   1.1  christos 			break;
   7307   1.1  christos 		default:
   7308   1.1  christos 			break;
   7309   1.1  christos 		};
   7310   1.1  christos 		break;
   7311   1.1  christos 	/* netbsd32_fhstat */
   7312   1.1  christos 	case 299:
   7313   1.1  christos 		switch(ndx) {
   7314   1.1  christos 		case 0:
   7315   1.1  christos 			p = "netbsd32_fhandlep_t";
   7316   1.1  christos 			break;
   7317   1.1  christos 		case 1:
   7318   1.1  christos 			p = "netbsd32_stat13p_t";
   7319   1.1  christos 			break;
   7320   1.1  christos 		default:
   7321   1.1  christos 			break;
   7322   1.1  christos 		};
   7323   1.1  christos 		break;
   7324   1.1  christos 	/* netbsd32_fhstatfs */
   7325   1.1  christos 	case 300:
   7326   1.1  christos 		switch(ndx) {
   7327   1.1  christos 		case 0:
   7328   1.1  christos 			p = "netbsd32_fhandlep_t";
   7329   1.1  christos 			break;
   7330   1.1  christos 		case 1:
   7331   1.1  christos 			p = "netbsd32_stat50p_t";
   7332   1.1  christos 			break;
   7333   1.1  christos 		default:
   7334   1.1  christos 			break;
   7335   1.1  christos 		};
   7336   1.1  christos 		break;
   7337   1.1  christos 	/* netbsd32___semctl14 */
   7338   1.1  christos 	case 301:
   7339   1.1  christos 		switch(ndx) {
   7340   1.1  christos 		case 0:
   7341   1.1  christos 			p = "int";
   7342   1.1  christos 			break;
   7343   1.1  christos 		case 1:
   7344   1.1  christos 			p = "int";
   7345   1.1  christos 			break;
   7346   1.1  christos 		case 2:
   7347   1.1  christos 			p = "int";
   7348   1.1  christos 			break;
   7349   1.1  christos 		case 3:
   7350   1.1  christos 			p = "netbsd32_semun50p_t";
   7351   1.1  christos 			break;
   7352   1.1  christos 		default:
   7353   1.1  christos 			break;
   7354   1.1  christos 		};
   7355   1.1  christos 		break;
   7356   1.1  christos 	/* netbsd32___msgctl13 */
   7357   1.1  christos 	case 302:
   7358   1.1  christos 		switch(ndx) {
   7359   1.1  christos 		case 0:
   7360   1.1  christos 			p = "int";
   7361   1.1  christos 			break;
   7362   1.1  christos 		case 1:
   7363   1.1  christos 			p = "int";
   7364   1.1  christos 			break;
   7365   1.1  christos 		case 2:
   7366   1.1  christos 			p = "netbsd32_msqid_ds50p_t";
   7367   1.1  christos 			break;
   7368   1.1  christos 		default:
   7369   1.1  christos 			break;
   7370   1.1  christos 		};
   7371   1.1  christos 		break;
   7372   1.1  christos 	/* netbsd32___shmctl13 */
   7373   1.1  christos 	case 303:
   7374   1.1  christos 		switch(ndx) {
   7375   1.1  christos 		case 0:
   7376   1.1  christos 			p = "int";
   7377   1.1  christos 			break;
   7378   1.1  christos 		case 1:
   7379   1.1  christos 			p = "int";
   7380   1.1  christos 			break;
   7381   1.1  christos 		case 2:
   7382   1.1  christos 			p = "netbsd32_shmid_ds50p_t";
   7383   1.1  christos 			break;
   7384   1.1  christos 		default:
   7385   1.1  christos 			break;
   7386   1.1  christos 		};
   7387   1.1  christos 		break;
   7388   1.1  christos 	/* netbsd32_lchflags */
   7389   1.1  christos 	case 304:
   7390   1.1  christos 		switch(ndx) {
   7391   1.1  christos 		case 0:
   7392   1.1  christos 			p = "netbsd32_charp";
   7393   1.1  christos 			break;
   7394   1.1  christos 		case 1:
   7395   1.1  christos 			p = "netbsd32_u_long";
   7396   1.1  christos 			break;
   7397   1.1  christos 		default:
   7398   1.1  christos 			break;
   7399   1.1  christos 		};
   7400   1.1  christos 		break;
   7401   1.1  christos 	/* sys_issetugid */
   7402   1.1  christos 	case 305:
   7403   1.1  christos 		break;
   7404   1.1  christos 	/* netbsd32_utrace */
   7405   1.1  christos 	case 306:
   7406   1.1  christos 		switch(ndx) {
   7407   1.1  christos 		case 0:
   7408   1.1  christos 			p = "netbsd32_charp";
   7409   1.1  christos 			break;
   7410   1.1  christos 		case 1:
   7411   1.1  christos 			p = "netbsd32_voidp";
   7412   1.1  christos 			break;
   7413   1.1  christos 		case 2:
   7414   1.1  christos 			p = "netbsd32_size_t";
   7415   1.1  christos 			break;
   7416   1.1  christos 		default:
   7417   1.1  christos 			break;
   7418   1.1  christos 		};
   7419   1.1  christos 		break;
   7420   1.1  christos 	/* netbsd32_getcontext */
   7421   1.1  christos 	case 307:
   7422   1.1  christos 		switch(ndx) {
   7423   1.1  christos 		case 0:
   7424   1.1  christos 			p = "netbsd32_ucontextp";
   7425   1.1  christos 			break;
   7426   1.1  christos 		default:
   7427   1.1  christos 			break;
   7428   1.1  christos 		};
   7429   1.1  christos 		break;
   7430   1.1  christos 	/* netbsd32_setcontext */
   7431   1.1  christos 	case 308:
   7432   1.1  christos 		switch(ndx) {
   7433   1.1  christos 		case 0:
   7434   1.1  christos 			p = "netbsd32_ucontextp";
   7435   1.1  christos 			break;
   7436   1.1  christos 		default:
   7437   1.1  christos 			break;
   7438   1.1  christos 		};
   7439   1.1  christos 		break;
   7440   1.1  christos 	/* netbsd32__lwp_create */
   7441   1.1  christos 	case 309:
   7442   1.1  christos 		switch(ndx) {
   7443   1.1  christos 		case 0:
   7444   1.1  christos 			p = "netbsd32_ucontextp";
   7445   1.1  christos 			break;
   7446   1.1  christos 		case 1:
   7447   1.1  christos 			p = "netbsd32_u_long";
   7448   1.1  christos 			break;
   7449   1.1  christos 		case 2:
   7450   1.1  christos 			p = "netbsd32_lwpidp";
   7451   1.1  christos 			break;
   7452   1.1  christos 		default:
   7453   1.1  christos 			break;
   7454   1.1  christos 		};
   7455   1.1  christos 		break;
   7456   1.1  christos 	/* sys__lwp_exit */
   7457   1.1  christos 	case 310:
   7458   1.1  christos 		break;
   7459   1.1  christos 	/* sys__lwp_self */
   7460   1.1  christos 	case 311:
   7461   1.1  christos 		break;
   7462   1.1  christos 	/* netbsd32__lwp_wait */
   7463   1.1  christos 	case 312:
   7464   1.1  christos 		switch(ndx) {
   7465   1.1  christos 		case 0:
   7466   1.1  christos 			p = "lwpid_t";
   7467   1.1  christos 			break;
   7468   1.1  christos 		case 1:
   7469   1.1  christos 			p = "netbsd32_lwpidp";
   7470   1.1  christos 			break;
   7471   1.1  christos 		default:
   7472   1.1  christos 			break;
   7473   1.1  christos 		};
   7474   1.1  christos 		break;
   7475   1.1  christos 	/* netbsd32__lwp_suspend */
   7476   1.1  christos 	case 313:
   7477   1.1  christos 		switch(ndx) {
   7478   1.1  christos 		case 0:
   7479   1.1  christos 			p = "lwpid_t";
   7480   1.1  christos 			break;
   7481   1.1  christos 		default:
   7482   1.1  christos 			break;
   7483   1.1  christos 		};
   7484   1.1  christos 		break;
   7485   1.1  christos 	/* netbsd32__lwp_continue */
   7486   1.1  christos 	case 314:
   7487   1.1  christos 		switch(ndx) {
   7488   1.1  christos 		case 0:
   7489   1.1  christos 			p = "lwpid_t";
   7490   1.1  christos 			break;
   7491   1.1  christos 		default:
   7492   1.1  christos 			break;
   7493   1.1  christos 		};
   7494   1.1  christos 		break;
   7495   1.1  christos 	/* netbsd32__lwp_wakeup */
   7496   1.1  christos 	case 315:
   7497   1.1  christos 		switch(ndx) {
   7498   1.1  christos 		case 0:
   7499   1.1  christos 			p = "lwpid_t";
   7500   1.1  christos 			break;
   7501   1.1  christos 		default:
   7502   1.1  christos 			break;
   7503   1.1  christos 		};
   7504   1.1  christos 		break;
   7505   1.1  christos 	/* sys__lwp_getprivate */
   7506   1.1  christos 	case 316:
   7507   1.1  christos 		break;
   7508   1.1  christos 	/* netbsd32__lwp_setprivate */
   7509   1.1  christos 	case 317:
   7510   1.1  christos 		switch(ndx) {
   7511   1.1  christos 		case 0:
   7512   1.1  christos 			p = "netbsd32_voidp";
   7513   1.1  christos 			break;
   7514   1.1  christos 		default:
   7515   1.1  christos 			break;
   7516   1.1  christos 		};
   7517   1.1  christos 		break;
   7518   1.1  christos 	/* netbsd32__lwp_kill */
   7519   1.1  christos 	case 318:
   7520   1.1  christos 		switch(ndx) {
   7521   1.1  christos 		case 0:
   7522   1.1  christos 			p = "lwpid_t";
   7523   1.1  christos 			break;
   7524   1.1  christos 		case 1:
   7525   1.1  christos 			p = "int";
   7526   1.1  christos 			break;
   7527   1.1  christos 		default:
   7528   1.1  christos 			break;
   7529   1.1  christos 		};
   7530   1.1  christos 		break;
   7531   1.1  christos 	/* netbsd32__lwp_detach */
   7532   1.1  christos 	case 319:
   7533   1.1  christos 		switch(ndx) {
   7534   1.1  christos 		case 0:
   7535   1.1  christos 			p = "lwpid_t";
   7536   1.1  christos 			break;
   7537   1.1  christos 		default:
   7538   1.1  christos 			break;
   7539   1.1  christos 		};
   7540   1.1  christos 		break;
   7541   1.1  christos 	/* netbsd32__lwp_park */
   7542   1.1  christos 	case 320:
   7543   1.1  christos 		switch(ndx) {
   7544   1.1  christos 		case 0:
   7545   1.1  christos 			p = "netbsd32_timespec50p_t";
   7546   1.1  christos 			break;
   7547   1.1  christos 		case 1:
   7548   1.1  christos 			p = "lwpid_t";
   7549   1.1  christos 			break;
   7550   1.1  christos 		case 2:
   7551   1.1  christos 			p = "netbsd32_voidp";
   7552   1.1  christos 			break;
   7553   1.1  christos 		case 3:
   7554   1.1  christos 			p = "netbsd32_voidp";
   7555   1.1  christos 			break;
   7556   1.1  christos 		default:
   7557   1.1  christos 			break;
   7558   1.1  christos 		};
   7559   1.1  christos 		break;
   7560   1.1  christos 	/* netbsd32__lwp_unpark */
   7561   1.1  christos 	case 321:
   7562   1.1  christos 		switch(ndx) {
   7563   1.1  christos 		case 0:
   7564   1.1  christos 			p = "lwpid_t";
   7565   1.1  christos 			break;
   7566   1.1  christos 		case 1:
   7567   1.1  christos 			p = "netbsd32_voidp";
   7568   1.1  christos 			break;
   7569   1.1  christos 		default:
   7570   1.1  christos 			break;
   7571   1.1  christos 		};
   7572   1.1  christos 		break;
   7573   1.1  christos 	/* netbsd32__lwp_unpark_all */
   7574   1.1  christos 	case 322:
   7575   1.1  christos 		switch(ndx) {
   7576   1.1  christos 		case 0:
   7577   1.1  christos 			p = "netbsd32_lwpidp";
   7578   1.1  christos 			break;
   7579   1.1  christos 		case 1:
   7580   1.1  christos 			p = "netbsd32_size_t";
   7581   1.1  christos 			break;
   7582   1.1  christos 		case 2:
   7583   1.1  christos 			p = "netbsd32_voidp";
   7584   1.1  christos 			break;
   7585   1.1  christos 		default:
   7586   1.1  christos 			break;
   7587   1.1  christos 		};
   7588   1.1  christos 		break;
   7589   1.1  christos 	/* netbsd32__lwp_setname */
   7590   1.1  christos 	case 323:
   7591   1.1  christos 		switch(ndx) {
   7592   1.1  christos 		case 0:
   7593   1.1  christos 			p = "lwpid_t";
   7594   1.1  christos 			break;
   7595   1.1  christos 		case 1:
   7596   1.1  christos 			p = "netbsd32_charp";
   7597   1.1  christos 			break;
   7598   1.1  christos 		default:
   7599   1.1  christos 			break;
   7600   1.1  christos 		};
   7601   1.1  christos 		break;
   7602   1.1  christos 	/* netbsd32__lwp_getname */
   7603   1.1  christos 	case 324:
   7604   1.1  christos 		switch(ndx) {
   7605   1.1  christos 		case 0:
   7606   1.1  christos 			p = "lwpid_t";
   7607   1.1  christos 			break;
   7608   1.1  christos 		case 1:
   7609   1.1  christos 			p = "netbsd32_charp";
   7610   1.1  christos 			break;
   7611   1.1  christos 		case 2:
   7612   1.1  christos 			p = "netbsd32_size_t";
   7613   1.1  christos 			break;
   7614   1.1  christos 		default:
   7615   1.1  christos 			break;
   7616   1.1  christos 		};
   7617   1.1  christos 		break;
   7618   1.1  christos 	/* netbsd32__lwp_ctl */
   7619   1.1  christos 	case 325:
   7620   1.1  christos 		switch(ndx) {
   7621   1.1  christos 		case 0:
   7622   1.1  christos 			p = "int";
   7623   1.1  christos 			break;
   7624   1.1  christos 		case 1:
   7625   1.1  christos 			p = "netbsd32_pointer_t";
   7626   1.1  christos 			break;
   7627   1.1  christos 		default:
   7628   1.1  christos 			break;
   7629   1.1  christos 		};
   7630   1.1  christos 		break;
   7631   1.1  christos 	/* netbsd32___sigaction_sigtramp */
   7632   1.1  christos 	case 340:
   7633   1.1  christos 		switch(ndx) {
   7634   1.1  christos 		case 0:
   7635   1.1  christos 			p = "int";
   7636   1.1  christos 			break;
   7637   1.1  christos 		case 1:
   7638   1.1  christos 			p = "netbsd32_sigactionp_t";
   7639   1.1  christos 			break;
   7640   1.1  christos 		case 2:
   7641   1.1  christos 			p = "netbsd32_sigactionp_t";
   7642   1.1  christos 			break;
   7643   1.1  christos 		case 3:
   7644   1.1  christos 			p = "netbsd32_voidp";
   7645   1.1  christos 			break;
   7646   1.1  christos 		case 4:
   7647   1.1  christos 			p = "int";
   7648   1.1  christos 			break;
   7649   1.1  christos 		default:
   7650   1.1  christos 			break;
   7651   1.1  christos 		};
   7652   1.1  christos 		break;
   7653   1.1  christos 	/* netbsd32_rasctl */
   7654   1.1  christos 	case 343:
   7655   1.1  christos 		switch(ndx) {
   7656   1.1  christos 		case 0:
   7657   1.1  christos 			p = "netbsd32_voidp";
   7658   1.1  christos 			break;
   7659   1.1  christos 		case 1:
   7660   1.1  christos 			p = "netbsd32_size_t";
   7661   1.1  christos 			break;
   7662   1.1  christos 		case 2:
   7663   1.1  christos 			p = "int";
   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 	/* sys_kqueue */
   7670   1.1  christos 	case 344:
   7671   1.1  christos 		break;
   7672   1.1  christos 	/* netbsd32_kevent */
   7673   1.1  christos 	case 345:
   7674   1.1  christos 		switch(ndx) {
   7675   1.1  christos 		case 0:
   7676   1.1  christos 			p = "int";
   7677   1.1  christos 			break;
   7678   1.1  christos 		case 1:
   7679   1.1  christos 			p = "netbsd32_keventp_t";
   7680   1.1  christos 			break;
   7681   1.1  christos 		case 2:
   7682   1.1  christos 			p = "netbsd32_size_t";
   7683   1.1  christos 			break;
   7684   1.1  christos 		case 3:
   7685   1.1  christos 			p = "netbsd32_keventp_t";
   7686   1.1  christos 			break;
   7687   1.1  christos 		case 4:
   7688   1.1  christos 			p = "netbsd32_size_t";
   7689   1.1  christos 			break;
   7690   1.1  christos 		case 5:
   7691   1.1  christos 			p = "netbsd32_timespec50p_t";
   7692   1.1  christos 			break;
   7693   1.1  christos 		default:
   7694   1.1  christos 			break;
   7695   1.1  christos 		};
   7696   1.1  christos 		break;
   7697   1.1  christos 	/* netbsd32__sched_setparam */
   7698   1.1  christos 	case 346:
   7699   1.1  christos 		switch(ndx) {
   7700   1.1  christos 		case 0:
   7701   1.1  christos 			p = "pid_t";
   7702   1.1  christos 			break;
   7703   1.1  christos 		case 1:
   7704   1.1  christos 			p = "lwpid_t";
   7705   1.1  christos 			break;
   7706   1.1  christos 		case 2:
   7707   1.1  christos 			p = "int";
   7708   1.1  christos 			break;
   7709   1.1  christos 		case 3:
   7710   1.1  christos 			p = "const netbsd32_sched_paramp_t";
   7711   1.1  christos 			break;
   7712   1.1  christos 		default:
   7713   1.1  christos 			break;
   7714   1.1  christos 		};
   7715   1.1  christos 		break;
   7716   1.1  christos 	/* netbsd32__sched_getparam */
   7717   1.1  christos 	case 347:
   7718   1.1  christos 		switch(ndx) {
   7719   1.1  christos 		case 0:
   7720   1.1  christos 			p = "pid_t";
   7721   1.1  christos 			break;
   7722   1.1  christos 		case 1:
   7723   1.1  christos 			p = "lwpid_t";
   7724   1.1  christos 			break;
   7725   1.1  christos 		case 2:
   7726   1.1  christos 			p = "netbsd32_intp";
   7727   1.1  christos 			break;
   7728   1.1  christos 		case 3:
   7729   1.1  christos 			p = "netbsd32_sched_paramp_t";
   7730   1.1  christos 			break;
   7731   1.1  christos 		default:
   7732   1.1  christos 			break;
   7733   1.1  christos 		};
   7734   1.1  christos 		break;
   7735   1.1  christos 	/* netbsd32__sched_setaffinity */
   7736   1.1  christos 	case 348:
   7737   1.1  christos 		switch(ndx) {
   7738   1.1  christos 		case 0:
   7739   1.1  christos 			p = "pid_t";
   7740   1.1  christos 			break;
   7741   1.1  christos 		case 1:
   7742   1.1  christos 			p = "lwpid_t";
   7743   1.1  christos 			break;
   7744   1.1  christos 		case 2:
   7745   1.1  christos 			p = "netbsd32_size_t";
   7746   1.1  christos 			break;
   7747   1.1  christos 		case 3:
   7748   1.1  christos 			p = "const netbsd32_cpusetp_t";
   7749   1.1  christos 			break;
   7750   1.1  christos 		default:
   7751   1.1  christos 			break;
   7752   1.1  christos 		};
   7753   1.1  christos 		break;
   7754   1.1  christos 	/* netbsd32__sched_getaffinity */
   7755   1.1  christos 	case 349:
   7756   1.1  christos 		switch(ndx) {
   7757   1.1  christos 		case 0:
   7758   1.1  christos 			p = "pid_t";
   7759   1.1  christos 			break;
   7760   1.1  christos 		case 1:
   7761   1.1  christos 			p = "lwpid_t";
   7762   1.1  christos 			break;
   7763   1.1  christos 		case 2:
   7764   1.1  christos 			p = "netbsd32_size_t";
   7765   1.1  christos 			break;
   7766   1.1  christos 		case 3:
   7767   1.1  christos 			p = "netbsd32_cpusetp_t";
   7768   1.1  christos 			break;
   7769   1.1  christos 		default:
   7770   1.1  christos 			break;
   7771   1.1  christos 		};
   7772   1.1  christos 		break;
   7773   1.1  christos 	/* sys_sched_yield */
   7774   1.1  christos 	case 350:
   7775   1.1  christos 		break;
   7776  1.13     skrll 	/* netbsd32__sched_protect */
   7777  1.13     skrll 	case 351:
   7778  1.13     skrll 		switch(ndx) {
   7779  1.13     skrll 		case 0:
   7780  1.13     skrll 			p = "int";
   7781  1.13     skrll 			break;
   7782  1.13     skrll 		default:
   7783  1.13     skrll 			break;
   7784  1.13     skrll 		};
   7785  1.13     skrll 		break;
   7786   1.1  christos 	/* netbsd32_fsync_range */
   7787   1.1  christos 	case 354:
   7788   1.1  christos 		switch(ndx) {
   7789   1.1  christos 		case 0:
   7790   1.1  christos 			p = "int";
   7791   1.1  christos 			break;
   7792   1.1  christos 		case 1:
   7793   1.1  christos 			p = "int";
   7794   1.1  christos 			break;
   7795   1.1  christos 		case 2:
   7796   1.1  christos 			p = "netbsd32_off_t";
   7797   1.1  christos 			break;
   7798   1.1  christos 		case 3:
   7799   1.1  christos 			p = "netbsd32_off_t";
   7800   1.1  christos 			break;
   7801   1.1  christos 		default:
   7802   1.1  christos 			break;
   7803   1.1  christos 		};
   7804   1.1  christos 		break;
   7805   1.1  christos 	/* netbsd32_uuidgen */
   7806   1.1  christos 	case 355:
   7807   1.1  christos 		switch(ndx) {
   7808   1.1  christos 		case 0:
   7809   1.1  christos 			p = "netbsd32_uuidp_t";
   7810   1.1  christos 			break;
   7811   1.1  christos 		case 1:
   7812   1.1  christos 			p = "int";
   7813   1.1  christos 			break;
   7814   1.1  christos 		default:
   7815   1.1  christos 			break;
   7816   1.1  christos 		};
   7817   1.1  christos 		break;
   7818   1.1  christos 	/* netbsd32_getvfsstat */
   7819   1.1  christos 	case 356:
   7820   1.1  christos 		switch(ndx) {
   7821   1.1  christos 		case 0:
   7822  1.33  christos 			p = "netbsd32_statvfs90p_t";
   7823   1.1  christos 			break;
   7824   1.1  christos 		case 1:
   7825   1.1  christos 			p = "netbsd32_size_t";
   7826   1.1  christos 			break;
   7827   1.1  christos 		case 2:
   7828   1.1  christos 			p = "int";
   7829   1.1  christos 			break;
   7830   1.1  christos 		default:
   7831   1.1  christos 			break;
   7832   1.1  christos 		};
   7833   1.1  christos 		break;
   7834   1.1  christos 	/* netbsd32_statvfs1 */
   7835   1.1  christos 	case 357:
   7836   1.1  christos 		switch(ndx) {
   7837   1.1  christos 		case 0:
   7838   1.1  christos 			p = "netbsd32_charp";
   7839   1.1  christos 			break;
   7840   1.1  christos 		case 1:
   7841  1.33  christos 			p = "netbsd32_statvfs90p_t";
   7842   1.1  christos 			break;
   7843   1.1  christos 		case 2:
   7844   1.1  christos 			p = "int";
   7845   1.1  christos 			break;
   7846   1.1  christos 		default:
   7847   1.1  christos 			break;
   7848   1.1  christos 		};
   7849   1.1  christos 		break;
   7850   1.1  christos 	/* netbsd32_fstatvfs1 */
   7851   1.1  christos 	case 358:
   7852   1.1  christos 		switch(ndx) {
   7853   1.1  christos 		case 0:
   7854   1.1  christos 			p = "int";
   7855   1.1  christos 			break;
   7856   1.1  christos 		case 1:
   7857  1.33  christos 			p = "netbsd32_statvfs90p_t";
   7858   1.1  christos 			break;
   7859   1.1  christos 		case 2:
   7860   1.1  christos 			p = "int";
   7861   1.1  christos 			break;
   7862   1.1  christos 		default:
   7863   1.1  christos 			break;
   7864   1.1  christos 		};
   7865   1.1  christos 		break;
   7866   1.1  christos 	/* netbsd32_fhstatvfs1 */
   7867   1.1  christos 	case 359:
   7868   1.1  christos 		switch(ndx) {
   7869   1.1  christos 		case 0:
   7870   1.1  christos 			p = "netbsd32_fhandlep_t";
   7871   1.1  christos 			break;
   7872   1.1  christos 		case 1:
   7873  1.33  christos 			p = "netbsd32_statvfs90p_t";
   7874   1.1  christos 			break;
   7875   1.1  christos 		case 2:
   7876   1.1  christos 			p = "int";
   7877   1.1  christos 			break;
   7878   1.1  christos 		default:
   7879   1.1  christos 			break;
   7880   1.1  christos 		};
   7881   1.1  christos 		break;
   7882   1.1  christos 	/* netbsd32_extattrctl */
   7883   1.1  christos 	case 360:
   7884   1.1  christos 		switch(ndx) {
   7885   1.1  christos 		case 0:
   7886   1.1  christos 			p = "netbsd32_charp";
   7887   1.1  christos 			break;
   7888   1.1  christos 		case 1:
   7889   1.1  christos 			p = "int";
   7890   1.1  christos 			break;
   7891   1.1  christos 		case 2:
   7892   1.1  christos 			p = "netbsd32_charp";
   7893   1.1  christos 			break;
   7894   1.1  christos 		case 3:
   7895   1.1  christos 			p = "int";
   7896   1.1  christos 			break;
   7897   1.1  christos 		case 4:
   7898   1.1  christos 			p = "netbsd32_charp";
   7899   1.1  christos 			break;
   7900   1.1  christos 		default:
   7901   1.1  christos 			break;
   7902   1.1  christos 		};
   7903   1.1  christos 		break;
   7904   1.1  christos 	/* netbsd32_extattr_set_file */
   7905   1.1  christos 	case 361:
   7906   1.1  christos 		switch(ndx) {
   7907   1.1  christos 		case 0:
   7908   1.1  christos 			p = "netbsd32_charp";
   7909   1.1  christos 			break;
   7910   1.1  christos 		case 1:
   7911   1.1  christos 			p = "int";
   7912   1.1  christos 			break;
   7913   1.1  christos 		case 2:
   7914   1.1  christos 			p = "netbsd32_charp";
   7915   1.1  christos 			break;
   7916   1.1  christos 		case 3:
   7917   1.1  christos 			p = "netbsd32_voidp";
   7918   1.1  christos 			break;
   7919   1.1  christos 		case 4:
   7920   1.1  christos 			p = "netbsd32_size_t";
   7921   1.1  christos 			break;
   7922   1.1  christos 		default:
   7923   1.1  christos 			break;
   7924   1.1  christos 		};
   7925   1.1  christos 		break;
   7926   1.1  christos 	/* netbsd32_extattr_get_file */
   7927   1.1  christos 	case 362:
   7928   1.1  christos 		switch(ndx) {
   7929   1.1  christos 		case 0:
   7930   1.1  christos 			p = "netbsd32_charp";
   7931   1.1  christos 			break;
   7932   1.1  christos 		case 1:
   7933   1.1  christos 			p = "int";
   7934   1.1  christos 			break;
   7935   1.1  christos 		case 2:
   7936   1.1  christos 			p = "netbsd32_charp";
   7937   1.1  christos 			break;
   7938   1.1  christos 		case 3:
   7939   1.1  christos 			p = "netbsd32_voidp";
   7940   1.1  christos 			break;
   7941   1.1  christos 		case 4:
   7942   1.1  christos 			p = "netbsd32_size_t";
   7943   1.1  christos 			break;
   7944   1.1  christos 		default:
   7945   1.1  christos 			break;
   7946   1.1  christos 		};
   7947   1.1  christos 		break;
   7948   1.1  christos 	/* netbsd32_extattr_delete_file */
   7949   1.1  christos 	case 363:
   7950   1.1  christos 		switch(ndx) {
   7951   1.1  christos 		case 0:
   7952   1.1  christos 			p = "netbsd32_charp";
   7953   1.1  christos 			break;
   7954   1.1  christos 		case 1:
   7955   1.1  christos 			p = "int";
   7956   1.1  christos 			break;
   7957   1.1  christos 		case 2:
   7958   1.1  christos 			p = "netbsd32_charp";
   7959   1.1  christos 			break;
   7960   1.1  christos 		default:
   7961   1.1  christos 			break;
   7962   1.1  christos 		};
   7963   1.1  christos 		break;
   7964   1.1  christos 	/* netbsd32_extattr_set_fd */
   7965   1.1  christos 	case 364:
   7966   1.1  christos 		switch(ndx) {
   7967   1.1  christos 		case 0:
   7968   1.1  christos 			p = "int";
   7969   1.1  christos 			break;
   7970   1.1  christos 		case 1:
   7971   1.1  christos 			p = "int";
   7972   1.1  christos 			break;
   7973   1.1  christos 		case 2:
   7974   1.1  christos 			p = "netbsd32_charp";
   7975   1.1  christos 			break;
   7976   1.1  christos 		case 3:
   7977   1.1  christos 			p = "netbsd32_voidp";
   7978   1.1  christos 			break;
   7979   1.1  christos 		case 4:
   7980   1.1  christos 			p = "netbsd32_size_t";
   7981   1.1  christos 			break;
   7982   1.1  christos 		default:
   7983   1.1  christos 			break;
   7984   1.1  christos 		};
   7985   1.1  christos 		break;
   7986   1.1  christos 	/* netbsd32_extattr_get_fd */
   7987   1.1  christos 	case 365:
   7988   1.1  christos 		switch(ndx) {
   7989   1.1  christos 		case 0:
   7990   1.1  christos 			p = "int";
   7991   1.1  christos 			break;
   7992   1.1  christos 		case 1:
   7993   1.1  christos 			p = "int";
   7994   1.1  christos 			break;
   7995   1.1  christos 		case 2:
   7996   1.1  christos 			p = "netbsd32_charp";
   7997   1.1  christos 			break;
   7998   1.1  christos 		case 3:
   7999   1.1  christos 			p = "netbsd32_voidp";
   8000   1.1  christos 			break;
   8001   1.1  christos 		case 4:
   8002   1.1  christos 			p = "netbsd32_size_t";
   8003   1.1  christos 			break;
   8004   1.1  christos 		default:
   8005   1.1  christos 			break;
   8006   1.1  christos 		};
   8007   1.1  christos 		break;
   8008   1.1  christos 	/* netbsd32_extattr_delete_fd */
   8009   1.1  christos 	case 366:
   8010   1.1  christos 		switch(ndx) {
   8011   1.1  christos 		case 0:
   8012   1.1  christos 			p = "int";
   8013   1.1  christos 			break;
   8014   1.1  christos 		case 1:
   8015   1.1  christos 			p = "int";
   8016   1.1  christos 			break;
   8017   1.1  christos 		case 2:
   8018   1.1  christos 			p = "netbsd32_charp";
   8019   1.1  christos 			break;
   8020   1.1  christos 		default:
   8021   1.1  christos 			break;
   8022   1.1  christos 		};
   8023   1.1  christos 		break;
   8024   1.1  christos 	/* netbsd32_extattr_set_link */
   8025   1.1  christos 	case 367:
   8026   1.1  christos 		switch(ndx) {
   8027   1.1  christos 		case 0:
   8028   1.1  christos 			p = "netbsd32_charp";
   8029   1.1  christos 			break;
   8030   1.1  christos 		case 1:
   8031   1.1  christos 			p = "int";
   8032   1.1  christos 			break;
   8033   1.1  christos 		case 2:
   8034   1.1  christos 			p = "netbsd32_charp";
   8035   1.1  christos 			break;
   8036   1.1  christos 		case 3:
   8037   1.1  christos 			p = "netbsd32_voidp";
   8038   1.1  christos 			break;
   8039   1.1  christos 		case 4:
   8040   1.1  christos 			p = "netbsd32_size_t";
   8041   1.1  christos 			break;
   8042   1.1  christos 		default:
   8043   1.1  christos 			break;
   8044   1.1  christos 		};
   8045   1.1  christos 		break;
   8046   1.1  christos 	/* netbsd32_extattr_get_link */
   8047   1.1  christos 	case 368:
   8048   1.1  christos 		switch(ndx) {
   8049   1.1  christos 		case 0:
   8050   1.1  christos 			p = "netbsd32_charp";
   8051   1.1  christos 			break;
   8052   1.1  christos 		case 1:
   8053   1.1  christos 			p = "int";
   8054   1.1  christos 			break;
   8055   1.1  christos 		case 2:
   8056   1.1  christos 			p = "netbsd32_charp";
   8057   1.1  christos 			break;
   8058   1.1  christos 		case 3:
   8059   1.1  christos 			p = "netbsd32_voidp";
   8060   1.1  christos 			break;
   8061   1.1  christos 		case 4:
   8062   1.1  christos 			p = "netbsd32_size_t";
   8063   1.1  christos 			break;
   8064   1.1  christos 		default:
   8065   1.1  christos 			break;
   8066   1.1  christos 		};
   8067   1.1  christos 		break;
   8068   1.1  christos 	/* netbsd32_extattr_delete_link */
   8069   1.1  christos 	case 369:
   8070   1.1  christos 		switch(ndx) {
   8071   1.1  christos 		case 0:
   8072   1.1  christos 			p = "netbsd32_charp";
   8073   1.1  christos 			break;
   8074   1.1  christos 		case 1:
   8075   1.1  christos 			p = "int";
   8076   1.1  christos 			break;
   8077   1.1  christos 		case 2:
   8078   1.1  christos 			p = "netbsd32_charp";
   8079   1.1  christos 			break;
   8080   1.1  christos 		default:
   8081   1.1  christos 			break;
   8082   1.1  christos 		};
   8083   1.1  christos 		break;
   8084   1.1  christos 	/* netbsd32_extattr_list_fd */
   8085   1.1  christos 	case 370:
   8086   1.1  christos 		switch(ndx) {
   8087   1.1  christos 		case 0:
   8088   1.1  christos 			p = "int";
   8089   1.1  christos 			break;
   8090   1.1  christos 		case 1:
   8091   1.1  christos 			p = "int";
   8092   1.1  christos 			break;
   8093   1.1  christos 		case 2:
   8094   1.1  christos 			p = "netbsd32_voidp";
   8095   1.1  christos 			break;
   8096   1.1  christos 		case 3:
   8097   1.1  christos 			p = "netbsd32_size_t";
   8098   1.1  christos 			break;
   8099   1.1  christos 		default:
   8100   1.1  christos 			break;
   8101   1.1  christos 		};
   8102   1.1  christos 		break;
   8103   1.1  christos 	/* netbsd32_extattr_list_file */
   8104   1.1  christos 	case 371:
   8105   1.1  christos 		switch(ndx) {
   8106   1.1  christos 		case 0:
   8107   1.1  christos 			p = "netbsd32_charp";
   8108   1.1  christos 			break;
   8109   1.1  christos 		case 1:
   8110   1.1  christos 			p = "int";
   8111   1.1  christos 			break;
   8112   1.1  christos 		case 2:
   8113   1.1  christos 			p = "netbsd32_voidp";
   8114   1.1  christos 			break;
   8115   1.1  christos 		case 3:
   8116   1.1  christos 			p = "netbsd32_size_t";
   8117   1.1  christos 			break;
   8118   1.1  christos 		default:
   8119   1.1  christos 			break;
   8120   1.1  christos 		};
   8121   1.1  christos 		break;
   8122   1.1  christos 	/* netbsd32_extattr_list_link */
   8123   1.1  christos 	case 372:
   8124   1.1  christos 		switch(ndx) {
   8125   1.1  christos 		case 0:
   8126   1.1  christos 			p = "netbsd32_charp";
   8127   1.1  christos 			break;
   8128   1.1  christos 		case 1:
   8129   1.1  christos 			p = "int";
   8130   1.1  christos 			break;
   8131   1.1  christos 		case 2:
   8132   1.1  christos 			p = "netbsd32_voidp";
   8133   1.1  christos 			break;
   8134   1.1  christos 		case 3:
   8135   1.1  christos 			p = "netbsd32_size_t";
   8136   1.1  christos 			break;
   8137   1.1  christos 		default:
   8138   1.1  christos 			break;
   8139   1.1  christos 		};
   8140   1.1  christos 		break;
   8141   1.1  christos 	/* netbsd32_pselect */
   8142   1.1  christos 	case 373:
   8143   1.1  christos 		switch(ndx) {
   8144   1.1  christos 		case 0:
   8145   1.1  christos 			p = "int";
   8146   1.1  christos 			break;
   8147   1.1  christos 		case 1:
   8148   1.1  christos 			p = "netbsd32_fd_setp_t";
   8149   1.1  christos 			break;
   8150   1.1  christos 		case 2:
   8151   1.1  christos 			p = "netbsd32_fd_setp_t";
   8152   1.1  christos 			break;
   8153   1.1  christos 		case 3:
   8154   1.1  christos 			p = "netbsd32_fd_setp_t";
   8155   1.1  christos 			break;
   8156   1.1  christos 		case 4:
   8157   1.1  christos 			p = "netbsd32_timespec50p_t";
   8158   1.1  christos 			break;
   8159   1.1  christos 		case 5:
   8160   1.1  christos 			p = "netbsd32_sigsetp_t";
   8161   1.1  christos 			break;
   8162   1.1  christos 		default:
   8163   1.1  christos 			break;
   8164   1.1  christos 		};
   8165   1.1  christos 		break;
   8166   1.1  christos 	/* netbsd32_pollts */
   8167   1.1  christos 	case 374:
   8168   1.1  christos 		switch(ndx) {
   8169   1.1  christos 		case 0:
   8170   1.1  christos 			p = "netbsd32_pollfdp_t";
   8171   1.1  christos 			break;
   8172   1.1  christos 		case 1:
   8173   1.1  christos 			p = "u_int";
   8174   1.1  christos 			break;
   8175   1.1  christos 		case 2:
   8176   1.1  christos 			p = "netbsd32_timespec50p_t";
   8177   1.1  christos 			break;
   8178   1.1  christos 		case 3:
   8179   1.1  christos 			p = "netbsd32_sigsetp_t";
   8180   1.1  christos 			break;
   8181   1.1  christos 		default:
   8182   1.1  christos 			break;
   8183   1.1  christos 		};
   8184   1.1  christos 		break;
   8185   1.1  christos 	/* netbsd32_setxattr */
   8186   1.1  christos 	case 375:
   8187   1.1  christos 		switch(ndx) {
   8188   1.1  christos 		case 0:
   8189   1.1  christos 			p = "netbsd32_charp";
   8190   1.1  christos 			break;
   8191   1.1  christos 		case 1:
   8192   1.1  christos 			p = "netbsd32_charp";
   8193   1.1  christos 			break;
   8194   1.1  christos 		case 2:
   8195   1.1  christos 			p = "netbsd32_voidp";
   8196   1.1  christos 			break;
   8197   1.1  christos 		case 3:
   8198   1.1  christos 			p = "netbsd32_size_t";
   8199   1.1  christos 			break;
   8200   1.1  christos 		case 4:
   8201   1.1  christos 			p = "int";
   8202   1.1  christos 			break;
   8203   1.1  christos 		default:
   8204   1.1  christos 			break;
   8205   1.1  christos 		};
   8206   1.1  christos 		break;
   8207   1.1  christos 	/* netbsd32_lsetxattr */
   8208   1.1  christos 	case 376:
   8209   1.1  christos 		switch(ndx) {
   8210   1.1  christos 		case 0:
   8211   1.1  christos 			p = "netbsd32_charp";
   8212   1.1  christos 			break;
   8213   1.1  christos 		case 1:
   8214   1.1  christos 			p = "netbsd32_charp";
   8215   1.1  christos 			break;
   8216   1.1  christos 		case 2:
   8217   1.1  christos 			p = "netbsd32_voidp";
   8218   1.1  christos 			break;
   8219   1.1  christos 		case 3:
   8220   1.1  christos 			p = "netbsd32_size_t";
   8221   1.1  christos 			break;
   8222   1.1  christos 		case 4:
   8223   1.1  christos 			p = "int";
   8224   1.1  christos 			break;
   8225   1.1  christos 		default:
   8226   1.1  christos 			break;
   8227   1.1  christos 		};
   8228   1.1  christos 		break;
   8229   1.1  christos 	/* netbsd32_fsetxattr */
   8230   1.1  christos 	case 377:
   8231   1.1  christos 		switch(ndx) {
   8232   1.1  christos 		case 0:
   8233   1.1  christos 			p = "int";
   8234   1.1  christos 			break;
   8235   1.1  christos 		case 1:
   8236   1.1  christos 			p = "netbsd32_charp";
   8237   1.1  christos 			break;
   8238   1.1  christos 		case 2:
   8239   1.1  christos 			p = "netbsd32_voidp";
   8240   1.1  christos 			break;
   8241   1.1  christos 		case 3:
   8242   1.1  christos 			p = "netbsd32_size_t";
   8243   1.1  christos 			break;
   8244   1.1  christos 		case 4:
   8245   1.1  christos 			p = "int";
   8246   1.1  christos 			break;
   8247   1.1  christos 		default:
   8248   1.1  christos 			break;
   8249   1.1  christos 		};
   8250   1.1  christos 		break;
   8251   1.1  christos 	/* netbsd32_getxattr */
   8252   1.1  christos 	case 378:
   8253   1.1  christos 		switch(ndx) {
   8254   1.1  christos 		case 0:
   8255   1.1  christos 			p = "netbsd32_charp";
   8256   1.1  christos 			break;
   8257   1.1  christos 		case 1:
   8258   1.1  christos 			p = "netbsd32_charp";
   8259   1.1  christos 			break;
   8260   1.1  christos 		case 2:
   8261   1.1  christos 			p = "netbsd32_voidp";
   8262   1.1  christos 			break;
   8263   1.1  christos 		case 3:
   8264   1.1  christos 			p = "netbsd32_size_t";
   8265   1.1  christos 			break;
   8266   1.1  christos 		default:
   8267   1.1  christos 			break;
   8268   1.1  christos 		};
   8269   1.1  christos 		break;
   8270   1.1  christos 	/* netbsd32_lgetxattr */
   8271   1.1  christos 	case 379:
   8272   1.1  christos 		switch(ndx) {
   8273   1.1  christos 		case 0:
   8274   1.1  christos 			p = "netbsd32_charp";
   8275   1.1  christos 			break;
   8276   1.1  christos 		case 1:
   8277   1.1  christos 			p = "netbsd32_charp";
   8278   1.1  christos 			break;
   8279   1.1  christos 		case 2:
   8280   1.1  christos 			p = "netbsd32_voidp";
   8281   1.1  christos 			break;
   8282   1.1  christos 		case 3:
   8283   1.1  christos 			p = "netbsd32_size_t";
   8284   1.1  christos 			break;
   8285   1.1  christos 		default:
   8286   1.1  christos 			break;
   8287   1.1  christos 		};
   8288   1.1  christos 		break;
   8289   1.1  christos 	/* netbsd32_fgetxattr */
   8290   1.1  christos 	case 380:
   8291   1.1  christos 		switch(ndx) {
   8292   1.1  christos 		case 0:
   8293   1.1  christos 			p = "int";
   8294   1.1  christos 			break;
   8295   1.1  christos 		case 1:
   8296   1.1  christos 			p = "netbsd32_charp";
   8297   1.1  christos 			break;
   8298   1.1  christos 		case 2:
   8299   1.1  christos 			p = "netbsd32_voidp";
   8300   1.1  christos 			break;
   8301   1.1  christos 		case 3:
   8302   1.1  christos 			p = "netbsd32_size_t";
   8303   1.1  christos 			break;
   8304   1.1  christos 		default:
   8305   1.1  christos 			break;
   8306   1.1  christos 		};
   8307   1.1  christos 		break;
   8308   1.1  christos 	/* netbsd32_listxattr */
   8309   1.1  christos 	case 381:
   8310   1.1  christos 		switch(ndx) {
   8311   1.1  christos 		case 0:
   8312   1.1  christos 			p = "netbsd32_charp";
   8313   1.1  christos 			break;
   8314   1.1  christos 		case 1:
   8315   1.1  christos 			p = "netbsd32_charp";
   8316   1.1  christos 			break;
   8317   1.1  christos 		case 2:
   8318   1.1  christos 			p = "netbsd32_size_t";
   8319   1.1  christos 			break;
   8320   1.1  christos 		default:
   8321   1.1  christos 			break;
   8322   1.1  christos 		};
   8323   1.1  christos 		break;
   8324   1.1  christos 	/* netbsd32_llistxattr */
   8325   1.1  christos 	case 382:
   8326   1.1  christos 		switch(ndx) {
   8327   1.1  christos 		case 0:
   8328   1.1  christos 			p = "netbsd32_charp";
   8329   1.1  christos 			break;
   8330   1.1  christos 		case 1:
   8331   1.1  christos 			p = "netbsd32_charp";
   8332   1.1  christos 			break;
   8333   1.1  christos 		case 2:
   8334   1.1  christos 			p = "netbsd32_size_t";
   8335   1.1  christos 			break;
   8336   1.1  christos 		default:
   8337   1.1  christos 			break;
   8338   1.1  christos 		};
   8339   1.1  christos 		break;
   8340   1.1  christos 	/* netbsd32_flistxattr */
   8341   1.1  christos 	case 383:
   8342   1.1  christos 		switch(ndx) {
   8343   1.1  christos 		case 0:
   8344   1.1  christos 			p = "int";
   8345   1.1  christos 			break;
   8346   1.1  christos 		case 1:
   8347   1.1  christos 			p = "netbsd32_charp";
   8348   1.1  christos 			break;
   8349   1.1  christos 		case 2:
   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_removexattr */
   8357   1.1  christos 	case 384:
   8358   1.1  christos 		switch(ndx) {
   8359   1.1  christos 		case 0:
   8360   1.1  christos 			p = "netbsd32_charp";
   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 		default:
   8366   1.1  christos 			break;
   8367   1.1  christos 		};
   8368   1.1  christos 		break;
   8369   1.1  christos 	/* netbsd32_lremovexattr */
   8370   1.1  christos 	case 385:
   8371   1.1  christos 		switch(ndx) {
   8372   1.1  christos 		case 0:
   8373   1.1  christos 			p = "netbsd32_charp";
   8374   1.1  christos 			break;
   8375   1.1  christos 		case 1:
   8376   1.1  christos 			p = "netbsd32_charp";
   8377   1.1  christos 			break;
   8378   1.1  christos 		default:
   8379   1.1  christos 			break;
   8380   1.1  christos 		};
   8381   1.1  christos 		break;
   8382   1.1  christos 	/* netbsd32_fremovexattr */
   8383   1.1  christos 	case 386:
   8384   1.1  christos 		switch(ndx) {
   8385   1.1  christos 		case 0:
   8386   1.1  christos 			p = "int";
   8387   1.1  christos 			break;
   8388   1.1  christos 		case 1:
   8389   1.1  christos 			p = "netbsd32_charp";
   8390   1.1  christos 			break;
   8391   1.1  christos 		default:
   8392   1.1  christos 			break;
   8393   1.1  christos 		};
   8394   1.1  christos 		break;
   8395   1.1  christos 	/* netbsd32___stat30 */
   8396   1.1  christos 	case 387:
   8397   1.1  christos 		switch(ndx) {
   8398   1.1  christos 		case 0:
   8399   1.1  christos 			p = "netbsd32_charp";
   8400   1.1  christos 			break;
   8401   1.1  christos 		case 1:
   8402   1.1  christos 			p = "netbsd32_stat50p_t";
   8403   1.1  christos 			break;
   8404   1.1  christos 		default:
   8405   1.1  christos 			break;
   8406   1.1  christos 		};
   8407   1.1  christos 		break;
   8408   1.1  christos 	/* netbsd32___fstat30 */
   8409   1.1  christos 	case 388:
   8410   1.1  christos 		switch(ndx) {
   8411   1.1  christos 		case 0:
   8412   1.1  christos 			p = "int";
   8413   1.1  christos 			break;
   8414   1.1  christos 		case 1:
   8415   1.1  christos 			p = "netbsd32_stat50p_t";
   8416   1.1  christos 			break;
   8417   1.1  christos 		default:
   8418   1.1  christos 			break;
   8419   1.1  christos 		};
   8420   1.1  christos 		break;
   8421   1.1  christos 	/* netbsd32___lstat30 */
   8422   1.1  christos 	case 389:
   8423   1.1  christos 		switch(ndx) {
   8424   1.1  christos 		case 0:
   8425   1.1  christos 			p = "netbsd32_charp";
   8426   1.1  christos 			break;
   8427   1.1  christos 		case 1:
   8428   1.1  christos 			p = "netbsd32_stat50p_t";
   8429   1.1  christos 			break;
   8430   1.1  christos 		default:
   8431   1.1  christos 			break;
   8432   1.1  christos 		};
   8433   1.1  christos 		break;
   8434   1.1  christos 	/* netbsd32___getdents30 */
   8435   1.1  christos 	case 390:
   8436   1.1  christos 		switch(ndx) {
   8437   1.1  christos 		case 0:
   8438   1.1  christos 			p = "int";
   8439   1.1  christos 			break;
   8440   1.1  christos 		case 1:
   8441   1.1  christos 			p = "netbsd32_charp";
   8442   1.1  christos 			break;
   8443   1.1  christos 		case 2:
   8444   1.1  christos 			p = "netbsd32_size_t";
   8445   1.1  christos 			break;
   8446   1.1  christos 		default:
   8447   1.1  christos 			break;
   8448   1.1  christos 		};
   8449   1.1  christos 		break;
   8450   1.1  christos 	/* netbsd32___fhstat30 */
   8451   1.1  christos 	case 392:
   8452   1.1  christos 		switch(ndx) {
   8453   1.1  christos 		case 0:
   8454   1.1  christos 			p = "netbsd32_fhandlep_t";
   8455   1.1  christos 			break;
   8456   1.1  christos 		case 1:
   8457   1.1  christos 			p = "netbsd32_stat50p_t";
   8458   1.1  christos 			break;
   8459   1.1  christos 		default:
   8460   1.1  christos 			break;
   8461   1.1  christos 		};
   8462   1.1  christos 		break;
   8463   1.1  christos 	/* netbsd32_ntp_gettime */
   8464   1.1  christos 	case 393:
   8465   1.1  christos 		switch(ndx) {
   8466   1.1  christos 		case 0:
   8467   1.1  christos 			p = "netbsd32_ntptimeval50p_t";
   8468   1.1  christos 			break;
   8469   1.1  christos 		default:
   8470   1.1  christos 			break;
   8471   1.1  christos 		};
   8472   1.1  christos 		break;
   8473   1.1  christos 	/* netbsd32___socket30 */
   8474   1.1  christos 	case 394:
   8475   1.1  christos 		switch(ndx) {
   8476   1.1  christos 		case 0:
   8477   1.1  christos 			p = "int";
   8478   1.1  christos 			break;
   8479   1.1  christos 		case 1:
   8480   1.1  christos 			p = "int";
   8481   1.1  christos 			break;
   8482   1.1  christos 		case 2:
   8483   1.1  christos 			p = "int";
   8484   1.1  christos 			break;
   8485   1.1  christos 		default:
   8486   1.1  christos 			break;
   8487   1.1  christos 		};
   8488   1.1  christos 		break;
   8489   1.1  christos 	/* netbsd32___getfh30 */
   8490   1.1  christos 	case 395:
   8491   1.1  christos 		switch(ndx) {
   8492   1.1  christos 		case 0:
   8493   1.1  christos 			p = "netbsd32_charp";
   8494   1.1  christos 			break;
   8495   1.1  christos 		case 1:
   8496   1.1  christos 			p = "netbsd32_pointer_t";
   8497   1.1  christos 			break;
   8498   1.1  christos 		case 2:
   8499   1.1  christos 			p = "netbsd32_size_tp";
   8500   1.1  christos 			break;
   8501   1.1  christos 		default:
   8502   1.1  christos 			break;
   8503   1.1  christos 		};
   8504   1.1  christos 		break;
   8505   1.1  christos 	/* netbsd32___fhopen40 */
   8506   1.1  christos 	case 396:
   8507   1.1  christos 		switch(ndx) {
   8508   1.1  christos 		case 0:
   8509   1.1  christos 			p = "netbsd32_pointer_t";
   8510   1.1  christos 			break;
   8511   1.1  christos 		case 1:
   8512   1.1  christos 			p = "netbsd32_size_t";
   8513   1.1  christos 			break;
   8514   1.1  christos 		case 2:
   8515   1.1  christos 			p = "int";
   8516   1.1  christos 			break;
   8517   1.1  christos 		default:
   8518   1.1  christos 			break;
   8519   1.1  christos 		};
   8520   1.1  christos 		break;
   8521  1.33  christos 	/* netbsd32_fhstatvfs1 */
   8522   1.1  christos 	case 397:
   8523   1.1  christos 		switch(ndx) {
   8524   1.1  christos 		case 0:
   8525   1.1  christos 			p = "netbsd32_pointer_t";
   8526   1.1  christos 			break;
   8527   1.1  christos 		case 1:
   8528   1.1  christos 			p = "netbsd32_size_t";
   8529   1.1  christos 			break;
   8530   1.1  christos 		case 2:
   8531  1.33  christos 			p = "netbsd32_statvfs90p_t";
   8532   1.1  christos 			break;
   8533   1.1  christos 		case 3:
   8534   1.1  christos 			p = "int";
   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___fhstat40 */
   8541   1.1  christos 	case 398:
   8542   1.1  christos 		switch(ndx) {
   8543   1.1  christos 		case 0:
   8544   1.1  christos 			p = "netbsd32_pointer_t";
   8545   1.1  christos 			break;
   8546   1.1  christos 		case 1:
   8547   1.1  christos 			p = "netbsd32_size_t";
   8548   1.1  christos 			break;
   8549   1.1  christos 		case 2:
   8550   1.1  christos 			p = "netbsd32_stat50p_t";
   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___mount50 */
   8557   1.1  christos 	case 410:
   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_charp";
   8564   1.1  christos 			break;
   8565   1.1  christos 		case 2:
   8566   1.1  christos 			p = "int";
   8567   1.1  christos 			break;
   8568   1.1  christos 		case 3:
   8569   1.1  christos 			p = "netbsd32_voidp";
   8570   1.1  christos 			break;
   8571   1.1  christos 		case 4:
   8572   1.1  christos 			p = "netbsd32_size_t";
   8573   1.1  christos 			break;
   8574   1.1  christos 		default:
   8575   1.1  christos 			break;
   8576   1.1  christos 		};
   8577   1.1  christos 		break;
   8578   1.1  christos 	/* netbsd32_mremap */
   8579   1.1  christos 	case 411:
   8580   1.1  christos 		switch(ndx) {
   8581   1.1  christos 		case 0:
   8582   1.1  christos 			p = "netbsd32_voidp";
   8583   1.1  christos 			break;
   8584   1.1  christos 		case 1:
   8585   1.1  christos 			p = "netbsd32_size_t";
   8586   1.1  christos 			break;
   8587   1.1  christos 		case 2:
   8588   1.1  christos 			p = "netbsd32_voidp";
   8589   1.1  christos 			break;
   8590   1.1  christos 		case 3:
   8591   1.1  christos 			p = "netbsd32_size_t";
   8592   1.1  christos 			break;
   8593   1.1  christos 		case 4:
   8594   1.1  christos 			p = "int";
   8595   1.1  christos 			break;
   8596   1.1  christos 		default:
   8597   1.1  christos 			break;
   8598   1.1  christos 		};
   8599   1.1  christos 		break;
   8600   1.5    martin 	/* netbsd32_pset_create */
   8601   1.5    martin 	case 412:
   8602   1.5    martin 		switch(ndx) {
   8603   1.5    martin 		case 0:
   8604   1.5    martin 			p = "netbsd32_psetidp_t";
   8605   1.5    martin 			break;
   8606   1.5    martin 		default:
   8607   1.5    martin 			break;
   8608   1.5    martin 		};
   8609   1.5    martin 		break;
   8610   1.5    martin 	/* netbsd32_pset_destroy */
   8611   1.5    martin 	case 413:
   8612   1.5    martin 		switch(ndx) {
   8613   1.5    martin 		case 0:
   8614   1.5    martin 			p = "psetid_t";
   8615   1.5    martin 			break;
   8616   1.5    martin 		default:
   8617   1.5    martin 			break;
   8618   1.5    martin 		};
   8619   1.5    martin 		break;
   8620   1.5    martin 	/* netbsd32_pset_assign */
   8621   1.5    martin 	case 414:
   8622   1.5    martin 		switch(ndx) {
   8623   1.5    martin 		case 0:
   8624   1.5    martin 			p = "psetid_t";
   8625   1.5    martin 			break;
   8626   1.5    martin 		case 1:
   8627   1.5    martin 			p = "cpuid_t";
   8628   1.5    martin 			break;
   8629   1.5    martin 		case 2:
   8630   1.5    martin 			p = "netbsd32_psetidp_t";
   8631   1.5    martin 			break;
   8632   1.5    martin 		default:
   8633   1.5    martin 			break;
   8634   1.5    martin 		};
   8635   1.5    martin 		break;
   8636   1.5    martin 	/* netbsd32__pset_bind */
   8637   1.5    martin 	case 415:
   8638   1.5    martin 		switch(ndx) {
   8639   1.5    martin 		case 0:
   8640   1.5    martin 			p = "idtype_t";
   8641   1.5    martin 			break;
   8642   1.5    martin 		case 1:
   8643   1.5    martin 			p = "id_t";
   8644   1.5    martin 			break;
   8645   1.5    martin 		case 2:
   8646   1.5    martin 			p = "id_t";
   8647   1.5    martin 			break;
   8648   1.5    martin 		case 3:
   8649   1.5    martin 			p = "psetid_t";
   8650   1.5    martin 			break;
   8651   1.5    martin 		case 4:
   8652   1.5    martin 			p = "netbsd32_psetidp_t";
   8653   1.5    martin 			break;
   8654   1.5    martin 		default:
   8655   1.5    martin 			break;
   8656   1.5    martin 		};
   8657   1.5    martin 		break;
   8658   1.1  christos 	/* netbsd32___posix_fadvise50 */
   8659   1.1  christos 	case 416:
   8660   1.1  christos 		switch(ndx) {
   8661   1.1  christos 		case 0:
   8662   1.1  christos 			p = "int";
   8663   1.1  christos 			break;
   8664   1.1  christos 		case 1:
   8665   1.1  christos 			p = "int";
   8666   1.1  christos 			break;
   8667   1.1  christos 		case 2:
   8668   1.1  christos 			p = "netbsd32_off_t";
   8669   1.1  christos 			break;
   8670   1.1  christos 		case 3:
   8671   1.1  christos 			p = "netbsd32_off_t";
   8672   1.1  christos 			break;
   8673   1.1  christos 		case 4:
   8674   1.1  christos 			p = "int";
   8675   1.1  christos 			break;
   8676   1.1  christos 		default:
   8677   1.1  christos 			break;
   8678   1.1  christos 		};
   8679   1.1  christos 		break;
   8680   1.1  christos 	/* netbsd32___select50 */
   8681   1.1  christos 	case 417:
   8682   1.1  christos 		switch(ndx) {
   8683   1.1  christos 		case 0:
   8684   1.1  christos 			p = "int";
   8685   1.1  christos 			break;
   8686   1.1  christos 		case 1:
   8687   1.1  christos 			p = "netbsd32_fd_setp_t";
   8688   1.1  christos 			break;
   8689   1.1  christos 		case 2:
   8690   1.1  christos 			p = "netbsd32_fd_setp_t";
   8691   1.1  christos 			break;
   8692   1.1  christos 		case 3:
   8693   1.1  christos 			p = "netbsd32_fd_setp_t";
   8694   1.1  christos 			break;
   8695   1.1  christos 		case 4:
   8696   1.1  christos 			p = "netbsd32_timevalp_t";
   8697   1.1  christos 			break;
   8698   1.1  christos 		default:
   8699   1.1  christos 			break;
   8700   1.1  christos 		};
   8701   1.1  christos 		break;
   8702   1.1  christos 	/* netbsd32___gettimeofday50 */
   8703   1.1  christos 	case 418:
   8704   1.1  christos 		switch(ndx) {
   8705   1.1  christos 		case 0:
   8706   1.1  christos 			p = "netbsd32_timevalp_t";
   8707   1.1  christos 			break;
   8708   1.1  christos 		case 1:
   8709   1.1  christos 			p = "netbsd32_voidp";
   8710   1.1  christos 			break;
   8711   1.1  christos 		default:
   8712   1.1  christos 			break;
   8713   1.1  christos 		};
   8714   1.1  christos 		break;
   8715   1.1  christos 	/* netbsd32___settimeofday50 */
   8716   1.1  christos 	case 419:
   8717   1.1  christos 		switch(ndx) {
   8718   1.1  christos 		case 0:
   8719   1.1  christos 			p = "const netbsd32_timevalp_t";
   8720   1.1  christos 			break;
   8721   1.1  christos 		case 1:
   8722   1.1  christos 			p = "const netbsd32_voidp";
   8723   1.1  christos 			break;
   8724   1.1  christos 		default:
   8725   1.1  christos 			break;
   8726   1.1  christos 		};
   8727   1.1  christos 		break;
   8728   1.1  christos 	/* netbsd32___utimes50 */
   8729   1.1  christos 	case 420:
   8730   1.1  christos 		switch(ndx) {
   8731   1.1  christos 		case 0:
   8732   1.1  christos 			p = "const netbsd32_charp";
   8733   1.1  christos 			break;
   8734   1.1  christos 		case 1:
   8735   1.1  christos 			p = "const netbsd32_timevalp_t";
   8736   1.1  christos 			break;
   8737   1.1  christos 		default:
   8738   1.1  christos 			break;
   8739   1.1  christos 		};
   8740   1.1  christos 		break;
   8741   1.1  christos 	/* netbsd32___adjtime50 */
   8742   1.1  christos 	case 421:
   8743   1.1  christos 		switch(ndx) {
   8744   1.1  christos 		case 0:
   8745   1.1  christos 			p = "const netbsd32_timevalp_t";
   8746   1.1  christos 			break;
   8747   1.1  christos 		case 1:
   8748   1.1  christos 			p = "netbsd32_timevalp_t";
   8749   1.1  christos 			break;
   8750   1.1  christos 		default:
   8751   1.1  christos 			break;
   8752   1.1  christos 		};
   8753   1.1  christos 		break;
   8754   1.1  christos 	/* netbsd32___futimes50 */
   8755   1.1  christos 	case 423:
   8756   1.1  christos 		switch(ndx) {
   8757   1.1  christos 		case 0:
   8758   1.1  christos 			p = "int";
   8759   1.1  christos 			break;
   8760   1.1  christos 		case 1:
   8761   1.1  christos 			p = "const netbsd32_timevalp_t";
   8762   1.1  christos 			break;
   8763   1.1  christos 		default:
   8764   1.1  christos 			break;
   8765   1.1  christos 		};
   8766   1.1  christos 		break;
   8767   1.1  christos 	/* netbsd32___lutimes50 */
   8768   1.1  christos 	case 424:
   8769   1.1  christos 		switch(ndx) {
   8770   1.1  christos 		case 0:
   8771   1.1  christos 			p = "const netbsd32_charp";
   8772   1.1  christos 			break;
   8773   1.1  christos 		case 1:
   8774   1.1  christos 			p = "const netbsd32_timevalp_t";
   8775   1.1  christos 			break;
   8776   1.1  christos 		default:
   8777   1.1  christos 			break;
   8778   1.1  christos 		};
   8779   1.1  christos 		break;
   8780   1.1  christos 	/* netbsd32___setitimer50 */
   8781   1.1  christos 	case 425:
   8782   1.1  christos 		switch(ndx) {
   8783   1.1  christos 		case 0:
   8784   1.1  christos 			p = "int";
   8785   1.1  christos 			break;
   8786   1.1  christos 		case 1:
   8787   1.1  christos 			p = "const netbsd32_itimervalp_t";
   8788   1.1  christos 			break;
   8789   1.1  christos 		case 2:
   8790   1.1  christos 			p = "netbsd32_itimervalp_t";
   8791   1.1  christos 			break;
   8792   1.1  christos 		default:
   8793   1.1  christos 			break;
   8794   1.1  christos 		};
   8795   1.1  christos 		break;
   8796   1.1  christos 	/* netbsd32___getitimer50 */
   8797   1.1  christos 	case 426:
   8798   1.1  christos 		switch(ndx) {
   8799   1.1  christos 		case 0:
   8800   1.1  christos 			p = "int";
   8801   1.1  christos 			break;
   8802   1.1  christos 		case 1:
   8803   1.1  christos 			p = "netbsd32_itimervalp_t";
   8804   1.1  christos 			break;
   8805   1.1  christos 		default:
   8806   1.1  christos 			break;
   8807   1.1  christos 		};
   8808   1.1  christos 		break;
   8809   1.1  christos 	/* netbsd32___clock_gettime50 */
   8810   1.1  christos 	case 427:
   8811   1.1  christos 		switch(ndx) {
   8812   1.1  christos 		case 0:
   8813   1.1  christos 			p = "clockid_t";
   8814   1.1  christos 			break;
   8815   1.1  christos 		case 1:
   8816   1.1  christos 			p = "netbsd32_timespecp_t";
   8817   1.1  christos 			break;
   8818   1.1  christos 		default:
   8819   1.1  christos 			break;
   8820   1.1  christos 		};
   8821   1.1  christos 		break;
   8822   1.1  christos 	/* netbsd32___clock_settime50 */
   8823   1.1  christos 	case 428:
   8824   1.1  christos 		switch(ndx) {
   8825   1.1  christos 		case 0:
   8826   1.1  christos 			p = "clockid_t";
   8827   1.1  christos 			break;
   8828   1.1  christos 		case 1:
   8829   1.1  christos 			p = "const netbsd32_timespecp_t";
   8830   1.1  christos 			break;
   8831   1.1  christos 		default:
   8832   1.1  christos 			break;
   8833   1.1  christos 		};
   8834   1.1  christos 		break;
   8835   1.1  christos 	/* netbsd32___clock_getres50 */
   8836   1.1  christos 	case 429:
   8837   1.1  christos 		switch(ndx) {
   8838   1.1  christos 		case 0:
   8839   1.1  christos 			p = "clockid_t";
   8840   1.1  christos 			break;
   8841   1.1  christos 		case 1:
   8842   1.1  christos 			p = "netbsd32_timespecp_t";
   8843   1.1  christos 			break;
   8844   1.1  christos 		default:
   8845   1.1  christos 			break;
   8846   1.1  christos 		};
   8847   1.1  christos 		break;
   8848   1.1  christos 	/* netbsd32___nanosleep50 */
   8849   1.1  christos 	case 430:
   8850   1.1  christos 		switch(ndx) {
   8851   1.1  christos 		case 0:
   8852   1.1  christos 			p = "const netbsd32_timespecp_t";
   8853   1.1  christos 			break;
   8854   1.1  christos 		case 1:
   8855   1.1  christos 			p = "netbsd32_timespecp_t";
   8856   1.1  christos 			break;
   8857   1.1  christos 		default:
   8858   1.1  christos 			break;
   8859   1.1  christos 		};
   8860   1.1  christos 		break;
   8861   1.1  christos 	/* netbsd32_____sigtimedwait50 */
   8862   1.1  christos 	case 431:
   8863   1.1  christos 		switch(ndx) {
   8864   1.1  christos 		case 0:
   8865   1.1  christos 			p = "const netbsd32_sigsetp_t";
   8866   1.1  christos 			break;
   8867   1.1  christos 		case 1:
   8868   1.1  christos 			p = "netbsd32_siginfop_t";
   8869   1.1  christos 			break;
   8870   1.1  christos 		case 2:
   8871   1.1  christos 			p = "netbsd32_timespecp_t";
   8872   1.1  christos 			break;
   8873   1.1  christos 		default:
   8874   1.1  christos 			break;
   8875   1.1  christos 		};
   8876   1.1  christos 		break;
   8877   1.4    martin 	/* netbsd32___mq_timedsend50 */
   8878   1.4    martin 	case 432:
   8879   1.4    martin 		switch(ndx) {
   8880   1.4    martin 		case 0:
   8881   1.4    martin 			p = "mqd_t";
   8882   1.4    martin 			break;
   8883   1.4    martin 		case 1:
   8884   1.4    martin 			p = "const netbsd32_charp";
   8885   1.4    martin 			break;
   8886   1.4    martin 		case 2:
   8887   1.4    martin 			p = "netbsd32_size_t";
   8888   1.4    martin 			break;
   8889   1.4    martin 		case 3:
   8890   1.4    martin 			p = "unsigned";
   8891   1.4    martin 			break;
   8892   1.4    martin 		case 4:
   8893   1.4    martin 			p = "const netbsd32_timespecp_t";
   8894   1.4    martin 			break;
   8895   1.4    martin 		default:
   8896   1.4    martin 			break;
   8897   1.4    martin 		};
   8898   1.4    martin 		break;
   8899   1.4    martin 	/* netbsd32___mq_timedreceive50 */
   8900   1.4    martin 	case 433:
   8901   1.4    martin 		switch(ndx) {
   8902   1.4    martin 		case 0:
   8903   1.4    martin 			p = "mqd_t";
   8904   1.4    martin 			break;
   8905   1.4    martin 		case 1:
   8906   1.4    martin 			p = "netbsd32_charp";
   8907   1.4    martin 			break;
   8908   1.4    martin 		case 2:
   8909   1.4    martin 			p = "netbsd32_size_t";
   8910   1.4    martin 			break;
   8911   1.4    martin 		case 3:
   8912   1.4    martin 			p = "netbsd32_uintp";
   8913   1.4    martin 			break;
   8914   1.4    martin 		case 4:
   8915   1.4    martin 			p = "const netbsd32_timespecp_t";
   8916   1.4    martin 			break;
   8917   1.4    martin 		default:
   8918   1.4    martin 			break;
   8919   1.4    martin 		};
   8920   1.4    martin 		break;
   8921   1.1  christos 	/* netbsd32__lwp_park */
   8922   1.1  christos 	case 434:
   8923   1.1  christos 		switch(ndx) {
   8924   1.1  christos 		case 0:
   8925   1.1  christos 			p = "const netbsd32_timespecp_t";
   8926   1.1  christos 			break;
   8927   1.1  christos 		case 1:
   8928   1.1  christos 			p = "lwpid_t";
   8929   1.1  christos 			break;
   8930   1.1  christos 		case 2:
   8931   1.1  christos 			p = "const netbsd32_voidp";
   8932   1.1  christos 			break;
   8933   1.1  christos 		case 3:
   8934   1.1  christos 			p = "const netbsd32_voidp";
   8935   1.1  christos 			break;
   8936   1.1  christos 		default:
   8937   1.1  christos 			break;
   8938   1.1  christos 		};
   8939   1.1  christos 		break;
   8940   1.1  christos 	/* netbsd32___kevent50 */
   8941   1.1  christos 	case 435:
   8942   1.1  christos 		switch(ndx) {
   8943   1.1  christos 		case 0:
   8944   1.1  christos 			p = "int";
   8945   1.1  christos 			break;
   8946   1.1  christos 		case 1:
   8947   1.1  christos 			p = "const netbsd32_keventp_t";
   8948   1.1  christos 			break;
   8949   1.1  christos 		case 2:
   8950   1.1  christos 			p = "netbsd32_size_t";
   8951   1.1  christos 			break;
   8952   1.1  christos 		case 3:
   8953   1.1  christos 			p = "netbsd32_keventp_t";
   8954   1.1  christos 			break;
   8955   1.1  christos 		case 4:
   8956   1.1  christos 			p = "netbsd32_size_t";
   8957   1.1  christos 			break;
   8958   1.1  christos 		case 5:
   8959   1.1  christos 			p = "const netbsd32_timespecp_t";
   8960   1.1  christos 			break;
   8961   1.1  christos 		default:
   8962   1.1  christos 			break;
   8963   1.1  christos 		};
   8964   1.1  christos 		break;
   8965   1.1  christos 	/* netbsd32___pselect50 */
   8966   1.1  christos 	case 436:
   8967   1.1  christos 		switch(ndx) {
   8968   1.1  christos 		case 0:
   8969   1.1  christos 			p = "int";
   8970   1.1  christos 			break;
   8971   1.1  christos 		case 1:
   8972   1.1  christos 			p = "netbsd32_fd_setp_t";
   8973   1.1  christos 			break;
   8974   1.1  christos 		case 2:
   8975   1.1  christos 			p = "netbsd32_fd_setp_t";
   8976   1.1  christos 			break;
   8977   1.1  christos 		case 3:
   8978   1.1  christos 			p = "netbsd32_fd_setp_t";
   8979   1.1  christos 			break;
   8980   1.1  christos 		case 4:
   8981   1.1  christos 			p = "const netbsd32_timespecp_t";
   8982   1.1  christos 			break;
   8983   1.1  christos 		case 5:
   8984   1.1  christos 			p = "const netbsd32_sigsetp_t";
   8985   1.1  christos 			break;
   8986   1.1  christos 		default:
   8987   1.1  christos 			break;
   8988   1.1  christos 		};
   8989   1.1  christos 		break;
   8990   1.1  christos 	/* netbsd32___pollts50 */
   8991   1.1  christos 	case 437:
   8992   1.1  christos 		switch(ndx) {
   8993   1.1  christos 		case 0:
   8994   1.1  christos 			p = "netbsd32_pollfdp_t";
   8995   1.1  christos 			break;
   8996   1.1  christos 		case 1:
   8997   1.1  christos 			p = "u_int";
   8998   1.1  christos 			break;
   8999   1.1  christos 		case 2:
   9000   1.1  christos 			p = "const netbsd32_timespecp_t";
   9001   1.1  christos 			break;
   9002   1.1  christos 		case 3:
   9003   1.1  christos 			p = "const netbsd32_sigsetp_t";
   9004   1.1  christos 			break;
   9005   1.1  christos 		default:
   9006   1.1  christos 			break;
   9007   1.1  christos 		};
   9008   1.1  christos 		break;
   9009   1.1  christos 	/* netbsd32___stat50 */
   9010   1.1  christos 	case 439:
   9011   1.1  christos 		switch(ndx) {
   9012   1.1  christos 		case 0:
   9013   1.1  christos 			p = "const netbsd32_charp";
   9014   1.1  christos 			break;
   9015   1.1  christos 		case 1:
   9016   1.1  christos 			p = "netbsd32_statp_t";
   9017   1.1  christos 			break;
   9018   1.1  christos 		default:
   9019   1.1  christos 			break;
   9020   1.1  christos 		};
   9021   1.1  christos 		break;
   9022   1.1  christos 	/* netbsd32___fstat50 */
   9023   1.1  christos 	case 440:
   9024   1.1  christos 		switch(ndx) {
   9025   1.1  christos 		case 0:
   9026   1.1  christos 			p = "int";
   9027   1.1  christos 			break;
   9028   1.1  christos 		case 1:
   9029   1.1  christos 			p = "netbsd32_statp_t";
   9030   1.1  christos 			break;
   9031   1.1  christos 		default:
   9032   1.1  christos 			break;
   9033   1.1  christos 		};
   9034   1.1  christos 		break;
   9035   1.1  christos 	/* netbsd32___lstat50 */
   9036   1.1  christos 	case 441:
   9037   1.1  christos 		switch(ndx) {
   9038   1.1  christos 		case 0:
   9039   1.1  christos 			p = "const netbsd32_charp";
   9040   1.1  christos 			break;
   9041   1.1  christos 		case 1:
   9042   1.1  christos 			p = "netbsd32_statp_t";
   9043   1.1  christos 			break;
   9044   1.1  christos 		default:
   9045   1.1  christos 			break;
   9046   1.1  christos 		};
   9047   1.1  christos 		break;
   9048   1.1  christos 	/* netbsd32_____semctl50 */
   9049   1.1  christos 	case 442:
   9050   1.1  christos 		switch(ndx) {
   9051   1.1  christos 		case 0:
   9052   1.1  christos 			p = "int";
   9053   1.1  christos 			break;
   9054   1.1  christos 		case 1:
   9055   1.1  christos 			p = "int";
   9056   1.1  christos 			break;
   9057   1.1  christos 		case 2:
   9058   1.1  christos 			p = "int";
   9059   1.1  christos 			break;
   9060   1.1  christos 		case 3:
   9061   1.1  christos 			p = "netbsd32_semunp_t";
   9062   1.1  christos 			break;
   9063   1.1  christos 		default:
   9064   1.1  christos 			break;
   9065   1.1  christos 		};
   9066   1.1  christos 		break;
   9067   1.1  christos 	/* netbsd32___shmctl50 */
   9068   1.1  christos 	case 443:
   9069   1.1  christos 		switch(ndx) {
   9070   1.1  christos 		case 0:
   9071   1.1  christos 			p = "int";
   9072   1.1  christos 			break;
   9073   1.1  christos 		case 1:
   9074   1.1  christos 			p = "int";
   9075   1.1  christos 			break;
   9076   1.1  christos 		case 2:
   9077   1.1  christos 			p = "netbsd32_shmid_dsp_t";
   9078   1.1  christos 			break;
   9079   1.1  christos 		default:
   9080   1.1  christos 			break;
   9081   1.1  christos 		};
   9082   1.1  christos 		break;
   9083   1.1  christos 	/* netbsd32___msgctl50 */
   9084   1.1  christos 	case 444:
   9085   1.1  christos 		switch(ndx) {
   9086   1.1  christos 		case 0:
   9087   1.1  christos 			p = "int";
   9088   1.1  christos 			break;
   9089   1.1  christos 		case 1:
   9090   1.1  christos 			p = "int";
   9091   1.1  christos 			break;
   9092   1.1  christos 		case 2:
   9093   1.1  christos 			p = "netbsd32_msqid_dsp_t";
   9094   1.1  christos 			break;
   9095   1.1  christos 		default:
   9096   1.1  christos 			break;
   9097   1.1  christos 		};
   9098   1.1  christos 		break;
   9099   1.1  christos 	/* netbsd32___getrusage50 */
   9100   1.1  christos 	case 445:
   9101   1.1  christos 		switch(ndx) {
   9102   1.1  christos 		case 0:
   9103   1.1  christos 			p = "int";
   9104   1.1  christos 			break;
   9105   1.1  christos 		case 1:
   9106   1.1  christos 			p = "netbsd32_rusagep_t";
   9107   1.1  christos 			break;
   9108   1.1  christos 		default:
   9109   1.1  christos 			break;
   9110   1.1  christos 		};
   9111   1.1  christos 		break;
   9112   1.1  christos 	/* netbsd32___timer_settime50 */
   9113   1.1  christos 	case 446:
   9114   1.1  christos 		switch(ndx) {
   9115   1.1  christos 		case 0:
   9116   1.1  christos 			p = "timer_t";
   9117   1.1  christos 			break;
   9118   1.1  christos 		case 1:
   9119   1.1  christos 			p = "int";
   9120   1.1  christos 			break;
   9121   1.1  christos 		case 2:
   9122   1.1  christos 			p = "const netbsd32_itimerspecp_t";
   9123   1.1  christos 			break;
   9124   1.1  christos 		case 3:
   9125   1.1  christos 			p = "netbsd32_itimerspecp_t";
   9126   1.1  christos 			break;
   9127   1.1  christos 		default:
   9128   1.1  christos 			break;
   9129   1.1  christos 		};
   9130   1.1  christos 		break;
   9131   1.1  christos 	/* netbsd32___timer_gettime50 */
   9132   1.1  christos 	case 447:
   9133   1.1  christos 		switch(ndx) {
   9134   1.1  christos 		case 0:
   9135   1.1  christos 			p = "timer_t";
   9136   1.1  christos 			break;
   9137   1.1  christos 		case 1:
   9138   1.1  christos 			p = "netbsd32_itimerspecp_t";
   9139   1.1  christos 			break;
   9140   1.1  christos 		default:
   9141   1.1  christos 			break;
   9142   1.1  christos 		};
   9143   1.1  christos 		break;
   9144   1.1  christos #if defined(NTP) || !defined(_KERNEL_OPT)
   9145   1.1  christos 	/* netbsd32___ntp_gettime50 */
   9146   1.1  christos 	case 448:
   9147   1.1  christos 		switch(ndx) {
   9148   1.1  christos 		case 0:
   9149   1.1  christos 			p = "netbsd32_ntptimevalp_t";
   9150   1.1  christos 			break;
   9151   1.1  christos 		default:
   9152   1.1  christos 			break;
   9153   1.1  christos 		};
   9154   1.1  christos 		break;
   9155   1.1  christos #else
   9156   1.1  christos #endif
   9157   1.1  christos 	/* netbsd32___wait450 */
   9158   1.1  christos 	case 449:
   9159   1.1  christos 		switch(ndx) {
   9160   1.1  christos 		case 0:
   9161   1.1  christos 			p = "int";
   9162   1.1  christos 			break;
   9163   1.1  christos 		case 1:
   9164   1.1  christos 			p = "netbsd32_intp";
   9165   1.1  christos 			break;
   9166   1.1  christos 		case 2:
   9167   1.1  christos 			p = "int";
   9168   1.1  christos 			break;
   9169   1.1  christos 		case 3:
   9170   1.1  christos 			p = "netbsd32_rusagep_t";
   9171   1.1  christos 			break;
   9172   1.1  christos 		default:
   9173   1.1  christos 			break;
   9174   1.1  christos 		};
   9175   1.1  christos 		break;
   9176   1.1  christos 	/* netbsd32___mknod50 */
   9177   1.1  christos 	case 450:
   9178   1.1  christos 		switch(ndx) {
   9179   1.1  christos 		case 0:
   9180   1.1  christos 			p = "const netbsd32_charp";
   9181   1.1  christos 			break;
   9182   1.1  christos 		case 1:
   9183   1.1  christos 			p = "mode_t";
   9184   1.1  christos 			break;
   9185   1.1  christos 		case 2:
   9186   1.1  christos 			p = "netbsd32_dev_t";
   9187   1.1  christos 			break;
   9188   1.1  christos 		default:
   9189   1.1  christos 			break;
   9190   1.1  christos 		};
   9191   1.1  christos 		break;
   9192   1.1  christos 	/* netbsd32___fhstat50 */
   9193   1.1  christos 	case 451:
   9194   1.1  christos 		switch(ndx) {
   9195   1.1  christos 		case 0:
   9196   1.1  christos 			p = "const netbsd32_voidp";
   9197   1.1  christos 			break;
   9198   1.1  christos 		case 1:
   9199   1.1  christos 			p = "netbsd32_size_t";
   9200   1.1  christos 			break;
   9201   1.1  christos 		case 2:
   9202   1.1  christos 			p = "netbsd32_statp_t";
   9203   1.1  christos 			break;
   9204   1.1  christos 		default:
   9205   1.1  christos 			break;
   9206   1.1  christos 		};
   9207   1.1  christos 		break;
   9208   1.1  christos 	/* netbsd32_pipe2 */
   9209   1.1  christos 	case 453:
   9210   1.1  christos 		switch(ndx) {
   9211   1.1  christos 		case 0:
   9212   1.1  christos 			p = "netbsd32_intp";
   9213   1.1  christos 			break;
   9214   1.1  christos 		case 1:
   9215   1.1  christos 			p = "int";
   9216   1.1  christos 			break;
   9217   1.1  christos 		default:
   9218   1.1  christos 			break;
   9219   1.1  christos 		};
   9220   1.1  christos 		break;
   9221   1.1  christos 	/* netbsd32_dup3 */
   9222   1.1  christos 	case 454:
   9223   1.1  christos 		switch(ndx) {
   9224   1.1  christos 		case 0:
   9225   1.1  christos 			p = "int";
   9226   1.1  christos 			break;
   9227   1.1  christos 		case 1:
   9228   1.1  christos 			p = "int";
   9229   1.1  christos 			break;
   9230   1.1  christos 		case 2:
   9231   1.1  christos 			p = "int";
   9232   1.1  christos 			break;
   9233   1.1  christos 		default:
   9234   1.1  christos 			break;
   9235   1.1  christos 		};
   9236   1.1  christos 		break;
   9237   1.1  christos 	/* netbsd32_kqueue1 */
   9238   1.1  christos 	case 455:
   9239   1.1  christos 		switch(ndx) {
   9240   1.1  christos 		case 0:
   9241   1.1  christos 			p = "int";
   9242   1.1  christos 			break;
   9243   1.1  christos 		default:
   9244   1.1  christos 			break;
   9245   1.1  christos 		};
   9246   1.1  christos 		break;
   9247   1.1  christos 	/* netbsd32_paccept */
   9248   1.1  christos 	case 456:
   9249   1.1  christos 		switch(ndx) {
   9250   1.1  christos 		case 0:
   9251   1.1  christos 			p = "int";
   9252   1.1  christos 			break;
   9253   1.1  christos 		case 1:
   9254   1.1  christos 			p = "netbsd32_sockaddrp_t";
   9255   1.1  christos 			break;
   9256   1.1  christos 		case 2:
   9257   1.1  christos 			p = "netbsd32_socklenp_t";
   9258   1.1  christos 			break;
   9259   1.1  christos 		case 3:
   9260   1.1  christos 			p = "const netbsd32_sigsetp_t";
   9261   1.1  christos 			break;
   9262   1.1  christos 		case 4:
   9263   1.1  christos 			p = "int";
   9264   1.1  christos 			break;
   9265   1.1  christos 		default:
   9266   1.1  christos 			break;
   9267   1.1  christos 		};
   9268   1.1  christos 		break;
   9269   1.1  christos 	/* netbsd32_linkat */
   9270   1.1  christos 	case 457:
   9271   1.1  christos 		switch(ndx) {
   9272   1.1  christos 		case 0:
   9273   1.1  christos 			p = "int";
   9274   1.1  christos 			break;
   9275   1.1  christos 		case 1:
   9276   1.1  christos 			p = "const netbsd32_charp";
   9277   1.1  christos 			break;
   9278   1.1  christos 		case 2:
   9279   1.1  christos 			p = "int";
   9280   1.1  christos 			break;
   9281   1.1  christos 		case 3:
   9282   1.1  christos 			p = "const netbsd32_charp";
   9283   1.1  christos 			break;
   9284   1.1  christos 		case 4:
   9285   1.1  christos 			p = "int";
   9286   1.1  christos 			break;
   9287   1.1  christos 		default:
   9288   1.1  christos 			break;
   9289   1.1  christos 		};
   9290   1.1  christos 		break;
   9291   1.1  christos 	/* netbsd32_renameat */
   9292   1.1  christos 	case 458:
   9293   1.1  christos 		switch(ndx) {
   9294   1.1  christos 		case 0:
   9295   1.1  christos 			p = "int";
   9296   1.1  christos 			break;
   9297   1.1  christos 		case 1:
   9298   1.1  christos 			p = "const netbsd32_charp";
   9299   1.1  christos 			break;
   9300   1.1  christos 		case 2:
   9301   1.1  christos 			p = "int";
   9302   1.1  christos 			break;
   9303   1.1  christos 		case 3:
   9304   1.1  christos 			p = "const netbsd32_charp";
   9305   1.1  christos 			break;
   9306   1.1  christos 		default:
   9307   1.1  christos 			break;
   9308   1.1  christos 		};
   9309   1.1  christos 		break;
   9310   1.1  christos 	/* netbsd32_mkfifoat */
   9311   1.1  christos 	case 459:
   9312   1.1  christos 		switch(ndx) {
   9313   1.1  christos 		case 0:
   9314   1.1  christos 			p = "int";
   9315   1.1  christos 			break;
   9316   1.1  christos 		case 1:
   9317   1.1  christos 			p = "const netbsd32_charp";
   9318   1.1  christos 			break;
   9319   1.1  christos 		case 2:
   9320   1.1  christos 			p = "mode_t";
   9321   1.1  christos 			break;
   9322   1.1  christos 		default:
   9323   1.1  christos 			break;
   9324   1.1  christos 		};
   9325   1.1  christos 		break;
   9326   1.1  christos 	/* netbsd32_mknodat */
   9327   1.1  christos 	case 460:
   9328   1.1  christos 		switch(ndx) {
   9329   1.1  christos 		case 0:
   9330   1.1  christos 			p = "int";
   9331   1.1  christos 			break;
   9332   1.1  christos 		case 1:
   9333   1.1  christos 			p = "const netbsd32_charp";
   9334   1.1  christos 			break;
   9335   1.1  christos 		case 2:
   9336   1.1  christos 			p = "mode_t";
   9337   1.1  christos 			break;
   9338   1.1  christos 		case 3:
   9339   1.1  christos 			p = "int";
   9340   1.1  christos 			break;
   9341   1.1  christos 		case 4:
   9342   1.1  christos 			p = "netbsd32_dev_t";
   9343   1.1  christos 			break;
   9344   1.1  christos 		default:
   9345   1.1  christos 			break;
   9346   1.1  christos 		};
   9347   1.1  christos 		break;
   9348   1.1  christos 	/* netbsd32_mkdirat */
   9349   1.1  christos 	case 461:
   9350   1.1  christos 		switch(ndx) {
   9351   1.1  christos 		case 0:
   9352   1.1  christos 			p = "int";
   9353   1.1  christos 			break;
   9354   1.1  christos 		case 1:
   9355   1.1  christos 			p = "const netbsd32_charp";
   9356   1.1  christos 			break;
   9357   1.1  christos 		case 2:
   9358   1.1  christos 			p = "mode_t";
   9359   1.1  christos 			break;
   9360   1.1  christos 		default:
   9361   1.1  christos 			break;
   9362   1.1  christos 		};
   9363   1.1  christos 		break;
   9364   1.1  christos 	/* netbsd32_faccessat */
   9365   1.1  christos 	case 462:
   9366   1.1  christos 		switch(ndx) {
   9367   1.1  christos 		case 0:
   9368   1.1  christos 			p = "int";
   9369   1.1  christos 			break;
   9370   1.1  christos 		case 1:
   9371   1.1  christos 			p = "const netbsd32_charp";
   9372   1.1  christos 			break;
   9373   1.1  christos 		case 2:
   9374   1.1  christos 			p = "int";
   9375   1.1  christos 			break;
   9376   1.1  christos 		case 3:
   9377   1.1  christos 			p = "int";
   9378   1.1  christos 			break;
   9379   1.1  christos 		default:
   9380   1.1  christos 			break;
   9381   1.1  christos 		};
   9382   1.1  christos 		break;
   9383   1.1  christos 	/* netbsd32_fchmodat */
   9384   1.1  christos 	case 463:
   9385   1.1  christos 		switch(ndx) {
   9386   1.1  christos 		case 0:
   9387   1.1  christos 			p = "int";
   9388   1.1  christos 			break;
   9389   1.1  christos 		case 1:
   9390   1.1  christos 			p = "const netbsd32_charp";
   9391   1.1  christos 			break;
   9392   1.1  christos 		case 2:
   9393   1.1  christos 			p = "mode_t";
   9394   1.1  christos 			break;
   9395   1.1  christos 		case 3:
   9396   1.1  christos 			p = "int";
   9397   1.1  christos 			break;
   9398   1.1  christos 		default:
   9399   1.1  christos 			break;
   9400   1.1  christos 		};
   9401   1.1  christos 		break;
   9402   1.1  christos 	/* netbsd32_fchownat */
   9403   1.1  christos 	case 464:
   9404   1.1  christos 		switch(ndx) {
   9405   1.1  christos 		case 0:
   9406   1.1  christos 			p = "int";
   9407   1.1  christos 			break;
   9408   1.1  christos 		case 1:
   9409   1.1  christos 			p = "const netbsd32_charp";
   9410   1.1  christos 			break;
   9411   1.1  christos 		case 2:
   9412   1.1  christos 			p = "uid_t";
   9413   1.1  christos 			break;
   9414   1.1  christos 		case 3:
   9415   1.1  christos 			p = "gid_t";
   9416   1.1  christos 			break;
   9417   1.1  christos 		case 4:
   9418   1.1  christos 			p = "int";
   9419   1.1  christos 			break;
   9420   1.1  christos 		default:
   9421   1.1  christos 			break;
   9422   1.1  christos 		};
   9423   1.1  christos 		break;
   9424   1.1  christos 	/* netbsd32_fexecve */
   9425   1.1  christos 	case 465:
   9426   1.1  christos 		switch(ndx) {
   9427   1.1  christos 		case 0:
   9428   1.1  christos 			p = "int";
   9429   1.1  christos 			break;
   9430   1.1  christos 		case 1:
   9431   1.1  christos 			p = "netbsd32_charpp";
   9432   1.1  christos 			break;
   9433   1.1  christos 		case 2:
   9434   1.1  christos 			p = "netbsd32_charpp";
   9435   1.1  christos 			break;
   9436   1.1  christos 		default:
   9437   1.1  christos 			break;
   9438   1.1  christos 		};
   9439   1.1  christos 		break;
   9440   1.1  christos 	/* netbsd32_fstatat */
   9441   1.1  christos 	case 466:
   9442   1.1  christos 		switch(ndx) {
   9443   1.1  christos 		case 0:
   9444   1.1  christos 			p = "int";
   9445   1.1  christos 			break;
   9446   1.1  christos 		case 1:
   9447   1.1  christos 			p = "const netbsd32_charp";
   9448   1.1  christos 			break;
   9449   1.1  christos 		case 2:
   9450   1.1  christos 			p = "netbsd32_statp_t";
   9451   1.1  christos 			break;
   9452   1.1  christos 		case 3:
   9453   1.1  christos 			p = "int";
   9454   1.1  christos 			break;
   9455   1.1  christos 		default:
   9456   1.1  christos 			break;
   9457   1.1  christos 		};
   9458   1.1  christos 		break;
   9459   1.1  christos 	/* netbsd32_utimensat */
   9460   1.1  christos 	case 467:
   9461   1.1  christos 		switch(ndx) {
   9462   1.1  christos 		case 0:
   9463   1.1  christos 			p = "int";
   9464   1.1  christos 			break;
   9465   1.1  christos 		case 1:
   9466   1.1  christos 			p = "const netbsd32_charp";
   9467   1.1  christos 			break;
   9468   1.1  christos 		case 2:
   9469   1.1  christos 			p = "const netbsd32_timespecp_t";
   9470   1.1  christos 			break;
   9471   1.1  christos 		case 3:
   9472   1.1  christos 			p = "int";
   9473   1.1  christos 			break;
   9474   1.1  christos 		default:
   9475   1.1  christos 			break;
   9476   1.1  christos 		};
   9477   1.1  christos 		break;
   9478   1.1  christos 	/* netbsd32_openat */
   9479   1.1  christos 	case 468:
   9480   1.1  christos 		switch(ndx) {
   9481   1.1  christos 		case 0:
   9482   1.1  christos 			p = "int";
   9483   1.1  christos 			break;
   9484   1.1  christos 		case 1:
   9485   1.1  christos 			p = "const netbsd32_charp";
   9486   1.1  christos 			break;
   9487   1.1  christos 		case 2:
   9488   1.1  christos 			p = "int";
   9489   1.1  christos 			break;
   9490   1.1  christos 		case 3:
   9491   1.1  christos 			p = "mode_t";
   9492   1.1  christos 			break;
   9493   1.1  christos 		default:
   9494   1.1  christos 			break;
   9495   1.1  christos 		};
   9496   1.1  christos 		break;
   9497   1.1  christos 	/* netbsd32_readlinkat */
   9498   1.1  christos 	case 469:
   9499   1.1  christos 		switch(ndx) {
   9500   1.1  christos 		case 0:
   9501   1.1  christos 			p = "int";
   9502   1.1  christos 			break;
   9503   1.1  christos 		case 1:
   9504   1.1  christos 			p = "const netbsd32_charp";
   9505   1.1  christos 			break;
   9506   1.1  christos 		case 2:
   9507   1.1  christos 			p = "netbsd32_charp";
   9508   1.1  christos 			break;
   9509   1.1  christos 		case 3:
   9510  1.35       rin 			p = "netbsd32_size_t";
   9511   1.1  christos 			break;
   9512   1.1  christos 		default:
   9513   1.1  christos 			break;
   9514   1.1  christos 		};
   9515   1.1  christos 		break;
   9516   1.1  christos 	/* netbsd32_symlinkat */
   9517   1.1  christos 	case 470:
   9518   1.1  christos 		switch(ndx) {
   9519   1.1  christos 		case 0:
   9520   1.1  christos 			p = "const netbsd32_charp";
   9521   1.1  christos 			break;
   9522   1.1  christos 		case 1:
   9523   1.1  christos 			p = "int";
   9524   1.1  christos 			break;
   9525   1.1  christos 		case 2:
   9526   1.1  christos 			p = "const netbsd32_charp";
   9527   1.1  christos 			break;
   9528   1.1  christos 		default:
   9529   1.1  christos 			break;
   9530   1.1  christos 		};
   9531   1.1  christos 		break;
   9532   1.1  christos 	/* netbsd32_unlinkat */
   9533   1.1  christos 	case 471:
   9534   1.1  christos 		switch(ndx) {
   9535   1.1  christos 		case 0:
   9536   1.1  christos 			p = "int";
   9537   1.1  christos 			break;
   9538   1.1  christos 		case 1:
   9539   1.1  christos 			p = "const netbsd32_charp";
   9540   1.1  christos 			break;
   9541   1.1  christos 		case 2:
   9542   1.1  christos 			p = "int";
   9543   1.1  christos 			break;
   9544   1.1  christos 		default:
   9545   1.1  christos 			break;
   9546   1.1  christos 		};
   9547   1.1  christos 		break;
   9548   1.1  christos 	/* netbsd32_futimens */
   9549   1.1  christos 	case 472:
   9550   1.1  christos 		switch(ndx) {
   9551   1.1  christos 		case 0:
   9552   1.1  christos 			p = "int";
   9553   1.1  christos 			break;
   9554   1.1  christos 		case 1:
   9555   1.1  christos 			p = "const netbsd32_timespecp_t";
   9556   1.1  christos 			break;
   9557   1.1  christos 		default:
   9558   1.1  christos 			break;
   9559   1.1  christos 		};
   9560   1.1  christos 		break;
   9561   1.1  christos 	/* netbsd32___quotactl */
   9562   1.1  christos 	case 473:
   9563   1.1  christos 		switch(ndx) {
   9564   1.1  christos 		case 0:
   9565   1.1  christos 			p = "const netbsd32_charp";
   9566   1.1  christos 			break;
   9567   1.1  christos 		case 1:
   9568   1.1  christos 			p = "netbsd32_voidp";
   9569   1.1  christos 			break;
   9570   1.1  christos 		default:
   9571   1.1  christos 			break;
   9572   1.1  christos 		};
   9573   1.1  christos 		break;
   9574   1.1  christos 	/* netbsd32_posix_spawn */
   9575   1.1  christos 	case 474:
   9576   1.1  christos 		switch(ndx) {
   9577   1.1  christos 		case 0:
   9578   1.1  christos 			p = "netbsd32_pid_tp";
   9579   1.1  christos 			break;
   9580   1.1  christos 		case 1:
   9581   1.1  christos 			p = "const netbsd32_charp";
   9582   1.1  christos 			break;
   9583   1.1  christos 		case 2:
   9584   1.1  christos 			p = "const netbsd32_posix_spawn_file_actionsp";
   9585   1.1  christos 			break;
   9586   1.1  christos 		case 3:
   9587   1.1  christos 			p = "const netbsd32_posix_spawnattrp";
   9588   1.1  christos 			break;
   9589   1.1  christos 		case 4:
   9590   1.1  christos 			p = "netbsd32_charpp";
   9591   1.1  christos 			break;
   9592   1.1  christos 		case 5:
   9593   1.1  christos 			p = "netbsd32_charpp";
   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.25  christos 	/* netbsd32_recvmmsg */
   9600  1.25  christos 	case 475:
   9601  1.25  christos 		switch(ndx) {
   9602  1.25  christos 		case 0:
   9603  1.25  christos 			p = "int";
   9604  1.25  christos 			break;
   9605  1.25  christos 		case 1:
   9606  1.25  christos 			p = "netbsd32_mmsghdrp_t";
   9607  1.25  christos 			break;
   9608  1.25  christos 		case 2:
   9609  1.25  christos 			p = "unsigned int";
   9610  1.25  christos 			break;
   9611  1.25  christos 		case 3:
   9612  1.25  christos 			p = "unsigned int";
   9613  1.25  christos 			break;
   9614  1.25  christos 		case 4:
   9615  1.25  christos 			p = "netbsd32_timespecp_t";
   9616  1.25  christos 			break;
   9617  1.25  christos 		default:
   9618  1.25  christos 			break;
   9619  1.25  christos 		};
   9620  1.25  christos 		break;
   9621  1.25  christos 	/* netbsd32_sendmmsg */
   9622  1.25  christos 	case 476:
   9623  1.25  christos 		switch(ndx) {
   9624  1.25  christos 		case 0:
   9625  1.25  christos 			p = "int";
   9626  1.25  christos 			break;
   9627  1.25  christos 		case 1:
   9628  1.25  christos 			p = "netbsd32_mmsghdrp_t";
   9629  1.25  christos 			break;
   9630  1.25  christos 		case 2:
   9631  1.25  christos 			p = "unsigned int";
   9632  1.25  christos 			break;
   9633  1.25  christos 		case 3:
   9634  1.25  christos 			p = "unsigned int";
   9635  1.25  christos 			break;
   9636  1.25  christos 		default:
   9637  1.25  christos 			break;
   9638  1.25  christos 		};
   9639  1.25  christos 		break;
   9640   1.1  christos 	/* netbsd32_clock_nanosleep */
   9641   1.1  christos 	case 477:
   9642   1.1  christos 		switch(ndx) {
   9643   1.1  christos 		case 0:
   9644   1.1  christos 			p = "netbsd32_clockid_t";
   9645   1.1  christos 			break;
   9646   1.1  christos 		case 1:
   9647   1.1  christos 			p = "int";
   9648   1.1  christos 			break;
   9649   1.1  christos 		case 2:
   9650   1.1  christos 			p = "const netbsd32_timespecp_t";
   9651   1.1  christos 			break;
   9652   1.1  christos 		case 3:
   9653   1.1  christos 			p = "netbsd32_timespecp_t";
   9654   1.1  christos 			break;
   9655   1.1  christos 		default:
   9656   1.1  christos 			break;
   9657   1.1  christos 		};
   9658   1.1  christos 		break;
   9659   1.1  christos 	/* netbsd32____lwp_park60 */
   9660   1.1  christos 	case 478:
   9661   1.1  christos 		switch(ndx) {
   9662   1.1  christos 		case 0:
   9663   1.1  christos 			p = "netbsd32_clockid_t";
   9664   1.1  christos 			break;
   9665   1.1  christos 		case 1:
   9666   1.1  christos 			p = "int";
   9667   1.1  christos 			break;
   9668   1.1  christos 		case 2:
   9669  1.20     kamil 			p = "netbsd32_timespecp_t";
   9670   1.1  christos 			break;
   9671   1.1  christos 		case 3:
   9672   1.1  christos 			p = "lwpid_t";
   9673   1.1  christos 			break;
   9674   1.1  christos 		case 4:
   9675   1.1  christos 			p = "netbsd32_voidp";
   9676   1.1  christos 			break;
   9677   1.1  christos 		case 5:
   9678   1.1  christos 			p = "netbsd32_voidp";
   9679   1.1  christos 			break;
   9680   1.1  christos 		default:
   9681   1.1  christos 			break;
   9682   1.1  christos 		};
   9683   1.1  christos 		break;
   9684   1.2    martin 	/* netbsd32_posix_fallocate */
   9685   1.2    martin 	case 479:
   9686   1.2    martin 		switch(ndx) {
   9687   1.2    martin 		case 0:
   9688   1.2    martin 			p = "int";
   9689   1.2    martin 			break;
   9690   1.2    martin 		case 1:
   9691   1.2    martin 			p = "int";
   9692   1.2    martin 			break;
   9693   1.2    martin 		case 2:
   9694   1.2    martin 			p = "netbsd32_off_t";
   9695   1.2    martin 			break;
   9696   1.2    martin 		case 3:
   9697   1.2    martin 			p = "netbsd32_off_t";
   9698   1.2    martin 			break;
   9699   1.2    martin 		default:
   9700   1.2    martin 			break;
   9701   1.2    martin 		};
   9702   1.2    martin 		break;
   9703   1.2    martin 	/* netbsd32_fdiscard */
   9704   1.2    martin 	case 480:
   9705   1.2    martin 		switch(ndx) {
   9706   1.2    martin 		case 0:
   9707   1.2    martin 			p = "int";
   9708   1.2    martin 			break;
   9709   1.2    martin 		case 1:
   9710   1.2    martin 			p = "int";
   9711   1.2    martin 			break;
   9712   1.2    martin 		case 2:
   9713   1.2    martin 			p = "netbsd32_off_t";
   9714   1.2    martin 			break;
   9715   1.2    martin 		case 3:
   9716   1.2    martin 			p = "netbsd32_off_t";
   9717   1.2    martin 			break;
   9718   1.2    martin 		default:
   9719   1.2    martin 			break;
   9720   1.2    martin 		};
   9721   1.2    martin 		break;
   9722  1.14     skrll 	/* netbsd32_wait6 */
   9723  1.14     skrll 	case 481:
   9724  1.14     skrll 		switch(ndx) {
   9725  1.14     skrll 		case 0:
   9726  1.14     skrll 			p = "idtype_t";
   9727  1.14     skrll 			break;
   9728  1.14     skrll 		case 1:
   9729  1.14     skrll 			p = "id_t";
   9730  1.14     skrll 			break;
   9731  1.14     skrll 		case 2:
   9732  1.14     skrll 			p = "netbsd32_intp";
   9733  1.14     skrll 			break;
   9734  1.14     skrll 		case 3:
   9735  1.14     skrll 			p = "int";
   9736  1.14     skrll 			break;
   9737  1.14     skrll 		case 4:
   9738  1.14     skrll 			p = "netbsd32_wrusagep_t";
   9739  1.14     skrll 			break;
   9740  1.14     skrll 		case 5:
   9741  1.14     skrll 			p = "netbsd32_siginfop_t";
   9742  1.14     skrll 			break;
   9743  1.14     skrll 		default:
   9744  1.14     skrll 			break;
   9745  1.14     skrll 		};
   9746  1.14     skrll 		break;
   9747  1.14     skrll 	/* netbsd32_clock_getcpuclockid2 */
   9748  1.14     skrll 	case 482:
   9749  1.14     skrll 		switch(ndx) {
   9750  1.14     skrll 		case 0:
   9751  1.14     skrll 			p = "idtype_t";
   9752  1.14     skrll 			break;
   9753  1.14     skrll 		case 1:
   9754  1.14     skrll 			p = "id_t";
   9755  1.14     skrll 			break;
   9756  1.14     skrll 		case 2:
   9757  1.14     skrll 			p = "netbsd32_clockidp_t";
   9758  1.14     skrll 			break;
   9759  1.14     skrll 		default:
   9760  1.14     skrll 			break;
   9761  1.14     skrll 		};
   9762  1.14     skrll 		break;
   9763  1.33  christos 	/* netbsd32___getvfsstat90 */
   9764  1.33  christos 	case 483:
   9765  1.33  christos 		switch(ndx) {
   9766  1.33  christos 		case 0:
   9767  1.33  christos 			p = "netbsd32_statvfsp_t";
   9768  1.33  christos 			break;
   9769  1.33  christos 		case 1:
   9770  1.36       rin 			p = "netbsd32_size_t";
   9771  1.33  christos 			break;
   9772  1.33  christos 		case 2:
   9773  1.33  christos 			p = "int";
   9774  1.33  christos 			break;
   9775  1.33  christos 		default:
   9776  1.33  christos 			break;
   9777  1.33  christos 		};
   9778  1.33  christos 		break;
   9779  1.33  christos 	/* netbsd32___statvfs190 */
   9780  1.33  christos 	case 484:
   9781  1.33  christos 		switch(ndx) {
   9782  1.33  christos 		case 0:
   9783  1.33  christos 			p = "netbsd32_charp";
   9784  1.33  christos 			break;
   9785  1.33  christos 		case 1:
   9786  1.33  christos 			p = "netbsd32_statvfsp_t";
   9787  1.33  christos 			break;
   9788  1.33  christos 		case 2:
   9789  1.33  christos 			p = "int";
   9790  1.33  christos 			break;
   9791  1.33  christos 		default:
   9792  1.33  christos 			break;
   9793  1.33  christos 		};
   9794  1.33  christos 		break;
   9795  1.33  christos 	/* netbsd32___fstatvfs190 */
   9796  1.33  christos 	case 485:
   9797  1.33  christos 		switch(ndx) {
   9798  1.33  christos 		case 0:
   9799  1.33  christos 			p = "int";
   9800  1.33  christos 			break;
   9801  1.33  christos 		case 1:
   9802  1.33  christos 			p = "netbsd32_statvfsp_t";
   9803  1.33  christos 			break;
   9804  1.33  christos 		case 2:
   9805  1.33  christos 			p = "int";
   9806  1.33  christos 			break;
   9807  1.33  christos 		default:
   9808  1.33  christos 			break;
   9809  1.33  christos 		};
   9810  1.33  christos 		break;
   9811  1.33  christos 	/* netbsd32___fhstatvfs190 */
   9812  1.33  christos 	case 486:
   9813  1.33  christos 		switch(ndx) {
   9814  1.33  christos 		case 0:
   9815  1.33  christos 			p = "netbsd32_voidp";
   9816  1.33  christos 			break;
   9817  1.33  christos 		case 1:
   9818  1.36       rin 			p = "netbsd32_size_t";
   9819  1.33  christos 			break;
   9820  1.33  christos 		case 2:
   9821  1.33  christos 			p = "netbsd32_statvfsp_t";
   9822  1.33  christos 			break;
   9823  1.33  christos 		case 3:
   9824  1.33  christos 			p = "int";
   9825  1.33  christos 			break;
   9826  1.33  christos 		default:
   9827  1.33  christos 			break;
   9828  1.33  christos 		};
   9829  1.33  christos 		break;
   9830  1.44  christos 	/* netbsd32___acl_get_link */
   9831  1.44  christos 	case 487:
   9832  1.44  christos 		switch(ndx) {
   9833  1.44  christos 		case 0:
   9834  1.44  christos 			p = "const netbsd32_charp";
   9835  1.44  christos 			break;
   9836  1.44  christos 		case 1:
   9837  1.44  christos 			p = "acl_type_t";
   9838  1.44  christos 			break;
   9839  1.44  christos 		case 2:
   9840  1.44  christos 			p = "netbsd32_aclp_t";
   9841  1.44  christos 			break;
   9842  1.44  christos 		default:
   9843  1.44  christos 			break;
   9844  1.44  christos 		};
   9845  1.44  christos 		break;
   9846  1.44  christos 	/* netbsd32___acl_set_link */
   9847  1.44  christos 	case 488:
   9848  1.44  christos 		switch(ndx) {
   9849  1.44  christos 		case 0:
   9850  1.44  christos 			p = "const netbsd32_charp";
   9851  1.44  christos 			break;
   9852  1.44  christos 		case 1:
   9853  1.44  christos 			p = "acl_type_t";
   9854  1.44  christos 			break;
   9855  1.44  christos 		case 2:
   9856  1.44  christos 			p = "netbsd32_aclp_t";
   9857  1.44  christos 			break;
   9858  1.44  christos 		default:
   9859  1.44  christos 			break;
   9860  1.44  christos 		};
   9861  1.44  christos 		break;
   9862  1.44  christos 	/* netbsd32___acl_delete_link */
   9863  1.44  christos 	case 489:
   9864  1.44  christos 		switch(ndx) {
   9865  1.44  christos 		case 0:
   9866  1.44  christos 			p = "const netbsd32_charp";
   9867  1.44  christos 			break;
   9868  1.44  christos 		case 1:
   9869  1.44  christos 			p = "acl_type_t";
   9870  1.44  christos 			break;
   9871  1.44  christos 		default:
   9872  1.44  christos 			break;
   9873  1.44  christos 		};
   9874  1.44  christos 		break;
   9875  1.44  christos 	/* netbsd32___acl_aclcheck_link */
   9876  1.44  christos 	case 490:
   9877  1.44  christos 		switch(ndx) {
   9878  1.44  christos 		case 0:
   9879  1.44  christos 			p = "const netbsd32_charp";
   9880  1.44  christos 			break;
   9881  1.44  christos 		case 1:
   9882  1.44  christos 			p = "acl_type_t";
   9883  1.44  christos 			break;
   9884  1.44  christos 		case 2:
   9885  1.44  christos 			p = "netbsd32_aclp_t";
   9886  1.44  christos 			break;
   9887  1.44  christos 		default:
   9888  1.44  christos 			break;
   9889  1.44  christos 		};
   9890  1.44  christos 		break;
   9891  1.44  christos 	/* netbsd32___acl_get_file */
   9892  1.44  christos 	case 491:
   9893  1.44  christos 		switch(ndx) {
   9894  1.44  christos 		case 0:
   9895  1.44  christos 			p = "const netbsd32_charp";
   9896  1.44  christos 			break;
   9897  1.44  christos 		case 1:
   9898  1.44  christos 			p = "acl_type_t";
   9899  1.44  christos 			break;
   9900  1.44  christos 		case 2:
   9901  1.44  christos 			p = "netbsd32_aclp_t";
   9902  1.44  christos 			break;
   9903  1.44  christos 		default:
   9904  1.44  christos 			break;
   9905  1.44  christos 		};
   9906  1.44  christos 		break;
   9907  1.44  christos 	/* netbsd32___acl_set_file */
   9908  1.44  christos 	case 492:
   9909  1.44  christos 		switch(ndx) {
   9910  1.44  christos 		case 0:
   9911  1.44  christos 			p = "const netbsd32_charp";
   9912  1.44  christos 			break;
   9913  1.44  christos 		case 1:
   9914  1.44  christos 			p = "acl_type_t";
   9915  1.44  christos 			break;
   9916  1.44  christos 		case 2:
   9917  1.44  christos 			p = "netbsd32_aclp_t";
   9918  1.44  christos 			break;
   9919  1.44  christos 		default:
   9920  1.44  christos 			break;
   9921  1.44  christos 		};
   9922  1.44  christos 		break;
   9923  1.44  christos 	/* netbsd32___acl_get_fd */
   9924  1.44  christos 	case 493:
   9925  1.44  christos 		switch(ndx) {
   9926  1.44  christos 		case 0:
   9927  1.44  christos 			p = "int";
   9928  1.44  christos 			break;
   9929  1.44  christos 		case 1:
   9930  1.44  christos 			p = "acl_type_t";
   9931  1.44  christos 			break;
   9932  1.44  christos 		case 2:
   9933  1.44  christos 			p = "netbsd32_aclp_t";
   9934  1.44  christos 			break;
   9935  1.44  christos 		default:
   9936  1.44  christos 			break;
   9937  1.44  christos 		};
   9938  1.44  christos 		break;
   9939  1.44  christos 	/* netbsd32___acl_set_fd */
   9940  1.44  christos 	case 494:
   9941  1.44  christos 		switch(ndx) {
   9942  1.44  christos 		case 0:
   9943  1.44  christos 			p = "int";
   9944  1.44  christos 			break;
   9945  1.44  christos 		case 1:
   9946  1.44  christos 			p = "acl_type_t";
   9947  1.44  christos 			break;
   9948  1.44  christos 		case 2:
   9949  1.44  christos 			p = "netbsd32_aclp_t";
   9950  1.44  christos 			break;
   9951  1.44  christos 		default:
   9952  1.44  christos 			break;
   9953  1.44  christos 		};
   9954  1.44  christos 		break;
   9955  1.44  christos 	/* netbsd32___acl_delete_file */
   9956  1.44  christos 	case 495:
   9957  1.44  christos 		switch(ndx) {
   9958  1.44  christos 		case 0:
   9959  1.44  christos 			p = "const netbsd32_charp";
   9960  1.44  christos 			break;
   9961  1.44  christos 		case 1:
   9962  1.44  christos 			p = "acl_type_t";
   9963  1.44  christos 			break;
   9964  1.44  christos 		default:
   9965  1.44  christos 			break;
   9966  1.44  christos 		};
   9967  1.44  christos 		break;
   9968  1.44  christos 	/* netbsd32___acl_delete_fd */
   9969  1.44  christos 	case 496:
   9970  1.44  christos 		switch(ndx) {
   9971  1.44  christos 		case 0:
   9972  1.44  christos 			p = "int";
   9973  1.44  christos 			break;
   9974  1.44  christos 		case 1:
   9975  1.44  christos 			p = "acl_type_t";
   9976  1.44  christos 			break;
   9977  1.44  christos 		default:
   9978  1.44  christos 			break;
   9979  1.44  christos 		};
   9980  1.44  christos 		break;
   9981  1.44  christos 	/* netbsd32___acl_aclcheck_file */
   9982  1.44  christos 	case 497:
   9983  1.44  christos 		switch(ndx) {
   9984  1.44  christos 		case 0:
   9985  1.44  christos 			p = "const netbsd32_charp";
   9986  1.44  christos 			break;
   9987  1.44  christos 		case 1:
   9988  1.44  christos 			p = "acl_type_t";
   9989  1.44  christos 			break;
   9990  1.44  christos 		case 2:
   9991  1.44  christos 			p = "netbsd32_aclp_t";
   9992  1.44  christos 			break;
   9993  1.44  christos 		default:
   9994  1.44  christos 			break;
   9995  1.44  christos 		};
   9996  1.44  christos 		break;
   9997  1.44  christos 	/* netbsd32___acl_aclcheck_fd */
   9998  1.44  christos 	case 498:
   9999  1.44  christos 		switch(ndx) {
   10000  1.44  christos 		case 0:
   10001  1.44  christos 			p = "int";
   10002  1.44  christos 			break;
   10003  1.44  christos 		case 1:
   10004  1.44  christos 			p = "acl_type_t";
   10005  1.44  christos 			break;
   10006  1.44  christos 		case 2:
   10007  1.44  christos 			p = "netbsd32_aclp_t";
   10008  1.44  christos 			break;
   10009  1.44  christos 		default:
   10010  1.44  christos 			break;
   10011  1.44  christos 		};
   10012  1.44  christos 		break;
   10013  1.44  christos 	/* netbsd32_lpathconf */
   10014  1.44  christos 	case 499:
   10015  1.44  christos 		switch(ndx) {
   10016  1.44  christos 		case 0:
   10017  1.44  christos 			p = "const netbsd32_charp";
   10018  1.44  christos 			break;
   10019  1.44  christos 		case 1:
   10020  1.44  christos 			p = "int";
   10021  1.44  christos 			break;
   10022  1.44  christos 		default:
   10023  1.44  christos 			break;
   10024  1.44  christos 		};
   10025  1.44  christos 		break;
   10026   1.1  christos 	default:
   10027   1.1  christos 		break;
   10028   1.1  christos 	};
   10029   1.1  christos 	if (p != NULL)
   10030   1.1  christos 		strlcpy(desc, p, descsz);
   10031   1.1  christos }
   10032   1.1  christos static void
   10033   1.1  christos systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
   10034   1.1  christos {
   10035   1.1  christos 	const char *p = NULL;
   10036   1.1  christos 	switch (sysnum) {
   10037   1.1  christos 	/* netbsd32_syscall */
   10038   1.1  christos 	case 0:
   10039   1.1  christos 		if (ndx == 0 || ndx == 1)
   10040   1.1  christos 			p = "int";
   10041   1.1  christos 		break;
   10042   1.1  christos 	/* netbsd32_exit */
   10043   1.1  christos 	case 1:
   10044   1.1  christos 		if (ndx == 0 || ndx == 1)
   10045   1.1  christos 			p = "void";
   10046   1.1  christos 		break;
   10047   1.1  christos 	/* sys_fork */
   10048   1.1  christos 	case 2:
   10049   1.1  christos 	/* netbsd32_read */
   10050   1.1  christos 	case 3:
   10051   1.1  christos 		if (ndx == 0 || ndx == 1)
   10052   1.1  christos 			p = "netbsd32_ssize_t";
   10053   1.1  christos 		break;
   10054   1.1  christos 	/* netbsd32_write */
   10055   1.1  christos 	case 4:
   10056   1.1  christos 		if (ndx == 0 || ndx == 1)
   10057   1.1  christos 			p = "netbsd32_ssize_t";
   10058   1.1  christos 		break;
   10059   1.1  christos 	/* netbsd32_open */
   10060   1.1  christos 	case 5:
   10061   1.1  christos 		if (ndx == 0 || ndx == 1)
   10062   1.1  christos 			p = "int";
   10063   1.1  christos 		break;
   10064   1.1  christos 	/* netbsd32_close */
   10065   1.1  christos 	case 6:
   10066   1.1  christos 		if (ndx == 0 || ndx == 1)
   10067   1.1  christos 			p = "int";
   10068   1.1  christos 		break;
   10069   1.1  christos 	/* netbsd32_wait4 */
   10070   1.1  christos 	case 7:
   10071   1.1  christos 		if (ndx == 0 || ndx == 1)
   10072   1.1  christos 			p = "int";
   10073   1.1  christos 		break;
   10074   1.1  christos 	/* netbsd32_ocreat */
   10075   1.1  christos 	case 8:
   10076   1.1  christos 		if (ndx == 0 || ndx == 1)
   10077   1.1  christos 			p = "int";
   10078   1.1  christos 		break;
   10079   1.1  christos 	/* netbsd32_link */
   10080   1.1  christos 	case 9:
   10081   1.1  christos 		if (ndx == 0 || ndx == 1)
   10082   1.1  christos 			p = "int";
   10083   1.1  christos 		break;
   10084   1.1  christos 	/* netbsd32_unlink */
   10085   1.1  christos 	case 10:
   10086   1.1  christos 		if (ndx == 0 || ndx == 1)
   10087   1.1  christos 			p = "int";
   10088   1.1  christos 		break;
   10089   1.1  christos 	/* netbsd32_chdir */
   10090   1.1  christos 	case 12:
   10091   1.1  christos 		if (ndx == 0 || ndx == 1)
   10092   1.1  christos 			p = "int";
   10093   1.1  christos 		break;
   10094   1.1  christos 	/* netbsd32_fchdir */
   10095   1.1  christos 	case 13:
   10096   1.1  christos 		if (ndx == 0 || ndx == 1)
   10097   1.1  christos 			p = "int";
   10098   1.1  christos 		break;
   10099   1.1  christos 	/* netbsd32_mknod */
   10100   1.1  christos 	case 14:
   10101   1.1  christos 		if (ndx == 0 || ndx == 1)
   10102   1.1  christos 			p = "int";
   10103   1.1  christos 		break;
   10104   1.1  christos 	/* netbsd32_chmod */
   10105   1.1  christos 	case 15:
   10106   1.1  christos 		if (ndx == 0 || ndx == 1)
   10107   1.1  christos 			p = "int";
   10108   1.1  christos 		break;
   10109   1.1  christos 	/* netbsd32_chown */
   10110   1.1  christos 	case 16:
   10111   1.1  christos 		if (ndx == 0 || ndx == 1)
   10112   1.1  christos 			p = "int";
   10113   1.1  christos 		break;
   10114   1.1  christos 	/* netbsd32_break */
   10115   1.1  christos 	case 17:
   10116   1.1  christos 		if (ndx == 0 || ndx == 1)
   10117   1.1  christos 			p = "int";
   10118   1.1  christos 		break;
   10119   1.1  christos 	/* netbsd32_getfsstat */
   10120   1.1  christos 	case 18:
   10121   1.1  christos 		if (ndx == 0 || ndx == 1)
   10122   1.1  christos 			p = "int";
   10123   1.1  christos 		break;
   10124   1.1  christos 	/* netbsd32_olseek */
   10125   1.1  christos 	case 19:
   10126   1.1  christos 		if (ndx == 0 || ndx == 1)
   10127   1.1  christos 			p = "netbsd32_long";
   10128   1.1  christos 		break;
   10129  1.37     kamil 	/* sys_getpid_with_ppid */
   10130   1.1  christos 	case 20:
   10131   1.1  christos 	/* netbsd32_mount */
   10132   1.1  christos 	case 21:
   10133   1.1  christos 		if (ndx == 0 || ndx == 1)
   10134   1.1  christos 			p = "int";
   10135   1.1  christos 		break;
   10136   1.1  christos 	/* netbsd32_unmount */
   10137   1.1  christos 	case 22:
   10138   1.1  christos 		if (ndx == 0 || ndx == 1)
   10139   1.1  christos 			p = "int";
   10140   1.1  christos 		break;
   10141   1.1  christos 	/* netbsd32_setuid */
   10142   1.1  christos 	case 23:
   10143   1.1  christos 		if (ndx == 0 || ndx == 1)
   10144   1.1  christos 			p = "int";
   10145   1.1  christos 		break;
   10146  1.37     kamil 	/* sys_getuid_with_euid */
   10147   1.1  christos 	case 24:
   10148   1.1  christos 	/* sys_geteuid */
   10149   1.1  christos 	case 25:
   10150   1.1  christos 	/* netbsd32_ptrace */
   10151   1.1  christos 	case 26:
   10152   1.1  christos 		if (ndx == 0 || ndx == 1)
   10153   1.1  christos 			p = "int";
   10154   1.1  christos 		break;
   10155   1.1  christos 	/* netbsd32_recvmsg */
   10156   1.1  christos 	case 27:
   10157   1.1  christos 		if (ndx == 0 || ndx == 1)
   10158   1.1  christos 			p = "netbsd32_ssize_t";
   10159   1.1  christos 		break;
   10160   1.1  christos 	/* netbsd32_sendmsg */
   10161   1.1  christos 	case 28:
   10162   1.1  christos 		if (ndx == 0 || ndx == 1)
   10163   1.1  christos 			p = "netbsd32_ssize_t";
   10164   1.1  christos 		break;
   10165   1.1  christos 	/* netbsd32_recvfrom */
   10166   1.1  christos 	case 29:
   10167   1.1  christos 		if (ndx == 0 || ndx == 1)
   10168   1.1  christos 			p = "netbsd32_ssize_t";
   10169   1.1  christos 		break;
   10170   1.1  christos 	/* netbsd32_accept */
   10171   1.1  christos 	case 30:
   10172   1.1  christos 		if (ndx == 0 || ndx == 1)
   10173   1.1  christos 			p = "int";
   10174   1.1  christos 		break;
   10175   1.1  christos 	/* netbsd32_getpeername */
   10176   1.1  christos 	case 31:
   10177   1.1  christos 		if (ndx == 0 || ndx == 1)
   10178   1.1  christos 			p = "int";
   10179   1.1  christos 		break;
   10180   1.1  christos 	/* netbsd32_getsockname */
   10181   1.1  christos 	case 32:
   10182   1.1  christos 		if (ndx == 0 || ndx == 1)
   10183   1.1  christos 			p = "int";
   10184   1.1  christos 		break;
   10185   1.1  christos 	/* netbsd32_access */
   10186   1.1  christos 	case 33:
   10187   1.1  christos 		if (ndx == 0 || ndx == 1)
   10188   1.1  christos 			p = "int";
   10189   1.1  christos 		break;
   10190   1.1  christos 	/* netbsd32_chflags */
   10191   1.1  christos 	case 34:
   10192   1.1  christos 		if (ndx == 0 || ndx == 1)
   10193   1.1  christos 			p = "int";
   10194   1.1  christos 		break;
   10195   1.1  christos 	/* netbsd32_fchflags */
   10196   1.1  christos 	case 35:
   10197   1.1  christos 		if (ndx == 0 || ndx == 1)
   10198   1.1  christos 			p = "int";
   10199   1.1  christos 		break;
   10200   1.1  christos 	/* sys_sync */
   10201   1.1  christos 	case 36:
   10202   1.1  christos 	/* netbsd32_kill */
   10203   1.1  christos 	case 37:
   10204   1.1  christos 		if (ndx == 0 || ndx == 1)
   10205   1.1  christos 			p = "int";
   10206   1.1  christos 		break;
   10207   1.1  christos 	/* netbsd32_stat43 */
   10208   1.1  christos 	case 38:
   10209   1.1  christos 		if (ndx == 0 || ndx == 1)
   10210   1.1  christos 			p = "int";
   10211   1.1  christos 		break;
   10212   1.1  christos 	/* sys_getppid */
   10213   1.1  christos 	case 39:
   10214   1.1  christos 	/* netbsd32_lstat43 */
   10215   1.1  christos 	case 40:
   10216   1.1  christos 		if (ndx == 0 || ndx == 1)
   10217   1.1  christos 			p = "int";
   10218   1.1  christos 		break;
   10219   1.1  christos 	/* netbsd32_dup */
   10220   1.1  christos 	case 41:
   10221   1.1  christos 		if (ndx == 0 || ndx == 1)
   10222   1.1  christos 			p = "int";
   10223   1.1  christos 		break;
   10224   1.1  christos 	/* sys_pipe */
   10225   1.1  christos 	case 42:
   10226   1.1  christos 	/* sys_getegid */
   10227   1.1  christos 	case 43:
   10228   1.1  christos 	/* netbsd32_profil */
   10229   1.1  christos 	case 44:
   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_ktrace */
   10234   1.1  christos 	case 45:
   10235   1.1  christos 		if (ndx == 0 || ndx == 1)
   10236   1.1  christos 			p = "int";
   10237   1.1  christos 		break;
   10238   1.1  christos 	/* netbsd32_sigaction */
   10239   1.1  christos 	case 46:
   10240   1.1  christos 		if (ndx == 0 || ndx == 1)
   10241   1.1  christos 			p = "int";
   10242   1.1  christos 		break;
   10243  1.37     kamil 	/* sys_getgid_with_egid */
   10244   1.1  christos 	case 47:
   10245   1.1  christos 	/* netbsd32_sigprocmask */
   10246   1.1  christos 	case 48:
   10247   1.1  christos 		if (ndx == 0 || ndx == 1)
   10248   1.1  christos 			p = "int";
   10249   1.1  christos 		break;
   10250   1.1  christos 	/* netbsd32___getlogin */
   10251   1.1  christos 	case 49:
   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_setlogin */
   10256   1.1  christos 	case 50:
   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_acct */
   10261   1.1  christos 	case 51:
   10262   1.1  christos 		if (ndx == 0 || ndx == 1)
   10263   1.1  christos 			p = "int";
   10264   1.1  christos 		break;
   10265   1.1  christos 	/* sys_sigpending */
   10266   1.1  christos 	case 52:
   10267   1.1  christos 	/* netbsd32_sigaltstack13 */
   10268   1.1  christos 	case 53:
   10269   1.1  christos 		if (ndx == 0 || ndx == 1)
   10270   1.1  christos 			p = "int";
   10271   1.1  christos 		break;
   10272   1.1  christos 	/* netbsd32_ioctl */
   10273   1.1  christos 	case 54:
   10274   1.1  christos 		if (ndx == 0 || ndx == 1)
   10275   1.1  christos 			p = "int";
   10276   1.1  christos 		break;
   10277   1.1  christos 	/* netbsd32_reboot */
   10278   1.1  christos 	case 55:
   10279   1.1  christos 		if (ndx == 0 || ndx == 1)
   10280   1.1  christos 			p = "int";
   10281   1.1  christos 		break;
   10282   1.1  christos 	/* netbsd32_revoke */
   10283   1.1  christos 	case 56:
   10284   1.1  christos 		if (ndx == 0 || ndx == 1)
   10285   1.1  christos 			p = "int";
   10286   1.1  christos 		break;
   10287   1.1  christos 	/* netbsd32_symlink */
   10288   1.1  christos 	case 57:
   10289   1.1  christos 		if (ndx == 0 || ndx == 1)
   10290   1.1  christos 			p = "int";
   10291   1.1  christos 		break;
   10292   1.1  christos 	/* netbsd32_readlink */
   10293   1.1  christos 	case 58:
   10294   1.1  christos 		if (ndx == 0 || ndx == 1)
   10295   1.1  christos 			p = "int";
   10296   1.1  christos 		break;
   10297   1.1  christos 	/* netbsd32_execve */
   10298   1.1  christos 	case 59:
   10299   1.1  christos 		if (ndx == 0 || ndx == 1)
   10300   1.1  christos 			p = "int";
   10301   1.1  christos 		break;
   10302   1.1  christos 	/* netbsd32_umask */
   10303   1.1  christos 	case 60:
   10304   1.1  christos 		if (ndx == 0 || ndx == 1)
   10305   1.1  christos 			p = "mode_t";
   10306   1.1  christos 		break;
   10307   1.1  christos 	/* netbsd32_chroot */
   10308   1.1  christos 	case 61:
   10309   1.1  christos 		if (ndx == 0 || ndx == 1)
   10310   1.1  christos 			p = "int";
   10311   1.1  christos 		break;
   10312   1.1  christos 	/* netbsd32_fstat43 */
   10313   1.1  christos 	case 62:
   10314   1.1  christos 		if (ndx == 0 || ndx == 1)
   10315   1.1  christos 			p = "int";
   10316   1.1  christos 		break;
   10317   1.1  christos 	/* netbsd32_ogetkerninfo */
   10318   1.1  christos 	case 63:
   10319   1.1  christos 		if (ndx == 0 || ndx == 1)
   10320   1.1  christos 			p = "int";
   10321   1.1  christos 		break;
   10322   1.1  christos 	/* sys_getpagesize */
   10323   1.1  christos 	case 64:
   10324   1.1  christos 	/* netbsd32_msync */
   10325   1.1  christos 	case 65:
   10326   1.1  christos 		if (ndx == 0 || ndx == 1)
   10327   1.1  christos 			p = "int";
   10328   1.1  christos 		break;
   10329   1.1  christos 	/* sys_vfork */
   10330   1.1  christos 	case 66:
   10331   1.1  christos 	/* netbsd32_ommap */
   10332   1.1  christos 	case 71:
   10333   1.1  christos 		if (ndx == 0 || ndx == 1)
   10334   1.1  christos 			p = "int";
   10335   1.1  christos 		break;
   10336  1.24     kamil 	/* netbsd32_ovadvise */
   10337  1.24     kamil 	case 72:
   10338  1.24     kamil 		if (ndx == 0 || ndx == 1)
   10339  1.24     kamil 			p = "int";
   10340  1.24     kamil 		break;
   10341   1.1  christos 	/* netbsd32_munmap */
   10342   1.1  christos 	case 73:
   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_mprotect */
   10347   1.1  christos 	case 74:
   10348   1.1  christos 		if (ndx == 0 || ndx == 1)
   10349   1.1  christos 			p = "int";
   10350   1.1  christos 		break;
   10351   1.1  christos 	/* netbsd32_madvise */
   10352   1.1  christos 	case 75:
   10353   1.1  christos 		if (ndx == 0 || ndx == 1)
   10354   1.1  christos 			p = "int";
   10355   1.1  christos 		break;
   10356   1.1  christos 	/* netbsd32_mincore */
   10357   1.1  christos 	case 78:
   10358   1.1  christos 		if (ndx == 0 || ndx == 1)
   10359   1.1  christos 			p = "int";
   10360   1.1  christos 		break;
   10361   1.1  christos 	/* netbsd32_getgroups */
   10362   1.1  christos 	case 79:
   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_setgroups */
   10367   1.1  christos 	case 80:
   10368   1.1  christos 		if (ndx == 0 || ndx == 1)
   10369   1.1  christos 			p = "int";
   10370   1.1  christos 		break;
   10371   1.1  christos 	/* sys_getpgrp */
   10372   1.1  christos 	case 81:
   10373   1.1  christos 	/* netbsd32_setpgid */
   10374   1.1  christos 	case 82:
   10375   1.1  christos 		if (ndx == 0 || ndx == 1)
   10376   1.1  christos 			p = "int";
   10377   1.1  christos 		break;
   10378   1.1  christos 	/* netbsd32_setitimer */
   10379   1.1  christos 	case 83:
   10380   1.1  christos 		if (ndx == 0 || ndx == 1)
   10381   1.1  christos 			p = "int";
   10382   1.1  christos 		break;
   10383   1.1  christos 	/* sys_wait */
   10384   1.1  christos 	case 84:
   10385   1.1  christos 	/* netbsd32_oswapon */
   10386   1.1  christos 	case 85:
   10387   1.1  christos 		if (ndx == 0 || ndx == 1)
   10388   1.1  christos 			p = "int";
   10389   1.1  christos 		break;
   10390   1.1  christos 	/* netbsd32_getitimer */
   10391   1.1  christos 	case 86:
   10392   1.1  christos 		if (ndx == 0 || ndx == 1)
   10393   1.1  christos 			p = "int";
   10394   1.1  christos 		break;
   10395   1.1  christos 	/* netbsd32_ogethostname */
   10396   1.1  christos 	case 87:
   10397   1.1  christos 		if (ndx == 0 || ndx == 1)
   10398   1.1  christos 			p = "int";
   10399   1.1  christos 		break;
   10400   1.1  christos 	/* netbsd32_osethostname */
   10401   1.1  christos 	case 88:
   10402   1.1  christos 		if (ndx == 0 || ndx == 1)
   10403   1.1  christos 			p = "int";
   10404   1.1  christos 		break;
   10405   1.1  christos 	/* sys_getdtablesize */
   10406   1.1  christos 	case 89:
   10407   1.1  christos 	/* netbsd32_dup2 */
   10408   1.1  christos 	case 90:
   10409   1.1  christos 		if (ndx == 0 || ndx == 1)
   10410   1.1  christos 			p = "int";
   10411   1.1  christos 		break;
   10412  1.45       rin 	/* netbsd32_getrandom */
   10413  1.45       rin 	case 91:
   10414  1.45       rin 		if (ndx == 0 || ndx == 1)
   10415  1.45       rin 			p = "netbsd32_ssize_t";
   10416  1.45       rin 		break;
   10417   1.1  christos 	/* netbsd32_fcntl */
   10418   1.1  christos 	case 92:
   10419   1.1  christos 		if (ndx == 0 || ndx == 1)
   10420   1.1  christos 			p = "int";
   10421   1.1  christos 		break;
   10422   1.1  christos 	/* netbsd32_select */
   10423   1.1  christos 	case 93:
   10424   1.1  christos 		if (ndx == 0 || ndx == 1)
   10425   1.1  christos 			p = "int";
   10426   1.1  christos 		break;
   10427   1.1  christos 	/* netbsd32_fsync */
   10428   1.1  christos 	case 95:
   10429   1.1  christos 		if (ndx == 0 || ndx == 1)
   10430   1.1  christos 			p = "int";
   10431   1.1  christos 		break;
   10432   1.1  christos 	/* netbsd32_setpriority */
   10433   1.1  christos 	case 96:
   10434   1.1  christos 		if (ndx == 0 || ndx == 1)
   10435   1.1  christos 			p = "int";
   10436   1.1  christos 		break;
   10437   1.1  christos 	/* netbsd32_socket */
   10438   1.1  christos 	case 97:
   10439   1.1  christos 		if (ndx == 0 || ndx == 1)
   10440   1.1  christos 			p = "int";
   10441   1.1  christos 		break;
   10442   1.1  christos 	/* netbsd32_connect */
   10443   1.1  christos 	case 98:
   10444   1.1  christos 		if (ndx == 0 || ndx == 1)
   10445   1.1  christos 			p = "int";
   10446   1.1  christos 		break;
   10447   1.1  christos 	/* netbsd32_oaccept */
   10448   1.1  christos 	case 99:
   10449   1.1  christos 		if (ndx == 0 || ndx == 1)
   10450   1.1  christos 			p = "int";
   10451   1.1  christos 		break;
   10452   1.1  christos 	/* netbsd32_getpriority */
   10453   1.1  christos 	case 100:
   10454   1.1  christos 		if (ndx == 0 || ndx == 1)
   10455   1.1  christos 			p = "int";
   10456   1.1  christos 		break;
   10457   1.1  christos 	/* netbsd32_osend */
   10458   1.1  christos 	case 101:
   10459   1.1  christos 		if (ndx == 0 || ndx == 1)
   10460   1.1  christos 			p = "int";
   10461   1.1  christos 		break;
   10462   1.1  christos 	/* netbsd32_orecv */
   10463   1.1  christos 	case 102:
   10464   1.1  christos 		if (ndx == 0 || ndx == 1)
   10465   1.1  christos 			p = "int";
   10466   1.1  christos 		break;
   10467   1.1  christos 	/* netbsd32_sigreturn */
   10468   1.1  christos 	case 103:
   10469   1.1  christos 		if (ndx == 0 || ndx == 1)
   10470   1.1  christos 			p = "int";
   10471   1.1  christos 		break;
   10472   1.1  christos 	/* netbsd32_bind */
   10473   1.1  christos 	case 104:
   10474   1.1  christos 		if (ndx == 0 || ndx == 1)
   10475   1.1  christos 			p = "int";
   10476   1.1  christos 		break;
   10477   1.1  christos 	/* netbsd32_setsockopt */
   10478   1.1  christos 	case 105:
   10479   1.1  christos 		if (ndx == 0 || ndx == 1)
   10480   1.1  christos 			p = "int";
   10481   1.1  christos 		break;
   10482   1.1  christos 	/* netbsd32_listen */
   10483   1.1  christos 	case 106:
   10484   1.1  christos 		if (ndx == 0 || ndx == 1)
   10485   1.1  christos 			p = "int";
   10486   1.1  christos 		break;
   10487   1.1  christos 	/* netbsd32_osigvec */
   10488   1.1  christos 	case 108:
   10489   1.1  christos 		if (ndx == 0 || ndx == 1)
   10490   1.1  christos 			p = "int";
   10491   1.1  christos 		break;
   10492   1.1  christos 	/* netbsd32_sigblock */
   10493   1.1  christos 	case 109:
   10494   1.1  christos 		if (ndx == 0 || ndx == 1)
   10495   1.1  christos 			p = "int";
   10496   1.1  christos 		break;
   10497   1.1  christos 	/* netbsd32_sigsetmask */
   10498   1.1  christos 	case 110:
   10499   1.1  christos 		if (ndx == 0 || ndx == 1)
   10500   1.1  christos 			p = "int";
   10501   1.1  christos 		break;
   10502   1.1  christos 	/* netbsd32_sigsuspend */
   10503   1.1  christos 	case 111:
   10504   1.1  christos 		if (ndx == 0 || ndx == 1)
   10505   1.1  christos 			p = "int";
   10506   1.1  christos 		break;
   10507   1.1  christos 	/* netbsd32_osigstack */
   10508   1.1  christos 	case 112:
   10509   1.1  christos 		if (ndx == 0 || ndx == 1)
   10510   1.1  christos 			p = "int";
   10511   1.1  christos 		break;
   10512   1.1  christos 	/* netbsd32_orecvmsg */
   10513   1.1  christos 	case 113:
   10514   1.1  christos 		if (ndx == 0 || ndx == 1)
   10515   1.1  christos 			p = "int";
   10516   1.1  christos 		break;
   10517   1.1  christos 	/* netbsd32_osendmsg */
   10518   1.1  christos 	case 114:
   10519   1.1  christos 		if (ndx == 0 || ndx == 1)
   10520   1.1  christos 			p = "int";
   10521   1.1  christos 		break;
   10522   1.1  christos 	/* netbsd32_gettimeofday */
   10523   1.1  christos 	case 116:
   10524   1.1  christos 		if (ndx == 0 || ndx == 1)
   10525   1.1  christos 			p = "int";
   10526   1.1  christos 		break;
   10527   1.1  christos 	/* netbsd32_getrusage */
   10528   1.1  christos 	case 117:
   10529   1.1  christos 		if (ndx == 0 || ndx == 1)
   10530   1.1  christos 			p = "int";
   10531   1.1  christos 		break;
   10532   1.1  christos 	/* netbsd32_getsockopt */
   10533   1.1  christos 	case 118:
   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_readv */
   10538   1.1  christos 	case 120:
   10539   1.1  christos 		if (ndx == 0 || ndx == 1)
   10540   1.1  christos 			p = "netbsd32_ssize_t";
   10541   1.1  christos 		break;
   10542   1.1  christos 	/* netbsd32_writev */
   10543   1.1  christos 	case 121:
   10544   1.1  christos 		if (ndx == 0 || ndx == 1)
   10545   1.1  christos 			p = "netbsd32_ssize_t";
   10546   1.1  christos 		break;
   10547   1.1  christos 	/* netbsd32_settimeofday */
   10548   1.1  christos 	case 122:
   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_fchown */
   10553   1.1  christos 	case 123:
   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_fchmod */
   10558   1.1  christos 	case 124:
   10559   1.1  christos 		if (ndx == 0 || ndx == 1)
   10560   1.1  christos 			p = "int";
   10561   1.1  christos 		break;
   10562   1.1  christos 	/* netbsd32_orecvfrom */
   10563   1.1  christos 	case 125:
   10564   1.1  christos 		if (ndx == 0 || ndx == 1)
   10565   1.1  christos 			p = "int";
   10566   1.1  christos 		break;
   10567   1.1  christos 	/* netbsd32_setreuid */
   10568   1.1  christos 	case 126:
   10569   1.1  christos 		if (ndx == 0 || ndx == 1)
   10570   1.1  christos 			p = "int";
   10571   1.1  christos 		break;
   10572   1.1  christos 	/* netbsd32_setregid */
   10573   1.1  christos 	case 127:
   10574   1.1  christos 		if (ndx == 0 || ndx == 1)
   10575   1.1  christos 			p = "int";
   10576   1.1  christos 		break;
   10577   1.1  christos 	/* netbsd32_rename */
   10578   1.1  christos 	case 128:
   10579   1.1  christos 		if (ndx == 0 || ndx == 1)
   10580   1.1  christos 			p = "int";
   10581   1.1  christos 		break;
   10582   1.1  christos 	/* netbsd32_otruncate */
   10583   1.1  christos 	case 129:
   10584   1.1  christos 		if (ndx == 0 || ndx == 1)
   10585   1.1  christos 			p = "int";
   10586   1.1  christos 		break;
   10587   1.1  christos 	/* netbsd32_oftruncate */
   10588   1.1  christos 	case 130:
   10589   1.1  christos 		if (ndx == 0 || ndx == 1)
   10590   1.1  christos 			p = "int";
   10591   1.1  christos 		break;
   10592   1.1  christos 	/* netbsd32_flock */
   10593   1.1  christos 	case 131:
   10594   1.1  christos 		if (ndx == 0 || ndx == 1)
   10595   1.1  christos 			p = "int";
   10596   1.1  christos 		break;
   10597   1.1  christos 	/* netbsd32_mkfifo */
   10598   1.1  christos 	case 132:
   10599   1.1  christos 		if (ndx == 0 || ndx == 1)
   10600   1.1  christos 			p = "int";
   10601   1.1  christos 		break;
   10602   1.1  christos 	/* netbsd32_sendto */
   10603   1.1  christos 	case 133:
   10604   1.1  christos 		if (ndx == 0 || ndx == 1)
   10605   1.1  christos 			p = "netbsd32_ssize_t";
   10606   1.1  christos 		break;
   10607   1.1  christos 	/* netbsd32_shutdown */
   10608   1.1  christos 	case 134:
   10609   1.1  christos 		if (ndx == 0 || ndx == 1)
   10610   1.1  christos 			p = "int";
   10611   1.1  christos 		break;
   10612   1.1  christos 	/* netbsd32_socketpair */
   10613   1.1  christos 	case 135:
   10614   1.1  christos 		if (ndx == 0 || ndx == 1)
   10615   1.1  christos 			p = "int";
   10616   1.1  christos 		break;
   10617   1.1  christos 	/* netbsd32_mkdir */
   10618   1.1  christos 	case 136:
   10619   1.1  christos 		if (ndx == 0 || ndx == 1)
   10620   1.1  christos 			p = "int";
   10621   1.1  christos 		break;
   10622   1.1  christos 	/* netbsd32_rmdir */
   10623   1.1  christos 	case 137:
   10624   1.1  christos 		if (ndx == 0 || ndx == 1)
   10625   1.1  christos 			p = "int";
   10626   1.1  christos 		break;
   10627   1.1  christos 	/* netbsd32_utimes */
   10628   1.1  christos 	case 138:
   10629   1.1  christos 		if (ndx == 0 || ndx == 1)
   10630   1.1  christos 			p = "int";
   10631   1.1  christos 		break;
   10632   1.1  christos 	/* netbsd32_adjtime */
   10633   1.1  christos 	case 140:
   10634   1.1  christos 		if (ndx == 0 || ndx == 1)
   10635   1.1  christos 			p = "int";
   10636   1.1  christos 		break;
   10637   1.1  christos 	/* netbsd32_ogetpeername */
   10638   1.1  christos 	case 141:
   10639   1.1  christos 		if (ndx == 0 || ndx == 1)
   10640   1.1  christos 			p = "int";
   10641   1.1  christos 		break;
   10642   1.1  christos 	/* sys_gethostid */
   10643   1.1  christos 	case 142:
   10644   1.1  christos 	/* netbsd32_sethostid */
   10645   1.1  christos 	case 143:
   10646   1.1  christos 		if (ndx == 0 || ndx == 1)
   10647   1.1  christos 			p = "int";
   10648   1.1  christos 		break;
   10649   1.1  christos 	/* netbsd32_ogetrlimit */
   10650   1.1  christos 	case 144:
   10651   1.1  christos 		if (ndx == 0 || ndx == 1)
   10652   1.1  christos 			p = "int";
   10653   1.1  christos 		break;
   10654   1.1  christos 	/* netbsd32_osetrlimit */
   10655   1.1  christos 	case 145:
   10656   1.1  christos 		if (ndx == 0 || ndx == 1)
   10657   1.1  christos 			p = "int";
   10658   1.1  christos 		break;
   10659   1.1  christos 	/* netbsd32_killpg */
   10660   1.1  christos 	case 146:
   10661   1.1  christos 		if (ndx == 0 || ndx == 1)
   10662   1.1  christos 			p = "int";
   10663   1.1  christos 		break;
   10664   1.1  christos 	/* sys_setsid */
   10665   1.1  christos 	case 147:
   10666   1.1  christos 	/* netbsd32_quotactl */
   10667   1.1  christos 	case 148:
   10668   1.1  christos 		if (ndx == 0 || ndx == 1)
   10669   1.1  christos 			p = "int";
   10670   1.1  christos 		break;
   10671   1.1  christos 	/* netbsd32_ogetsockname */
   10672   1.1  christos 	case 150:
   10673   1.1  christos 		if (ndx == 0 || ndx == 1)
   10674   1.1  christos 			p = "int";
   10675   1.1  christos 		break;
   10676   1.6       mrg 	/* netbsd32_nfssvc */
   10677   1.6       mrg 	case 155:
   10678   1.6       mrg 		if (ndx == 0 || ndx == 1)
   10679   1.6       mrg 			p = "int";
   10680   1.6       mrg 		break;
   10681   1.1  christos 	/* netbsd32_ogetdirentries */
   10682   1.1  christos 	case 156:
   10683   1.1  christos 		if (ndx == 0 || ndx == 1)
   10684   1.1  christos 			p = "int";
   10685   1.1  christos 		break;
   10686   1.1  christos 	/* netbsd32_statfs */
   10687   1.1  christos 	case 157:
   10688   1.1  christos 		if (ndx == 0 || ndx == 1)
   10689   1.1  christos 			p = "int";
   10690   1.1  christos 		break;
   10691   1.1  christos 	/* netbsd32_fstatfs */
   10692   1.1  christos 	case 158:
   10693   1.1  christos 		if (ndx == 0 || ndx == 1)
   10694   1.1  christos 			p = "int";
   10695   1.1  christos 		break;
   10696   1.1  christos 	/* netbsd32_getfh */
   10697   1.1  christos 	case 161:
   10698   1.1  christos 		if (ndx == 0 || ndx == 1)
   10699   1.1  christos 			p = "int";
   10700   1.1  christos 		break;
   10701   1.1  christos 	/* netbsd32_ogetdomainname */
   10702   1.1  christos 	case 162:
   10703   1.1  christos 		if (ndx == 0 || ndx == 1)
   10704   1.1  christos 			p = "int";
   10705   1.1  christos 		break;
   10706   1.1  christos 	/* netbsd32_osetdomainname */
   10707   1.1  christos 	case 163:
   10708   1.1  christos 		if (ndx == 0 || ndx == 1)
   10709   1.1  christos 			p = "int";
   10710   1.1  christos 		break;
   10711   1.1  christos 	/* netbsd32_uname */
   10712   1.1  christos 	case 164:
   10713   1.1  christos 		if (ndx == 0 || ndx == 1)
   10714   1.1  christos 			p = "int";
   10715   1.1  christos 		break;
   10716   1.1  christos 	/* netbsd32_sysarch */
   10717   1.1  christos 	case 165:
   10718   1.1  christos 		if (ndx == 0 || ndx == 1)
   10719   1.1  christos 			p = "int";
   10720   1.1  christos 		break;
   10721  1.43   thorpej 	/* netbsd32___futex */
   10722  1.43   thorpej 	case 166:
   10723  1.43   thorpej 		if (ndx == 0 || ndx == 1)
   10724  1.43   thorpej 			p = "int";
   10725  1.43   thorpej 		break;
   10726  1.43   thorpej 	/* netbsd32___futex_set_robust_list */
   10727  1.43   thorpej 	case 167:
   10728  1.43   thorpej 		if (ndx == 0 || ndx == 1)
   10729  1.43   thorpej 			p = "int";
   10730  1.43   thorpej 		break;
   10731  1.43   thorpej 	/* netbsd32___futex_get_robust_list */
   10732  1.43   thorpej 	case 168:
   10733  1.43   thorpej 		if (ndx == 0 || ndx == 1)
   10734  1.43   thorpej 			p = "int";
   10735  1.43   thorpej 		break;
   10736   1.1  christos 	/* netbsd32_semsys */
   10737   1.1  christos 	case 169:
   10738   1.1  christos 		if (ndx == 0 || ndx == 1)
   10739   1.1  christos 			p = "int";
   10740   1.1  christos 		break;
   10741   1.1  christos 	/* netbsd32_msgsys */
   10742   1.1  christos 	case 170:
   10743   1.1  christos 		if (ndx == 0 || ndx == 1)
   10744   1.1  christos 			p = "int";
   10745   1.1  christos 		break;
   10746   1.1  christos 	/* netbsd32_shmsys */
   10747   1.1  christos 	case 171:
   10748   1.1  christos 		if (ndx == 0 || ndx == 1)
   10749   1.1  christos 			p = "int";
   10750   1.1  christos 		break;
   10751   1.1  christos 	/* netbsd32_pread */
   10752   1.1  christos 	case 173:
   10753   1.1  christos 		if (ndx == 0 || ndx == 1)
   10754   1.1  christos 			p = "netbsd32_ssize_t";
   10755   1.1  christos 		break;
   10756   1.1  christos 	/* netbsd32_pwrite */
   10757   1.1  christos 	case 174:
   10758   1.1  christos 		if (ndx == 0 || ndx == 1)
   10759   1.1  christos 			p = "netbsd32_ssize_t";
   10760   1.1  christos 		break;
   10761   1.1  christos 	/* netbsd32_ntp_gettime */
   10762   1.1  christos 	case 175:
   10763   1.1  christos 		if (ndx == 0 || ndx == 1)
   10764   1.1  christos 			p = "int";
   10765   1.1  christos 		break;
   10766  1.30  pgoyette #if defined(NTP) || !defined(_KERNEL_OPT)
   10767   1.1  christos 	/* netbsd32_ntp_adjtime */
   10768   1.1  christos 	case 176:
   10769   1.1  christos 		if (ndx == 0 || ndx == 1)
   10770   1.1  christos 			p = "int";
   10771   1.1  christos 		break;
   10772   1.1  christos #else
   10773   1.1  christos #endif
   10774  1.48   thorpej 	/* netbsd32_timerfd_create */
   10775  1.48   thorpej 	case 177:
   10776  1.48   thorpej 		if (ndx == 0 || ndx == 1)
   10777  1.48   thorpej 			p = "int";
   10778  1.48   thorpej 		break;
   10779  1.48   thorpej 	/* netbsd32_timerfd_settime */
   10780  1.48   thorpej 	case 178:
   10781  1.48   thorpej 		if (ndx == 0 || ndx == 1)
   10782  1.48   thorpej 			p = "int";
   10783  1.48   thorpej 		break;
   10784  1.48   thorpej 	/* netbsd32_timerfd_gettime */
   10785  1.48   thorpej 	case 179:
   10786  1.48   thorpej 		if (ndx == 0 || ndx == 1)
   10787  1.48   thorpej 			p = "int";
   10788  1.48   thorpej 		break;
   10789   1.1  christos 	/* netbsd32_setgid */
   10790   1.1  christos 	case 181:
   10791   1.1  christos 		if (ndx == 0 || ndx == 1)
   10792   1.1  christos 			p = "int";
   10793   1.1  christos 		break;
   10794   1.1  christos 	/* netbsd32_setegid */
   10795   1.1  christos 	case 182:
   10796   1.1  christos 		if (ndx == 0 || ndx == 1)
   10797   1.1  christos 			p = "int";
   10798   1.1  christos 		break;
   10799   1.1  christos 	/* netbsd32_seteuid */
   10800   1.1  christos 	case 183:
   10801   1.1  christos 		if (ndx == 0 || ndx == 1)
   10802   1.1  christos 			p = "int";
   10803   1.1  christos 		break;
   10804   1.1  christos 	/* netbsd32_stat12 */
   10805   1.1  christos 	case 188:
   10806   1.1  christos 		if (ndx == 0 || ndx == 1)
   10807   1.1  christos 			p = "int";
   10808   1.1  christos 		break;
   10809   1.1  christos 	/* netbsd32_fstat12 */
   10810   1.1  christos 	case 189:
   10811   1.1  christos 		if (ndx == 0 || ndx == 1)
   10812   1.1  christos 			p = "int";
   10813   1.1  christos 		break;
   10814   1.1  christos 	/* netbsd32_lstat12 */
   10815   1.1  christos 	case 190:
   10816   1.1  christos 		if (ndx == 0 || ndx == 1)
   10817   1.1  christos 			p = "int";
   10818   1.1  christos 		break;
   10819   1.1  christos 	/* netbsd32_pathconf */
   10820   1.1  christos 	case 191:
   10821   1.1  christos 		if (ndx == 0 || ndx == 1)
   10822   1.1  christos 			p = "netbsd32_long";
   10823   1.1  christos 		break;
   10824   1.1  christos 	/* netbsd32_fpathconf */
   10825   1.1  christos 	case 192:
   10826   1.1  christos 		if (ndx == 0 || ndx == 1)
   10827   1.1  christos 			p = "netbsd32_long";
   10828   1.1  christos 		break;
   10829  1.26       rjs 	/* netbsd32_getsockopt2 */
   10830  1.26       rjs 	case 193:
   10831  1.26       rjs 		if (ndx == 0 || ndx == 1)
   10832  1.26       rjs 			p = "int";
   10833  1.26       rjs 		break;
   10834   1.1  christos 	/* netbsd32_getrlimit */
   10835   1.1  christos 	case 194:
   10836   1.1  christos 		if (ndx == 0 || ndx == 1)
   10837   1.1  christos 			p = "int";
   10838   1.1  christos 		break;
   10839   1.1  christos 	/* netbsd32_setrlimit */
   10840   1.1  christos 	case 195:
   10841   1.1  christos 		if (ndx == 0 || ndx == 1)
   10842   1.1  christos 			p = "int";
   10843   1.1  christos 		break;
   10844   1.1  christos 	/* netbsd32_getdirentries */
   10845   1.1  christos 	case 196:
   10846   1.1  christos 		if (ndx == 0 || ndx == 1)
   10847   1.1  christos 			p = "int";
   10848   1.1  christos 		break;
   10849   1.1  christos 	/* netbsd32_mmap */
   10850   1.1  christos 	case 197:
   10851   1.1  christos 		if (ndx == 0 || ndx == 1)
   10852   1.1  christos 			p = "netbsd32_voidp";
   10853   1.1  christos 		break;
   10854   1.1  christos 	/* netbsd32____syscall */
   10855   1.1  christos 	case 198:
   10856   1.1  christos 		if (ndx == 0 || ndx == 1)
   10857   1.1  christos 			p = "quad_t";
   10858   1.1  christos 		break;
   10859   1.1  christos 	/* netbsd32_lseek */
   10860   1.1  christos 	case 199:
   10861   1.1  christos 		if (ndx == 0 || ndx == 1)
   10862   1.1  christos 			p = "netbsd32_off_t";
   10863   1.1  christos 		break;
   10864   1.1  christos 	/* netbsd32_truncate */
   10865   1.1  christos 	case 200:
   10866   1.1  christos 		if (ndx == 0 || ndx == 1)
   10867   1.1  christos 			p = "int";
   10868   1.1  christos 		break;
   10869   1.1  christos 	/* netbsd32_ftruncate */
   10870   1.1  christos 	case 201:
   10871   1.1  christos 		if (ndx == 0 || ndx == 1)
   10872   1.1  christos 			p = "int";
   10873   1.1  christos 		break;
   10874   1.1  christos 	/* netbsd32___sysctl */
   10875   1.1  christos 	case 202:
   10876   1.1  christos 		if (ndx == 0 || ndx == 1)
   10877   1.1  christos 			p = "int";
   10878   1.1  christos 		break;
   10879   1.1  christos 	/* netbsd32_mlock */
   10880   1.1  christos 	case 203:
   10881   1.1  christos 		if (ndx == 0 || ndx == 1)
   10882   1.1  christos 			p = "int";
   10883   1.1  christos 		break;
   10884   1.1  christos 	/* netbsd32_munlock */
   10885   1.1  christos 	case 204:
   10886   1.1  christos 		if (ndx == 0 || ndx == 1)
   10887   1.1  christos 			p = "int";
   10888   1.1  christos 		break;
   10889   1.1  christos 	/* netbsd32_undelete */
   10890   1.1  christos 	case 205:
   10891   1.1  christos 		if (ndx == 0 || ndx == 1)
   10892   1.1  christos 			p = "int";
   10893   1.1  christos 		break;
   10894   1.1  christos 	/* netbsd32_futimes */
   10895   1.1  christos 	case 206:
   10896   1.1  christos 		if (ndx == 0 || ndx == 1)
   10897   1.1  christos 			p = "int";
   10898   1.1  christos 		break;
   10899   1.1  christos 	/* netbsd32_getpgid */
   10900   1.1  christos 	case 207:
   10901   1.1  christos 		if (ndx == 0 || ndx == 1)
   10902   1.1  christos 			p = "int";
   10903   1.1  christos 		break;
   10904   1.1  christos 	/* netbsd32_reboot */
   10905   1.1  christos 	case 208:
   10906   1.1  christos 		if (ndx == 0 || ndx == 1)
   10907   1.1  christos 			p = "int";
   10908   1.1  christos 		break;
   10909   1.1  christos 	/* netbsd32_poll */
   10910   1.1  christos 	case 209:
   10911   1.1  christos 		if (ndx == 0 || ndx == 1)
   10912   1.1  christos 			p = "int";
   10913   1.1  christos 		break;
   10914   1.1  christos 	/* netbsd32___semctl */
   10915   1.1  christos 	case 220:
   10916   1.1  christos 		if (ndx == 0 || ndx == 1)
   10917   1.1  christos 			p = "int";
   10918   1.1  christos 		break;
   10919   1.1  christos 	/* netbsd32_semget */
   10920   1.1  christos 	case 221:
   10921   1.1  christos 		if (ndx == 0 || ndx == 1)
   10922   1.1  christos 			p = "int";
   10923   1.1  christos 		break;
   10924   1.1  christos 	/* netbsd32_semop */
   10925   1.1  christos 	case 222:
   10926   1.1  christos 		if (ndx == 0 || ndx == 1)
   10927   1.1  christos 			p = "int";
   10928   1.1  christos 		break;
   10929   1.1  christos 	/* netbsd32_semconfig */
   10930   1.1  christos 	case 223:
   10931   1.1  christos 		if (ndx == 0 || ndx == 1)
   10932   1.1  christos 			p = "int";
   10933   1.1  christos 		break;
   10934   1.1  christos 	/* netbsd32_msgctl */
   10935   1.1  christos 	case 224:
   10936   1.1  christos 		if (ndx == 0 || ndx == 1)
   10937   1.1  christos 			p = "int";
   10938   1.1  christos 		break;
   10939   1.1  christos 	/* netbsd32_msgget */
   10940   1.1  christos 	case 225:
   10941   1.1  christos 		if (ndx == 0 || ndx == 1)
   10942   1.1  christos 			p = "int";
   10943   1.1  christos 		break;
   10944   1.1  christos 	/* netbsd32_msgsnd */
   10945   1.1  christos 	case 226:
   10946   1.1  christos 		if (ndx == 0 || ndx == 1)
   10947   1.1  christos 			p = "int";
   10948   1.1  christos 		break;
   10949   1.1  christos 	/* netbsd32_msgrcv */
   10950   1.1  christos 	case 227:
   10951   1.1  christos 		if (ndx == 0 || ndx == 1)
   10952   1.1  christos 			p = "netbsd32_ssize_t";
   10953   1.1  christos 		break;
   10954   1.1  christos 	/* netbsd32_shmat */
   10955   1.1  christos 	case 228:
   10956   1.1  christos 		if (ndx == 0 || ndx == 1)
   10957   1.1  christos 			p = "netbsd32_voidp";
   10958   1.1  christos 		break;
   10959   1.1  christos 	/* netbsd32_shmctl */
   10960   1.1  christos 	case 229:
   10961   1.1  christos 		if (ndx == 0 || ndx == 1)
   10962   1.1  christos 			p = "int";
   10963   1.1  christos 		break;
   10964   1.1  christos 	/* netbsd32_shmdt */
   10965   1.1  christos 	case 230:
   10966   1.1  christos 		if (ndx == 0 || ndx == 1)
   10967   1.1  christos 			p = "int";
   10968   1.1  christos 		break;
   10969   1.1  christos 	/* netbsd32_shmget */
   10970   1.1  christos 	case 231:
   10971   1.1  christos 		if (ndx == 0 || ndx == 1)
   10972   1.1  christos 			p = "int";
   10973   1.1  christos 		break;
   10974   1.1  christos 	/* netbsd32_clock_gettime */
   10975   1.1  christos 	case 232:
   10976   1.1  christos 		if (ndx == 0 || ndx == 1)
   10977   1.1  christos 			p = "int";
   10978   1.1  christos 		break;
   10979   1.1  christos 	/* netbsd32_clock_settime */
   10980   1.1  christos 	case 233:
   10981   1.1  christos 		if (ndx == 0 || ndx == 1)
   10982   1.1  christos 			p = "int";
   10983   1.1  christos 		break;
   10984   1.1  christos 	/* netbsd32_clock_getres */
   10985   1.1  christos 	case 234:
   10986   1.1  christos 		if (ndx == 0 || ndx == 1)
   10987   1.1  christos 			p = "int";
   10988   1.1  christos 		break;
   10989   1.1  christos 	/* netbsd32_timer_create */
   10990   1.1  christos 	case 235:
   10991   1.1  christos 		if (ndx == 0 || ndx == 1)
   10992   1.1  christos 			p = "int";
   10993   1.1  christos 		break;
   10994   1.1  christos 	/* netbsd32_timer_delete */
   10995   1.1  christos 	case 236:
   10996   1.1  christos 		if (ndx == 0 || ndx == 1)
   10997   1.1  christos 			p = "int";
   10998   1.1  christos 		break;
   10999   1.1  christos 	/* netbsd32_timer_settime */
   11000   1.1  christos 	case 237:
   11001   1.1  christos 		if (ndx == 0 || ndx == 1)
   11002   1.1  christos 			p = "int";
   11003   1.1  christos 		break;
   11004   1.1  christos 	/* netbsd32_timer_gettime */
   11005   1.1  christos 	case 238:
   11006   1.1  christos 		if (ndx == 0 || ndx == 1)
   11007   1.1  christos 			p = "int";
   11008   1.1  christos 		break;
   11009   1.1  christos 	/* netbsd32_timer_getoverrun */
   11010   1.1  christos 	case 239:
   11011   1.1  christos 		if (ndx == 0 || ndx == 1)
   11012   1.1  christos 			p = "int";
   11013   1.1  christos 		break;
   11014   1.1  christos 	/* netbsd32_nanosleep */
   11015   1.1  christos 	case 240:
   11016   1.1  christos 		if (ndx == 0 || ndx == 1)
   11017   1.1  christos 			p = "int";
   11018   1.1  christos 		break;
   11019   1.1  christos 	/* netbsd32_fdatasync */
   11020   1.1  christos 	case 241:
   11021   1.1  christos 		if (ndx == 0 || ndx == 1)
   11022   1.1  christos 			p = "int";
   11023   1.1  christos 		break;
   11024   1.1  christos 	/* netbsd32_mlockall */
   11025   1.1  christos 	case 242:
   11026   1.1  christos 		if (ndx == 0 || ndx == 1)
   11027   1.1  christos 			p = "int";
   11028   1.1  christos 		break;
   11029   1.1  christos 	/* sys_munlockall */
   11030   1.1  christos 	case 243:
   11031   1.1  christos 	/* netbsd32___sigtimedwait */
   11032   1.1  christos 	case 244:
   11033   1.1  christos 		if (ndx == 0 || ndx == 1)
   11034   1.1  christos 			p = "int";
   11035   1.1  christos 		break;
   11036   1.3    martin 	/* netbsd32_sigqueueinfo */
   11037   1.3    martin 	case 245:
   11038   1.3    martin 		if (ndx == 0 || ndx == 1)
   11039   1.3    martin 			p = "int";
   11040   1.3    martin 		break;
   11041   1.3    martin 	/* netbsd32_modctl */
   11042   1.3    martin 	case 246:
   11043   1.3    martin 		if (ndx == 0 || ndx == 1)
   11044   1.3    martin 			p = "int";
   11045   1.3    martin 		break;
   11046   1.1  christos 	/* netbsd32__ksem_init */
   11047   1.1  christos 	case 247:
   11048   1.1  christos 		if (ndx == 0 || ndx == 1)
   11049   1.1  christos 			p = "int";
   11050   1.1  christos 		break;
   11051   1.1  christos 	/* netbsd32__ksem_open */
   11052   1.1  christos 	case 248:
   11053   1.1  christos 		if (ndx == 0 || ndx == 1)
   11054   1.1  christos 			p = "int";
   11055   1.1  christos 		break;
   11056   1.1  christos 	/* netbsd32__ksem_unlink */
   11057   1.1  christos 	case 249:
   11058   1.1  christos 		if (ndx == 0 || ndx == 1)
   11059   1.1  christos 			p = "int";
   11060   1.1  christos 		break;
   11061   1.1  christos 	/* netbsd32__ksem_close */
   11062   1.1  christos 	case 250:
   11063   1.1  christos 		if (ndx == 0 || ndx == 1)
   11064   1.1  christos 			p = "int";
   11065   1.1  christos 		break;
   11066   1.1  christos 	/* netbsd32__ksem_post */
   11067   1.1  christos 	case 251:
   11068   1.1  christos 		if (ndx == 0 || ndx == 1)
   11069   1.1  christos 			p = "int";
   11070   1.1  christos 		break;
   11071   1.1  christos 	/* netbsd32__ksem_wait */
   11072   1.1  christos 	case 252:
   11073   1.1  christos 		if (ndx == 0 || ndx == 1)
   11074   1.1  christos 			p = "int";
   11075   1.1  christos 		break;
   11076   1.1  christos 	/* netbsd32__ksem_trywait */
   11077   1.1  christos 	case 253:
   11078   1.1  christos 		if (ndx == 0 || ndx == 1)
   11079   1.1  christos 			p = "int";
   11080   1.1  christos 		break;
   11081   1.1  christos 	/* netbsd32__ksem_getvalue */
   11082   1.1  christos 	case 254:
   11083   1.1  christos 		if (ndx == 0 || ndx == 1)
   11084   1.1  christos 			p = "int";
   11085   1.1  christos 		break;
   11086   1.1  christos 	/* netbsd32__ksem_destroy */
   11087   1.1  christos 	case 255:
   11088   1.1  christos 		if (ndx == 0 || ndx == 1)
   11089   1.1  christos 			p = "int";
   11090   1.1  christos 		break;
   11091   1.1  christos 	/* netbsd32__ksem_timedwait */
   11092   1.1  christos 	case 256:
   11093   1.1  christos 		if (ndx == 0 || ndx == 1)
   11094   1.1  christos 			p = "int";
   11095   1.1  christos 		break;
   11096   1.3    martin 	/* netbsd32_mq_open */
   11097   1.3    martin 	case 257:
   11098   1.3    martin 		if (ndx == 0 || ndx == 1)
   11099   1.3    martin 			p = "mqd_t";
   11100   1.3    martin 		break;
   11101   1.3    martin 	/* netbsd32_mq_close */
   11102   1.3    martin 	case 258:
   11103   1.3    martin 		if (ndx == 0 || ndx == 1)
   11104   1.3    martin 			p = "int";
   11105   1.3    martin 		break;
   11106   1.3    martin 	/* netbsd32_mq_unlink */
   11107   1.3    martin 	case 259:
   11108   1.3    martin 		if (ndx == 0 || ndx == 1)
   11109   1.3    martin 			p = "int";
   11110   1.3    martin 		break;
   11111   1.3    martin 	/* netbsd32_mq_getattr */
   11112   1.3    martin 	case 260:
   11113   1.3    martin 		if (ndx == 0 || ndx == 1)
   11114   1.3    martin 			p = "int";
   11115   1.3    martin 		break;
   11116   1.3    martin 	/* netbsd32_mq_setattr */
   11117   1.3    martin 	case 261:
   11118   1.3    martin 		if (ndx == 0 || ndx == 1)
   11119   1.3    martin 			p = "int";
   11120   1.3    martin 		break;
   11121   1.3    martin 	/* netbsd32_mq_notify */
   11122   1.3    martin 	case 262:
   11123   1.3    martin 		if (ndx == 0 || ndx == 1)
   11124   1.3    martin 			p = "int";
   11125   1.3    martin 		break;
   11126   1.3    martin 	/* netbsd32_mq_send */
   11127   1.3    martin 	case 263:
   11128   1.3    martin 		if (ndx == 0 || ndx == 1)
   11129   1.3    martin 			p = "int";
   11130   1.3    martin 		break;
   11131   1.3    martin 	/* netbsd32_mq_receive */
   11132   1.3    martin 	case 264:
   11133   1.3    martin 		if (ndx == 0 || ndx == 1)
   11134   1.3    martin 			p = "netbsd32_ssize_t";
   11135   1.3    martin 		break;
   11136   1.3    martin 	/* netbsd32_mq_timedsend */
   11137   1.3    martin 	case 265:
   11138   1.3    martin 		if (ndx == 0 || ndx == 1)
   11139   1.3    martin 			p = "int";
   11140   1.3    martin 		break;
   11141   1.3    martin 	/* netbsd32_mq_timedreceive */
   11142   1.3    martin 	case 266:
   11143   1.3    martin 		if (ndx == 0 || ndx == 1)
   11144   1.3    martin 			p = "netbsd32_ssize_t";
   11145   1.3    martin 		break;
   11146  1.49   thorpej 	/* netbsd32_eventfd */
   11147  1.49   thorpej 	case 267:
   11148  1.49   thorpej 		if (ndx == 0 || ndx == 1)
   11149  1.49   thorpej 			p = "int";
   11150  1.49   thorpej 		break;
   11151   1.1  christos 	/* netbsd32___posix_rename */
   11152   1.1  christos 	case 270:
   11153   1.1  christos 		if (ndx == 0 || ndx == 1)
   11154   1.1  christos 			p = "int";
   11155   1.1  christos 		break;
   11156   1.1  christos 	/* netbsd32_swapctl */
   11157   1.1  christos 	case 271:
   11158   1.1  christos 		if (ndx == 0 || ndx == 1)
   11159   1.1  christos 			p = "int";
   11160   1.1  christos 		break;
   11161   1.1  christos 	/* netbsd32_getdents */
   11162   1.1  christos 	case 272:
   11163   1.1  christos 		if (ndx == 0 || ndx == 1)
   11164   1.1  christos 			p = "int";
   11165   1.1  christos 		break;
   11166   1.1  christos 	/* netbsd32_minherit */
   11167   1.1  christos 	case 273:
   11168   1.1  christos 		if (ndx == 0 || ndx == 1)
   11169   1.1  christos 			p = "int";
   11170   1.1  christos 		break;
   11171   1.1  christos 	/* netbsd32_lchmod */
   11172   1.1  christos 	case 274:
   11173   1.1  christos 		if (ndx == 0 || ndx == 1)
   11174   1.1  christos 			p = "int";
   11175   1.1  christos 		break;
   11176   1.1  christos 	/* netbsd32_lchown */
   11177   1.1  christos 	case 275:
   11178   1.1  christos 		if (ndx == 0 || ndx == 1)
   11179   1.1  christos 			p = "int";
   11180   1.1  christos 		break;
   11181   1.1  christos 	/* netbsd32_lutimes */
   11182   1.1  christos 	case 276:
   11183   1.1  christos 		if (ndx == 0 || ndx == 1)
   11184   1.1  christos 			p = "int";
   11185   1.1  christos 		break;
   11186   1.1  christos 	/* netbsd32___msync13 */
   11187   1.1  christos 	case 277:
   11188   1.1  christos 		if (ndx == 0 || ndx == 1)
   11189   1.1  christos 			p = "int";
   11190   1.1  christos 		break;
   11191   1.1  christos 	/* netbsd32___stat13 */
   11192   1.1  christos 	case 278:
   11193   1.1  christos 		if (ndx == 0 || ndx == 1)
   11194   1.1  christos 			p = "int";
   11195   1.1  christos 		break;
   11196   1.1  christos 	/* netbsd32___fstat13 */
   11197   1.1  christos 	case 279:
   11198   1.1  christos 		if (ndx == 0 || ndx == 1)
   11199   1.1  christos 			p = "int";
   11200   1.1  christos 		break;
   11201   1.1  christos 	/* netbsd32___lstat13 */
   11202   1.1  christos 	case 280:
   11203   1.1  christos 		if (ndx == 0 || ndx == 1)
   11204   1.1  christos 			p = "int";
   11205   1.1  christos 		break;
   11206   1.1  christos 	/* netbsd32___sigaltstack14 */
   11207   1.1  christos 	case 281:
   11208   1.1  christos 		if (ndx == 0 || ndx == 1)
   11209   1.1  christos 			p = "int";
   11210   1.1  christos 		break;
   11211   1.1  christos 	/* sys___vfork14 */
   11212   1.1  christos 	case 282:
   11213   1.1  christos 	/* netbsd32___posix_chown */
   11214   1.1  christos 	case 283:
   11215   1.1  christos 		if (ndx == 0 || ndx == 1)
   11216   1.1  christos 			p = "int";
   11217   1.1  christos 		break;
   11218   1.1  christos 	/* netbsd32___posix_fchown */
   11219   1.1  christos 	case 284:
   11220   1.1  christos 		if (ndx == 0 || ndx == 1)
   11221   1.1  christos 			p = "int";
   11222   1.1  christos 		break;
   11223   1.1  christos 	/* netbsd32___posix_lchown */
   11224   1.1  christos 	case 285:
   11225   1.1  christos 		if (ndx == 0 || ndx == 1)
   11226   1.1  christos 			p = "int";
   11227   1.1  christos 		break;
   11228   1.1  christos 	/* netbsd32_getsid */
   11229   1.1  christos 	case 286:
   11230   1.1  christos 		if (ndx == 0 || ndx == 1)
   11231   1.1  christos 			p = "pid_t";
   11232   1.1  christos 		break;
   11233   1.1  christos 	/* netbsd32___clone */
   11234   1.1  christos 	case 287:
   11235   1.1  christos 		if (ndx == 0 || ndx == 1)
   11236   1.1  christos 			p = "int";
   11237   1.1  christos 		break;
   11238   1.1  christos 	/* netbsd32_fktrace */
   11239   1.1  christos 	case 288:
   11240   1.1  christos 		if (ndx == 0 || ndx == 1)
   11241   1.1  christos 			p = "int";
   11242   1.1  christos 		break;
   11243   1.1  christos 	/* netbsd32_preadv */
   11244   1.1  christos 	case 289:
   11245   1.1  christos 		if (ndx == 0 || ndx == 1)
   11246   1.1  christos 			p = "netbsd32_ssize_t";
   11247   1.1  christos 		break;
   11248   1.1  christos 	/* netbsd32_pwritev */
   11249   1.1  christos 	case 290:
   11250   1.1  christos 		if (ndx == 0 || ndx == 1)
   11251   1.1  christos 			p = "netbsd32_ssize_t";
   11252   1.1  christos 		break;
   11253   1.1  christos 	/* netbsd32___sigaction14 */
   11254   1.1  christos 	case 291:
   11255   1.1  christos 		if (ndx == 0 || ndx == 1)
   11256   1.1  christos 			p = "int";
   11257   1.1  christos 		break;
   11258   1.1  christos 	/* netbsd32___sigpending14 */
   11259   1.1  christos 	case 292:
   11260   1.1  christos 		if (ndx == 0 || ndx == 1)
   11261   1.1  christos 			p = "int";
   11262   1.1  christos 		break;
   11263   1.1  christos 	/* netbsd32___sigprocmask14 */
   11264   1.1  christos 	case 293:
   11265   1.1  christos 		if (ndx == 0 || ndx == 1)
   11266   1.1  christos 			p = "int";
   11267   1.1  christos 		break;
   11268   1.1  christos 	/* netbsd32___sigsuspend14 */
   11269   1.1  christos 	case 294:
   11270   1.1  christos 		if (ndx == 0 || ndx == 1)
   11271   1.1  christos 			p = "int";
   11272   1.1  christos 		break;
   11273   1.1  christos 	/* netbsd32___sigreturn14 */
   11274   1.1  christos 	case 295:
   11275   1.1  christos 		if (ndx == 0 || ndx == 1)
   11276   1.1  christos 			p = "int";
   11277   1.1  christos 		break;
   11278   1.1  christos 	/* netbsd32___getcwd */
   11279   1.1  christos 	case 296:
   11280   1.1  christos 		if (ndx == 0 || ndx == 1)
   11281   1.1  christos 			p = "int";
   11282   1.1  christos 		break;
   11283   1.1  christos 	/* netbsd32_fchroot */
   11284   1.1  christos 	case 297:
   11285   1.1  christos 		if (ndx == 0 || ndx == 1)
   11286   1.1  christos 			p = "int";
   11287   1.1  christos 		break;
   11288   1.1  christos 	/* netbsd32_fhopen */
   11289   1.1  christos 	case 298:
   11290   1.1  christos 		if (ndx == 0 || ndx == 1)
   11291   1.1  christos 			p = "int";
   11292   1.1  christos 		break;
   11293   1.1  christos 	/* netbsd32_fhstat */
   11294   1.1  christos 	case 299:
   11295   1.1  christos 		if (ndx == 0 || ndx == 1)
   11296   1.1  christos 			p = "int";
   11297   1.1  christos 		break;
   11298   1.1  christos 	/* netbsd32_fhstatfs */
   11299   1.1  christos 	case 300:
   11300   1.1  christos 		if (ndx == 0 || ndx == 1)
   11301   1.1  christos 			p = "int";
   11302   1.1  christos 		break;
   11303   1.1  christos 	/* netbsd32___semctl14 */
   11304   1.1  christos 	case 301:
   11305   1.1  christos 		if (ndx == 0 || ndx == 1)
   11306   1.1  christos 			p = "int";
   11307   1.1  christos 		break;
   11308   1.1  christos 	/* netbsd32___msgctl13 */
   11309   1.1  christos 	case 302:
   11310   1.1  christos 		if (ndx == 0 || ndx == 1)
   11311   1.1  christos 			p = "int";
   11312   1.1  christos 		break;
   11313   1.1  christos 	/* netbsd32___shmctl13 */
   11314   1.1  christos 	case 303:
   11315   1.1  christos 		if (ndx == 0 || ndx == 1)
   11316   1.1  christos 			p = "int";
   11317   1.1  christos 		break;
   11318   1.1  christos 	/* netbsd32_lchflags */
   11319   1.1  christos 	case 304:
   11320   1.1  christos 		if (ndx == 0 || ndx == 1)
   11321   1.1  christos 			p = "int";
   11322   1.1  christos 		break;
   11323   1.1  christos 	/* sys_issetugid */
   11324   1.1  christos 	case 305:
   11325   1.1  christos 	/* netbsd32_utrace */
   11326   1.1  christos 	case 306:
   11327   1.1  christos 		if (ndx == 0 || ndx == 1)
   11328   1.1  christos 			p = "int";
   11329   1.1  christos 		break;
   11330   1.1  christos 	/* netbsd32_getcontext */
   11331   1.1  christos 	case 307:
   11332   1.1  christos 		if (ndx == 0 || ndx == 1)
   11333   1.1  christos 			p = "int";
   11334   1.1  christos 		break;
   11335   1.1  christos 	/* netbsd32_setcontext */
   11336   1.1  christos 	case 308:
   11337   1.1  christos 		if (ndx == 0 || ndx == 1)
   11338   1.1  christos 			p = "int";
   11339   1.1  christos 		break;
   11340   1.1  christos 	/* netbsd32__lwp_create */
   11341   1.1  christos 	case 309:
   11342   1.1  christos 		if (ndx == 0 || ndx == 1)
   11343   1.1  christos 			p = "int";
   11344   1.1  christos 		break;
   11345   1.1  christos 	/* sys__lwp_exit */
   11346   1.1  christos 	case 310:
   11347   1.1  christos 	/* sys__lwp_self */
   11348   1.1  christos 	case 311:
   11349   1.1  christos 	/* netbsd32__lwp_wait */
   11350   1.1  christos 	case 312:
   11351   1.1  christos 		if (ndx == 0 || ndx == 1)
   11352   1.1  christos 			p = "int";
   11353   1.1  christos 		break;
   11354   1.1  christos 	/* netbsd32__lwp_suspend */
   11355   1.1  christos 	case 313:
   11356   1.1  christos 		if (ndx == 0 || ndx == 1)
   11357   1.1  christos 			p = "int";
   11358   1.1  christos 		break;
   11359   1.1  christos 	/* netbsd32__lwp_continue */
   11360   1.1  christos 	case 314:
   11361   1.1  christos 		if (ndx == 0 || ndx == 1)
   11362   1.1  christos 			p = "int";
   11363   1.1  christos 		break;
   11364   1.1  christos 	/* netbsd32__lwp_wakeup */
   11365   1.1  christos 	case 315:
   11366   1.1  christos 		if (ndx == 0 || ndx == 1)
   11367   1.1  christos 			p = "int";
   11368   1.1  christos 		break;
   11369   1.1  christos 	/* sys__lwp_getprivate */
   11370   1.1  christos 	case 316:
   11371   1.1  christos 	/* netbsd32__lwp_setprivate */
   11372   1.1  christos 	case 317:
   11373   1.1  christos 		if (ndx == 0 || ndx == 1)
   11374   1.1  christos 			p = "void";
   11375   1.1  christos 		break;
   11376   1.1  christos 	/* netbsd32__lwp_kill */
   11377   1.1  christos 	case 318:
   11378   1.1  christos 		if (ndx == 0 || ndx == 1)
   11379   1.1  christos 			p = "int";
   11380   1.1  christos 		break;
   11381   1.1  christos 	/* netbsd32__lwp_detach */
   11382   1.1  christos 	case 319:
   11383   1.1  christos 		if (ndx == 0 || ndx == 1)
   11384   1.1  christos 			p = "int";
   11385   1.1  christos 		break;
   11386   1.1  christos 	/* netbsd32__lwp_park */
   11387   1.1  christos 	case 320:
   11388   1.1  christos 		if (ndx == 0 || ndx == 1)
   11389   1.1  christos 			p = "int";
   11390   1.1  christos 		break;
   11391   1.1  christos 	/* netbsd32__lwp_unpark */
   11392   1.1  christos 	case 321:
   11393   1.1  christos 		if (ndx == 0 || ndx == 1)
   11394   1.1  christos 			p = "int";
   11395   1.1  christos 		break;
   11396   1.1  christos 	/* netbsd32__lwp_unpark_all */
   11397   1.1  christos 	case 322:
   11398   1.1  christos 		if (ndx == 0 || ndx == 1)
   11399   1.1  christos 			p = "netbsd32_size_t";
   11400   1.1  christos 		break;
   11401   1.1  christos 	/* netbsd32__lwp_setname */
   11402   1.1  christos 	case 323:
   11403   1.1  christos 		if (ndx == 0 || ndx == 1)
   11404   1.1  christos 			p = "int";
   11405   1.1  christos 		break;
   11406   1.1  christos 	/* netbsd32__lwp_getname */
   11407   1.1  christos 	case 324:
   11408   1.1  christos 		if (ndx == 0 || ndx == 1)
   11409   1.1  christos 			p = "int";
   11410   1.1  christos 		break;
   11411   1.1  christos 	/* netbsd32__lwp_ctl */
   11412   1.1  christos 	case 325:
   11413   1.1  christos 		if (ndx == 0 || ndx == 1)
   11414   1.1  christos 			p = "int";
   11415   1.1  christos 		break;
   11416   1.1  christos 	/* netbsd32___sigaction_sigtramp */
   11417   1.1  christos 	case 340:
   11418   1.1  christos 		if (ndx == 0 || ndx == 1)
   11419   1.1  christos 			p = "int";
   11420   1.1  christos 		break;
   11421   1.1  christos 	/* netbsd32_rasctl */
   11422   1.1  christos 	case 343:
   11423   1.1  christos 		if (ndx == 0 || ndx == 1)
   11424   1.1  christos 			p = "int";
   11425   1.1  christos 		break;
   11426   1.1  christos 	/* sys_kqueue */
   11427   1.1  christos 	case 344:
   11428   1.1  christos 	/* netbsd32_kevent */
   11429   1.1  christos 	case 345:
   11430   1.1  christos 		if (ndx == 0 || ndx == 1)
   11431   1.1  christos 			p = "int";
   11432   1.1  christos 		break;
   11433   1.1  christos 	/* netbsd32__sched_setparam */
   11434   1.1  christos 	case 346:
   11435   1.1  christos 		if (ndx == 0 || ndx == 1)
   11436   1.1  christos 			p = "int";
   11437   1.1  christos 		break;
   11438   1.1  christos 	/* netbsd32__sched_getparam */
   11439   1.1  christos 	case 347:
   11440   1.1  christos 		if (ndx == 0 || ndx == 1)
   11441   1.1  christos 			p = "int";
   11442   1.1  christos 		break;
   11443   1.1  christos 	/* netbsd32__sched_setaffinity */
   11444   1.1  christos 	case 348:
   11445   1.1  christos 		if (ndx == 0 || ndx == 1)
   11446   1.1  christos 			p = "int";
   11447   1.1  christos 		break;
   11448   1.1  christos 	/* netbsd32__sched_getaffinity */
   11449   1.1  christos 	case 349:
   11450   1.1  christos 		if (ndx == 0 || ndx == 1)
   11451   1.1  christos 			p = "int";
   11452   1.1  christos 		break;
   11453   1.1  christos 	/* sys_sched_yield */
   11454   1.1  christos 	case 350:
   11455  1.13     skrll 	/* netbsd32__sched_protect */
   11456  1.13     skrll 	case 351:
   11457  1.13     skrll 		if (ndx == 0 || ndx == 1)
   11458  1.13     skrll 			p = "int";
   11459  1.13     skrll 		break;
   11460   1.1  christos 	/* netbsd32_fsync_range */
   11461   1.1  christos 	case 354:
   11462   1.1  christos 		if (ndx == 0 || ndx == 1)
   11463   1.1  christos 			p = "int";
   11464   1.1  christos 		break;
   11465   1.1  christos 	/* netbsd32_uuidgen */
   11466   1.1  christos 	case 355:
   11467   1.1  christos 		if (ndx == 0 || ndx == 1)
   11468   1.1  christos 			p = "int";
   11469   1.1  christos 		break;
   11470   1.1  christos 	/* netbsd32_getvfsstat */
   11471   1.1  christos 	case 356:
   11472   1.1  christos 		if (ndx == 0 || ndx == 1)
   11473   1.1  christos 			p = "int";
   11474   1.1  christos 		break;
   11475   1.1  christos 	/* netbsd32_statvfs1 */
   11476   1.1  christos 	case 357:
   11477   1.1  christos 		if (ndx == 0 || ndx == 1)
   11478   1.1  christos 			p = "int";
   11479   1.1  christos 		break;
   11480   1.1  christos 	/* netbsd32_fstatvfs1 */
   11481   1.1  christos 	case 358:
   11482   1.1  christos 		if (ndx == 0 || ndx == 1)
   11483   1.1  christos 			p = "int";
   11484   1.1  christos 		break;
   11485   1.1  christos 	/* netbsd32_fhstatvfs1 */
   11486   1.1  christos 	case 359:
   11487   1.1  christos 		if (ndx == 0 || ndx == 1)
   11488   1.1  christos 			p = "int";
   11489   1.1  christos 		break;
   11490   1.1  christos 	/* netbsd32_extattrctl */
   11491   1.1  christos 	case 360:
   11492   1.1  christos 		if (ndx == 0 || ndx == 1)
   11493   1.1  christos 			p = "int";
   11494   1.1  christos 		break;
   11495   1.1  christos 	/* netbsd32_extattr_set_file */
   11496   1.1  christos 	case 361:
   11497   1.1  christos 		if (ndx == 0 || ndx == 1)
   11498   1.1  christos 			p = "int";
   11499   1.1  christos 		break;
   11500   1.1  christos 	/* netbsd32_extattr_get_file */
   11501   1.1  christos 	case 362:
   11502   1.1  christos 		if (ndx == 0 || ndx == 1)
   11503   1.1  christos 			p = "int";
   11504   1.1  christos 		break;
   11505   1.1  christos 	/* netbsd32_extattr_delete_file */
   11506   1.1  christos 	case 363:
   11507   1.1  christos 		if (ndx == 0 || ndx == 1)
   11508   1.1  christos 			p = "int";
   11509   1.1  christos 		break;
   11510   1.1  christos 	/* netbsd32_extattr_set_fd */
   11511   1.1  christos 	case 364:
   11512   1.1  christos 		if (ndx == 0 || ndx == 1)
   11513   1.1  christos 			p = "int";
   11514   1.1  christos 		break;
   11515   1.1  christos 	/* netbsd32_extattr_get_fd */
   11516   1.1  christos 	case 365:
   11517   1.1  christos 		if (ndx == 0 || ndx == 1)
   11518   1.1  christos 			p = "int";
   11519   1.1  christos 		break;
   11520   1.1  christos 	/* netbsd32_extattr_delete_fd */
   11521   1.1  christos 	case 366:
   11522   1.1  christos 		if (ndx == 0 || ndx == 1)
   11523   1.1  christos 			p = "int";
   11524   1.1  christos 		break;
   11525   1.1  christos 	/* netbsd32_extattr_set_link */
   11526   1.1  christos 	case 367:
   11527   1.1  christos 		if (ndx == 0 || ndx == 1)
   11528   1.1  christos 			p = "int";
   11529   1.1  christos 		break;
   11530   1.1  christos 	/* netbsd32_extattr_get_link */
   11531   1.1  christos 	case 368:
   11532   1.1  christos 		if (ndx == 0 || ndx == 1)
   11533   1.1  christos 			p = "int";
   11534   1.1  christos 		break;
   11535   1.1  christos 	/* netbsd32_extattr_delete_link */
   11536   1.1  christos 	case 369:
   11537   1.1  christos 		if (ndx == 0 || ndx == 1)
   11538   1.1  christos 			p = "int";
   11539   1.1  christos 		break;
   11540   1.1  christos 	/* netbsd32_extattr_list_fd */
   11541   1.1  christos 	case 370:
   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_extattr_list_file */
   11546   1.1  christos 	case 371:
   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_extattr_list_link */
   11551   1.1  christos 	case 372:
   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_pselect */
   11556   1.1  christos 	case 373:
   11557   1.1  christos 		if (ndx == 0 || ndx == 1)
   11558   1.1  christos 			p = "int";
   11559   1.1  christos 		break;
   11560   1.1  christos 	/* netbsd32_pollts */
   11561   1.1  christos 	case 374:
   11562   1.1  christos 		if (ndx == 0 || ndx == 1)
   11563   1.1  christos 			p = "int";
   11564   1.1  christos 		break;
   11565   1.1  christos 	/* netbsd32_setxattr */
   11566   1.1  christos 	case 375:
   11567   1.1  christos 		if (ndx == 0 || ndx == 1)
   11568   1.1  christos 			p = "int";
   11569   1.1  christos 		break;
   11570   1.1  christos 	/* netbsd32_lsetxattr */
   11571   1.1  christos 	case 376:
   11572   1.1  christos 		if (ndx == 0 || ndx == 1)
   11573   1.1  christos 			p = "int";
   11574   1.1  christos 		break;
   11575   1.1  christos 	/* netbsd32_fsetxattr */
   11576   1.1  christos 	case 377:
   11577   1.1  christos 		if (ndx == 0 || ndx == 1)
   11578   1.1  christos 			p = "int";
   11579   1.1  christos 		break;
   11580   1.1  christos 	/* netbsd32_getxattr */
   11581   1.1  christos 	case 378:
   11582   1.1  christos 		if (ndx == 0 || ndx == 1)
   11583   1.1  christos 			p = "int";
   11584   1.1  christos 		break;
   11585   1.1  christos 	/* netbsd32_lgetxattr */
   11586   1.1  christos 	case 379:
   11587   1.1  christos 		if (ndx == 0 || ndx == 1)
   11588   1.1  christos 			p = "int";
   11589   1.1  christos 		break;
   11590   1.1  christos 	/* netbsd32_fgetxattr */
   11591   1.1  christos 	case 380:
   11592   1.1  christos 		if (ndx == 0 || ndx == 1)
   11593   1.1  christos 			p = "int";
   11594   1.1  christos 		break;
   11595   1.1  christos 	/* netbsd32_listxattr */
   11596   1.1  christos 	case 381:
   11597   1.1  christos 		if (ndx == 0 || ndx == 1)
   11598   1.1  christos 			p = "int";
   11599   1.1  christos 		break;
   11600   1.1  christos 	/* netbsd32_llistxattr */
   11601   1.1  christos 	case 382:
   11602   1.1  christos 		if (ndx == 0 || ndx == 1)
   11603   1.1  christos 			p = "int";
   11604   1.1  christos 		break;
   11605   1.1  christos 	/* netbsd32_flistxattr */
   11606   1.1  christos 	case 383:
   11607   1.1  christos 		if (ndx == 0 || ndx == 1)
   11608   1.1  christos 			p = "int";
   11609   1.1  christos 		break;
   11610   1.1  christos 	/* netbsd32_removexattr */
   11611   1.1  christos 	case 384:
   11612   1.1  christos 		if (ndx == 0 || ndx == 1)
   11613   1.1  christos 			p = "int";
   11614   1.1  christos 		break;
   11615   1.1  christos 	/* netbsd32_lremovexattr */
   11616   1.1  christos 	case 385:
   11617   1.1  christos 		if (ndx == 0 || ndx == 1)
   11618   1.1  christos 			p = "int";
   11619   1.1  christos 		break;
   11620   1.1  christos 	/* netbsd32_fremovexattr */
   11621   1.1  christos 	case 386:
   11622   1.1  christos 		if (ndx == 0 || ndx == 1)
   11623   1.1  christos 			p = "int";
   11624   1.1  christos 		break;
   11625   1.1  christos 	/* netbsd32___stat30 */
   11626   1.1  christos 	case 387:
   11627   1.1  christos 		if (ndx == 0 || ndx == 1)
   11628   1.1  christos 			p = "int";
   11629   1.1  christos 		break;
   11630   1.1  christos 	/* netbsd32___fstat30 */
   11631   1.1  christos 	case 388:
   11632   1.1  christos 		if (ndx == 0 || ndx == 1)
   11633   1.1  christos 			p = "int";
   11634   1.1  christos 		break;
   11635   1.1  christos 	/* netbsd32___lstat30 */
   11636   1.1  christos 	case 389:
   11637   1.1  christos 		if (ndx == 0 || ndx == 1)
   11638   1.1  christos 			p = "int";
   11639   1.1  christos 		break;
   11640   1.1  christos 	/* netbsd32___getdents30 */
   11641   1.1  christos 	case 390:
   11642   1.1  christos 		if (ndx == 0 || ndx == 1)
   11643   1.1  christos 			p = "int";
   11644   1.1  christos 		break;
   11645   1.1  christos 	/* netbsd32___fhstat30 */
   11646   1.1  christos 	case 392:
   11647   1.1  christos 		if (ndx == 0 || ndx == 1)
   11648   1.1  christos 			p = "int";
   11649   1.1  christos 		break;
   11650   1.1  christos 	/* netbsd32_ntp_gettime */
   11651   1.1  christos 	case 393:
   11652   1.1  christos 		if (ndx == 0 || ndx == 1)
   11653   1.1  christos 			p = "int";
   11654   1.1  christos 		break;
   11655   1.1  christos 	/* netbsd32___socket30 */
   11656   1.1  christos 	case 394:
   11657   1.1  christos 		if (ndx == 0 || ndx == 1)
   11658   1.1  christos 			p = "int";
   11659   1.1  christos 		break;
   11660   1.1  christos 	/* netbsd32___getfh30 */
   11661   1.1  christos 	case 395:
   11662   1.1  christos 		if (ndx == 0 || ndx == 1)
   11663   1.1  christos 			p = "int";
   11664   1.1  christos 		break;
   11665   1.1  christos 	/* netbsd32___fhopen40 */
   11666   1.1  christos 	case 396:
   11667   1.1  christos 		if (ndx == 0 || ndx == 1)
   11668   1.1  christos 			p = "int";
   11669   1.1  christos 		break;
   11670  1.33  christos 	/* netbsd32_fhstatvfs1 */
   11671   1.1  christos 	case 397:
   11672   1.1  christos 		if (ndx == 0 || ndx == 1)
   11673   1.1  christos 			p = "int";
   11674   1.1  christos 		break;
   11675   1.1  christos 	/* netbsd32___fhstat40 */
   11676   1.1  christos 	case 398:
   11677   1.1  christos 		if (ndx == 0 || ndx == 1)
   11678   1.1  christos 			p = "int";
   11679   1.1  christos 		break;
   11680   1.1  christos 	/* netbsd32___mount50 */
   11681   1.1  christos 	case 410:
   11682   1.1  christos 		if (ndx == 0 || ndx == 1)
   11683   1.1  christos 			p = "int";
   11684   1.1  christos 		break;
   11685   1.1  christos 	/* netbsd32_mremap */
   11686   1.1  christos 	case 411:
   11687   1.1  christos 		if (ndx == 0 || ndx == 1)
   11688   1.1  christos 			p = "netbsd32_voidp";
   11689   1.1  christos 		break;
   11690   1.5    martin 	/* netbsd32_pset_create */
   11691   1.5    martin 	case 412:
   11692   1.5    martin 		if (ndx == 0 || ndx == 1)
   11693   1.5    martin 			p = "int";
   11694   1.5    martin 		break;
   11695   1.5    martin 	/* netbsd32_pset_destroy */
   11696   1.5    martin 	case 413:
   11697   1.5    martin 		if (ndx == 0 || ndx == 1)
   11698   1.5    martin 			p = "int";
   11699   1.5    martin 		break;
   11700   1.5    martin 	/* netbsd32_pset_assign */
   11701   1.5    martin 	case 414:
   11702   1.5    martin 		if (ndx == 0 || ndx == 1)
   11703   1.5    martin 			p = "int";
   11704   1.5    martin 		break;
   11705   1.5    martin 	/* netbsd32__pset_bind */
   11706   1.5    martin 	case 415:
   11707   1.5    martin 		if (ndx == 0 || ndx == 1)
   11708   1.5    martin 			p = "int";
   11709   1.5    martin 		break;
   11710   1.1  christos 	/* netbsd32___posix_fadvise50 */
   11711   1.1  christos 	case 416:
   11712   1.1  christos 		if (ndx == 0 || ndx == 1)
   11713   1.1  christos 			p = "int";
   11714   1.1  christos 		break;
   11715   1.1  christos 	/* netbsd32___select50 */
   11716   1.1  christos 	case 417:
   11717   1.1  christos 		if (ndx == 0 || ndx == 1)
   11718   1.1  christos 			p = "int";
   11719   1.1  christos 		break;
   11720   1.1  christos 	/* netbsd32___gettimeofday50 */
   11721   1.1  christos 	case 418:
   11722   1.1  christos 		if (ndx == 0 || ndx == 1)
   11723   1.1  christos 			p = "int";
   11724   1.1  christos 		break;
   11725   1.1  christos 	/* netbsd32___settimeofday50 */
   11726   1.1  christos 	case 419:
   11727   1.1  christos 		if (ndx == 0 || ndx == 1)
   11728   1.1  christos 			p = "int";
   11729   1.1  christos 		break;
   11730   1.1  christos 	/* netbsd32___utimes50 */
   11731   1.1  christos 	case 420:
   11732   1.1  christos 		if (ndx == 0 || ndx == 1)
   11733   1.1  christos 			p = "int";
   11734   1.1  christos 		break;
   11735   1.1  christos 	/* netbsd32___adjtime50 */
   11736   1.1  christos 	case 421:
   11737   1.1  christos 		if (ndx == 0 || ndx == 1)
   11738   1.1  christos 			p = "int";
   11739   1.1  christos 		break;
   11740   1.1  christos 	/* netbsd32___futimes50 */
   11741   1.1  christos 	case 423:
   11742   1.1  christos 		if (ndx == 0 || ndx == 1)
   11743   1.1  christos 			p = "int";
   11744   1.1  christos 		break;
   11745   1.1  christos 	/* netbsd32___lutimes50 */
   11746   1.1  christos 	case 424:
   11747   1.1  christos 		if (ndx == 0 || ndx == 1)
   11748   1.1  christos 			p = "int";
   11749   1.1  christos 		break;
   11750   1.1  christos 	/* netbsd32___setitimer50 */
   11751   1.1  christos 	case 425:
   11752   1.1  christos 		if (ndx == 0 || ndx == 1)
   11753   1.1  christos 			p = "int";
   11754   1.1  christos 		break;
   11755   1.1  christos 	/* netbsd32___getitimer50 */
   11756   1.1  christos 	case 426:
   11757   1.1  christos 		if (ndx == 0 || ndx == 1)
   11758   1.1  christos 			p = "int";
   11759   1.1  christos 		break;
   11760   1.1  christos 	/* netbsd32___clock_gettime50 */
   11761   1.1  christos 	case 427:
   11762   1.1  christos 		if (ndx == 0 || ndx == 1)
   11763   1.1  christos 			p = "int";
   11764   1.1  christos 		break;
   11765   1.1  christos 	/* netbsd32___clock_settime50 */
   11766   1.1  christos 	case 428:
   11767   1.1  christos 		if (ndx == 0 || ndx == 1)
   11768   1.1  christos 			p = "int";
   11769   1.1  christos 		break;
   11770   1.1  christos 	/* netbsd32___clock_getres50 */
   11771   1.1  christos 	case 429:
   11772   1.1  christos 		if (ndx == 0 || ndx == 1)
   11773   1.1  christos 			p = "int";
   11774   1.1  christos 		break;
   11775   1.1  christos 	/* netbsd32___nanosleep50 */
   11776   1.1  christos 	case 430:
   11777   1.1  christos 		if (ndx == 0 || ndx == 1)
   11778   1.1  christos 			p = "int";
   11779   1.1  christos 		break;
   11780   1.1  christos 	/* netbsd32_____sigtimedwait50 */
   11781   1.1  christos 	case 431:
   11782   1.1  christos 		if (ndx == 0 || ndx == 1)
   11783   1.1  christos 			p = "int";
   11784   1.1  christos 		break;
   11785   1.4    martin 	/* netbsd32___mq_timedsend50 */
   11786   1.4    martin 	case 432:
   11787   1.4    martin 		if (ndx == 0 || ndx == 1)
   11788   1.4    martin 			p = "int";
   11789   1.4    martin 		break;
   11790   1.4    martin 	/* netbsd32___mq_timedreceive50 */
   11791   1.4    martin 	case 433:
   11792   1.4    martin 		if (ndx == 0 || ndx == 1)
   11793   1.4    martin 			p = "netbsd32_ssize_t";
   11794   1.4    martin 		break;
   11795   1.1  christos 	/* netbsd32__lwp_park */
   11796   1.1  christos 	case 434:
   11797   1.1  christos 		if (ndx == 0 || ndx == 1)
   11798   1.1  christos 			p = "int";
   11799   1.1  christos 		break;
   11800   1.1  christos 	/* netbsd32___kevent50 */
   11801   1.1  christos 	case 435:
   11802   1.1  christos 		if (ndx == 0 || ndx == 1)
   11803   1.1  christos 			p = "int";
   11804   1.1  christos 		break;
   11805   1.1  christos 	/* netbsd32___pselect50 */
   11806   1.1  christos 	case 436:
   11807   1.1  christos 		if (ndx == 0 || ndx == 1)
   11808   1.1  christos 			p = "int";
   11809   1.1  christos 		break;
   11810   1.1  christos 	/* netbsd32___pollts50 */
   11811   1.1  christos 	case 437:
   11812   1.1  christos 		if (ndx == 0 || ndx == 1)
   11813   1.1  christos 			p = "int";
   11814   1.1  christos 		break;
   11815   1.1  christos 	/* netbsd32___stat50 */
   11816   1.1  christos 	case 439:
   11817   1.1  christos 		if (ndx == 0 || ndx == 1)
   11818   1.1  christos 			p = "int";
   11819   1.1  christos 		break;
   11820   1.1  christos 	/* netbsd32___fstat50 */
   11821   1.1  christos 	case 440:
   11822   1.1  christos 		if (ndx == 0 || ndx == 1)
   11823   1.1  christos 			p = "int";
   11824   1.1  christos 		break;
   11825   1.1  christos 	/* netbsd32___lstat50 */
   11826   1.1  christos 	case 441:
   11827   1.1  christos 		if (ndx == 0 || ndx == 1)
   11828   1.1  christos 			p = "int";
   11829   1.1  christos 		break;
   11830   1.1  christos 	/* netbsd32_____semctl50 */
   11831   1.1  christos 	case 442:
   11832   1.1  christos 		if (ndx == 0 || ndx == 1)
   11833   1.1  christos 			p = "int";
   11834   1.1  christos 		break;
   11835   1.1  christos 	/* netbsd32___shmctl50 */
   11836   1.1  christos 	case 443:
   11837   1.1  christos 		if (ndx == 0 || ndx == 1)
   11838   1.1  christos 			p = "int";
   11839   1.1  christos 		break;
   11840   1.1  christos 	/* netbsd32___msgctl50 */
   11841   1.1  christos 	case 444:
   11842   1.1  christos 		if (ndx == 0 || ndx == 1)
   11843   1.1  christos 			p = "int";
   11844   1.1  christos 		break;
   11845   1.1  christos 	/* netbsd32___getrusage50 */
   11846   1.1  christos 	case 445:
   11847   1.1  christos 		if (ndx == 0 || ndx == 1)
   11848   1.1  christos 			p = "int";
   11849   1.1  christos 		break;
   11850   1.1  christos 	/* netbsd32___timer_settime50 */
   11851   1.1  christos 	case 446:
   11852   1.1  christos 		if (ndx == 0 || ndx == 1)
   11853   1.1  christos 			p = "int";
   11854   1.1  christos 		break;
   11855   1.1  christos 	/* netbsd32___timer_gettime50 */
   11856   1.1  christos 	case 447:
   11857   1.1  christos 		if (ndx == 0 || ndx == 1)
   11858   1.1  christos 			p = "int";
   11859   1.1  christos 		break;
   11860   1.1  christos #if defined(NTP) || !defined(_KERNEL_OPT)
   11861   1.1  christos 	/* netbsd32___ntp_gettime50 */
   11862   1.1  christos 	case 448:
   11863   1.1  christos 		if (ndx == 0 || ndx == 1)
   11864   1.1  christos 			p = "int";
   11865   1.1  christos 		break;
   11866   1.1  christos #else
   11867   1.1  christos #endif
   11868   1.1  christos 	/* netbsd32___wait450 */
   11869   1.1  christos 	case 449:
   11870   1.1  christos 		if (ndx == 0 || ndx == 1)
   11871   1.1  christos 			p = "int";
   11872   1.1  christos 		break;
   11873   1.1  christos 	/* netbsd32___mknod50 */
   11874   1.1  christos 	case 450:
   11875   1.1  christos 		if (ndx == 0 || ndx == 1)
   11876   1.1  christos 			p = "int";
   11877   1.1  christos 		break;
   11878   1.1  christos 	/* netbsd32___fhstat50 */
   11879   1.1  christos 	case 451:
   11880   1.1  christos 		if (ndx == 0 || ndx == 1)
   11881   1.1  christos 			p = "int";
   11882   1.1  christos 		break;
   11883   1.1  christos 	/* netbsd32_pipe2 */
   11884   1.1  christos 	case 453:
   11885   1.1  christos 		if (ndx == 0 || ndx == 1)
   11886   1.1  christos 			p = "int";
   11887   1.1  christos 		break;
   11888   1.1  christos 	/* netbsd32_dup3 */
   11889   1.1  christos 	case 454:
   11890   1.1  christos 		if (ndx == 0 || ndx == 1)
   11891   1.1  christos 			p = "int";
   11892   1.1  christos 		break;
   11893   1.1  christos 	/* netbsd32_kqueue1 */
   11894   1.1  christos 	case 455:
   11895   1.1  christos 		if (ndx == 0 || ndx == 1)
   11896   1.1  christos 			p = "int";
   11897   1.1  christos 		break;
   11898   1.1  christos 	/* netbsd32_paccept */
   11899   1.1  christos 	case 456:
   11900   1.1  christos 		if (ndx == 0 || ndx == 1)
   11901   1.1  christos 			p = "int";
   11902   1.1  christos 		break;
   11903   1.1  christos 	/* netbsd32_linkat */
   11904   1.1  christos 	case 457:
   11905   1.1  christos 		if (ndx == 0 || ndx == 1)
   11906   1.1  christos 			p = "int";
   11907   1.1  christos 		break;
   11908   1.1  christos 	/* netbsd32_renameat */
   11909   1.1  christos 	case 458:
   11910   1.1  christos 		if (ndx == 0 || ndx == 1)
   11911   1.1  christos 			p = "int";
   11912   1.1  christos 		break;
   11913   1.1  christos 	/* netbsd32_mkfifoat */
   11914   1.1  christos 	case 459:
   11915   1.1  christos 		if (ndx == 0 || ndx == 1)
   11916   1.1  christos 			p = "int";
   11917   1.1  christos 		break;
   11918   1.1  christos 	/* netbsd32_mknodat */
   11919   1.1  christos 	case 460:
   11920   1.1  christos 		if (ndx == 0 || ndx == 1)
   11921   1.1  christos 			p = "int";
   11922   1.1  christos 		break;
   11923   1.1  christos 	/* netbsd32_mkdirat */
   11924   1.1  christos 	case 461:
   11925   1.1  christos 		if (ndx == 0 || ndx == 1)
   11926   1.1  christos 			p = "int";
   11927   1.1  christos 		break;
   11928   1.1  christos 	/* netbsd32_faccessat */
   11929   1.1  christos 	case 462:
   11930   1.1  christos 		if (ndx == 0 || ndx == 1)
   11931   1.1  christos 			p = "int";
   11932   1.1  christos 		break;
   11933   1.1  christos 	/* netbsd32_fchmodat */
   11934   1.1  christos 	case 463:
   11935   1.1  christos 		if (ndx == 0 || ndx == 1)
   11936   1.1  christos 			p = "int";
   11937   1.1  christos 		break;
   11938   1.1  christos 	/* netbsd32_fchownat */
   11939   1.1  christos 	case 464:
   11940   1.1  christos 		if (ndx == 0 || ndx == 1)
   11941   1.1  christos 			p = "int";
   11942   1.1  christos 		break;
   11943   1.1  christos 	/* netbsd32_fexecve */
   11944   1.1  christos 	case 465:
   11945   1.1  christos 		if (ndx == 0 || ndx == 1)
   11946   1.1  christos 			p = "int";
   11947   1.1  christos 		break;
   11948   1.1  christos 	/* netbsd32_fstatat */
   11949   1.1  christos 	case 466:
   11950   1.1  christos 		if (ndx == 0 || ndx == 1)
   11951   1.1  christos 			p = "int";
   11952   1.1  christos 		break;
   11953   1.1  christos 	/* netbsd32_utimensat */
   11954   1.1  christos 	case 467:
   11955   1.1  christos 		if (ndx == 0 || ndx == 1)
   11956   1.1  christos 			p = "int";
   11957   1.1  christos 		break;
   11958   1.1  christos 	/* netbsd32_openat */
   11959   1.1  christos 	case 468:
   11960   1.1  christos 		if (ndx == 0 || ndx == 1)
   11961   1.1  christos 			p = "int";
   11962   1.1  christos 		break;
   11963   1.1  christos 	/* netbsd32_readlinkat */
   11964   1.1  christos 	case 469:
   11965   1.1  christos 		if (ndx == 0 || ndx == 1)
   11966   1.1  christos 			p = "netbsd32_ssize_t";
   11967   1.1  christos 		break;
   11968   1.1  christos 	/* netbsd32_symlinkat */
   11969   1.1  christos 	case 470:
   11970   1.1  christos 		if (ndx == 0 || ndx == 1)
   11971   1.1  christos 			p = "int";
   11972   1.1  christos 		break;
   11973   1.1  christos 	/* netbsd32_unlinkat */
   11974   1.1  christos 	case 471:
   11975   1.1  christos 		if (ndx == 0 || ndx == 1)
   11976   1.1  christos 			p = "int";
   11977   1.1  christos 		break;
   11978   1.1  christos 	/* netbsd32_futimens */
   11979   1.1  christos 	case 472:
   11980   1.1  christos 		if (ndx == 0 || ndx == 1)
   11981   1.1  christos 			p = "int";
   11982   1.1  christos 		break;
   11983   1.1  christos 	/* netbsd32___quotactl */
   11984   1.1  christos 	case 473:
   11985   1.1  christos 		if (ndx == 0 || ndx == 1)
   11986   1.1  christos 			p = "int";
   11987   1.1  christos 		break;
   11988   1.1  christos 	/* netbsd32_posix_spawn */
   11989   1.1  christos 	case 474:
   11990   1.1  christos 		if (ndx == 0 || ndx == 1)
   11991   1.1  christos 			p = "int";
   11992   1.1  christos 		break;
   11993  1.25  christos 	/* netbsd32_recvmmsg */
   11994  1.25  christos 	case 475:
   11995  1.25  christos 		if (ndx == 0 || ndx == 1)
   11996  1.25  christos 			p = "int";
   11997  1.25  christos 		break;
   11998  1.25  christos 	/* netbsd32_sendmmsg */
   11999  1.25  christos 	case 476:
   12000  1.25  christos 		if (ndx == 0 || ndx == 1)
   12001  1.25  christos 			p = "int";
   12002  1.25  christos 		break;
   12003   1.1  christos 	/* netbsd32_clock_nanosleep */
   12004   1.1  christos 	case 477:
   12005   1.1  christos 		if (ndx == 0 || ndx == 1)
   12006   1.1  christos 			p = "int";
   12007   1.1  christos 		break;
   12008   1.1  christos 	/* netbsd32____lwp_park60 */
   12009   1.1  christos 	case 478:
   12010   1.1  christos 		if (ndx == 0 || ndx == 1)
   12011   1.1  christos 			p = "int";
   12012   1.1  christos 		break;
   12013   1.2    martin 	/* netbsd32_posix_fallocate */
   12014   1.2    martin 	case 479:
   12015   1.2    martin 		if (ndx == 0 || ndx == 1)
   12016   1.2    martin 			p = "int";
   12017   1.2    martin 		break;
   12018   1.2    martin 	/* netbsd32_fdiscard */
   12019   1.2    martin 	case 480:
   12020   1.2    martin 		if (ndx == 0 || ndx == 1)
   12021   1.2    martin 			p = "int";
   12022   1.2    martin 		break;
   12023  1.14     skrll 	/* netbsd32_wait6 */
   12024  1.14     skrll 	case 481:
   12025  1.14     skrll 		if (ndx == 0 || ndx == 1)
   12026  1.14     skrll 			p = "int";
   12027  1.14     skrll 		break;
   12028  1.14     skrll 	/* netbsd32_clock_getcpuclockid2 */
   12029  1.14     skrll 	case 482:
   12030  1.14     skrll 		if (ndx == 0 || ndx == 1)
   12031  1.14     skrll 			p = "int";
   12032  1.14     skrll 		break;
   12033  1.33  christos 	/* netbsd32___getvfsstat90 */
   12034  1.33  christos 	case 483:
   12035  1.33  christos 		if (ndx == 0 || ndx == 1)
   12036  1.33  christos 			p = "int";
   12037  1.33  christos 		break;
   12038  1.33  christos 	/* netbsd32___statvfs190 */
   12039  1.33  christos 	case 484:
   12040  1.33  christos 		if (ndx == 0 || ndx == 1)
   12041  1.33  christos 			p = "int";
   12042  1.33  christos 		break;
   12043  1.33  christos 	/* netbsd32___fstatvfs190 */
   12044  1.33  christos 	case 485:
   12045  1.33  christos 		if (ndx == 0 || ndx == 1)
   12046  1.33  christos 			p = "int";
   12047  1.33  christos 		break;
   12048  1.33  christos 	/* netbsd32___fhstatvfs190 */
   12049  1.33  christos 	case 486:
   12050  1.33  christos 		if (ndx == 0 || ndx == 1)
   12051  1.33  christos 			p = "int";
   12052  1.33  christos 		break;
   12053  1.44  christos 	/* netbsd32___acl_get_link */
   12054  1.44  christos 	case 487:
   12055  1.44  christos 		if (ndx == 0 || ndx == 1)
   12056  1.44  christos 			p = "int";
   12057  1.44  christos 		break;
   12058  1.44  christos 	/* netbsd32___acl_set_link */
   12059  1.44  christos 	case 488:
   12060  1.44  christos 		if (ndx == 0 || ndx == 1)
   12061  1.44  christos 			p = "int";
   12062  1.44  christos 		break;
   12063  1.44  christos 	/* netbsd32___acl_delete_link */
   12064  1.44  christos 	case 489:
   12065  1.44  christos 		if (ndx == 0 || ndx == 1)
   12066  1.44  christos 			p = "int";
   12067  1.44  christos 		break;
   12068  1.44  christos 	/* netbsd32___acl_aclcheck_link */
   12069  1.44  christos 	case 490:
   12070  1.44  christos 		if (ndx == 0 || ndx == 1)
   12071  1.44  christos 			p = "int";
   12072  1.44  christos 		break;
   12073  1.44  christos 	/* netbsd32___acl_get_file */
   12074  1.44  christos 	case 491:
   12075  1.44  christos 		if (ndx == 0 || ndx == 1)
   12076  1.44  christos 			p = "int";
   12077  1.44  christos 		break;
   12078  1.44  christos 	/* netbsd32___acl_set_file */
   12079  1.44  christos 	case 492:
   12080  1.44  christos 		if (ndx == 0 || ndx == 1)
   12081  1.44  christos 			p = "int";
   12082  1.44  christos 		break;
   12083  1.44  christos 	/* netbsd32___acl_get_fd */
   12084  1.44  christos 	case 493:
   12085  1.44  christos 		if (ndx == 0 || ndx == 1)
   12086  1.44  christos 			p = "int";
   12087  1.44  christos 		break;
   12088  1.44  christos 	/* netbsd32___acl_set_fd */
   12089  1.44  christos 	case 494:
   12090  1.44  christos 		if (ndx == 0 || ndx == 1)
   12091  1.44  christos 			p = "int";
   12092  1.44  christos 		break;
   12093  1.44  christos 	/* netbsd32___acl_delete_file */
   12094  1.44  christos 	case 495:
   12095  1.44  christos 		if (ndx == 0 || ndx == 1)
   12096  1.44  christos 			p = "int";
   12097  1.44  christos 		break;
   12098  1.44  christos 	/* netbsd32___acl_delete_fd */
   12099  1.44  christos 	case 496:
   12100  1.44  christos 		if (ndx == 0 || ndx == 1)
   12101  1.44  christos 			p = "int";
   12102  1.44  christos 		break;
   12103  1.44  christos 	/* netbsd32___acl_aclcheck_file */
   12104  1.44  christos 	case 497:
   12105  1.44  christos 		if (ndx == 0 || ndx == 1)
   12106  1.44  christos 			p = "int";
   12107  1.44  christos 		break;
   12108  1.44  christos 	/* netbsd32___acl_aclcheck_fd */
   12109  1.44  christos 	case 498:
   12110  1.44  christos 		if (ndx == 0 || ndx == 1)
   12111  1.44  christos 			p = "int";
   12112  1.44  christos 		break;
   12113  1.44  christos 	/* netbsd32_lpathconf */
   12114  1.44  christos 	case 499:
   12115  1.44  christos 		if (ndx == 0 || ndx == 1)
   12116  1.44  christos 			p = "long";
   12117  1.44  christos 		break;
   12118   1.1  christos 	default:
   12119   1.1  christos 		break;
   12120   1.1  christos 	};
   12121   1.1  christos 	if (p != NULL)
   12122   1.1  christos 		strlcpy(desc, p, descsz);
   12123   1.1  christos }
   12124