Home | History | Annotate | Line # | Download | only in netbsd32
netbsd32_systrace_args.c revision 1.45.4.1
      1  1.45.4.1   thorpej /* $NetBSD: netbsd32_systrace_args.c,v 1.45.4.1 2021/04/17 17:26:17 thorpej Exp $ */
      2       1.1  christos 
      3       1.1  christos /*
      4  1.45.4.1   thorpej  * 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.45.4.1   thorpej 		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.1  christos 	/* netbsd32_setgid */
   1301       1.1  christos 	case 181: {
   1302      1.17  christos 		const struct netbsd32_setgid_args *p = params;
   1303       1.1  christos 		iarg[0] = SCARG(p, gid); /* gid_t */
   1304       1.1  christos 		*n_args = 1;
   1305       1.1  christos 		break;
   1306       1.1  christos 	}
   1307       1.1  christos 	/* netbsd32_setegid */
   1308       1.1  christos 	case 182: {
   1309      1.17  christos 		const struct netbsd32_setegid_args *p = params;
   1310       1.1  christos 		iarg[0] = SCARG(p, egid); /* gid_t */
   1311       1.1  christos 		*n_args = 1;
   1312       1.1  christos 		break;
   1313       1.1  christos 	}
   1314       1.1  christos 	/* netbsd32_seteuid */
   1315       1.1  christos 	case 183: {
   1316      1.17  christos 		const struct netbsd32_seteuid_args *p = params;
   1317       1.1  christos 		uarg[0] = SCARG(p, euid); /* uid_t */
   1318       1.1  christos 		*n_args = 1;
   1319       1.1  christos 		break;
   1320       1.1  christos 	}
   1321       1.1  christos 	/* netbsd32_stat12 */
   1322       1.1  christos 	case 188: {
   1323      1.17  christos 		const struct compat_12_netbsd32_stat12_args *p = params;
   1324       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   1325       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, ub).i32; /* netbsd32_stat12p_t */
   1326       1.1  christos 		*n_args = 2;
   1327       1.1  christos 		break;
   1328       1.1  christos 	}
   1329       1.1  christos 	/* netbsd32_fstat12 */
   1330       1.1  christos 	case 189: {
   1331      1.17  christos 		const struct compat_12_netbsd32_fstat12_args *p = params;
   1332       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   1333       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, sb).i32; /* netbsd32_stat12p_t */
   1334       1.1  christos 		*n_args = 2;
   1335       1.1  christos 		break;
   1336       1.1  christos 	}
   1337       1.1  christos 	/* netbsd32_lstat12 */
   1338       1.1  christos 	case 190: {
   1339      1.17  christos 		const struct compat_12_netbsd32_lstat12_args *p = params;
   1340       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   1341       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, ub).i32; /* netbsd32_stat12p_t */
   1342       1.1  christos 		*n_args = 2;
   1343       1.1  christos 		break;
   1344       1.1  christos 	}
   1345       1.1  christos 	/* netbsd32_pathconf */
   1346       1.1  christos 	case 191: {
   1347      1.17  christos 		const struct netbsd32_pathconf_args *p = params;
   1348       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   1349       1.1  christos 		iarg[1] = SCARG(p, name); /* int */
   1350       1.1  christos 		*n_args = 2;
   1351       1.1  christos 		break;
   1352       1.1  christos 	}
   1353       1.1  christos 	/* netbsd32_fpathconf */
   1354       1.1  christos 	case 192: {
   1355      1.17  christos 		const struct netbsd32_fpathconf_args *p = params;
   1356       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   1357       1.1  christos 		iarg[1] = SCARG(p, name); /* int */
   1358       1.1  christos 		*n_args = 2;
   1359       1.1  christos 		break;
   1360       1.1  christos 	}
   1361      1.26       rjs 	/* netbsd32_getsockopt2 */
   1362      1.26       rjs 	case 193: {
   1363      1.26       rjs 		const struct netbsd32_getsockopt2_args *p = params;
   1364      1.26       rjs 		iarg[0] = SCARG(p, s); /* int */
   1365      1.26       rjs 		iarg[1] = SCARG(p, level); /* int */
   1366      1.26       rjs 		iarg[2] = SCARG(p, name); /* int */
   1367      1.26       rjs 		uarg[3] = (intptr_t) SCARG(p, val).i32; /* netbsd32_voidp */
   1368      1.26       rjs 		uarg[4] = (intptr_t) SCARG(p, avalsize).i32; /* netbsd32_intp */
   1369      1.26       rjs 		*n_args = 5;
   1370      1.26       rjs 		break;
   1371      1.26       rjs 	}
   1372       1.1  christos 	/* netbsd32_getrlimit */
   1373       1.1  christos 	case 194: {
   1374      1.17  christos 		const struct netbsd32_getrlimit_args *p = params;
   1375       1.1  christos 		iarg[0] = SCARG(p, which); /* int */
   1376       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, rlp).i32; /* netbsd32_rlimitp_t */
   1377       1.1  christos 		*n_args = 2;
   1378       1.1  christos 		break;
   1379       1.1  christos 	}
   1380       1.1  christos 	/* netbsd32_setrlimit */
   1381       1.1  christos 	case 195: {
   1382      1.17  christos 		const struct netbsd32_setrlimit_args *p = params;
   1383       1.1  christos 		iarg[0] = SCARG(p, which); /* int */
   1384       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, rlp).i32; /* netbsd32_rlimitp_t */
   1385       1.1  christos 		*n_args = 2;
   1386       1.1  christos 		break;
   1387       1.1  christos 	}
   1388       1.1  christos 	/* netbsd32_getdirentries */
   1389       1.1  christos 	case 196: {
   1390      1.17  christos 		const struct compat_12_netbsd32_getdirentries_args *p = params;
   1391       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   1392       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_charp */
   1393       1.1  christos 		uarg[2] = SCARG(p, count); /* u_int */
   1394       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, basep).i32; /* netbsd32_longp */
   1395       1.1  christos 		*n_args = 4;
   1396       1.1  christos 		break;
   1397       1.1  christos 	}
   1398       1.1  christos 	/* netbsd32_mmap */
   1399       1.1  christos 	case 197: {
   1400      1.17  christos 		const struct netbsd32_mmap_args *p = params;
   1401       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, addr).i32; /* netbsd32_voidp */
   1402       1.1  christos 		iarg[1] = SCARG(p, len); /* netbsd32_size_t */
   1403       1.1  christos 		iarg[2] = SCARG(p, prot); /* int */
   1404       1.1  christos 		iarg[3] = SCARG(p, flags); /* int */
   1405       1.1  christos 		iarg[4] = SCARG(p, fd); /* int */
   1406       1.1  christos 		iarg[5] = SCARG(p, PAD); /* netbsd32_long */
   1407       1.1  christos 		iarg[6] = SCARG(p, pos); /* netbsd32_off_t */
   1408       1.1  christos 		*n_args = 7;
   1409       1.1  christos 		break;
   1410       1.1  christos 	}
   1411       1.1  christos 	/* netbsd32____syscall */
   1412       1.1  christos 	case 198: {
   1413      1.17  christos 		const struct netbsd32____syscall_args *p = params;
   1414       1.1  christos 		iarg[0] = SCARG(p, code); /* quad_t */
   1415  1.45.4.1   thorpej 		iarg[1] = SCARG(p, args[0]); /* register32_t */
   1416       1.1  christos 		*n_args = 2;
   1417       1.1  christos 		break;
   1418       1.1  christos 	}
   1419       1.1  christos 	/* netbsd32_lseek */
   1420       1.1  christos 	case 199: {
   1421      1.17  christos 		const struct netbsd32_lseek_args *p = params;
   1422       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   1423       1.1  christos 		iarg[1] = SCARG(p, PAD); /* int */
   1424       1.1  christos 		iarg[2] = SCARG(p, offset); /* netbsd32_off_t */
   1425       1.1  christos 		iarg[3] = SCARG(p, whence); /* int */
   1426       1.1  christos 		*n_args = 4;
   1427       1.1  christos 		break;
   1428       1.1  christos 	}
   1429       1.1  christos 	/* netbsd32_truncate */
   1430       1.1  christos 	case 200: {
   1431      1.17  christos 		const struct netbsd32_truncate_args *p = params;
   1432       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   1433       1.1  christos 		iarg[1] = SCARG(p, PAD); /* int */
   1434       1.1  christos 		iarg[2] = SCARG(p, length); /* netbsd32_off_t */
   1435       1.1  christos 		*n_args = 3;
   1436       1.1  christos 		break;
   1437       1.1  christos 	}
   1438       1.1  christos 	/* netbsd32_ftruncate */
   1439       1.1  christos 	case 201: {
   1440      1.17  christos 		const struct netbsd32_ftruncate_args *p = params;
   1441       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   1442       1.1  christos 		iarg[1] = SCARG(p, PAD); /* int */
   1443       1.1  christos 		iarg[2] = SCARG(p, length); /* netbsd32_off_t */
   1444       1.1  christos 		*n_args = 3;
   1445       1.1  christos 		break;
   1446       1.1  christos 	}
   1447       1.1  christos 	/* netbsd32___sysctl */
   1448       1.1  christos 	case 202: {
   1449      1.17  christos 		const struct netbsd32___sysctl_args *p = params;
   1450       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, name).i32; /* netbsd32_intp */
   1451       1.1  christos 		uarg[1] = SCARG(p, namelen); /* u_int */
   1452       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, oldv).i32; /* netbsd32_voidp */
   1453       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, oldlenp).i32; /* netbsd32_size_tp */
   1454       1.1  christos 		uarg[4] = (intptr_t) SCARG(p, newv).i32; /* netbsd32_voidp */
   1455       1.1  christos 		iarg[5] = SCARG(p, newlen); /* netbsd32_size_t */
   1456       1.1  christos 		*n_args = 6;
   1457       1.1  christos 		break;
   1458       1.1  christos 	}
   1459       1.1  christos 	/* netbsd32_mlock */
   1460       1.1  christos 	case 203: {
   1461      1.17  christos 		const struct netbsd32_mlock_args *p = params;
   1462       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, addr).i32; /* netbsd32_voidp */
   1463       1.1  christos 		iarg[1] = SCARG(p, len); /* netbsd32_size_t */
   1464       1.1  christos 		*n_args = 2;
   1465       1.1  christos 		break;
   1466       1.1  christos 	}
   1467       1.1  christos 	/* netbsd32_munlock */
   1468       1.1  christos 	case 204: {
   1469      1.17  christos 		const struct netbsd32_munlock_args *p = params;
   1470       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, addr).i32; /* netbsd32_voidp */
   1471       1.1  christos 		iarg[1] = SCARG(p, len); /* netbsd32_size_t */
   1472       1.1  christos 		*n_args = 2;
   1473       1.1  christos 		break;
   1474       1.1  christos 	}
   1475       1.1  christos 	/* netbsd32_undelete */
   1476       1.1  christos 	case 205: {
   1477      1.17  christos 		const struct netbsd32_undelete_args *p = params;
   1478       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   1479       1.1  christos 		*n_args = 1;
   1480       1.1  christos 		break;
   1481       1.1  christos 	}
   1482       1.1  christos 	/* netbsd32_futimes */
   1483       1.1  christos 	case 206: {
   1484      1.17  christos 		const struct compat_50_netbsd32_futimes_args *p = params;
   1485       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   1486       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tptr).i32; /* netbsd32_timeval50p_t */
   1487       1.1  christos 		*n_args = 2;
   1488       1.1  christos 		break;
   1489       1.1  christos 	}
   1490       1.1  christos 	/* netbsd32_getpgid */
   1491       1.1  christos 	case 207: {
   1492      1.17  christos 		const struct netbsd32_getpgid_args *p = params;
   1493       1.1  christos 		iarg[0] = SCARG(p, pid); /* pid_t */
   1494       1.1  christos 		*n_args = 1;
   1495       1.1  christos 		break;
   1496       1.1  christos 	}
   1497       1.1  christos 	/* netbsd32_reboot */
   1498       1.1  christos 	case 208: {
   1499      1.17  christos 		const struct netbsd32_reboot_args *p = params;
   1500       1.1  christos 		iarg[0] = SCARG(p, opt); /* int */
   1501       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, bootstr).i32; /* netbsd32_charp */
   1502       1.1  christos 		*n_args = 2;
   1503       1.1  christos 		break;
   1504       1.1  christos 	}
   1505       1.1  christos 	/* netbsd32_poll */
   1506       1.1  christos 	case 209: {
   1507      1.17  christos 		const struct netbsd32_poll_args *p = params;
   1508       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, fds).i32; /* netbsd32_pollfdp_t */
   1509       1.1  christos 		uarg[1] = SCARG(p, nfds); /* u_int */
   1510       1.1  christos 		iarg[2] = SCARG(p, timeout); /* int */
   1511       1.1  christos 		*n_args = 3;
   1512       1.1  christos 		break;
   1513       1.1  christos 	}
   1514       1.1  christos 	/* netbsd32___semctl */
   1515       1.1  christos 	case 220: {
   1516      1.17  christos 		const struct compat_14_netbsd32___semctl_args *p = params;
   1517       1.1  christos 		iarg[0] = SCARG(p, semid); /* int */
   1518       1.1  christos 		iarg[1] = SCARG(p, semnum); /* int */
   1519       1.1  christos 		iarg[2] = SCARG(p, cmd); /* int */
   1520       1.1  christos 		iarg[3] = SCARG(p, arg); /* netbsd32_semunu_t */
   1521       1.1  christos 		*n_args = 4;
   1522       1.1  christos 		break;
   1523       1.1  christos 	}
   1524       1.1  christos 	/* netbsd32_semget */
   1525       1.1  christos 	case 221: {
   1526      1.17  christos 		const struct netbsd32_semget_args *p = params;
   1527       1.1  christos 		iarg[0] = SCARG(p, key); /* netbsd32_key_t */
   1528       1.1  christos 		iarg[1] = SCARG(p, nsems); /* int */
   1529       1.1  christos 		iarg[2] = SCARG(p, semflg); /* int */
   1530       1.1  christos 		*n_args = 3;
   1531       1.1  christos 		break;
   1532       1.1  christos 	}
   1533       1.1  christos 	/* netbsd32_semop */
   1534       1.1  christos 	case 222: {
   1535      1.17  christos 		const struct netbsd32_semop_args *p = params;
   1536       1.1  christos 		iarg[0] = SCARG(p, semid); /* int */
   1537       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, sops).i32; /* netbsd32_sembufp_t */
   1538       1.1  christos 		iarg[2] = SCARG(p, nsops); /* netbsd32_size_t */
   1539       1.1  christos 		*n_args = 3;
   1540       1.1  christos 		break;
   1541       1.1  christos 	}
   1542       1.1  christos 	/* netbsd32_semconfig */
   1543       1.1  christos 	case 223: {
   1544      1.17  christos 		const struct netbsd32_semconfig_args *p = params;
   1545       1.1  christos 		iarg[0] = SCARG(p, flag); /* int */
   1546       1.1  christos 		*n_args = 1;
   1547       1.1  christos 		break;
   1548       1.1  christos 	}
   1549       1.1  christos 	/* netbsd32_msgctl */
   1550       1.1  christos 	case 224: {
   1551      1.17  christos 		const struct compat_14_netbsd32_msgctl_args *p = params;
   1552       1.1  christos 		iarg[0] = SCARG(p, msqid); /* int */
   1553       1.1  christos 		iarg[1] = SCARG(p, cmd); /* int */
   1554       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_msqid_ds14p_t */
   1555       1.1  christos 		*n_args = 3;
   1556       1.1  christos 		break;
   1557       1.1  christos 	}
   1558       1.1  christos 	/* netbsd32_msgget */
   1559       1.1  christos 	case 225: {
   1560      1.17  christos 		const struct netbsd32_msgget_args *p = params;
   1561       1.1  christos 		iarg[0] = SCARG(p, key); /* netbsd32_key_t */
   1562       1.1  christos 		iarg[1] = SCARG(p, msgflg); /* int */
   1563       1.1  christos 		*n_args = 2;
   1564       1.1  christos 		break;
   1565       1.1  christos 	}
   1566       1.1  christos 	/* netbsd32_msgsnd */
   1567       1.1  christos 	case 226: {
   1568      1.17  christos 		const struct netbsd32_msgsnd_args *p = params;
   1569       1.1  christos 		iarg[0] = SCARG(p, msqid); /* int */
   1570       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, msgp).i32; /* netbsd32_voidp */
   1571       1.1  christos 		iarg[2] = SCARG(p, msgsz); /* netbsd32_size_t */
   1572       1.1  christos 		iarg[3] = SCARG(p, msgflg); /* int */
   1573       1.1  christos 		*n_args = 4;
   1574       1.1  christos 		break;
   1575       1.1  christos 	}
   1576       1.1  christos 	/* netbsd32_msgrcv */
   1577       1.1  christos 	case 227: {
   1578      1.17  christos 		const struct netbsd32_msgrcv_args *p = params;
   1579       1.1  christos 		iarg[0] = SCARG(p, msqid); /* int */
   1580       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, msgp).i32; /* netbsd32_voidp */
   1581       1.1  christos 		iarg[2] = SCARG(p, msgsz); /* netbsd32_size_t */
   1582       1.1  christos 		iarg[3] = SCARG(p, msgtyp); /* netbsd32_long */
   1583       1.1  christos 		iarg[4] = SCARG(p, msgflg); /* int */
   1584       1.1  christos 		*n_args = 5;
   1585       1.1  christos 		break;
   1586       1.1  christos 	}
   1587       1.1  christos 	/* netbsd32_shmat */
   1588       1.1  christos 	case 228: {
   1589      1.17  christos 		const struct netbsd32_shmat_args *p = params;
   1590       1.1  christos 		iarg[0] = SCARG(p, shmid); /* int */
   1591       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, shmaddr).i32; /* netbsd32_voidp */
   1592       1.1  christos 		iarg[2] = SCARG(p, shmflg); /* int */
   1593       1.1  christos 		*n_args = 3;
   1594       1.1  christos 		break;
   1595       1.1  christos 	}
   1596       1.1  christos 	/* netbsd32_shmctl */
   1597       1.1  christos 	case 229: {
   1598      1.17  christos 		const struct compat_14_netbsd32_shmctl_args *p = params;
   1599       1.1  christos 		iarg[0] = SCARG(p, shmid); /* int */
   1600       1.1  christos 		iarg[1] = SCARG(p, cmd); /* int */
   1601       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_shmid_dsp_t */
   1602       1.1  christos 		*n_args = 3;
   1603       1.1  christos 		break;
   1604       1.1  christos 	}
   1605       1.1  christos 	/* netbsd32_shmdt */
   1606       1.1  christos 	case 230: {
   1607      1.17  christos 		const struct netbsd32_shmdt_args *p = params;
   1608       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, shmaddr).i32; /* netbsd32_voidp */
   1609       1.1  christos 		*n_args = 1;
   1610       1.1  christos 		break;
   1611       1.1  christos 	}
   1612       1.1  christos 	/* netbsd32_shmget */
   1613       1.1  christos 	case 231: {
   1614      1.17  christos 		const struct netbsd32_shmget_args *p = params;
   1615       1.1  christos 		iarg[0] = SCARG(p, key); /* netbsd32_key_t */
   1616       1.1  christos 		iarg[1] = SCARG(p, size); /* netbsd32_size_t */
   1617       1.1  christos 		iarg[2] = SCARG(p, shmflg); /* int */
   1618       1.1  christos 		*n_args = 3;
   1619       1.1  christos 		break;
   1620       1.1  christos 	}
   1621       1.1  christos 	/* netbsd32_clock_gettime */
   1622       1.1  christos 	case 232: {
   1623      1.17  christos 		const struct compat_50_netbsd32_clock_gettime_args *p = params;
   1624       1.1  christos 		iarg[0] = SCARG(p, clock_id); /* netbsd32_clockid_t */
   1625       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tp).i32; /* netbsd32_timespec50p_t */
   1626       1.1  christos 		*n_args = 2;
   1627       1.1  christos 		break;
   1628       1.1  christos 	}
   1629       1.1  christos 	/* netbsd32_clock_settime */
   1630       1.1  christos 	case 233: {
   1631      1.17  christos 		const struct compat_50_netbsd32_clock_settime_args *p = params;
   1632       1.1  christos 		iarg[0] = SCARG(p, clock_id); /* netbsd32_clockid_t */
   1633       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tp).i32; /* netbsd32_timespec50p_t */
   1634       1.1  christos 		*n_args = 2;
   1635       1.1  christos 		break;
   1636       1.1  christos 	}
   1637       1.1  christos 	/* netbsd32_clock_getres */
   1638       1.1  christos 	case 234: {
   1639      1.17  christos 		const struct compat_50_netbsd32_clock_getres_args *p = params;
   1640       1.1  christos 		iarg[0] = SCARG(p, clock_id); /* netbsd32_clockid_t */
   1641       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tp).i32; /* netbsd32_timespec50p_t */
   1642       1.1  christos 		*n_args = 2;
   1643       1.1  christos 		break;
   1644       1.1  christos 	}
   1645       1.1  christos 	/* netbsd32_timer_create */
   1646       1.1  christos 	case 235: {
   1647      1.17  christos 		const struct netbsd32_timer_create_args *p = params;
   1648       1.1  christos 		iarg[0] = SCARG(p, clock_id); /* netbsd32_clockid_t */
   1649       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, evp).i32; /* netbsd32_sigeventp_t */
   1650       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, timerid).i32; /* netbsd32_timerp_t */
   1651       1.1  christos 		*n_args = 3;
   1652       1.1  christos 		break;
   1653       1.1  christos 	}
   1654       1.1  christos 	/* netbsd32_timer_delete */
   1655       1.1  christos 	case 236: {
   1656      1.17  christos 		const struct netbsd32_timer_delete_args *p = params;
   1657       1.1  christos 		iarg[0] = SCARG(p, timerid); /* netbsd32_timer_t */
   1658       1.1  christos 		*n_args = 1;
   1659       1.1  christos 		break;
   1660       1.1  christos 	}
   1661       1.1  christos 	/* netbsd32_timer_settime */
   1662       1.1  christos 	case 237: {
   1663      1.17  christos 		const struct compat_50_netbsd32_timer_settime_args *p = params;
   1664       1.1  christos 		iarg[0] = SCARG(p, timerid); /* netbsd32_timer_t */
   1665       1.1  christos 		iarg[1] = SCARG(p, flags); /* int */
   1666       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, value).i32; /* netbsd32_itimerspec50p_t */
   1667       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, ovalue).i32; /* netbsd32_itimerspec50p_t */
   1668       1.1  christos 		*n_args = 4;
   1669       1.1  christos 		break;
   1670       1.1  christos 	}
   1671       1.1  christos 	/* netbsd32_timer_gettime */
   1672       1.1  christos 	case 238: {
   1673      1.17  christos 		const struct compat_50_netbsd32_timer_gettime_args *p = params;
   1674       1.1  christos 		iarg[0] = SCARG(p, timerid); /* netbsd32_timer_t */
   1675       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, value).i32; /* netbsd32_itimerspec50p_t */
   1676       1.1  christos 		*n_args = 2;
   1677       1.1  christos 		break;
   1678       1.1  christos 	}
   1679       1.1  christos 	/* netbsd32_timer_getoverrun */
   1680       1.1  christos 	case 239: {
   1681      1.17  christos 		const struct netbsd32_timer_getoverrun_args *p = params;
   1682       1.1  christos 		iarg[0] = SCARG(p, timerid); /* netbsd32_timer_t */
   1683       1.1  christos 		*n_args = 1;
   1684       1.1  christos 		break;
   1685       1.1  christos 	}
   1686       1.1  christos 	/* netbsd32_nanosleep */
   1687       1.1  christos 	case 240: {
   1688      1.17  christos 		const struct compat_50_netbsd32_nanosleep_args *p = params;
   1689       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, rqtp).i32; /* netbsd32_timespec50p_t */
   1690       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, rmtp).i32; /* netbsd32_timespec50p_t */
   1691       1.1  christos 		*n_args = 2;
   1692       1.1  christos 		break;
   1693       1.1  christos 	}
   1694       1.1  christos 	/* netbsd32_fdatasync */
   1695       1.1  christos 	case 241: {
   1696      1.17  christos 		const struct netbsd32_fdatasync_args *p = params;
   1697       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   1698       1.1  christos 		*n_args = 1;
   1699       1.1  christos 		break;
   1700       1.1  christos 	}
   1701       1.1  christos 	/* netbsd32_mlockall */
   1702       1.1  christos 	case 242: {
   1703      1.17  christos 		const struct netbsd32_mlockall_args *p = params;
   1704       1.1  christos 		iarg[0] = SCARG(p, flags); /* int */
   1705       1.1  christos 		*n_args = 1;
   1706       1.1  christos 		break;
   1707       1.1  christos 	}
   1708       1.1  christos 	/* sys_munlockall */
   1709       1.1  christos 	case 243: {
   1710       1.1  christos 		*n_args = 0;
   1711       1.1  christos 		break;
   1712       1.1  christos 	}
   1713       1.1  christos 	/* netbsd32___sigtimedwait */
   1714       1.1  christos 	case 244: {
   1715      1.17  christos 		const struct compat_50_netbsd32___sigtimedwait_args *p = params;
   1716       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, set).i32; /* netbsd32_sigsetp_t */
   1717       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, info).i32; /* netbsd32_siginfop_t */
   1718       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, timeout).i32; /* netbsd32_timespec50p_t */
   1719       1.1  christos 		*n_args = 3;
   1720       1.1  christos 		break;
   1721       1.1  christos 	}
   1722       1.3    martin 	/* netbsd32_sigqueueinfo */
   1723       1.3    martin 	case 245: {
   1724      1.17  christos 		const struct netbsd32_sigqueueinfo_args *p = params;
   1725       1.3    martin 		iarg[0] = SCARG(p, pid); /* pid_t */
   1726       1.3    martin 		uarg[1] = (intptr_t) SCARG(p, info).i32; /* const netbsd32_siginfop_t */
   1727       1.3    martin 		*n_args = 2;
   1728       1.3    martin 		break;
   1729       1.3    martin 	}
   1730       1.3    martin 	/* netbsd32_modctl */
   1731       1.3    martin 	case 246: {
   1732      1.17  christos 		const struct netbsd32_modctl_args *p = params;
   1733       1.3    martin 		iarg[0] = SCARG(p, cmd); /* int */
   1734       1.3    martin 		uarg[1] = (intptr_t) SCARG(p, arg).i32; /* netbsd32_voidp */
   1735       1.3    martin 		*n_args = 2;
   1736       1.3    martin 		break;
   1737       1.3    martin 	}
   1738       1.1  christos 	/* netbsd32__ksem_init */
   1739       1.1  christos 	case 247: {
   1740      1.17  christos 		const struct netbsd32__ksem_init_args *p = params;
   1741       1.1  christos 		uarg[0] = SCARG(p, value); /* unsigned int */
   1742       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, idp).i32; /* netbsd32_semidp_t */
   1743       1.1  christos 		*n_args = 2;
   1744       1.1  christos 		break;
   1745       1.1  christos 	}
   1746       1.1  christos 	/* netbsd32__ksem_open */
   1747       1.1  christos 	case 248: {
   1748      1.17  christos 		const struct netbsd32__ksem_open_args *p = params;
   1749       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
   1750       1.1  christos 		iarg[1] = SCARG(p, oflag); /* int */
   1751       1.1  christos 		iarg[2] = SCARG(p, mode); /* mode_t */
   1752       1.1  christos 		uarg[3] = SCARG(p, value); /* unsigned int */
   1753       1.1  christos 		uarg[4] = (intptr_t) SCARG(p, idp).i32; /* netbsd32_semidp_t */
   1754       1.1  christos 		*n_args = 5;
   1755       1.1  christos 		break;
   1756       1.1  christos 	}
   1757       1.1  christos 	/* netbsd32__ksem_unlink */
   1758       1.1  christos 	case 249: {
   1759      1.17  christos 		const struct netbsd32__ksem_unlink_args *p = params;
   1760       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
   1761       1.1  christos 		*n_args = 1;
   1762       1.1  christos 		break;
   1763       1.1  christos 	}
   1764       1.1  christos 	/* netbsd32__ksem_close */
   1765       1.1  christos 	case 250: {
   1766      1.17  christos 		const struct netbsd32__ksem_close_args *p = params;
   1767       1.1  christos 		iarg[0] = SCARG(p, id); /* netbsd32_intptr_t */
   1768       1.1  christos 		*n_args = 1;
   1769       1.1  christos 		break;
   1770       1.1  christos 	}
   1771       1.1  christos 	/* netbsd32__ksem_post */
   1772       1.1  christos 	case 251: {
   1773      1.17  christos 		const struct netbsd32__ksem_post_args *p = params;
   1774       1.1  christos 		iarg[0] = SCARG(p, id); /* netbsd32_intptr_t */
   1775       1.1  christos 		*n_args = 1;
   1776       1.1  christos 		break;
   1777       1.1  christos 	}
   1778       1.1  christos 	/* netbsd32__ksem_wait */
   1779       1.1  christos 	case 252: {
   1780      1.17  christos 		const struct netbsd32__ksem_wait_args *p = params;
   1781       1.1  christos 		iarg[0] = SCARG(p, id); /* netbsd32_intptr_t */
   1782       1.1  christos 		*n_args = 1;
   1783       1.1  christos 		break;
   1784       1.1  christos 	}
   1785       1.1  christos 	/* netbsd32__ksem_trywait */
   1786       1.1  christos 	case 253: {
   1787      1.17  christos 		const struct netbsd32__ksem_trywait_args *p = params;
   1788       1.1  christos 		iarg[0] = SCARG(p, id); /* netbsd32_intptr_t */
   1789       1.1  christos 		*n_args = 1;
   1790       1.1  christos 		break;
   1791       1.1  christos 	}
   1792       1.1  christos 	/* netbsd32__ksem_getvalue */
   1793       1.1  christos 	case 254: {
   1794      1.17  christos 		const struct netbsd32__ksem_getvalue_args *p = params;
   1795       1.1  christos 		iarg[0] = SCARG(p, id); /* netbsd32_intptr_t */
   1796       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, value).i32; /* netbsd32_intp */
   1797       1.1  christos 		*n_args = 2;
   1798       1.1  christos 		break;
   1799       1.1  christos 	}
   1800       1.1  christos 	/* netbsd32__ksem_destroy */
   1801       1.1  christos 	case 255: {
   1802      1.17  christos 		const struct netbsd32__ksem_destroy_args *p = params;
   1803       1.1  christos 		iarg[0] = SCARG(p, id); /* netbsd32_intptr_t */
   1804       1.1  christos 		*n_args = 1;
   1805       1.1  christos 		break;
   1806       1.1  christos 	}
   1807       1.1  christos 	/* netbsd32__ksem_timedwait */
   1808       1.1  christos 	case 256: {
   1809      1.17  christos 		const struct netbsd32__ksem_timedwait_args *p = params;
   1810       1.1  christos 		iarg[0] = SCARG(p, id); /* intptr_t */
   1811       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, abstime).i32; /* const netbsd32_timespecp_t */
   1812       1.1  christos 		*n_args = 2;
   1813       1.1  christos 		break;
   1814       1.1  christos 	}
   1815       1.3    martin 	/* netbsd32_mq_open */
   1816       1.3    martin 	case 257: {
   1817      1.17  christos 		const struct netbsd32_mq_open_args *p = params;
   1818       1.3    martin 		uarg[0] = (intptr_t) SCARG(p, name).i32; /* const netbsd32_charp */
   1819       1.3    martin 		iarg[1] = SCARG(p, oflag); /* int */
   1820       1.3    martin 		iarg[2] = SCARG(p, mode); /* mode_t */
   1821       1.3    martin 		uarg[3] = (intptr_t) SCARG(p, attr).i32; /* netbsd32_mq_attrp_t */
   1822       1.3    martin 		*n_args = 4;
   1823       1.3    martin 		break;
   1824       1.3    martin 	}
   1825       1.3    martin 	/* netbsd32_mq_close */
   1826       1.3    martin 	case 258: {
   1827      1.17  christos 		const struct netbsd32_mq_close_args *p = params;
   1828       1.3    martin 		iarg[0] = SCARG(p, mqdes); /* mqd_t */
   1829       1.3    martin 		*n_args = 1;
   1830       1.3    martin 		break;
   1831       1.3    martin 	}
   1832       1.3    martin 	/* netbsd32_mq_unlink */
   1833       1.3    martin 	case 259: {
   1834      1.17  christos 		const struct netbsd32_mq_unlink_args *p = params;
   1835       1.3    martin 		uarg[0] = (intptr_t) SCARG(p, name).i32; /* const netbsd32_charp */
   1836       1.3    martin 		*n_args = 1;
   1837       1.3    martin 		break;
   1838       1.3    martin 	}
   1839       1.3    martin 	/* netbsd32_mq_getattr */
   1840       1.3    martin 	case 260: {
   1841      1.17  christos 		const struct netbsd32_mq_getattr_args *p = params;
   1842       1.3    martin 		iarg[0] = SCARG(p, mqdes); /* mqd_t */
   1843       1.3    martin 		uarg[1] = (intptr_t) SCARG(p, mqstat).i32; /* netbsd32_mq_attrp_t */
   1844       1.3    martin 		*n_args = 2;
   1845       1.3    martin 		break;
   1846       1.3    martin 	}
   1847       1.3    martin 	/* netbsd32_mq_setattr */
   1848       1.3    martin 	case 261: {
   1849      1.17  christos 		const struct netbsd32_mq_setattr_args *p = params;
   1850       1.3    martin 		iarg[0] = SCARG(p, mqdes); /* mqd_t */
   1851       1.3    martin 		uarg[1] = (intptr_t) SCARG(p, mqstat).i32; /* const netbsd32_mq_attrp_t */
   1852       1.3    martin 		uarg[2] = (intptr_t) SCARG(p, omqstat).i32; /* netbsd32_mq_attrp_t */
   1853       1.3    martin 		*n_args = 3;
   1854       1.3    martin 		break;
   1855       1.3    martin 	}
   1856       1.3    martin 	/* netbsd32_mq_notify */
   1857       1.3    martin 	case 262: {
   1858      1.17  christos 		const struct netbsd32_mq_notify_args *p = params;
   1859       1.3    martin 		iarg[0] = SCARG(p, mqdes); /* mqd_t */
   1860       1.3    martin 		uarg[1] = (intptr_t) SCARG(p, notification).i32; /* const netbsd32_sigeventp_t */
   1861       1.3    martin 		*n_args = 2;
   1862       1.3    martin 		break;
   1863       1.3    martin 	}
   1864       1.3    martin 	/* netbsd32_mq_send */
   1865       1.3    martin 	case 263: {
   1866      1.17  christos 		const struct netbsd32_mq_send_args *p = params;
   1867       1.3    martin 		iarg[0] = SCARG(p, mqdes); /* mqd_t */
   1868       1.3    martin 		uarg[1] = (intptr_t) SCARG(p, msg_ptr).i32; /* const netbsd32_charp */
   1869       1.3    martin 		iarg[2] = SCARG(p, msg_len); /* netbsd32_size_t */
   1870       1.3    martin 		uarg[3] = SCARG(p, msg_prio); /* unsigned */
   1871       1.3    martin 		*n_args = 4;
   1872       1.3    martin 		break;
   1873       1.3    martin 	}
   1874       1.3    martin 	/* netbsd32_mq_receive */
   1875       1.3    martin 	case 264: {
   1876      1.17  christos 		const struct netbsd32_mq_receive_args *p = params;
   1877       1.3    martin 		iarg[0] = SCARG(p, mqdes); /* mqd_t */
   1878       1.3    martin 		uarg[1] = (intptr_t) SCARG(p, msg_ptr).i32; /* netbsd32_charp */
   1879       1.3    martin 		iarg[2] = SCARG(p, msg_len); /* netbsd32_size_t */
   1880       1.3    martin 		uarg[3] = (intptr_t) SCARG(p, msg_prio).i32; /* netbsd32_uintp */
   1881       1.3    martin 		*n_args = 4;
   1882       1.3    martin 		break;
   1883       1.3    martin 	}
   1884       1.3    martin 	/* netbsd32_mq_timedsend */
   1885       1.3    martin 	case 265: {
   1886      1.17  christos 		const struct compat_50_netbsd32_mq_timedsend_args *p = params;
   1887       1.3    martin 		iarg[0] = SCARG(p, mqdes); /* mqd_t */
   1888       1.3    martin 		uarg[1] = (intptr_t) SCARG(p, msg_ptr).i32; /* const netbsd32_charp */
   1889       1.3    martin 		iarg[2] = SCARG(p, msg_len); /* netbsd32_size_t */
   1890       1.3    martin 		uarg[3] = SCARG(p, msg_prio); /* unsigned */
   1891       1.3    martin 		uarg[4] = (intptr_t) SCARG(p, abs_timeout).i32; /* const netbsd32_timespec50p_t */
   1892       1.3    martin 		*n_args = 5;
   1893       1.3    martin 		break;
   1894       1.3    martin 	}
   1895       1.3    martin 	/* netbsd32_mq_timedreceive */
   1896       1.3    martin 	case 266: {
   1897      1.17  christos 		const struct compat_50_netbsd32_mq_timedreceive_args *p = params;
   1898       1.3    martin 		iarg[0] = SCARG(p, mqdes); /* mqd_t */
   1899       1.3    martin 		uarg[1] = (intptr_t) SCARG(p, msg_ptr).i32; /* netbsd32_charp */
   1900       1.3    martin 		iarg[2] = SCARG(p, msg_len); /* netbsd32_size_t */
   1901       1.3    martin 		uarg[3] = (intptr_t) SCARG(p, msg_prio).i32; /* netbsd32_uintp */
   1902       1.3    martin 		uarg[4] = (intptr_t) SCARG(p, abs_timeout).i32; /* const netbsd32_timespec50p_t */
   1903       1.3    martin 		*n_args = 5;
   1904       1.3    martin 		break;
   1905       1.3    martin 	}
   1906       1.1  christos 	/* netbsd32___posix_rename */
   1907       1.1  christos 	case 270: {
   1908      1.17  christos 		const struct netbsd32___posix_rename_args *p = params;
   1909       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, from).i32; /* netbsd32_charp */
   1910       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, to).i32; /* netbsd32_charp */
   1911       1.1  christos 		*n_args = 2;
   1912       1.1  christos 		break;
   1913       1.1  christos 	}
   1914       1.1  christos 	/* netbsd32_swapctl */
   1915       1.1  christos 	case 271: {
   1916      1.17  christos 		const struct netbsd32_swapctl_args *p = params;
   1917       1.1  christos 		iarg[0] = SCARG(p, cmd); /* int */
   1918       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, arg).i32; /* netbsd32_voidp */
   1919       1.1  christos 		iarg[2] = SCARG(p, misc); /* int */
   1920       1.1  christos 		*n_args = 3;
   1921       1.1  christos 		break;
   1922       1.1  christos 	}
   1923       1.1  christos 	/* netbsd32_getdents */
   1924       1.1  christos 	case 272: {
   1925      1.17  christos 		const struct compat_30_netbsd32_getdents_args *p = params;
   1926       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   1927       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_charp */
   1928       1.1  christos 		iarg[2] = SCARG(p, count); /* netbsd32_size_t */
   1929       1.1  christos 		*n_args = 3;
   1930       1.1  christos 		break;
   1931       1.1  christos 	}
   1932       1.1  christos 	/* netbsd32_minherit */
   1933       1.1  christos 	case 273: {
   1934      1.17  christos 		const struct netbsd32_minherit_args *p = params;
   1935       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, addr).i32; /* netbsd32_voidp */
   1936       1.1  christos 		iarg[1] = SCARG(p, len); /* netbsd32_size_t */
   1937       1.1  christos 		iarg[2] = SCARG(p, inherit); /* int */
   1938       1.1  christos 		*n_args = 3;
   1939       1.1  christos 		break;
   1940       1.1  christos 	}
   1941       1.1  christos 	/* netbsd32_lchmod */
   1942       1.1  christos 	case 274: {
   1943      1.17  christos 		const struct netbsd32_lchmod_args *p = params;
   1944       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   1945       1.1  christos 		iarg[1] = SCARG(p, mode); /* mode_t */
   1946       1.1  christos 		*n_args = 2;
   1947       1.1  christos 		break;
   1948       1.1  christos 	}
   1949       1.1  christos 	/* netbsd32_lchown */
   1950       1.1  christos 	case 275: {
   1951      1.17  christos 		const struct netbsd32_lchown_args *p = params;
   1952       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   1953       1.1  christos 		uarg[1] = SCARG(p, uid); /* uid_t */
   1954       1.1  christos 		iarg[2] = SCARG(p, gid); /* gid_t */
   1955       1.1  christos 		*n_args = 3;
   1956       1.1  christos 		break;
   1957       1.1  christos 	}
   1958       1.1  christos 	/* netbsd32_lutimes */
   1959       1.1  christos 	case 276: {
   1960      1.17  christos 		const struct compat_50_netbsd32_lutimes_args *p = params;
   1961       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   1962       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tptr).i32; /* netbsd32_timeval50p_t */
   1963       1.1  christos 		*n_args = 2;
   1964       1.1  christos 		break;
   1965       1.1  christos 	}
   1966       1.1  christos 	/* netbsd32___msync13 */
   1967       1.1  christos 	case 277: {
   1968      1.17  christos 		const struct netbsd32___msync13_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, flags); /* int */
   1972       1.1  christos 		*n_args = 3;
   1973       1.1  christos 		break;
   1974       1.1  christos 	}
   1975       1.1  christos 	/* netbsd32___stat13 */
   1976       1.1  christos 	case 278: {
   1977      1.17  christos 		const struct compat_30_netbsd32___stat13_args *p = params;
   1978       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   1979       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, ub).i32; /* netbsd32_stat13p_t */
   1980       1.1  christos 		*n_args = 2;
   1981       1.1  christos 		break;
   1982       1.1  christos 	}
   1983       1.1  christos 	/* netbsd32___fstat13 */
   1984       1.1  christos 	case 279: {
   1985      1.17  christos 		const struct compat_30_netbsd32___fstat13_args *p = params;
   1986       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   1987       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, sb).i32; /* netbsd32_stat13p_t */
   1988       1.1  christos 		*n_args = 2;
   1989       1.1  christos 		break;
   1990       1.1  christos 	}
   1991       1.1  christos 	/* netbsd32___lstat13 */
   1992       1.1  christos 	case 280: {
   1993      1.17  christos 		const struct compat_30_netbsd32___lstat13_args *p = params;
   1994       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   1995       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, ub).i32; /* netbsd32_stat13p_t */
   1996       1.1  christos 		*n_args = 2;
   1997       1.1  christos 		break;
   1998       1.1  christos 	}
   1999       1.1  christos 	/* netbsd32___sigaltstack14 */
   2000       1.1  christos 	case 281: {
   2001      1.17  christos 		const struct netbsd32___sigaltstack14_args *p = params;
   2002       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, nss).i32; /* netbsd32_sigaltstackp_t */
   2003       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, oss).i32; /* netbsd32_sigaltstackp_t */
   2004       1.1  christos 		*n_args = 2;
   2005       1.1  christos 		break;
   2006       1.1  christos 	}
   2007       1.1  christos 	/* sys___vfork14 */
   2008       1.1  christos 	case 282: {
   2009       1.1  christos 		*n_args = 0;
   2010       1.1  christos 		break;
   2011       1.1  christos 	}
   2012       1.1  christos 	/* netbsd32___posix_chown */
   2013       1.1  christos 	case 283: {
   2014      1.17  christos 		const struct netbsd32___posix_chown_args *p = params;
   2015       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2016       1.1  christos 		uarg[1] = SCARG(p, uid); /* uid_t */
   2017       1.1  christos 		iarg[2] = SCARG(p, gid); /* gid_t */
   2018       1.1  christos 		*n_args = 3;
   2019       1.1  christos 		break;
   2020       1.1  christos 	}
   2021       1.1  christos 	/* netbsd32___posix_fchown */
   2022       1.1  christos 	case 284: {
   2023      1.17  christos 		const struct netbsd32___posix_fchown_args *p = params;
   2024       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2025       1.1  christos 		uarg[1] = SCARG(p, uid); /* uid_t */
   2026       1.1  christos 		iarg[2] = SCARG(p, gid); /* gid_t */
   2027       1.1  christos 		*n_args = 3;
   2028       1.1  christos 		break;
   2029       1.1  christos 	}
   2030       1.1  christos 	/* netbsd32___posix_lchown */
   2031       1.1  christos 	case 285: {
   2032      1.17  christos 		const struct netbsd32___posix_lchown_args *p = params;
   2033       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2034       1.1  christos 		uarg[1] = SCARG(p, uid); /* uid_t */
   2035       1.1  christos 		iarg[2] = SCARG(p, gid); /* gid_t */
   2036       1.1  christos 		*n_args = 3;
   2037       1.1  christos 		break;
   2038       1.1  christos 	}
   2039       1.1  christos 	/* netbsd32_getsid */
   2040       1.1  christos 	case 286: {
   2041      1.17  christos 		const struct netbsd32_getsid_args *p = params;
   2042       1.1  christos 		iarg[0] = SCARG(p, pid); /* pid_t */
   2043       1.1  christos 		*n_args = 1;
   2044       1.1  christos 		break;
   2045       1.1  christos 	}
   2046       1.1  christos 	/* netbsd32___clone */
   2047       1.1  christos 	case 287: {
   2048      1.17  christos 		const struct netbsd32___clone_args *p = params;
   2049       1.1  christos 		iarg[0] = SCARG(p, flags); /* int */
   2050       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, stack).i32; /* netbsd32_voidp */
   2051       1.1  christos 		*n_args = 2;
   2052       1.1  christos 		break;
   2053       1.1  christos 	}
   2054       1.1  christos 	/* netbsd32_fktrace */
   2055       1.1  christos 	case 288: {
   2056      1.17  christos 		const struct netbsd32_fktrace_args *p = params;
   2057       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2058       1.1  christos 		iarg[1] = SCARG(p, ops); /* int */
   2059       1.1  christos 		iarg[2] = SCARG(p, facs); /* int */
   2060       1.1  christos 		iarg[3] = SCARG(p, pid); /* int */
   2061       1.1  christos 		*n_args = 4;
   2062       1.1  christos 		break;
   2063       1.1  christos 	}
   2064       1.1  christos 	/* netbsd32_preadv */
   2065       1.1  christos 	case 289: {
   2066      1.17  christos 		const struct netbsd32_preadv_args *p = params;
   2067       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2068       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, iovp).i32; /* netbsd32_iovecp_t */
   2069       1.1  christos 		iarg[2] = SCARG(p, iovcnt); /* int */
   2070       1.1  christos 		iarg[3] = SCARG(p, PAD); /* int */
   2071       1.1  christos 		iarg[4] = SCARG(p, offset); /* netbsd32_off_t */
   2072       1.1  christos 		*n_args = 5;
   2073       1.1  christos 		break;
   2074       1.1  christos 	}
   2075       1.1  christos 	/* netbsd32_pwritev */
   2076       1.1  christos 	case 290: {
   2077      1.17  christos 		const struct netbsd32_pwritev_args *p = params;
   2078       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2079       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, iovp).i32; /* netbsd32_iovecp_t */
   2080       1.1  christos 		iarg[2] = SCARG(p, iovcnt); /* int */
   2081       1.1  christos 		iarg[3] = SCARG(p, PAD); /* int */
   2082       1.1  christos 		iarg[4] = SCARG(p, offset); /* netbsd32_off_t */
   2083       1.1  christos 		*n_args = 5;
   2084       1.1  christos 		break;
   2085       1.1  christos 	}
   2086       1.1  christos 	/* netbsd32___sigaction14 */
   2087       1.1  christos 	case 291: {
   2088      1.17  christos 		const struct netbsd32___sigaction14_args *p = params;
   2089       1.1  christos 		iarg[0] = SCARG(p, signum); /* int */
   2090       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, nsa).i32; /* netbsd32_sigactionp_t */
   2091       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, osa).i32; /* netbsd32_sigactionp_t */
   2092       1.1  christos 		*n_args = 3;
   2093       1.1  christos 		break;
   2094       1.1  christos 	}
   2095       1.1  christos 	/* netbsd32___sigpending14 */
   2096       1.1  christos 	case 292: {
   2097      1.17  christos 		const struct netbsd32___sigpending14_args *p = params;
   2098       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, set).i32; /* netbsd32_sigsetp_t */
   2099       1.1  christos 		*n_args = 1;
   2100       1.1  christos 		break;
   2101       1.1  christos 	}
   2102       1.1  christos 	/* netbsd32___sigprocmask14 */
   2103       1.1  christos 	case 293: {
   2104      1.17  christos 		const struct netbsd32___sigprocmask14_args *p = params;
   2105       1.1  christos 		iarg[0] = SCARG(p, how); /* int */
   2106       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, set).i32; /* netbsd32_sigsetp_t */
   2107       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, oset).i32; /* netbsd32_sigsetp_t */
   2108       1.1  christos 		*n_args = 3;
   2109       1.1  christos 		break;
   2110       1.1  christos 	}
   2111       1.1  christos 	/* netbsd32___sigsuspend14 */
   2112       1.1  christos 	case 294: {
   2113      1.17  christos 		const struct netbsd32___sigsuspend14_args *p = params;
   2114       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, set).i32; /* netbsd32_sigsetp_t */
   2115       1.1  christos 		*n_args = 1;
   2116       1.1  christos 		break;
   2117       1.1  christos 	}
   2118       1.1  christos 	/* netbsd32___sigreturn14 */
   2119       1.1  christos 	case 295: {
   2120      1.17  christos 		const struct compat_16_netbsd32___sigreturn14_args *p = params;
   2121       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, sigcntxp).i32; /* netbsd32_sigcontextp_t */
   2122       1.1  christos 		*n_args = 1;
   2123       1.1  christos 		break;
   2124       1.1  christos 	}
   2125       1.1  christos 	/* netbsd32___getcwd */
   2126       1.1  christos 	case 296: {
   2127      1.17  christos 		const struct netbsd32___getcwd_args *p = params;
   2128       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, bufp).i32; /* netbsd32_charp */
   2129       1.1  christos 		iarg[1] = SCARG(p, length); /* netbsd32_size_t */
   2130       1.1  christos 		*n_args = 2;
   2131       1.1  christos 		break;
   2132       1.1  christos 	}
   2133       1.1  christos 	/* netbsd32_fchroot */
   2134       1.1  christos 	case 297: {
   2135      1.17  christos 		const struct netbsd32_fchroot_args *p = params;
   2136       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2137       1.1  christos 		*n_args = 1;
   2138       1.1  christos 		break;
   2139       1.1  christos 	}
   2140       1.1  christos 	/* netbsd32_fhopen */
   2141       1.1  christos 	case 298: {
   2142      1.17  christos 		const struct compat_30_netbsd32_fhopen_args *p = params;
   2143       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, fhp).i32; /* netbsd32_fhandlep_t */
   2144       1.1  christos 		iarg[1] = SCARG(p, flags); /* int */
   2145       1.1  christos 		*n_args = 2;
   2146       1.1  christos 		break;
   2147       1.1  christos 	}
   2148       1.1  christos 	/* netbsd32_fhstat */
   2149       1.1  christos 	case 299: {
   2150      1.17  christos 		const struct compat_30_netbsd32_fhstat_args *p = params;
   2151       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, fhp).i32; /* netbsd32_fhandlep_t */
   2152       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, sb).i32; /* netbsd32_stat13p_t */
   2153       1.1  christos 		*n_args = 2;
   2154       1.1  christos 		break;
   2155       1.1  christos 	}
   2156       1.1  christos 	/* netbsd32_fhstatfs */
   2157       1.1  christos 	case 300: {
   2158      1.17  christos 		const struct compat_20_netbsd32_fhstatfs_args *p = params;
   2159       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, fhp).i32; /* netbsd32_fhandlep_t */
   2160       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_stat50p_t */
   2161       1.1  christos 		*n_args = 2;
   2162       1.1  christos 		break;
   2163       1.1  christos 	}
   2164       1.1  christos 	/* netbsd32___semctl14 */
   2165       1.1  christos 	case 301: {
   2166      1.17  christos 		const struct compat_50_netbsd32___semctl14_args *p = params;
   2167       1.1  christos 		iarg[0] = SCARG(p, semid); /* int */
   2168       1.1  christos 		iarg[1] = SCARG(p, semnum); /* int */
   2169       1.1  christos 		iarg[2] = SCARG(p, cmd); /* int */
   2170       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, arg).i32; /* netbsd32_semun50p_t */
   2171       1.1  christos 		*n_args = 4;
   2172       1.1  christos 		break;
   2173       1.1  christos 	}
   2174       1.1  christos 	/* netbsd32___msgctl13 */
   2175       1.1  christos 	case 302: {
   2176      1.17  christos 		const struct compat_50_netbsd32___msgctl13_args *p = params;
   2177       1.1  christos 		iarg[0] = SCARG(p, msqid); /* int */
   2178       1.1  christos 		iarg[1] = SCARG(p, cmd); /* int */
   2179       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_msqid_ds50p_t */
   2180       1.1  christos 		*n_args = 3;
   2181       1.1  christos 		break;
   2182       1.1  christos 	}
   2183       1.1  christos 	/* netbsd32___shmctl13 */
   2184       1.1  christos 	case 303: {
   2185      1.17  christos 		const struct compat_50_netbsd32___shmctl13_args *p = params;
   2186       1.1  christos 		iarg[0] = SCARG(p, shmid); /* int */
   2187       1.1  christos 		iarg[1] = SCARG(p, cmd); /* int */
   2188       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_shmid_ds50p_t */
   2189       1.1  christos 		*n_args = 3;
   2190       1.1  christos 		break;
   2191       1.1  christos 	}
   2192       1.1  christos 	/* netbsd32_lchflags */
   2193       1.1  christos 	case 304: {
   2194      1.17  christos 		const struct netbsd32_lchflags_args *p = params;
   2195       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2196       1.1  christos 		iarg[1] = SCARG(p, flags); /* netbsd32_u_long */
   2197       1.1  christos 		*n_args = 2;
   2198       1.1  christos 		break;
   2199       1.1  christos 	}
   2200       1.1  christos 	/* sys_issetugid */
   2201       1.1  christos 	case 305: {
   2202       1.1  christos 		*n_args = 0;
   2203       1.1  christos 		break;
   2204       1.1  christos 	}
   2205       1.1  christos 	/* netbsd32_utrace */
   2206       1.1  christos 	case 306: {
   2207      1.17  christos 		const struct netbsd32_utrace_args *p = params;
   2208       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, label).i32; /* netbsd32_charp */
   2209       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, addr).i32; /* netbsd32_voidp */
   2210       1.1  christos 		iarg[2] = SCARG(p, len); /* netbsd32_size_t */
   2211       1.1  christos 		*n_args = 3;
   2212       1.1  christos 		break;
   2213       1.1  christos 	}
   2214       1.1  christos 	/* netbsd32_getcontext */
   2215       1.1  christos 	case 307: {
   2216      1.17  christos 		const struct netbsd32_getcontext_args *p = params;
   2217       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, ucp).i32; /* netbsd32_ucontextp */
   2218       1.1  christos 		*n_args = 1;
   2219       1.1  christos 		break;
   2220       1.1  christos 	}
   2221       1.1  christos 	/* netbsd32_setcontext */
   2222       1.1  christos 	case 308: {
   2223      1.17  christos 		const struct netbsd32_setcontext_args *p = params;
   2224       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, ucp).i32; /* netbsd32_ucontextp */
   2225       1.1  christos 		*n_args = 1;
   2226       1.1  christos 		break;
   2227       1.1  christos 	}
   2228       1.1  christos 	/* netbsd32__lwp_create */
   2229       1.1  christos 	case 309: {
   2230      1.17  christos 		const struct netbsd32__lwp_create_args *p = params;
   2231       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, ucp).i32; /* netbsd32_ucontextp */
   2232       1.1  christos 		iarg[1] = SCARG(p, flags); /* netbsd32_u_long */
   2233       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, new_lwp).i32; /* netbsd32_lwpidp */
   2234       1.1  christos 		*n_args = 3;
   2235       1.1  christos 		break;
   2236       1.1  christos 	}
   2237       1.1  christos 	/* sys__lwp_exit */
   2238       1.1  christos 	case 310: {
   2239       1.1  christos 		*n_args = 0;
   2240       1.1  christos 		break;
   2241       1.1  christos 	}
   2242       1.1  christos 	/* sys__lwp_self */
   2243       1.1  christos 	case 311: {
   2244       1.1  christos 		*n_args = 0;
   2245       1.1  christos 		break;
   2246       1.1  christos 	}
   2247       1.1  christos 	/* netbsd32__lwp_wait */
   2248       1.1  christos 	case 312: {
   2249      1.17  christos 		const struct netbsd32__lwp_wait_args *p = params;
   2250       1.1  christos 		iarg[0] = SCARG(p, wait_for); /* lwpid_t */
   2251       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, departed).i32; /* netbsd32_lwpidp */
   2252       1.1  christos 		*n_args = 2;
   2253       1.1  christos 		break;
   2254       1.1  christos 	}
   2255       1.1  christos 	/* netbsd32__lwp_suspend */
   2256       1.1  christos 	case 313: {
   2257      1.17  christos 		const struct netbsd32__lwp_suspend_args *p = params;
   2258       1.1  christos 		iarg[0] = SCARG(p, target); /* lwpid_t */
   2259       1.1  christos 		*n_args = 1;
   2260       1.1  christos 		break;
   2261       1.1  christos 	}
   2262       1.1  christos 	/* netbsd32__lwp_continue */
   2263       1.1  christos 	case 314: {
   2264      1.17  christos 		const struct netbsd32__lwp_continue_args *p = params;
   2265       1.1  christos 		iarg[0] = SCARG(p, target); /* lwpid_t */
   2266       1.1  christos 		*n_args = 1;
   2267       1.1  christos 		break;
   2268       1.1  christos 	}
   2269       1.1  christos 	/* netbsd32__lwp_wakeup */
   2270       1.1  christos 	case 315: {
   2271      1.17  christos 		const struct netbsd32__lwp_wakeup_args *p = params;
   2272       1.1  christos 		iarg[0] = SCARG(p, target); /* lwpid_t */
   2273       1.1  christos 		*n_args = 1;
   2274       1.1  christos 		break;
   2275       1.1  christos 	}
   2276       1.1  christos 	/* sys__lwp_getprivate */
   2277       1.1  christos 	case 316: {
   2278       1.1  christos 		*n_args = 0;
   2279       1.1  christos 		break;
   2280       1.1  christos 	}
   2281       1.1  christos 	/* netbsd32__lwp_setprivate */
   2282       1.1  christos 	case 317: {
   2283      1.17  christos 		const struct netbsd32__lwp_setprivate_args *p = params;
   2284       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, ptr).i32; /* netbsd32_voidp */
   2285       1.1  christos 		*n_args = 1;
   2286       1.1  christos 		break;
   2287       1.1  christos 	}
   2288       1.1  christos 	/* netbsd32__lwp_kill */
   2289       1.1  christos 	case 318: {
   2290      1.17  christos 		const struct netbsd32__lwp_kill_args *p = params;
   2291       1.1  christos 		iarg[0] = SCARG(p, target); /* lwpid_t */
   2292       1.1  christos 		iarg[1] = SCARG(p, signo); /* int */
   2293       1.1  christos 		*n_args = 2;
   2294       1.1  christos 		break;
   2295       1.1  christos 	}
   2296       1.1  christos 	/* netbsd32__lwp_detach */
   2297       1.1  christos 	case 319: {
   2298      1.17  christos 		const struct netbsd32__lwp_detach_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_park */
   2304       1.1  christos 	case 320: {
   2305      1.17  christos 		const struct compat_50_netbsd32__lwp_park_args *p = params;
   2306       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, ts).i32; /* netbsd32_timespec50p_t */
   2307       1.1  christos 		iarg[1] = SCARG(p, unpark); /* lwpid_t */
   2308       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, hint).i32; /* netbsd32_voidp */
   2309       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, unparkhint).i32; /* netbsd32_voidp */
   2310       1.1  christos 		*n_args = 4;
   2311       1.1  christos 		break;
   2312       1.1  christos 	}
   2313       1.1  christos 	/* netbsd32__lwp_unpark */
   2314       1.1  christos 	case 321: {
   2315      1.17  christos 		const struct netbsd32__lwp_unpark_args *p = params;
   2316       1.1  christos 		iarg[0] = SCARG(p, target); /* lwpid_t */
   2317       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, hint).i32; /* netbsd32_voidp */
   2318       1.1  christos 		*n_args = 2;
   2319       1.1  christos 		break;
   2320       1.1  christos 	}
   2321       1.1  christos 	/* netbsd32__lwp_unpark_all */
   2322       1.1  christos 	case 322: {
   2323      1.17  christos 		const struct netbsd32__lwp_unpark_all_args *p = params;
   2324       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, targets).i32; /* netbsd32_lwpidp */
   2325       1.1  christos 		iarg[1] = SCARG(p, ntargets); /* netbsd32_size_t */
   2326       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, hint).i32; /* netbsd32_voidp */
   2327       1.1  christos 		*n_args = 3;
   2328       1.1  christos 		break;
   2329       1.1  christos 	}
   2330       1.1  christos 	/* netbsd32__lwp_setname */
   2331       1.1  christos 	case 323: {
   2332      1.17  christos 		const struct netbsd32__lwp_setname_args *p = params;
   2333       1.1  christos 		iarg[0] = SCARG(p, target); /* lwpid_t */
   2334       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
   2335       1.1  christos 		*n_args = 2;
   2336       1.1  christos 		break;
   2337       1.1  christos 	}
   2338       1.1  christos 	/* netbsd32__lwp_getname */
   2339       1.1  christos 	case 324: {
   2340      1.17  christos 		const struct netbsd32__lwp_getname_args *p = params;
   2341       1.1  christos 		iarg[0] = SCARG(p, target); /* lwpid_t */
   2342       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
   2343       1.1  christos 		iarg[2] = SCARG(p, len); /* netbsd32_size_t */
   2344       1.1  christos 		*n_args = 3;
   2345       1.1  christos 		break;
   2346       1.1  christos 	}
   2347       1.1  christos 	/* netbsd32__lwp_ctl */
   2348       1.1  christos 	case 325: {
   2349      1.17  christos 		const struct netbsd32__lwp_ctl_args *p = params;
   2350       1.1  christos 		iarg[0] = SCARG(p, features); /* int */
   2351       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, address).i32; /* netbsd32_pointer_t */
   2352       1.1  christos 		*n_args = 2;
   2353       1.1  christos 		break;
   2354       1.1  christos 	}
   2355       1.1  christos 	/* netbsd32___sigaction_sigtramp */
   2356       1.1  christos 	case 340: {
   2357      1.17  christos 		const struct netbsd32___sigaction_sigtramp_args *p = params;
   2358       1.1  christos 		iarg[0] = SCARG(p, signum); /* int */
   2359       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, nsa).i32; /* netbsd32_sigactionp_t */
   2360       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, osa).i32; /* netbsd32_sigactionp_t */
   2361       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, tramp).i32; /* netbsd32_voidp */
   2362       1.1  christos 		iarg[4] = SCARG(p, vers); /* int */
   2363       1.1  christos 		*n_args = 5;
   2364       1.1  christos 		break;
   2365       1.1  christos 	}
   2366       1.1  christos 	/* netbsd32_rasctl */
   2367       1.1  christos 	case 343: {
   2368      1.17  christos 		const struct netbsd32_rasctl_args *p = params;
   2369       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, addr).i32; /* netbsd32_voidp */
   2370       1.1  christos 		iarg[1] = SCARG(p, len); /* netbsd32_size_t */
   2371       1.1  christos 		iarg[2] = SCARG(p, op); /* int */
   2372       1.1  christos 		*n_args = 3;
   2373       1.1  christos 		break;
   2374       1.1  christos 	}
   2375       1.1  christos 	/* sys_kqueue */
   2376       1.1  christos 	case 344: {
   2377       1.1  christos 		*n_args = 0;
   2378       1.1  christos 		break;
   2379       1.1  christos 	}
   2380       1.1  christos 	/* netbsd32_kevent */
   2381       1.1  christos 	case 345: {
   2382      1.17  christos 		const struct compat_50_netbsd32_kevent_args *p = params;
   2383       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2384       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, changelist).i32; /* netbsd32_keventp_t */
   2385       1.1  christos 		iarg[2] = SCARG(p, nchanges); /* netbsd32_size_t */
   2386       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, eventlist).i32; /* netbsd32_keventp_t */
   2387       1.1  christos 		iarg[4] = SCARG(p, nevents); /* netbsd32_size_t */
   2388       1.1  christos 		uarg[5] = (intptr_t) SCARG(p, timeout).i32; /* netbsd32_timespec50p_t */
   2389       1.1  christos 		*n_args = 6;
   2390       1.1  christos 		break;
   2391       1.1  christos 	}
   2392       1.1  christos 	/* netbsd32__sched_setparam */
   2393       1.1  christos 	case 346: {
   2394      1.17  christos 		const struct netbsd32__sched_setparam_args *p = params;
   2395       1.1  christos 		iarg[0] = SCARG(p, pid); /* pid_t */
   2396       1.1  christos 		iarg[1] = SCARG(p, lid); /* lwpid_t */
   2397       1.1  christos 		iarg[2] = SCARG(p, policy); /* int */
   2398       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, params).i32; /* const netbsd32_sched_paramp_t */
   2399       1.1  christos 		*n_args = 4;
   2400       1.1  christos 		break;
   2401       1.1  christos 	}
   2402       1.1  christos 	/* netbsd32__sched_getparam */
   2403       1.1  christos 	case 347: {
   2404      1.17  christos 		const struct netbsd32__sched_getparam_args *p = params;
   2405       1.1  christos 		iarg[0] = SCARG(p, pid); /* pid_t */
   2406       1.1  christos 		iarg[1] = SCARG(p, lid); /* lwpid_t */
   2407       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, policy).i32; /* netbsd32_intp */
   2408       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, params).i32; /* netbsd32_sched_paramp_t */
   2409       1.1  christos 		*n_args = 4;
   2410       1.1  christos 		break;
   2411       1.1  christos 	}
   2412       1.1  christos 	/* netbsd32__sched_setaffinity */
   2413       1.1  christos 	case 348: {
   2414      1.17  christos 		const struct netbsd32__sched_setaffinity_args *p = params;
   2415       1.1  christos 		iarg[0] = SCARG(p, pid); /* pid_t */
   2416       1.1  christos 		iarg[1] = SCARG(p, lid); /* lwpid_t */
   2417       1.1  christos 		iarg[2] = SCARG(p, size); /* netbsd32_size_t */
   2418       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, cpuset).i32; /* const netbsd32_cpusetp_t */
   2419       1.1  christos 		*n_args = 4;
   2420       1.1  christos 		break;
   2421       1.1  christos 	}
   2422       1.1  christos 	/* netbsd32__sched_getaffinity */
   2423       1.1  christos 	case 349: {
   2424      1.17  christos 		const struct netbsd32__sched_getaffinity_args *p = params;
   2425       1.1  christos 		iarg[0] = SCARG(p, pid); /* pid_t */
   2426       1.1  christos 		iarg[1] = SCARG(p, lid); /* lwpid_t */
   2427       1.1  christos 		iarg[2] = SCARG(p, size); /* netbsd32_size_t */
   2428       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, cpuset).i32; /* netbsd32_cpusetp_t */
   2429       1.1  christos 		*n_args = 4;
   2430       1.1  christos 		break;
   2431       1.1  christos 	}
   2432       1.1  christos 	/* sys_sched_yield */
   2433       1.1  christos 	case 350: {
   2434       1.1  christos 		*n_args = 0;
   2435       1.1  christos 		break;
   2436       1.1  christos 	}
   2437      1.13     skrll 	/* netbsd32__sched_protect */
   2438      1.13     skrll 	case 351: {
   2439      1.17  christos 		const struct netbsd32__sched_protect_args *p = params;
   2440      1.13     skrll 		iarg[0] = SCARG(p, priority); /* int */
   2441      1.13     skrll 		*n_args = 1;
   2442      1.13     skrll 		break;
   2443      1.13     skrll 	}
   2444       1.1  christos 	/* netbsd32_fsync_range */
   2445       1.1  christos 	case 354: {
   2446      1.17  christos 		const struct netbsd32_fsync_range_args *p = params;
   2447       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2448       1.1  christos 		iarg[1] = SCARG(p, flags); /* int */
   2449       1.1  christos 		iarg[2] = SCARG(p, start); /* netbsd32_off_t */
   2450       1.1  christos 		iarg[3] = SCARG(p, length); /* netbsd32_off_t */
   2451       1.1  christos 		*n_args = 4;
   2452       1.1  christos 		break;
   2453       1.1  christos 	}
   2454       1.1  christos 	/* netbsd32_uuidgen */
   2455       1.1  christos 	case 355: {
   2456      1.17  christos 		const struct netbsd32_uuidgen_args *p = params;
   2457       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, store).i32; /* netbsd32_uuidp_t */
   2458       1.1  christos 		iarg[1] = SCARG(p, count); /* int */
   2459       1.1  christos 		*n_args = 2;
   2460       1.1  christos 		break;
   2461       1.1  christos 	}
   2462       1.1  christos 	/* netbsd32_getvfsstat */
   2463       1.1  christos 	case 356: {
   2464      1.33  christos 		const struct compat_90_netbsd32_getvfsstat_args *p = params;
   2465      1.33  christos 		uarg[0] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_statvfs90p_t */
   2466       1.1  christos 		iarg[1] = SCARG(p, bufsize); /* netbsd32_size_t */
   2467       1.1  christos 		iarg[2] = SCARG(p, flags); /* int */
   2468       1.1  christos 		*n_args = 3;
   2469       1.1  christos 		break;
   2470       1.1  christos 	}
   2471       1.1  christos 	/* netbsd32_statvfs1 */
   2472       1.1  christos 	case 357: {
   2473      1.33  christos 		const struct compat_90_netbsd32_statvfs1_args *p = params;
   2474       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2475      1.33  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_statvfs90p_t */
   2476       1.1  christos 		iarg[2] = SCARG(p, flags); /* int */
   2477       1.1  christos 		*n_args = 3;
   2478       1.1  christos 		break;
   2479       1.1  christos 	}
   2480       1.1  christos 	/* netbsd32_fstatvfs1 */
   2481       1.1  christos 	case 358: {
   2482      1.33  christos 		const struct compat_90_netbsd32_fstatvfs1_args *p = params;
   2483       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2484      1.33  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_statvfs90p_t */
   2485       1.1  christos 		iarg[2] = SCARG(p, flags); /* int */
   2486       1.1  christos 		*n_args = 3;
   2487       1.1  christos 		break;
   2488       1.1  christos 	}
   2489       1.1  christos 	/* netbsd32_fhstatvfs1 */
   2490       1.1  christos 	case 359: {
   2491      1.17  christos 		const struct compat_30_netbsd32_fhstatvfs1_args *p = params;
   2492       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, fhp).i32; /* netbsd32_fhandlep_t */
   2493      1.33  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_statvfs90p_t */
   2494       1.1  christos 		iarg[2] = SCARG(p, flags); /* int */
   2495       1.1  christos 		*n_args = 3;
   2496       1.1  christos 		break;
   2497       1.1  christos 	}
   2498       1.1  christos 	/* netbsd32_extattrctl */
   2499       1.1  christos 	case 360: {
   2500      1.17  christos 		const struct netbsd32_extattrctl_args *p = params;
   2501       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2502       1.1  christos 		iarg[1] = SCARG(p, cmd); /* int */
   2503       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, filename).i32; /* netbsd32_charp */
   2504       1.1  christos 		iarg[3] = SCARG(p, attrnamespace); /* int */
   2505       1.1  christos 		uarg[4] = (intptr_t) SCARG(p, attrname).i32; /* netbsd32_charp */
   2506       1.1  christos 		*n_args = 5;
   2507       1.1  christos 		break;
   2508       1.1  christos 	}
   2509       1.1  christos 	/* netbsd32_extattr_set_file */
   2510       1.1  christos 	case 361: {
   2511      1.17  christos 		const struct netbsd32_extattr_set_file_args *p = params;
   2512       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2513       1.1  christos 		iarg[1] = SCARG(p, attrnamespace); /* int */
   2514       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, attrname).i32; /* netbsd32_charp */
   2515       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, data).i32; /* netbsd32_voidp */
   2516       1.1  christos 		iarg[4] = SCARG(p, nbytes); /* netbsd32_size_t */
   2517       1.1  christos 		*n_args = 5;
   2518       1.1  christos 		break;
   2519       1.1  christos 	}
   2520       1.1  christos 	/* netbsd32_extattr_get_file */
   2521       1.1  christos 	case 362: {
   2522      1.17  christos 		const struct netbsd32_extattr_get_file_args *p = params;
   2523       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2524       1.1  christos 		iarg[1] = SCARG(p, attrnamespace); /* int */
   2525       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, attrname).i32; /* netbsd32_charp */
   2526       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, data).i32; /* netbsd32_voidp */
   2527       1.1  christos 		iarg[4] = SCARG(p, nbytes); /* netbsd32_size_t */
   2528       1.1  christos 		*n_args = 5;
   2529       1.1  christos 		break;
   2530       1.1  christos 	}
   2531       1.1  christos 	/* netbsd32_extattr_delete_file */
   2532       1.1  christos 	case 363: {
   2533      1.17  christos 		const struct netbsd32_extattr_delete_file_args *p = params;
   2534       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2535       1.1  christos 		iarg[1] = SCARG(p, attrnamespace); /* int */
   2536       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, attrname).i32; /* netbsd32_charp */
   2537       1.1  christos 		*n_args = 3;
   2538       1.1  christos 		break;
   2539       1.1  christos 	}
   2540       1.1  christos 	/* netbsd32_extattr_set_fd */
   2541       1.1  christos 	case 364: {
   2542      1.17  christos 		const struct netbsd32_extattr_set_fd_args *p = params;
   2543       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2544       1.1  christos 		iarg[1] = SCARG(p, attrnamespace); /* int */
   2545       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, attrname).i32; /* netbsd32_charp */
   2546       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, data).i32; /* netbsd32_voidp */
   2547       1.1  christos 		iarg[4] = SCARG(p, nbytes); /* netbsd32_size_t */
   2548       1.1  christos 		*n_args = 5;
   2549       1.1  christos 		break;
   2550       1.1  christos 	}
   2551       1.1  christos 	/* netbsd32_extattr_get_fd */
   2552       1.1  christos 	case 365: {
   2553      1.17  christos 		const struct netbsd32_extattr_get_fd_args *p = params;
   2554       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2555       1.1  christos 		iarg[1] = SCARG(p, attrnamespace); /* int */
   2556       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, attrname).i32; /* netbsd32_charp */
   2557       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, data).i32; /* netbsd32_voidp */
   2558       1.1  christos 		iarg[4] = SCARG(p, nbytes); /* netbsd32_size_t */
   2559       1.1  christos 		*n_args = 5;
   2560       1.1  christos 		break;
   2561       1.1  christos 	}
   2562       1.1  christos 	/* netbsd32_extattr_delete_fd */
   2563       1.1  christos 	case 366: {
   2564      1.17  christos 		const struct netbsd32_extattr_delete_fd_args *p = params;
   2565       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2566       1.1  christos 		iarg[1] = SCARG(p, attrnamespace); /* int */
   2567       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, attrname).i32; /* netbsd32_charp */
   2568       1.1  christos 		*n_args = 3;
   2569       1.1  christos 		break;
   2570       1.1  christos 	}
   2571       1.1  christos 	/* netbsd32_extattr_set_link */
   2572       1.1  christos 	case 367: {
   2573      1.17  christos 		const struct netbsd32_extattr_set_link_args *p = params;
   2574       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2575       1.1  christos 		iarg[1] = SCARG(p, attrnamespace); /* int */
   2576       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, attrname).i32; /* netbsd32_charp */
   2577       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, data).i32; /* netbsd32_voidp */
   2578       1.1  christos 		iarg[4] = SCARG(p, nbytes); /* netbsd32_size_t */
   2579       1.1  christos 		*n_args = 5;
   2580       1.1  christos 		break;
   2581       1.1  christos 	}
   2582       1.1  christos 	/* netbsd32_extattr_get_link */
   2583       1.1  christos 	case 368: {
   2584      1.17  christos 		const struct netbsd32_extattr_get_link_args *p = params;
   2585       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2586       1.1  christos 		iarg[1] = SCARG(p, attrnamespace); /* int */
   2587       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, attrname).i32; /* netbsd32_charp */
   2588       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, data).i32; /* netbsd32_voidp */
   2589       1.1  christos 		iarg[4] = SCARG(p, nbytes); /* netbsd32_size_t */
   2590       1.1  christos 		*n_args = 5;
   2591       1.1  christos 		break;
   2592       1.1  christos 	}
   2593       1.1  christos 	/* netbsd32_extattr_delete_link */
   2594       1.1  christos 	case 369: {
   2595      1.17  christos 		const struct netbsd32_extattr_delete_link_args *p = params;
   2596       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2597       1.1  christos 		iarg[1] = SCARG(p, attrnamespace); /* int */
   2598       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, attrname).i32; /* netbsd32_charp */
   2599       1.1  christos 		*n_args = 3;
   2600       1.1  christos 		break;
   2601       1.1  christos 	}
   2602       1.1  christos 	/* netbsd32_extattr_list_fd */
   2603       1.1  christos 	case 370: {
   2604      1.17  christos 		const struct netbsd32_extattr_list_fd_args *p = params;
   2605       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2606       1.1  christos 		iarg[1] = SCARG(p, attrnamespace); /* int */
   2607       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, data).i32; /* netbsd32_voidp */
   2608       1.1  christos 		iarg[3] = SCARG(p, nbytes); /* netbsd32_size_t */
   2609       1.1  christos 		*n_args = 4;
   2610       1.1  christos 		break;
   2611       1.1  christos 	}
   2612       1.1  christos 	/* netbsd32_extattr_list_file */
   2613       1.1  christos 	case 371: {
   2614      1.17  christos 		const struct netbsd32_extattr_list_file_args *p = params;
   2615       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2616       1.1  christos 		iarg[1] = SCARG(p, attrnamespace); /* int */
   2617       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, data).i32; /* netbsd32_voidp */
   2618       1.1  christos 		iarg[3] = SCARG(p, nbytes); /* netbsd32_size_t */
   2619       1.1  christos 		*n_args = 4;
   2620       1.1  christos 		break;
   2621       1.1  christos 	}
   2622       1.1  christos 	/* netbsd32_extattr_list_link */
   2623       1.1  christos 	case 372: {
   2624      1.17  christos 		const struct netbsd32_extattr_list_link_args *p = params;
   2625       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2626       1.1  christos 		iarg[1] = SCARG(p, attrnamespace); /* int */
   2627       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, data).i32; /* netbsd32_voidp */
   2628       1.1  christos 		iarg[3] = SCARG(p, nbytes); /* netbsd32_size_t */
   2629       1.1  christos 		*n_args = 4;
   2630       1.1  christos 		break;
   2631       1.1  christos 	}
   2632       1.1  christos 	/* netbsd32_pselect */
   2633       1.1  christos 	case 373: {
   2634      1.17  christos 		const struct compat_50_netbsd32_pselect_args *p = params;
   2635       1.1  christos 		iarg[0] = SCARG(p, nd); /* int */
   2636       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, in).i32; /* netbsd32_fd_setp_t */
   2637       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, ou).i32; /* netbsd32_fd_setp_t */
   2638       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, ex).i32; /* netbsd32_fd_setp_t */
   2639       1.1  christos 		uarg[4] = (intptr_t) SCARG(p, ts).i32; /* netbsd32_timespec50p_t */
   2640       1.1  christos 		uarg[5] = (intptr_t) SCARG(p, mask).i32; /* netbsd32_sigsetp_t */
   2641       1.1  christos 		*n_args = 6;
   2642       1.1  christos 		break;
   2643       1.1  christos 	}
   2644       1.1  christos 	/* netbsd32_pollts */
   2645       1.1  christos 	case 374: {
   2646      1.17  christos 		const struct compat_50_netbsd32_pollts_args *p = params;
   2647       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, fds).i32; /* netbsd32_pollfdp_t */
   2648       1.1  christos 		uarg[1] = SCARG(p, nfds); /* u_int */
   2649       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, ts).i32; /* netbsd32_timespec50p_t */
   2650       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, mask).i32; /* netbsd32_sigsetp_t */
   2651       1.1  christos 		*n_args = 4;
   2652       1.1  christos 		break;
   2653       1.1  christos 	}
   2654       1.1  christos 	/* netbsd32_setxattr */
   2655       1.1  christos 	case 375: {
   2656      1.17  christos 		const struct netbsd32_setxattr_args *p = params;
   2657       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2658       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
   2659       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, value).i32; /* netbsd32_voidp */
   2660       1.1  christos 		iarg[3] = SCARG(p, size); /* netbsd32_size_t */
   2661       1.1  christos 		iarg[4] = SCARG(p, flags); /* int */
   2662       1.1  christos 		*n_args = 5;
   2663       1.1  christos 		break;
   2664       1.1  christos 	}
   2665       1.1  christos 	/* netbsd32_lsetxattr */
   2666       1.1  christos 	case 376: {
   2667      1.17  christos 		const struct netbsd32_lsetxattr_args *p = params;
   2668       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2669       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
   2670       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, value).i32; /* netbsd32_voidp */
   2671       1.1  christos 		iarg[3] = SCARG(p, size); /* netbsd32_size_t */
   2672       1.1  christos 		iarg[4] = SCARG(p, flags); /* int */
   2673       1.1  christos 		*n_args = 5;
   2674       1.1  christos 		break;
   2675       1.1  christos 	}
   2676       1.1  christos 	/* netbsd32_fsetxattr */
   2677       1.1  christos 	case 377: {
   2678      1.17  christos 		const struct netbsd32_fsetxattr_args *p = params;
   2679       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2680       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
   2681       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, value).i32; /* netbsd32_voidp */
   2682       1.1  christos 		iarg[3] = SCARG(p, size); /* netbsd32_size_t */
   2683       1.1  christos 		iarg[4] = SCARG(p, flags); /* int */
   2684       1.1  christos 		*n_args = 5;
   2685       1.1  christos 		break;
   2686       1.1  christos 	}
   2687       1.1  christos 	/* netbsd32_getxattr */
   2688       1.1  christos 	case 378: {
   2689      1.17  christos 		const struct netbsd32_getxattr_args *p = params;
   2690       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2691       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
   2692       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, value).i32; /* netbsd32_voidp */
   2693       1.1  christos 		iarg[3] = SCARG(p, size); /* netbsd32_size_t */
   2694       1.1  christos 		*n_args = 4;
   2695       1.1  christos 		break;
   2696       1.1  christos 	}
   2697       1.1  christos 	/* netbsd32_lgetxattr */
   2698       1.1  christos 	case 379: {
   2699      1.17  christos 		const struct netbsd32_lgetxattr_args *p = params;
   2700       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2701       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
   2702       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, value).i32; /* netbsd32_voidp */
   2703       1.1  christos 		iarg[3] = SCARG(p, size); /* netbsd32_size_t */
   2704       1.1  christos 		*n_args = 4;
   2705       1.1  christos 		break;
   2706       1.1  christos 	}
   2707       1.1  christos 	/* netbsd32_fgetxattr */
   2708       1.1  christos 	case 380: {
   2709      1.17  christos 		const struct netbsd32_fgetxattr_args *p = params;
   2710       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2711       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
   2712       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, value).i32; /* netbsd32_voidp */
   2713       1.1  christos 		iarg[3] = SCARG(p, size); /* netbsd32_size_t */
   2714       1.1  christos 		*n_args = 4;
   2715       1.1  christos 		break;
   2716       1.1  christos 	}
   2717       1.1  christos 	/* netbsd32_listxattr */
   2718       1.1  christos 	case 381: {
   2719      1.17  christos 		const struct netbsd32_listxattr_args *p = params;
   2720       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2721       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, list).i32; /* netbsd32_charp */
   2722       1.1  christos 		iarg[2] = SCARG(p, size); /* netbsd32_size_t */
   2723       1.1  christos 		*n_args = 3;
   2724       1.1  christos 		break;
   2725       1.1  christos 	}
   2726       1.1  christos 	/* netbsd32_llistxattr */
   2727       1.1  christos 	case 382: {
   2728      1.17  christos 		const struct netbsd32_llistxattr_args *p = params;
   2729       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2730       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, list).i32; /* netbsd32_charp */
   2731       1.1  christos 		iarg[2] = SCARG(p, size); /* netbsd32_size_t */
   2732       1.1  christos 		*n_args = 3;
   2733       1.1  christos 		break;
   2734       1.1  christos 	}
   2735       1.1  christos 	/* netbsd32_flistxattr */
   2736       1.1  christos 	case 383: {
   2737      1.17  christos 		const struct netbsd32_flistxattr_args *p = params;
   2738       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2739       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, list).i32; /* netbsd32_charp */
   2740       1.1  christos 		iarg[2] = SCARG(p, size); /* netbsd32_size_t */
   2741       1.1  christos 		*n_args = 3;
   2742       1.1  christos 		break;
   2743       1.1  christos 	}
   2744       1.1  christos 	/* netbsd32_removexattr */
   2745       1.1  christos 	case 384: {
   2746      1.17  christos 		const struct netbsd32_removexattr_args *p = params;
   2747       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2748       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
   2749       1.1  christos 		*n_args = 2;
   2750       1.1  christos 		break;
   2751       1.1  christos 	}
   2752       1.1  christos 	/* netbsd32_lremovexattr */
   2753       1.1  christos 	case 385: {
   2754      1.17  christos 		const struct netbsd32_lremovexattr_args *p = params;
   2755       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2756       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
   2757       1.1  christos 		*n_args = 2;
   2758       1.1  christos 		break;
   2759       1.1  christos 	}
   2760       1.1  christos 	/* netbsd32_fremovexattr */
   2761       1.1  christos 	case 386: {
   2762      1.17  christos 		const struct netbsd32_fremovexattr_args *p = params;
   2763       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2764       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_charp */
   2765       1.1  christos 		*n_args = 2;
   2766       1.1  christos 		break;
   2767       1.1  christos 	}
   2768       1.1  christos 	/* netbsd32___stat30 */
   2769       1.1  christos 	case 387: {
   2770      1.17  christos 		const struct compat_50_netbsd32___stat30_args *p = params;
   2771       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2772       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, ub).i32; /* netbsd32_stat50p_t */
   2773       1.1  christos 		*n_args = 2;
   2774       1.1  christos 		break;
   2775       1.1  christos 	}
   2776       1.1  christos 	/* netbsd32___fstat30 */
   2777       1.1  christos 	case 388: {
   2778      1.17  christos 		const struct compat_50_netbsd32___fstat30_args *p = params;
   2779       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2780       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, sb).i32; /* netbsd32_stat50p_t */
   2781       1.1  christos 		*n_args = 2;
   2782       1.1  christos 		break;
   2783       1.1  christos 	}
   2784       1.1  christos 	/* netbsd32___lstat30 */
   2785       1.1  christos 	case 389: {
   2786      1.17  christos 		const struct compat_50_netbsd32___lstat30_args *p = params;
   2787       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2788       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, ub).i32; /* netbsd32_stat50p_t */
   2789       1.1  christos 		*n_args = 2;
   2790       1.1  christos 		break;
   2791       1.1  christos 	}
   2792       1.1  christos 	/* netbsd32___getdents30 */
   2793       1.1  christos 	case 390: {
   2794      1.17  christos 		const struct netbsd32___getdents30_args *p = params;
   2795       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2796       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_charp */
   2797       1.1  christos 		iarg[2] = SCARG(p, count); /* netbsd32_size_t */
   2798       1.1  christos 		*n_args = 3;
   2799       1.1  christos 		break;
   2800       1.1  christos 	}
   2801       1.1  christos 	/* netbsd32___fhstat30 */
   2802       1.1  christos 	case 392: {
   2803      1.17  christos 		const struct compat_30_netbsd32___fhstat30_args *p = params;
   2804       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, fhp).i32; /* netbsd32_fhandlep_t */
   2805       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, sb).i32; /* netbsd32_stat50p_t */
   2806       1.1  christos 		*n_args = 2;
   2807       1.1  christos 		break;
   2808       1.1  christos 	}
   2809       1.1  christos 	/* netbsd32_ntp_gettime */
   2810       1.1  christos 	case 393: {
   2811      1.17  christos 		const struct compat_50_netbsd32_ntp_gettime_args *p = params;
   2812       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, ntvp).i32; /* netbsd32_ntptimeval50p_t */
   2813       1.1  christos 		*n_args = 1;
   2814       1.1  christos 		break;
   2815       1.1  christos 	}
   2816       1.1  christos 	/* netbsd32___socket30 */
   2817       1.1  christos 	case 394: {
   2818      1.17  christos 		const struct netbsd32___socket30_args *p = params;
   2819       1.1  christos 		iarg[0] = SCARG(p, domain); /* int */
   2820       1.1  christos 		iarg[1] = SCARG(p, type); /* int */
   2821       1.1  christos 		iarg[2] = SCARG(p, protocol); /* int */
   2822       1.1  christos 		*n_args = 3;
   2823       1.1  christos 		break;
   2824       1.1  christos 	}
   2825       1.1  christos 	/* netbsd32___getfh30 */
   2826       1.1  christos 	case 395: {
   2827      1.17  christos 		const struct netbsd32___getfh30_args *p = params;
   2828       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, fname).i32; /* netbsd32_charp */
   2829       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, fhp).i32; /* netbsd32_pointer_t */
   2830       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, fh_size).i32; /* netbsd32_size_tp */
   2831       1.1  christos 		*n_args = 3;
   2832       1.1  christos 		break;
   2833       1.1  christos 	}
   2834       1.1  christos 	/* netbsd32___fhopen40 */
   2835       1.1  christos 	case 396: {
   2836      1.17  christos 		const struct netbsd32___fhopen40_args *p = params;
   2837       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, fhp).i32; /* netbsd32_pointer_t */
   2838       1.1  christos 		iarg[1] = SCARG(p, fh_size); /* netbsd32_size_t */
   2839       1.1  christos 		iarg[2] = SCARG(p, flags); /* int */
   2840       1.1  christos 		*n_args = 3;
   2841       1.1  christos 		break;
   2842       1.1  christos 	}
   2843      1.33  christos 	/* netbsd32_fhstatvfs1 */
   2844       1.1  christos 	case 397: {
   2845      1.33  christos 		const struct compat_90_netbsd32_fhstatvfs1_args *p = params;
   2846       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, fhp).i32; /* netbsd32_pointer_t */
   2847       1.1  christos 		iarg[1] = SCARG(p, fh_size); /* netbsd32_size_t */
   2848      1.33  christos 		uarg[2] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_statvfs90p_t */
   2849       1.1  christos 		iarg[3] = SCARG(p, flags); /* int */
   2850       1.1  christos 		*n_args = 4;
   2851       1.1  christos 		break;
   2852       1.1  christos 	}
   2853       1.1  christos 	/* netbsd32___fhstat40 */
   2854       1.1  christos 	case 398: {
   2855      1.17  christos 		const struct compat_50_netbsd32___fhstat40_args *p = params;
   2856       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, fhp).i32; /* netbsd32_pointer_t */
   2857       1.1  christos 		iarg[1] = SCARG(p, fh_size); /* netbsd32_size_t */
   2858       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, sb).i32; /* netbsd32_stat50p_t */
   2859       1.1  christos 		*n_args = 3;
   2860       1.1  christos 		break;
   2861       1.1  christos 	}
   2862       1.1  christos 	/* netbsd32___mount50 */
   2863       1.1  christos 	case 410: {
   2864      1.17  christos 		const struct netbsd32___mount50_args *p = params;
   2865       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, type).i32; /* netbsd32_charp */
   2866       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   2867       1.1  christos 		iarg[2] = SCARG(p, flags); /* int */
   2868       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, data).i32; /* netbsd32_voidp */
   2869       1.1  christos 		iarg[4] = SCARG(p, data_len); /* netbsd32_size_t */
   2870       1.1  christos 		*n_args = 5;
   2871       1.1  christos 		break;
   2872       1.1  christos 	}
   2873       1.1  christos 	/* netbsd32_mremap */
   2874       1.1  christos 	case 411: {
   2875      1.17  christos 		const struct netbsd32_mremap_args *p = params;
   2876       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, old_address).i32; /* netbsd32_voidp */
   2877       1.1  christos 		iarg[1] = SCARG(p, old_size); /* netbsd32_size_t */
   2878       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, new_address).i32; /* netbsd32_voidp */
   2879       1.1  christos 		iarg[3] = SCARG(p, new_size); /* netbsd32_size_t */
   2880       1.1  christos 		iarg[4] = SCARG(p, flags); /* int */
   2881       1.1  christos 		*n_args = 5;
   2882       1.1  christos 		break;
   2883       1.1  christos 	}
   2884       1.5    martin 	/* netbsd32_pset_create */
   2885       1.5    martin 	case 412: {
   2886      1.17  christos 		const struct netbsd32_pset_create_args *p = params;
   2887       1.5    martin 		uarg[0] = (intptr_t) SCARG(p, psid).i32; /* netbsd32_psetidp_t */
   2888       1.5    martin 		*n_args = 1;
   2889       1.5    martin 		break;
   2890       1.5    martin 	}
   2891       1.5    martin 	/* netbsd32_pset_destroy */
   2892       1.5    martin 	case 413: {
   2893      1.17  christos 		const struct netbsd32_pset_destroy_args *p = params;
   2894       1.5    martin 		iarg[0] = SCARG(p, psid); /* psetid_t */
   2895       1.5    martin 		*n_args = 1;
   2896       1.5    martin 		break;
   2897       1.5    martin 	}
   2898       1.5    martin 	/* netbsd32_pset_assign */
   2899       1.5    martin 	case 414: {
   2900      1.17  christos 		const struct netbsd32_pset_assign_args *p = params;
   2901       1.5    martin 		iarg[0] = SCARG(p, psid); /* psetid_t */
   2902       1.5    martin 		iarg[1] = SCARG(p, cpuid); /* cpuid_t */
   2903       1.5    martin 		uarg[2] = (intptr_t) SCARG(p, opsid).i32; /* netbsd32_psetidp_t */
   2904       1.5    martin 		*n_args = 3;
   2905       1.5    martin 		break;
   2906       1.5    martin 	}
   2907       1.5    martin 	/* netbsd32__pset_bind */
   2908       1.5    martin 	case 415: {
   2909      1.17  christos 		const struct netbsd32__pset_bind_args *p = params;
   2910       1.5    martin 		iarg[0] = SCARG(p, idtype); /* idtype_t */
   2911       1.5    martin 		iarg[1] = SCARG(p, first_id); /* id_t */
   2912       1.5    martin 		iarg[2] = SCARG(p, second_id); /* id_t */
   2913       1.5    martin 		iarg[3] = SCARG(p, psid); /* psetid_t */
   2914       1.5    martin 		uarg[4] = (intptr_t) SCARG(p, opsid).i32; /* netbsd32_psetidp_t */
   2915       1.5    martin 		*n_args = 5;
   2916       1.5    martin 		break;
   2917       1.5    martin 	}
   2918       1.1  christos 	/* netbsd32___posix_fadvise50 */
   2919       1.1  christos 	case 416: {
   2920      1.17  christos 		const struct netbsd32___posix_fadvise50_args *p = params;
   2921       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2922       1.1  christos 		iarg[1] = SCARG(p, PAD); /* int */
   2923       1.1  christos 		iarg[2] = SCARG(p, offset); /* netbsd32_off_t */
   2924       1.1  christos 		iarg[3] = SCARG(p, len); /* netbsd32_off_t */
   2925       1.1  christos 		iarg[4] = SCARG(p, advice); /* int */
   2926       1.1  christos 		*n_args = 5;
   2927       1.1  christos 		break;
   2928       1.1  christos 	}
   2929       1.1  christos 	/* netbsd32___select50 */
   2930       1.1  christos 	case 417: {
   2931      1.17  christos 		const struct netbsd32___select50_args *p = params;
   2932       1.1  christos 		iarg[0] = SCARG(p, nd); /* int */
   2933       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, in).i32; /* netbsd32_fd_setp_t */
   2934       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, ou).i32; /* netbsd32_fd_setp_t */
   2935       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, ex).i32; /* netbsd32_fd_setp_t */
   2936       1.1  christos 		uarg[4] = (intptr_t) SCARG(p, tv).i32; /* netbsd32_timevalp_t */
   2937       1.1  christos 		*n_args = 5;
   2938       1.1  christos 		break;
   2939       1.1  christos 	}
   2940       1.1  christos 	/* netbsd32___gettimeofday50 */
   2941       1.1  christos 	case 418: {
   2942      1.17  christos 		const struct netbsd32___gettimeofday50_args *p = params;
   2943       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, tp).i32; /* netbsd32_timevalp_t */
   2944       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tzp).i32; /* netbsd32_voidp */
   2945       1.1  christos 		*n_args = 2;
   2946       1.1  christos 		break;
   2947       1.1  christos 	}
   2948       1.1  christos 	/* netbsd32___settimeofday50 */
   2949       1.1  christos 	case 419: {
   2950      1.17  christos 		const struct netbsd32___settimeofday50_args *p = params;
   2951       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, tv).i32; /* const netbsd32_timevalp_t */
   2952       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tzp).i32; /* const netbsd32_voidp */
   2953       1.1  christos 		*n_args = 2;
   2954       1.1  christos 		break;
   2955       1.1  christos 	}
   2956       1.1  christos 	/* netbsd32___utimes50 */
   2957       1.1  christos 	case 420: {
   2958      1.17  christos 		const struct netbsd32___utimes50_args *p = params;
   2959       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   2960       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tptr).i32; /* const netbsd32_timevalp_t */
   2961       1.1  christos 		*n_args = 2;
   2962       1.1  christos 		break;
   2963       1.1  christos 	}
   2964       1.1  christos 	/* netbsd32___adjtime50 */
   2965       1.1  christos 	case 421: {
   2966      1.17  christos 		const struct netbsd32___adjtime50_args *p = params;
   2967       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, delta).i32; /* const netbsd32_timevalp_t */
   2968       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, olddelta).i32; /* netbsd32_timevalp_t */
   2969       1.1  christos 		*n_args = 2;
   2970       1.1  christos 		break;
   2971       1.1  christos 	}
   2972       1.1  christos 	/* netbsd32___futimes50 */
   2973       1.1  christos 	case 423: {
   2974      1.17  christos 		const struct netbsd32___futimes50_args *p = params;
   2975       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   2976       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tptr).i32; /* const netbsd32_timevalp_t */
   2977       1.1  christos 		*n_args = 2;
   2978       1.1  christos 		break;
   2979       1.1  christos 	}
   2980       1.1  christos 	/* netbsd32___lutimes50 */
   2981       1.1  christos 	case 424: {
   2982      1.17  christos 		const struct netbsd32___lutimes50_args *p = params;
   2983       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   2984       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tptr).i32; /* const netbsd32_timevalp_t */
   2985       1.1  christos 		*n_args = 2;
   2986       1.1  christos 		break;
   2987       1.1  christos 	}
   2988       1.1  christos 	/* netbsd32___setitimer50 */
   2989       1.1  christos 	case 425: {
   2990      1.17  christos 		const struct netbsd32___setitimer50_args *p = params;
   2991       1.1  christos 		iarg[0] = SCARG(p, which); /* int */
   2992       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, itv).i32; /* const netbsd32_itimervalp_t */
   2993       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, oitv).i32; /* netbsd32_itimervalp_t */
   2994       1.1  christos 		*n_args = 3;
   2995       1.1  christos 		break;
   2996       1.1  christos 	}
   2997       1.1  christos 	/* netbsd32___getitimer50 */
   2998       1.1  christos 	case 426: {
   2999      1.17  christos 		const struct netbsd32___getitimer50_args *p = params;
   3000       1.1  christos 		iarg[0] = SCARG(p, which); /* int */
   3001       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, itv).i32; /* netbsd32_itimervalp_t */
   3002       1.1  christos 		*n_args = 2;
   3003       1.1  christos 		break;
   3004       1.1  christos 	}
   3005       1.1  christos 	/* netbsd32___clock_gettime50 */
   3006       1.1  christos 	case 427: {
   3007      1.17  christos 		const struct netbsd32___clock_gettime50_args *p = params;
   3008       1.1  christos 		iarg[0] = SCARG(p, clock_id); /* clockid_t */
   3009       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tp).i32; /* netbsd32_timespecp_t */
   3010       1.1  christos 		*n_args = 2;
   3011       1.1  christos 		break;
   3012       1.1  christos 	}
   3013       1.1  christos 	/* netbsd32___clock_settime50 */
   3014       1.1  christos 	case 428: {
   3015      1.17  christos 		const struct netbsd32___clock_settime50_args *p = params;
   3016       1.1  christos 		iarg[0] = SCARG(p, clock_id); /* clockid_t */
   3017       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tp).i32; /* const netbsd32_timespecp_t */
   3018       1.1  christos 		*n_args = 2;
   3019       1.1  christos 		break;
   3020       1.1  christos 	}
   3021       1.1  christos 	/* netbsd32___clock_getres50 */
   3022       1.1  christos 	case 429: {
   3023      1.17  christos 		const struct netbsd32___clock_getres50_args *p = params;
   3024       1.1  christos 		iarg[0] = SCARG(p, clock_id); /* clockid_t */
   3025       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tp).i32; /* netbsd32_timespecp_t */
   3026       1.1  christos 		*n_args = 2;
   3027       1.1  christos 		break;
   3028       1.1  christos 	}
   3029       1.1  christos 	/* netbsd32___nanosleep50 */
   3030       1.1  christos 	case 430: {
   3031      1.17  christos 		const struct netbsd32___nanosleep50_args *p = params;
   3032       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, rqtp).i32; /* const netbsd32_timespecp_t */
   3033       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, rmtp).i32; /* netbsd32_timespecp_t */
   3034       1.1  christos 		*n_args = 2;
   3035       1.1  christos 		break;
   3036       1.1  christos 	}
   3037       1.1  christos 	/* netbsd32_____sigtimedwait50 */
   3038       1.1  christos 	case 431: {
   3039      1.17  christos 		const struct netbsd32_____sigtimedwait50_args *p = params;
   3040       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, set).i32; /* const netbsd32_sigsetp_t */
   3041       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, info).i32; /* netbsd32_siginfop_t */
   3042       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, timeout).i32; /* netbsd32_timespecp_t */
   3043       1.1  christos 		*n_args = 3;
   3044       1.1  christos 		break;
   3045       1.1  christos 	}
   3046       1.4    martin 	/* netbsd32___mq_timedsend50 */
   3047       1.4    martin 	case 432: {
   3048      1.17  christos 		const struct netbsd32___mq_timedsend50_args *p = params;
   3049       1.4    martin 		iarg[0] = SCARG(p, mqdes); /* mqd_t */
   3050       1.4    martin 		uarg[1] = (intptr_t) SCARG(p, msg_ptr).i32; /* const netbsd32_charp */
   3051       1.4    martin 		iarg[2] = SCARG(p, msg_len); /* netbsd32_size_t */
   3052       1.4    martin 		uarg[3] = SCARG(p, msg_prio); /* unsigned */
   3053       1.4    martin 		uarg[4] = (intptr_t) SCARG(p, abs_timeout).i32; /* const netbsd32_timespecp_t */
   3054       1.4    martin 		*n_args = 5;
   3055       1.4    martin 		break;
   3056       1.4    martin 	}
   3057       1.4    martin 	/* netbsd32___mq_timedreceive50 */
   3058       1.4    martin 	case 433: {
   3059      1.17  christos 		const struct netbsd32___mq_timedreceive50_args *p = params;
   3060       1.4    martin 		iarg[0] = SCARG(p, mqdes); /* mqd_t */
   3061       1.4    martin 		uarg[1] = (intptr_t) SCARG(p, msg_ptr).i32; /* netbsd32_charp */
   3062       1.4    martin 		iarg[2] = SCARG(p, msg_len); /* netbsd32_size_t */
   3063       1.4    martin 		uarg[3] = (intptr_t) SCARG(p, msg_prio).i32; /* netbsd32_uintp */
   3064       1.4    martin 		uarg[4] = (intptr_t) SCARG(p, abs_timeout).i32; /* const netbsd32_timespecp_t */
   3065       1.4    martin 		*n_args = 5;
   3066       1.4    martin 		break;
   3067       1.4    martin 	}
   3068       1.1  christos 	/* netbsd32__lwp_park */
   3069       1.1  christos 	case 434: {
   3070      1.17  christos 		const struct compat_60_netbsd32__lwp_park_args *p = params;
   3071       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, ts).i32; /* const netbsd32_timespecp_t */
   3072       1.1  christos 		iarg[1] = SCARG(p, unpark); /* lwpid_t */
   3073       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, hint).i32; /* const netbsd32_voidp */
   3074       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, unparkhint).i32; /* const netbsd32_voidp */
   3075       1.1  christos 		*n_args = 4;
   3076       1.1  christos 		break;
   3077       1.1  christos 	}
   3078       1.1  christos 	/* netbsd32___kevent50 */
   3079       1.1  christos 	case 435: {
   3080      1.17  christos 		const struct netbsd32___kevent50_args *p = params;
   3081       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3082       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, changelist).i32; /* const netbsd32_keventp_t */
   3083       1.1  christos 		iarg[2] = SCARG(p, nchanges); /* netbsd32_size_t */
   3084       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, eventlist).i32; /* netbsd32_keventp_t */
   3085       1.1  christos 		iarg[4] = SCARG(p, nevents); /* netbsd32_size_t */
   3086       1.1  christos 		uarg[5] = (intptr_t) SCARG(p, timeout).i32; /* const netbsd32_timespecp_t */
   3087       1.1  christos 		*n_args = 6;
   3088       1.1  christos 		break;
   3089       1.1  christos 	}
   3090       1.1  christos 	/* netbsd32___pselect50 */
   3091       1.1  christos 	case 436: {
   3092      1.17  christos 		const struct netbsd32___pselect50_args *p = params;
   3093       1.1  christos 		iarg[0] = SCARG(p, nd); /* int */
   3094       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, in).i32; /* netbsd32_fd_setp_t */
   3095       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, ou).i32; /* netbsd32_fd_setp_t */
   3096       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, ex).i32; /* netbsd32_fd_setp_t */
   3097       1.1  christos 		uarg[4] = (intptr_t) SCARG(p, ts).i32; /* const netbsd32_timespecp_t */
   3098       1.1  christos 		uarg[5] = (intptr_t) SCARG(p, mask).i32; /* const netbsd32_sigsetp_t */
   3099       1.1  christos 		*n_args = 6;
   3100       1.1  christos 		break;
   3101       1.1  christos 	}
   3102       1.1  christos 	/* netbsd32___pollts50 */
   3103       1.1  christos 	case 437: {
   3104      1.17  christos 		const struct netbsd32___pollts50_args *p = params;
   3105       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, fds).i32; /* netbsd32_pollfdp_t */
   3106       1.1  christos 		uarg[1] = SCARG(p, nfds); /* u_int */
   3107       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, ts).i32; /* const netbsd32_timespecp_t */
   3108       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, mask).i32; /* const netbsd32_sigsetp_t */
   3109       1.1  christos 		*n_args = 4;
   3110       1.1  christos 		break;
   3111       1.1  christos 	}
   3112       1.1  christos 	/* netbsd32___stat50 */
   3113       1.1  christos 	case 439: {
   3114      1.17  christos 		const struct netbsd32___stat50_args *p = params;
   3115       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3116       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, ub).i32; /* netbsd32_statp_t */
   3117       1.1  christos 		*n_args = 2;
   3118       1.1  christos 		break;
   3119       1.1  christos 	}
   3120       1.1  christos 	/* netbsd32___fstat50 */
   3121       1.1  christos 	case 440: {
   3122      1.17  christos 		const struct netbsd32___fstat50_args *p = params;
   3123       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3124       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, sb).i32; /* netbsd32_statp_t */
   3125       1.1  christos 		*n_args = 2;
   3126       1.1  christos 		break;
   3127       1.1  christos 	}
   3128       1.1  christos 	/* netbsd32___lstat50 */
   3129       1.1  christos 	case 441: {
   3130      1.17  christos 		const struct netbsd32___lstat50_args *p = params;
   3131       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3132       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, ub).i32; /* netbsd32_statp_t */
   3133       1.1  christos 		*n_args = 2;
   3134       1.1  christos 		break;
   3135       1.1  christos 	}
   3136       1.1  christos 	/* netbsd32_____semctl50 */
   3137       1.1  christos 	case 442: {
   3138      1.17  christos 		const struct netbsd32_____semctl50_args *p = params;
   3139       1.1  christos 		iarg[0] = SCARG(p, semid); /* int */
   3140       1.1  christos 		iarg[1] = SCARG(p, semnum); /* int */
   3141       1.1  christos 		iarg[2] = SCARG(p, cmd); /* int */
   3142       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, arg).i32; /* netbsd32_semunp_t */
   3143       1.1  christos 		*n_args = 4;
   3144       1.1  christos 		break;
   3145       1.1  christos 	}
   3146       1.1  christos 	/* netbsd32___shmctl50 */
   3147       1.1  christos 	case 443: {
   3148      1.17  christos 		const struct netbsd32___shmctl50_args *p = params;
   3149       1.1  christos 		iarg[0] = SCARG(p, shmid); /* int */
   3150       1.1  christos 		iarg[1] = SCARG(p, cmd); /* int */
   3151       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_shmid_dsp_t */
   3152       1.1  christos 		*n_args = 3;
   3153       1.1  christos 		break;
   3154       1.1  christos 	}
   3155       1.1  christos 	/* netbsd32___msgctl50 */
   3156       1.1  christos 	case 444: {
   3157      1.17  christos 		const struct netbsd32___msgctl50_args *p = params;
   3158       1.1  christos 		iarg[0] = SCARG(p, msqid); /* int */
   3159       1.1  christos 		iarg[1] = SCARG(p, cmd); /* int */
   3160       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_msqid_dsp_t */
   3161       1.1  christos 		*n_args = 3;
   3162       1.1  christos 		break;
   3163       1.1  christos 	}
   3164       1.1  christos 	/* netbsd32___getrusage50 */
   3165       1.1  christos 	case 445: {
   3166      1.17  christos 		const struct netbsd32___getrusage50_args *p = params;
   3167       1.1  christos 		iarg[0] = SCARG(p, who); /* int */
   3168       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, rusage).i32; /* netbsd32_rusagep_t */
   3169       1.1  christos 		*n_args = 2;
   3170       1.1  christos 		break;
   3171       1.1  christos 	}
   3172       1.1  christos 	/* netbsd32___timer_settime50 */
   3173       1.1  christos 	case 446: {
   3174      1.17  christos 		const struct netbsd32___timer_settime50_args *p = params;
   3175       1.1  christos 		iarg[0] = SCARG(p, timerid); /* timer_t */
   3176       1.1  christos 		iarg[1] = SCARG(p, flags); /* int */
   3177       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, value).i32; /* const netbsd32_itimerspecp_t */
   3178       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, ovalue).i32; /* netbsd32_itimerspecp_t */
   3179       1.1  christos 		*n_args = 4;
   3180       1.1  christos 		break;
   3181       1.1  christos 	}
   3182       1.1  christos 	/* netbsd32___timer_gettime50 */
   3183       1.1  christos 	case 447: {
   3184      1.17  christos 		const struct netbsd32___timer_gettime50_args *p = params;
   3185       1.1  christos 		iarg[0] = SCARG(p, timerid); /* timer_t */
   3186       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, value).i32; /* netbsd32_itimerspecp_t */
   3187       1.1  christos 		*n_args = 2;
   3188       1.1  christos 		break;
   3189       1.1  christos 	}
   3190       1.1  christos #if defined(NTP) || !defined(_KERNEL_OPT)
   3191       1.1  christos 	/* netbsd32___ntp_gettime50 */
   3192       1.1  christos 	case 448: {
   3193      1.17  christos 		const struct netbsd32___ntp_gettime50_args *p = params;
   3194       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, ntvp).i32; /* netbsd32_ntptimevalp_t */
   3195       1.1  christos 		*n_args = 1;
   3196       1.1  christos 		break;
   3197       1.1  christos 	}
   3198       1.1  christos #else
   3199       1.1  christos #endif
   3200       1.1  christos 	/* netbsd32___wait450 */
   3201       1.1  christos 	case 449: {
   3202      1.17  christos 		const struct netbsd32___wait450_args *p = params;
   3203       1.1  christos 		iarg[0] = SCARG(p, pid); /* int */
   3204       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, status).i32; /* netbsd32_intp */
   3205       1.1  christos 		iarg[2] = SCARG(p, options); /* int */
   3206       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, rusage).i32; /* netbsd32_rusagep_t */
   3207       1.1  christos 		*n_args = 4;
   3208       1.1  christos 		break;
   3209       1.1  christos 	}
   3210       1.1  christos 	/* netbsd32___mknod50 */
   3211       1.1  christos 	case 450: {
   3212      1.17  christos 		const struct netbsd32___mknod50_args *p = params;
   3213       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3214       1.1  christos 		iarg[1] = SCARG(p, mode); /* mode_t */
   3215       1.1  christos 		iarg[2] = SCARG(p, dev); /* netbsd32_dev_t */
   3216       1.1  christos 		*n_args = 3;
   3217       1.1  christos 		break;
   3218       1.1  christos 	}
   3219       1.1  christos 	/* netbsd32___fhstat50 */
   3220       1.1  christos 	case 451: {
   3221      1.17  christos 		const struct netbsd32___fhstat50_args *p = params;
   3222       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, fhp).i32; /* const netbsd32_voidp */
   3223       1.1  christos 		iarg[1] = SCARG(p, fh_size); /* netbsd32_size_t */
   3224       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, sb).i32; /* netbsd32_statp_t */
   3225       1.1  christos 		*n_args = 3;
   3226       1.1  christos 		break;
   3227       1.1  christos 	}
   3228       1.1  christos 	/* netbsd32_pipe2 */
   3229       1.1  christos 	case 453: {
   3230      1.17  christos 		const struct netbsd32_pipe2_args *p = params;
   3231       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, fildes).i32; /* netbsd32_intp */
   3232       1.1  christos 		iarg[1] = SCARG(p, flags); /* int */
   3233       1.1  christos 		*n_args = 2;
   3234       1.1  christos 		break;
   3235       1.1  christos 	}
   3236       1.1  christos 	/* netbsd32_dup3 */
   3237       1.1  christos 	case 454: {
   3238      1.17  christos 		const struct netbsd32_dup3_args *p = params;
   3239       1.1  christos 		iarg[0] = SCARG(p, from); /* int */
   3240       1.1  christos 		iarg[1] = SCARG(p, to); /* int */
   3241       1.1  christos 		iarg[2] = SCARG(p, flags); /* int */
   3242       1.1  christos 		*n_args = 3;
   3243       1.1  christos 		break;
   3244       1.1  christos 	}
   3245       1.1  christos 	/* netbsd32_kqueue1 */
   3246       1.1  christos 	case 455: {
   3247      1.17  christos 		const struct netbsd32_kqueue1_args *p = params;
   3248       1.1  christos 		iarg[0] = SCARG(p, flags); /* int */
   3249       1.1  christos 		*n_args = 1;
   3250       1.1  christos 		break;
   3251       1.1  christos 	}
   3252       1.1  christos 	/* netbsd32_paccept */
   3253       1.1  christos 	case 456: {
   3254      1.17  christos 		const struct netbsd32_paccept_args *p = params;
   3255       1.1  christos 		iarg[0] = SCARG(p, s); /* int */
   3256       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, name).i32; /* netbsd32_sockaddrp_t */
   3257       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, anamelen).i32; /* netbsd32_socklenp_t */
   3258       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, mask).i32; /* const netbsd32_sigsetp_t */
   3259       1.1  christos 		iarg[4] = SCARG(p, flags); /* int */
   3260       1.1  christos 		*n_args = 5;
   3261       1.1  christos 		break;
   3262       1.1  christos 	}
   3263       1.1  christos 	/* netbsd32_linkat */
   3264       1.1  christos 	case 457: {
   3265      1.17  christos 		const struct netbsd32_linkat_args *p = params;
   3266       1.1  christos 		iarg[0] = SCARG(p, fd1); /* int */
   3267       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, name1).i32; /* const netbsd32_charp */
   3268       1.1  christos 		iarg[2] = SCARG(p, fd2); /* int */
   3269       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, name2).i32; /* const netbsd32_charp */
   3270       1.1  christos 		iarg[4] = SCARG(p, flags); /* int */
   3271       1.1  christos 		*n_args = 5;
   3272       1.1  christos 		break;
   3273       1.1  christos 	}
   3274       1.1  christos 	/* netbsd32_renameat */
   3275       1.1  christos 	case 458: {
   3276      1.17  christos 		const struct netbsd32_renameat_args *p = params;
   3277       1.1  christos 		iarg[0] = SCARG(p, fromfd); /* int */
   3278       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, from).i32; /* const netbsd32_charp */
   3279       1.1  christos 		iarg[2] = SCARG(p, tofd); /* int */
   3280       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, to).i32; /* const netbsd32_charp */
   3281       1.1  christos 		*n_args = 4;
   3282       1.1  christos 		break;
   3283       1.1  christos 	}
   3284       1.1  christos 	/* netbsd32_mkfifoat */
   3285       1.1  christos 	case 459: {
   3286      1.17  christos 		const struct netbsd32_mkfifoat_args *p = params;
   3287       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3288       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3289       1.1  christos 		iarg[2] = SCARG(p, mode); /* mode_t */
   3290       1.1  christos 		*n_args = 3;
   3291       1.1  christos 		break;
   3292       1.1  christos 	}
   3293       1.1  christos 	/* netbsd32_mknodat */
   3294       1.1  christos 	case 460: {
   3295      1.17  christos 		const struct netbsd32_mknodat_args *p = params;
   3296       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3297       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3298       1.1  christos 		iarg[2] = SCARG(p, mode); /* mode_t */
   3299       1.1  christos 		iarg[3] = SCARG(p, PAD); /* int */
   3300       1.1  christos 		iarg[4] = SCARG(p, dev); /* netbsd32_dev_t */
   3301       1.1  christos 		*n_args = 5;
   3302       1.1  christos 		break;
   3303       1.1  christos 	}
   3304       1.1  christos 	/* netbsd32_mkdirat */
   3305       1.1  christos 	case 461: {
   3306      1.17  christos 		const struct netbsd32_mkdirat_args *p = params;
   3307       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3308       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3309       1.1  christos 		iarg[2] = SCARG(p, mode); /* mode_t */
   3310       1.1  christos 		*n_args = 3;
   3311       1.1  christos 		break;
   3312       1.1  christos 	}
   3313       1.1  christos 	/* netbsd32_faccessat */
   3314       1.1  christos 	case 462: {
   3315      1.17  christos 		const struct netbsd32_faccessat_args *p = params;
   3316       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3317       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3318       1.1  christos 		iarg[2] = SCARG(p, amode); /* int */
   3319       1.1  christos 		iarg[3] = SCARG(p, flag); /* int */
   3320       1.1  christos 		*n_args = 4;
   3321       1.1  christos 		break;
   3322       1.1  christos 	}
   3323       1.1  christos 	/* netbsd32_fchmodat */
   3324       1.1  christos 	case 463: {
   3325      1.17  christos 		const struct netbsd32_fchmodat_args *p = params;
   3326       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3327       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3328       1.1  christos 		iarg[2] = SCARG(p, mode); /* mode_t */
   3329       1.1  christos 		iarg[3] = SCARG(p, flag); /* int */
   3330       1.1  christos 		*n_args = 4;
   3331       1.1  christos 		break;
   3332       1.1  christos 	}
   3333       1.1  christos 	/* netbsd32_fchownat */
   3334       1.1  christos 	case 464: {
   3335      1.17  christos 		const struct netbsd32_fchownat_args *p = params;
   3336       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3337       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3338       1.1  christos 		uarg[2] = SCARG(p, owner); /* uid_t */
   3339       1.1  christos 		iarg[3] = SCARG(p, group); /* gid_t */
   3340       1.1  christos 		iarg[4] = SCARG(p, flag); /* int */
   3341       1.1  christos 		*n_args = 5;
   3342       1.1  christos 		break;
   3343       1.1  christos 	}
   3344       1.1  christos 	/* netbsd32_fexecve */
   3345       1.1  christos 	case 465: {
   3346      1.17  christos 		const struct netbsd32_fexecve_args *p = params;
   3347       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3348       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, argp).i32; /* netbsd32_charpp */
   3349       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, envp).i32; /* netbsd32_charpp */
   3350       1.1  christos 		*n_args = 3;
   3351       1.1  christos 		break;
   3352       1.1  christos 	}
   3353       1.1  christos 	/* netbsd32_fstatat */
   3354       1.1  christos 	case 466: {
   3355      1.17  christos 		const struct netbsd32_fstatat_args *p = params;
   3356       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3357       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3358       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_statp_t */
   3359       1.1  christos 		iarg[3] = SCARG(p, flag); /* int */
   3360       1.1  christos 		*n_args = 4;
   3361       1.1  christos 		break;
   3362       1.1  christos 	}
   3363       1.1  christos 	/* netbsd32_utimensat */
   3364       1.1  christos 	case 467: {
   3365      1.17  christos 		const struct netbsd32_utimensat_args *p = params;
   3366       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3367       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3368       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, tptr).i32; /* const netbsd32_timespecp_t */
   3369       1.1  christos 		iarg[3] = SCARG(p, flag); /* int */
   3370       1.1  christos 		*n_args = 4;
   3371       1.1  christos 		break;
   3372       1.1  christos 	}
   3373       1.1  christos 	/* netbsd32_openat */
   3374       1.1  christos 	case 468: {
   3375      1.17  christos 		const struct netbsd32_openat_args *p = params;
   3376       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3377       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3378       1.1  christos 		iarg[2] = SCARG(p, oflags); /* int */
   3379       1.1  christos 		iarg[3] = SCARG(p, mode); /* mode_t */
   3380       1.1  christos 		*n_args = 4;
   3381       1.1  christos 		break;
   3382       1.1  christos 	}
   3383       1.1  christos 	/* netbsd32_readlinkat */
   3384       1.1  christos 	case 469: {
   3385      1.17  christos 		const struct netbsd32_readlinkat_args *p = params;
   3386       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3387       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3388       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_charp */
   3389      1.35       rin 		iarg[3] = SCARG(p, bufsize); /* netbsd32_size_t */
   3390       1.1  christos 		*n_args = 4;
   3391       1.1  christos 		break;
   3392       1.1  christos 	}
   3393       1.1  christos 	/* netbsd32_symlinkat */
   3394       1.1  christos 	case 470: {
   3395      1.17  christos 		const struct netbsd32_symlinkat_args *p = params;
   3396       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path1).i32; /* const netbsd32_charp */
   3397       1.1  christos 		iarg[1] = SCARG(p, fd); /* int */
   3398       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, path2).i32; /* const netbsd32_charp */
   3399       1.1  christos 		*n_args = 3;
   3400       1.1  christos 		break;
   3401       1.1  christos 	}
   3402       1.1  christos 	/* netbsd32_unlinkat */
   3403       1.1  christos 	case 471: {
   3404      1.17  christos 		const struct netbsd32_unlinkat_args *p = params;
   3405       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3406       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3407       1.1  christos 		iarg[2] = SCARG(p, flag); /* int */
   3408       1.1  christos 		*n_args = 3;
   3409       1.1  christos 		break;
   3410       1.1  christos 	}
   3411       1.1  christos 	/* netbsd32_futimens */
   3412       1.1  christos 	case 472: {
   3413      1.17  christos 		const struct netbsd32_futimens_args *p = params;
   3414       1.1  christos 		iarg[0] = SCARG(p, fd); /* int */
   3415       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, tptr).i32; /* const netbsd32_timespecp_t */
   3416       1.1  christos 		*n_args = 2;
   3417       1.1  christos 		break;
   3418       1.1  christos 	}
   3419       1.1  christos 	/* netbsd32___quotactl */
   3420       1.1  christos 	case 473: {
   3421      1.17  christos 		const struct netbsd32___quotactl_args *p = params;
   3422       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3423       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, args).i32; /* netbsd32_voidp */
   3424       1.1  christos 		*n_args = 2;
   3425       1.1  christos 		break;
   3426       1.1  christos 	}
   3427       1.1  christos 	/* netbsd32_posix_spawn */
   3428       1.1  christos 	case 474: {
   3429      1.17  christos 		const struct netbsd32_posix_spawn_args *p = params;
   3430       1.1  christos 		uarg[0] = (intptr_t) SCARG(p, pid).i32; /* netbsd32_pid_tp */
   3431       1.1  christos 		uarg[1] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3432       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, file_actions).i32; /* const netbsd32_posix_spawn_file_actionsp */
   3433       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, attrp).i32; /* const netbsd32_posix_spawnattrp */
   3434       1.1  christos 		uarg[4] = (intptr_t) SCARG(p, argv).i32; /* netbsd32_charpp */
   3435       1.1  christos 		uarg[5] = (intptr_t) SCARG(p, envp).i32; /* netbsd32_charpp */
   3436       1.1  christos 		*n_args = 6;
   3437       1.1  christos 		break;
   3438       1.1  christos 	}
   3439      1.25  christos 	/* netbsd32_recvmmsg */
   3440      1.25  christos 	case 475: {
   3441      1.25  christos 		const struct netbsd32_recvmmsg_args *p = params;
   3442      1.25  christos 		iarg[0] = SCARG(p, s); /* int */
   3443      1.25  christos 		uarg[1] = (intptr_t) SCARG(p, mmsg).i32; /* netbsd32_mmsghdrp_t */
   3444      1.25  christos 		uarg[2] = SCARG(p, vlen); /* unsigned int */
   3445      1.25  christos 		uarg[3] = SCARG(p, flags); /* unsigned int */
   3446      1.25  christos 		uarg[4] = (intptr_t) SCARG(p, timeout).i32; /* netbsd32_timespecp_t */
   3447      1.25  christos 		*n_args = 5;
   3448      1.25  christos 		break;
   3449      1.25  christos 	}
   3450      1.25  christos 	/* netbsd32_sendmmsg */
   3451      1.25  christos 	case 476: {
   3452      1.25  christos 		const struct netbsd32_sendmmsg_args *p = params;
   3453      1.25  christos 		iarg[0] = SCARG(p, s); /* int */
   3454      1.25  christos 		uarg[1] = (intptr_t) SCARG(p, mmsg).i32; /* netbsd32_mmsghdrp_t */
   3455      1.25  christos 		uarg[2] = SCARG(p, vlen); /* unsigned int */
   3456      1.25  christos 		uarg[3] = SCARG(p, flags); /* unsigned int */
   3457      1.25  christos 		*n_args = 4;
   3458      1.25  christos 		break;
   3459      1.25  christos 	}
   3460       1.1  christos 	/* netbsd32_clock_nanosleep */
   3461       1.1  christos 	case 477: {
   3462      1.17  christos 		const struct netbsd32_clock_nanosleep_args *p = params;
   3463       1.1  christos 		iarg[0] = SCARG(p, clock_id); /* netbsd32_clockid_t */
   3464       1.1  christos 		iarg[1] = SCARG(p, flags); /* int */
   3465       1.1  christos 		uarg[2] = (intptr_t) SCARG(p, rqtp).i32; /* const netbsd32_timespecp_t */
   3466       1.1  christos 		uarg[3] = (intptr_t) SCARG(p, rmtp).i32; /* netbsd32_timespecp_t */
   3467       1.1  christos 		*n_args = 4;
   3468       1.1  christos 		break;
   3469       1.1  christos 	}
   3470       1.1  christos 	/* netbsd32____lwp_park60 */
   3471       1.1  christos 	case 478: {
   3472      1.17  christos 		const struct netbsd32____lwp_park60_args *p = params;
   3473       1.1  christos 		iarg[0] = SCARG(p, clock_id); /* netbsd32_clockid_t */
   3474       1.1  christos 		iarg[1] = SCARG(p, flags); /* int */
   3475      1.20     kamil 		uarg[2] = (intptr_t) SCARG(p, ts).i32; /* netbsd32_timespecp_t */
   3476       1.1  christos 		iarg[3] = SCARG(p, unpark); /* lwpid_t */
   3477       1.1  christos 		uarg[4] = (intptr_t) SCARG(p, hint).i32; /* netbsd32_voidp */
   3478       1.1  christos 		uarg[5] = (intptr_t) SCARG(p, unparkhint).i32; /* netbsd32_voidp */
   3479       1.1  christos 		*n_args = 6;
   3480       1.1  christos 		break;
   3481       1.1  christos 	}
   3482       1.2    martin 	/* netbsd32_posix_fallocate */
   3483       1.2    martin 	case 479: {
   3484      1.17  christos 		const struct netbsd32_posix_fallocate_args *p = params;
   3485       1.2    martin 		iarg[0] = SCARG(p, fd); /* int */
   3486       1.2    martin 		iarg[1] = SCARG(p, PAD); /* int */
   3487       1.2    martin 		iarg[2] = SCARG(p, pos); /* netbsd32_off_t */
   3488       1.2    martin 		iarg[3] = SCARG(p, len); /* netbsd32_off_t */
   3489       1.2    martin 		*n_args = 4;
   3490       1.2    martin 		break;
   3491       1.2    martin 	}
   3492       1.2    martin 	/* netbsd32_fdiscard */
   3493       1.2    martin 	case 480: {
   3494      1.17  christos 		const struct netbsd32_fdiscard_args *p = params;
   3495       1.2    martin 		iarg[0] = SCARG(p, fd); /* int */
   3496       1.2    martin 		iarg[1] = SCARG(p, PAD); /* int */
   3497       1.2    martin 		iarg[2] = SCARG(p, pos); /* netbsd32_off_t */
   3498       1.2    martin 		iarg[3] = SCARG(p, len); /* netbsd32_off_t */
   3499       1.2    martin 		*n_args = 4;
   3500       1.2    martin 		break;
   3501       1.2    martin 	}
   3502      1.14     skrll 	/* netbsd32_wait6 */
   3503      1.14     skrll 	case 481: {
   3504      1.17  christos 		const struct netbsd32_wait6_args *p = params;
   3505      1.14     skrll 		iarg[0] = SCARG(p, idtype); /* idtype_t */
   3506      1.14     skrll 		iarg[1] = SCARG(p, id); /* id_t */
   3507      1.14     skrll 		uarg[2] = (intptr_t) SCARG(p, status).i32; /* netbsd32_intp */
   3508      1.14     skrll 		iarg[3] = SCARG(p, options); /* int */
   3509      1.14     skrll 		uarg[4] = (intptr_t) SCARG(p, wru).i32; /* netbsd32_wrusagep_t */
   3510      1.14     skrll 		uarg[5] = (intptr_t) SCARG(p, info).i32; /* netbsd32_siginfop_t */
   3511      1.14     skrll 		*n_args = 6;
   3512      1.14     skrll 		break;
   3513      1.14     skrll 	}
   3514      1.14     skrll 	/* netbsd32_clock_getcpuclockid2 */
   3515      1.14     skrll 	case 482: {
   3516      1.17  christos 		const struct netbsd32_clock_getcpuclockid2_args *p = params;
   3517      1.14     skrll 		iarg[0] = SCARG(p, idtype); /* idtype_t */
   3518      1.14     skrll 		iarg[1] = SCARG(p, id); /* id_t */
   3519      1.14     skrll 		uarg[2] = (intptr_t) SCARG(p, clock_id).i32; /* netbsd32_clockidp_t */
   3520      1.14     skrll 		*n_args = 3;
   3521      1.14     skrll 		break;
   3522      1.14     skrll 	}
   3523      1.33  christos 	/* netbsd32___getvfsstat90 */
   3524      1.33  christos 	case 483: {
   3525      1.33  christos 		const struct netbsd32___getvfsstat90_args *p = params;
   3526      1.33  christos 		uarg[0] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_statvfsp_t */
   3527      1.36       rin 		iarg[1] = SCARG(p, bufsize); /* netbsd32_size_t */
   3528      1.33  christos 		iarg[2] = SCARG(p, flags); /* int */
   3529      1.33  christos 		*n_args = 3;
   3530      1.33  christos 		break;
   3531      1.33  christos 	}
   3532      1.33  christos 	/* netbsd32___statvfs190 */
   3533      1.33  christos 	case 484: {
   3534      1.33  christos 		const struct netbsd32___statvfs190_args *p = params;
   3535      1.33  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* netbsd32_charp */
   3536      1.33  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_statvfsp_t */
   3537      1.33  christos 		iarg[2] = SCARG(p, flags); /* int */
   3538      1.33  christos 		*n_args = 3;
   3539      1.33  christos 		break;
   3540      1.33  christos 	}
   3541      1.33  christos 	/* netbsd32___fstatvfs190 */
   3542      1.33  christos 	case 485: {
   3543      1.33  christos 		const struct netbsd32___fstatvfs190_args *p = params;
   3544      1.33  christos 		iarg[0] = SCARG(p, fd); /* int */
   3545      1.33  christos 		uarg[1] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_statvfsp_t */
   3546      1.33  christos 		iarg[2] = SCARG(p, flags); /* int */
   3547      1.33  christos 		*n_args = 3;
   3548      1.33  christos 		break;
   3549      1.33  christos 	}
   3550      1.33  christos 	/* netbsd32___fhstatvfs190 */
   3551      1.33  christos 	case 486: {
   3552      1.33  christos 		const struct netbsd32___fhstatvfs190_args *p = params;
   3553      1.33  christos 		uarg[0] = (intptr_t) SCARG(p, fhp).i32; /* netbsd32_voidp */
   3554      1.36       rin 		iarg[1] = SCARG(p, fh_size); /* netbsd32_size_t */
   3555      1.33  christos 		uarg[2] = (intptr_t) SCARG(p, buf).i32; /* netbsd32_statvfsp_t */
   3556      1.33  christos 		iarg[3] = SCARG(p, flags); /* int */
   3557      1.33  christos 		*n_args = 4;
   3558      1.33  christos 		break;
   3559      1.33  christos 	}
   3560      1.44  christos 	/* netbsd32___acl_get_link */
   3561      1.44  christos 	case 487: {
   3562      1.44  christos 		const struct netbsd32___acl_get_link_args *p = params;
   3563      1.44  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3564      1.44  christos 		iarg[1] = SCARG(p, type); /* acl_type_t */
   3565      1.44  christos 		uarg[2] = (intptr_t) SCARG(p, aclp).i32; /* netbsd32_aclp_t */
   3566      1.44  christos 		*n_args = 3;
   3567      1.44  christos 		break;
   3568      1.44  christos 	}
   3569      1.44  christos 	/* netbsd32___acl_set_link */
   3570      1.44  christos 	case 488: {
   3571      1.44  christos 		const struct netbsd32___acl_set_link_args *p = params;
   3572      1.44  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3573      1.44  christos 		iarg[1] = SCARG(p, type); /* acl_type_t */
   3574      1.44  christos 		uarg[2] = (intptr_t) SCARG(p, aclp).i32; /* netbsd32_aclp_t */
   3575      1.44  christos 		*n_args = 3;
   3576      1.44  christos 		break;
   3577      1.44  christos 	}
   3578      1.44  christos 	/* netbsd32___acl_delete_link */
   3579      1.44  christos 	case 489: {
   3580      1.44  christos 		const struct netbsd32___acl_delete_link_args *p = params;
   3581      1.44  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3582      1.44  christos 		iarg[1] = SCARG(p, type); /* acl_type_t */
   3583      1.44  christos 		*n_args = 2;
   3584      1.44  christos 		break;
   3585      1.44  christos 	}
   3586      1.44  christos 	/* netbsd32___acl_aclcheck_link */
   3587      1.44  christos 	case 490: {
   3588      1.44  christos 		const struct netbsd32___acl_aclcheck_link_args *p = params;
   3589      1.44  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3590      1.44  christos 		iarg[1] = SCARG(p, type); /* acl_type_t */
   3591      1.44  christos 		uarg[2] = (intptr_t) SCARG(p, aclp).i32; /* netbsd32_aclp_t */
   3592      1.44  christos 		*n_args = 3;
   3593      1.44  christos 		break;
   3594      1.44  christos 	}
   3595      1.44  christos 	/* netbsd32___acl_get_file */
   3596      1.44  christos 	case 491: {
   3597      1.44  christos 		const struct netbsd32___acl_get_file_args *p = params;
   3598      1.44  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3599      1.44  christos 		iarg[1] = SCARG(p, type); /* acl_type_t */
   3600      1.44  christos 		uarg[2] = (intptr_t) SCARG(p, aclp).i32; /* netbsd32_aclp_t */
   3601      1.44  christos 		*n_args = 3;
   3602      1.44  christos 		break;
   3603      1.44  christos 	}
   3604      1.44  christos 	/* netbsd32___acl_set_file */
   3605      1.44  christos 	case 492: {
   3606      1.44  christos 		const struct netbsd32___acl_set_file_args *p = params;
   3607      1.44  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3608      1.44  christos 		iarg[1] = SCARG(p, type); /* acl_type_t */
   3609      1.44  christos 		uarg[2] = (intptr_t) SCARG(p, aclp).i32; /* netbsd32_aclp_t */
   3610      1.44  christos 		*n_args = 3;
   3611      1.44  christos 		break;
   3612      1.44  christos 	}
   3613      1.44  christos 	/* netbsd32___acl_get_fd */
   3614      1.44  christos 	case 493: {
   3615      1.44  christos 		const struct netbsd32___acl_get_fd_args *p = params;
   3616      1.44  christos 		iarg[0] = SCARG(p, filedes); /* int */
   3617      1.44  christos 		iarg[1] = SCARG(p, type); /* acl_type_t */
   3618      1.44  christos 		uarg[2] = (intptr_t) SCARG(p, aclp).i32; /* netbsd32_aclp_t */
   3619      1.44  christos 		*n_args = 3;
   3620      1.44  christos 		break;
   3621      1.44  christos 	}
   3622      1.44  christos 	/* netbsd32___acl_set_fd */
   3623      1.44  christos 	case 494: {
   3624      1.44  christos 		const struct netbsd32___acl_set_fd_args *p = params;
   3625      1.44  christos 		iarg[0] = SCARG(p, filedes); /* int */
   3626      1.44  christos 		iarg[1] = SCARG(p, type); /* acl_type_t */
   3627      1.44  christos 		uarg[2] = (intptr_t) SCARG(p, aclp).i32; /* netbsd32_aclp_t */
   3628      1.44  christos 		*n_args = 3;
   3629      1.44  christos 		break;
   3630      1.44  christos 	}
   3631      1.44  christos 	/* netbsd32___acl_delete_file */
   3632      1.44  christos 	case 495: {
   3633      1.44  christos 		const struct netbsd32___acl_delete_file_args *p = params;
   3634      1.44  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   3635      1.44  christos 		iarg[1] = SCARG(p, type); /* acl_type_t */
   3636      1.44  christos 		*n_args = 2;
   3637      1.44  christos 		break;
   3638      1.44  christos 	}
   3639      1.44  christos 	/* netbsd32___acl_delete_fd */
   3640      1.44  christos 	case 496: {
   3641      1.44  christos 		const struct netbsd32___acl_delete_fd_args *p = params;
   3642      1.44  christos 		iarg[0] = SCARG(p, filedes); /* int */
   3643      1.44  christos 		iarg[1] = SCARG(p, type); /* acl_type_t */
   3644      1.44  christos 		*n_args = 2;
   3645      1.44  christos 		break;
   3646      1.44  christos 	}
   3647      1.44  christos 	/* netbsd32___acl_aclcheck_file */
   3648      1.44  christos 	case 497: {
   3649      1.44  christos 		const struct netbsd32___acl_aclcheck_file_args *p = params;
   3650      1.44  christos 		uarg[0] = (intptr_t) SCARG(p, path).i32; /* const netbsd32_charp */
   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_aclcheck_fd */
   3657      1.44  christos 	case 498: {
   3658      1.44  christos 		const struct netbsd32___acl_aclcheck_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_lpathconf */
   3666      1.44  christos 	case 499: {
   3667      1.44  christos 		const struct netbsd32_lpathconf_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, name); /* int */
   3670      1.44  christos 		*n_args = 2;
   3671      1.44  christos 		break;
   3672      1.44  christos 	}
   3673       1.1  christos 	default:
   3674       1.1  christos 		*n_args = 0;
   3675       1.1  christos 		break;
   3676       1.1  christos 	};
   3677       1.1  christos }
   3678       1.1  christos static void
   3679       1.1  christos systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
   3680       1.1  christos {
   3681       1.1  christos 	const char *p = NULL;
   3682       1.1  christos 	switch (sysnum) {
   3683       1.1  christos 	/* netbsd32_syscall */
   3684       1.1  christos 	case 0:
   3685       1.1  christos 		switch(ndx) {
   3686       1.1  christos 		case 0:
   3687       1.1  christos 			p = "int";
   3688       1.1  christos 			break;
   3689       1.1  christos 		case 1:
   3690       1.1  christos 			p = "register32_t";
   3691       1.1  christos 			break;
   3692       1.1  christos 		default:
   3693       1.1  christos 			break;
   3694       1.1  christos 		};
   3695       1.1  christos 		break;
   3696       1.1  christos 	/* netbsd32_exit */
   3697       1.1  christos 	case 1:
   3698       1.1  christos 		switch(ndx) {
   3699       1.1  christos 		case 0:
   3700       1.1  christos 			p = "int";
   3701       1.1  christos 			break;
   3702       1.1  christos 		default:
   3703       1.1  christos 			break;
   3704       1.1  christos 		};
   3705       1.1  christos 		break;
   3706       1.1  christos 	/* sys_fork */
   3707       1.1  christos 	case 2:
   3708       1.1  christos 		break;
   3709       1.1  christos 	/* netbsd32_read */
   3710       1.1  christos 	case 3:
   3711       1.1  christos 		switch(ndx) {
   3712       1.1  christos 		case 0:
   3713       1.1  christos 			p = "int";
   3714       1.1  christos 			break;
   3715       1.1  christos 		case 1:
   3716       1.1  christos 			p = "netbsd32_voidp";
   3717       1.1  christos 			break;
   3718       1.1  christos 		case 2:
   3719       1.1  christos 			p = "netbsd32_size_t";
   3720       1.1  christos 			break;
   3721       1.1  christos 		default:
   3722       1.1  christos 			break;
   3723       1.1  christos 		};
   3724       1.1  christos 		break;
   3725       1.1  christos 	/* netbsd32_write */
   3726       1.1  christos 	case 4:
   3727       1.1  christos 		switch(ndx) {
   3728       1.1  christos 		case 0:
   3729       1.1  christos 			p = "int";
   3730       1.1  christos 			break;
   3731       1.1  christos 		case 1:
   3732       1.1  christos 			p = "netbsd32_voidp";
   3733       1.1  christos 			break;
   3734       1.1  christos 		case 2:
   3735       1.1  christos 			p = "netbsd32_size_t";
   3736       1.1  christos 			break;
   3737       1.1  christos 		default:
   3738       1.1  christos 			break;
   3739       1.1  christos 		};
   3740       1.1  christos 		break;
   3741       1.1  christos 	/* netbsd32_open */
   3742       1.1  christos 	case 5:
   3743       1.1  christos 		switch(ndx) {
   3744       1.1  christos 		case 0:
   3745       1.1  christos 			p = "netbsd32_charp";
   3746       1.1  christos 			break;
   3747       1.1  christos 		case 1:
   3748       1.1  christos 			p = "int";
   3749       1.1  christos 			break;
   3750       1.1  christos 		case 2:
   3751       1.1  christos 			p = "mode_t";
   3752       1.1  christos 			break;
   3753       1.1  christos 		default:
   3754       1.1  christos 			break;
   3755       1.1  christos 		};
   3756       1.1  christos 		break;
   3757       1.1  christos 	/* netbsd32_close */
   3758       1.1  christos 	case 6:
   3759       1.1  christos 		switch(ndx) {
   3760       1.1  christos 		case 0:
   3761       1.1  christos 			p = "int";
   3762       1.1  christos 			break;
   3763       1.1  christos 		default:
   3764       1.1  christos 			break;
   3765       1.1  christos 		};
   3766       1.1  christos 		break;
   3767       1.1  christos 	/* netbsd32_wait4 */
   3768       1.1  christos 	case 7:
   3769       1.1  christos 		switch(ndx) {
   3770       1.1  christos 		case 0:
   3771       1.1  christos 			p = "int";
   3772       1.1  christos 			break;
   3773       1.1  christos 		case 1:
   3774       1.1  christos 			p = "netbsd32_intp";
   3775       1.1  christos 			break;
   3776       1.1  christos 		case 2:
   3777       1.1  christos 			p = "int";
   3778       1.1  christos 			break;
   3779       1.1  christos 		case 3:
   3780       1.1  christos 			p = "netbsd32_rusage50p_t";
   3781       1.1  christos 			break;
   3782       1.1  christos 		default:
   3783       1.1  christos 			break;
   3784       1.1  christos 		};
   3785       1.1  christos 		break;
   3786       1.1  christos 	/* netbsd32_ocreat */
   3787       1.1  christos 	case 8:
   3788       1.1  christos 		switch(ndx) {
   3789       1.1  christos 		case 0:
   3790       1.1  christos 			p = "netbsd32_charp";
   3791       1.1  christos 			break;
   3792       1.1  christos 		case 1:
   3793       1.1  christos 			p = "mode_t";
   3794       1.1  christos 			break;
   3795       1.1  christos 		default:
   3796       1.1  christos 			break;
   3797       1.1  christos 		};
   3798       1.1  christos 		break;
   3799       1.1  christos 	/* netbsd32_link */
   3800       1.1  christos 	case 9:
   3801       1.1  christos 		switch(ndx) {
   3802       1.1  christos 		case 0:
   3803       1.1  christos 			p = "netbsd32_charp";
   3804       1.1  christos 			break;
   3805       1.1  christos 		case 1:
   3806       1.1  christos 			p = "netbsd32_charp";
   3807       1.1  christos 			break;
   3808       1.1  christos 		default:
   3809       1.1  christos 			break;
   3810       1.1  christos 		};
   3811       1.1  christos 		break;
   3812       1.1  christos 	/* netbsd32_unlink */
   3813       1.1  christos 	case 10:
   3814       1.1  christos 		switch(ndx) {
   3815       1.1  christos 		case 0:
   3816       1.1  christos 			p = "netbsd32_charp";
   3817       1.1  christos 			break;
   3818       1.1  christos 		default:
   3819       1.1  christos 			break;
   3820       1.1  christos 		};
   3821       1.1  christos 		break;
   3822       1.1  christos 	/* netbsd32_chdir */
   3823       1.1  christos 	case 12:
   3824       1.1  christos 		switch(ndx) {
   3825       1.1  christos 		case 0:
   3826       1.1  christos 			p = "netbsd32_charp";
   3827       1.1  christos 			break;
   3828       1.1  christos 		default:
   3829       1.1  christos 			break;
   3830       1.1  christos 		};
   3831       1.1  christos 		break;
   3832       1.1  christos 	/* netbsd32_fchdir */
   3833       1.1  christos 	case 13:
   3834       1.1  christos 		switch(ndx) {
   3835       1.1  christos 		case 0:
   3836       1.1  christos 			p = "int";
   3837       1.1  christos 			break;
   3838       1.1  christos 		default:
   3839       1.1  christos 			break;
   3840       1.1  christos 		};
   3841       1.1  christos 		break;
   3842       1.1  christos 	/* netbsd32_mknod */
   3843       1.1  christos 	case 14:
   3844       1.1  christos 		switch(ndx) {
   3845       1.1  christos 		case 0:
   3846       1.1  christos 			p = "netbsd32_charp";
   3847       1.1  christos 			break;
   3848       1.1  christos 		case 1:
   3849       1.1  christos 			p = "mode_t";
   3850       1.1  christos 			break;
   3851       1.1  christos 		case 2:
   3852       1.1  christos 			p = "uint32_t";
   3853       1.1  christos 			break;
   3854       1.1  christos 		default:
   3855       1.1  christos 			break;
   3856       1.1  christos 		};
   3857       1.1  christos 		break;
   3858       1.1  christos 	/* netbsd32_chmod */
   3859       1.1  christos 	case 15:
   3860       1.1  christos 		switch(ndx) {
   3861       1.1  christos 		case 0:
   3862       1.1  christos 			p = "netbsd32_charp";
   3863       1.1  christos 			break;
   3864       1.1  christos 		case 1:
   3865       1.1  christos 			p = "mode_t";
   3866       1.1  christos 			break;
   3867       1.1  christos 		default:
   3868       1.1  christos 			break;
   3869       1.1  christos 		};
   3870       1.1  christos 		break;
   3871       1.1  christos 	/* netbsd32_chown */
   3872       1.1  christos 	case 16:
   3873       1.1  christos 		switch(ndx) {
   3874       1.1  christos 		case 0:
   3875       1.1  christos 			p = "netbsd32_charp";
   3876       1.1  christos 			break;
   3877       1.1  christos 		case 1:
   3878       1.1  christos 			p = "uid_t";
   3879       1.1  christos 			break;
   3880       1.1  christos 		case 2:
   3881       1.1  christos 			p = "gid_t";
   3882       1.1  christos 			break;
   3883       1.1  christos 		default:
   3884       1.1  christos 			break;
   3885       1.1  christos 		};
   3886       1.1  christos 		break;
   3887       1.1  christos 	/* netbsd32_break */
   3888       1.1  christos 	case 17:
   3889       1.1  christos 		switch(ndx) {
   3890       1.1  christos 		case 0:
   3891       1.1  christos 			p = "netbsd32_charp";
   3892       1.1  christos 			break;
   3893       1.1  christos 		default:
   3894       1.1  christos 			break;
   3895       1.1  christos 		};
   3896       1.1  christos 		break;
   3897       1.1  christos 	/* netbsd32_getfsstat */
   3898       1.1  christos 	case 18:
   3899       1.1  christos 		switch(ndx) {
   3900       1.1  christos 		case 0:
   3901       1.1  christos 			p = "netbsd32_statfsp_t";
   3902       1.1  christos 			break;
   3903       1.1  christos 		case 1:
   3904       1.1  christos 			p = "netbsd32_long";
   3905       1.1  christos 			break;
   3906       1.1  christos 		case 2:
   3907       1.1  christos 			p = "int";
   3908       1.1  christos 			break;
   3909       1.1  christos 		default:
   3910       1.1  christos 			break;
   3911       1.1  christos 		};
   3912       1.1  christos 		break;
   3913       1.1  christos 	/* netbsd32_olseek */
   3914       1.1  christos 	case 19:
   3915       1.1  christos 		switch(ndx) {
   3916       1.1  christos 		case 0:
   3917       1.1  christos 			p = "int";
   3918       1.1  christos 			break;
   3919       1.1  christos 		case 1:
   3920       1.1  christos 			p = "netbsd32_long";
   3921       1.1  christos 			break;
   3922       1.1  christos 		case 2:
   3923       1.1  christos 			p = "int";
   3924       1.1  christos 			break;
   3925       1.1  christos 		default:
   3926       1.1  christos 			break;
   3927       1.1  christos 		};
   3928       1.1  christos 		break;
   3929      1.37     kamil 	/* sys_getpid_with_ppid */
   3930       1.1  christos 	case 20:
   3931       1.1  christos 		break;
   3932       1.1  christos 	/* netbsd32_mount */
   3933       1.1  christos 	case 21:
   3934       1.1  christos 		switch(ndx) {
   3935       1.1  christos 		case 0:
   3936       1.1  christos 			p = "netbsd32_charp";
   3937       1.1  christos 			break;
   3938       1.1  christos 		case 1:
   3939       1.1  christos 			p = "netbsd32_charp";
   3940       1.1  christos 			break;
   3941       1.1  christos 		case 2:
   3942       1.1  christos 			p = "int";
   3943       1.1  christos 			break;
   3944       1.1  christos 		case 3:
   3945       1.1  christos 			p = "netbsd32_voidp";
   3946       1.1  christos 			break;
   3947       1.1  christos 		default:
   3948       1.1  christos 			break;
   3949       1.1  christos 		};
   3950       1.1  christos 		break;
   3951       1.1  christos 	/* netbsd32_unmount */
   3952       1.1  christos 	case 22:
   3953       1.1  christos 		switch(ndx) {
   3954       1.1  christos 		case 0:
   3955       1.1  christos 			p = "netbsd32_charp";
   3956       1.1  christos 			break;
   3957       1.1  christos 		case 1:
   3958       1.1  christos 			p = "int";
   3959       1.1  christos 			break;
   3960       1.1  christos 		default:
   3961       1.1  christos 			break;
   3962       1.1  christos 		};
   3963       1.1  christos 		break;
   3964       1.1  christos 	/* netbsd32_setuid */
   3965       1.1  christos 	case 23:
   3966       1.1  christos 		switch(ndx) {
   3967       1.1  christos 		case 0:
   3968       1.1  christos 			p = "uid_t";
   3969       1.1  christos 			break;
   3970       1.1  christos 		default:
   3971       1.1  christos 			break;
   3972       1.1  christos 		};
   3973       1.1  christos 		break;
   3974      1.37     kamil 	/* sys_getuid_with_euid */
   3975       1.1  christos 	case 24:
   3976       1.1  christos 		break;
   3977       1.1  christos 	/* sys_geteuid */
   3978       1.1  christos 	case 25:
   3979       1.1  christos 		break;
   3980       1.1  christos 	/* netbsd32_ptrace */
   3981       1.1  christos 	case 26:
   3982       1.1  christos 		switch(ndx) {
   3983       1.1  christos 		case 0:
   3984       1.1  christos 			p = "int";
   3985       1.1  christos 			break;
   3986       1.1  christos 		case 1:
   3987       1.1  christos 			p = "pid_t";
   3988       1.1  christos 			break;
   3989       1.1  christos 		case 2:
   3990       1.1  christos 			p = "netbsd32_voidp";
   3991       1.1  christos 			break;
   3992       1.1  christos 		case 3:
   3993       1.1  christos 			p = "int";
   3994       1.1  christos 			break;
   3995       1.1  christos 		default:
   3996       1.1  christos 			break;
   3997       1.1  christos 		};
   3998       1.1  christos 		break;
   3999       1.1  christos 	/* netbsd32_recvmsg */
   4000       1.1  christos 	case 27:
   4001       1.1  christos 		switch(ndx) {
   4002       1.1  christos 		case 0:
   4003       1.1  christos 			p = "int";
   4004       1.1  christos 			break;
   4005       1.1  christos 		case 1:
   4006       1.1  christos 			p = "netbsd32_msghdrp_t";
   4007       1.1  christos 			break;
   4008       1.1  christos 		case 2:
   4009       1.1  christos 			p = "int";
   4010       1.1  christos 			break;
   4011       1.1  christos 		default:
   4012       1.1  christos 			break;
   4013       1.1  christos 		};
   4014       1.1  christos 		break;
   4015       1.1  christos 	/* netbsd32_sendmsg */
   4016       1.1  christos 	case 28:
   4017       1.1  christos 		switch(ndx) {
   4018       1.1  christos 		case 0:
   4019       1.1  christos 			p = "int";
   4020       1.1  christos 			break;
   4021       1.1  christos 		case 1:
   4022       1.1  christos 			p = "netbsd32_msghdrp_t";
   4023       1.1  christos 			break;
   4024       1.1  christos 		case 2:
   4025       1.1  christos 			p = "int";
   4026       1.1  christos 			break;
   4027       1.1  christos 		default:
   4028       1.1  christos 			break;
   4029       1.1  christos 		};
   4030       1.1  christos 		break;
   4031       1.1  christos 	/* netbsd32_recvfrom */
   4032       1.1  christos 	case 29:
   4033       1.1  christos 		switch(ndx) {
   4034       1.1  christos 		case 0:
   4035       1.1  christos 			p = "int";
   4036       1.1  christos 			break;
   4037       1.1  christos 		case 1:
   4038       1.1  christos 			p = "netbsd32_voidp";
   4039       1.1  christos 			break;
   4040       1.1  christos 		case 2:
   4041       1.1  christos 			p = "netbsd32_size_t";
   4042       1.1  christos 			break;
   4043       1.1  christos 		case 3:
   4044       1.1  christos 			p = "int";
   4045       1.1  christos 			break;
   4046       1.1  christos 		case 4:
   4047       1.1  christos 			p = "netbsd32_sockaddrp_t";
   4048       1.1  christos 			break;
   4049       1.1  christos 		case 5:
   4050       1.1  christos 			p = "netbsd32_intp";
   4051       1.1  christos 			break;
   4052       1.1  christos 		default:
   4053       1.1  christos 			break;
   4054       1.1  christos 		};
   4055       1.1  christos 		break;
   4056       1.1  christos 	/* netbsd32_accept */
   4057       1.1  christos 	case 30:
   4058       1.1  christos 		switch(ndx) {
   4059       1.1  christos 		case 0:
   4060       1.1  christos 			p = "int";
   4061       1.1  christos 			break;
   4062       1.1  christos 		case 1:
   4063       1.1  christos 			p = "netbsd32_sockaddrp_t";
   4064       1.1  christos 			break;
   4065       1.1  christos 		case 2:
   4066       1.1  christos 			p = "netbsd32_intp";
   4067       1.1  christos 			break;
   4068       1.1  christos 		default:
   4069       1.1  christos 			break;
   4070       1.1  christos 		};
   4071       1.1  christos 		break;
   4072       1.1  christos 	/* netbsd32_getpeername */
   4073       1.1  christos 	case 31:
   4074       1.1  christos 		switch(ndx) {
   4075       1.1  christos 		case 0:
   4076       1.1  christos 			p = "int";
   4077       1.1  christos 			break;
   4078       1.1  christos 		case 1:
   4079       1.1  christos 			p = "netbsd32_sockaddrp_t";
   4080       1.1  christos 			break;
   4081       1.1  christos 		case 2:
   4082       1.1  christos 			p = "netbsd32_intp";
   4083       1.1  christos 			break;
   4084       1.1  christos 		default:
   4085       1.1  christos 			break;
   4086       1.1  christos 		};
   4087       1.1  christos 		break;
   4088       1.1  christos 	/* netbsd32_getsockname */
   4089       1.1  christos 	case 32:
   4090       1.1  christos 		switch(ndx) {
   4091       1.1  christos 		case 0:
   4092       1.1  christos 			p = "int";
   4093       1.1  christos 			break;
   4094       1.1  christos 		case 1:
   4095       1.1  christos 			p = "netbsd32_sockaddrp_t";
   4096       1.1  christos 			break;
   4097       1.1  christos 		case 2:
   4098       1.1  christos 			p = "netbsd32_intp";
   4099       1.1  christos 			break;
   4100       1.1  christos 		default:
   4101       1.1  christos 			break;
   4102       1.1  christos 		};
   4103       1.1  christos 		break;
   4104       1.1  christos 	/* netbsd32_access */
   4105       1.1  christos 	case 33:
   4106       1.1  christos 		switch(ndx) {
   4107       1.1  christos 		case 0:
   4108       1.1  christos 			p = "netbsd32_charp";
   4109       1.1  christos 			break;
   4110       1.1  christos 		case 1:
   4111       1.1  christos 			p = "int";
   4112       1.1  christos 			break;
   4113       1.1  christos 		default:
   4114       1.1  christos 			break;
   4115       1.1  christos 		};
   4116       1.1  christos 		break;
   4117       1.1  christos 	/* netbsd32_chflags */
   4118       1.1  christos 	case 34:
   4119       1.1  christos 		switch(ndx) {
   4120       1.1  christos 		case 0:
   4121       1.1  christos 			p = "netbsd32_charp";
   4122       1.1  christos 			break;
   4123       1.1  christos 		case 1:
   4124       1.1  christos 			p = "netbsd32_u_long";
   4125       1.1  christos 			break;
   4126       1.1  christos 		default:
   4127       1.1  christos 			break;
   4128       1.1  christos 		};
   4129       1.1  christos 		break;
   4130       1.1  christos 	/* netbsd32_fchflags */
   4131       1.1  christos 	case 35:
   4132       1.1  christos 		switch(ndx) {
   4133       1.1  christos 		case 0:
   4134       1.1  christos 			p = "int";
   4135       1.1  christos 			break;
   4136       1.1  christos 		case 1:
   4137       1.1  christos 			p = "netbsd32_u_long";
   4138       1.1  christos 			break;
   4139       1.1  christos 		default:
   4140       1.1  christos 			break;
   4141       1.1  christos 		};
   4142       1.1  christos 		break;
   4143       1.1  christos 	/* sys_sync */
   4144       1.1  christos 	case 36:
   4145       1.1  christos 		break;
   4146       1.1  christos 	/* netbsd32_kill */
   4147       1.1  christos 	case 37:
   4148       1.1  christos 		switch(ndx) {
   4149       1.1  christos 		case 0:
   4150       1.1  christos 			p = "int";
   4151       1.1  christos 			break;
   4152       1.1  christos 		case 1:
   4153       1.1  christos 			p = "int";
   4154       1.1  christos 			break;
   4155       1.1  christos 		default:
   4156       1.1  christos 			break;
   4157       1.1  christos 		};
   4158       1.1  christos 		break;
   4159       1.1  christos 	/* netbsd32_stat43 */
   4160       1.1  christos 	case 38:
   4161       1.1  christos 		switch(ndx) {
   4162       1.1  christos 		case 0:
   4163       1.1  christos 			p = "netbsd32_charp";
   4164       1.1  christos 			break;
   4165       1.1  christos 		case 1:
   4166       1.1  christos 			p = "netbsd32_stat43p_t";
   4167       1.1  christos 			break;
   4168       1.1  christos 		default:
   4169       1.1  christos 			break;
   4170       1.1  christos 		};
   4171       1.1  christos 		break;
   4172       1.1  christos 	/* sys_getppid */
   4173       1.1  christos 	case 39:
   4174       1.1  christos 		break;
   4175       1.1  christos 	/* netbsd32_lstat43 */
   4176       1.1  christos 	case 40:
   4177       1.1  christos 		switch(ndx) {
   4178       1.1  christos 		case 0:
   4179       1.1  christos 			p = "netbsd32_charp";
   4180       1.1  christos 			break;
   4181       1.1  christos 		case 1:
   4182       1.1  christos 			p = "netbsd32_stat43p_t";
   4183       1.1  christos 			break;
   4184       1.1  christos 		default:
   4185       1.1  christos 			break;
   4186       1.1  christos 		};
   4187       1.1  christos 		break;
   4188       1.1  christos 	/* netbsd32_dup */
   4189       1.1  christos 	case 41:
   4190       1.1  christos 		switch(ndx) {
   4191       1.1  christos 		case 0:
   4192       1.1  christos 			p = "int";
   4193       1.1  christos 			break;
   4194       1.1  christos 		default:
   4195       1.1  christos 			break;
   4196       1.1  christos 		};
   4197       1.1  christos 		break;
   4198       1.1  christos 	/* sys_pipe */
   4199       1.1  christos 	case 42:
   4200       1.1  christos 		break;
   4201       1.1  christos 	/* sys_getegid */
   4202       1.1  christos 	case 43:
   4203       1.1  christos 		break;
   4204       1.1  christos 	/* netbsd32_profil */
   4205       1.1  christos 	case 44:
   4206       1.1  christos 		switch(ndx) {
   4207       1.1  christos 		case 0:
   4208       1.1  christos 			p = "netbsd32_voidp";
   4209       1.1  christos 			break;
   4210       1.1  christos 		case 1:
   4211       1.1  christos 			p = "netbsd32_size_t";
   4212       1.1  christos 			break;
   4213       1.1  christos 		case 2:
   4214       1.1  christos 			p = "netbsd32_u_long";
   4215       1.1  christos 			break;
   4216       1.1  christos 		case 3:
   4217       1.1  christos 			p = "u_int";
   4218       1.1  christos 			break;
   4219       1.1  christos 		default:
   4220       1.1  christos 			break;
   4221       1.1  christos 		};
   4222       1.1  christos 		break;
   4223       1.1  christos 	/* netbsd32_ktrace */
   4224       1.1  christos 	case 45:
   4225       1.1  christos 		switch(ndx) {
   4226       1.1  christos 		case 0:
   4227       1.1  christos 			p = "netbsd32_charp";
   4228       1.1  christos 			break;
   4229       1.1  christos 		case 1:
   4230       1.1  christos 			p = "int";
   4231       1.1  christos 			break;
   4232       1.1  christos 		case 2:
   4233       1.1  christos 			p = "int";
   4234       1.1  christos 			break;
   4235       1.1  christos 		case 3:
   4236       1.1  christos 			p = "int";
   4237       1.1  christos 			break;
   4238       1.1  christos 		default:
   4239       1.1  christos 			break;
   4240       1.1  christos 		};
   4241       1.1  christos 		break;
   4242       1.1  christos 	/* netbsd32_sigaction */
   4243       1.1  christos 	case 46:
   4244       1.1  christos 		switch(ndx) {
   4245       1.1  christos 		case 0:
   4246       1.1  christos 			p = "int";
   4247       1.1  christos 			break;
   4248       1.1  christos 		case 1:
   4249       1.1  christos 			p = "netbsd32_sigactionp_t";
   4250       1.1  christos 			break;
   4251       1.1  christos 		case 2:
   4252       1.1  christos 			p = "netbsd32_sigactionp_t";
   4253       1.1  christos 			break;
   4254       1.1  christos 		default:
   4255       1.1  christos 			break;
   4256       1.1  christos 		};
   4257       1.1  christos 		break;
   4258      1.37     kamil 	/* sys_getgid_with_egid */
   4259       1.1  christos 	case 47:
   4260       1.1  christos 		break;
   4261       1.1  christos 	/* netbsd32_sigprocmask */
   4262       1.1  christos 	case 48:
   4263       1.1  christos 		switch(ndx) {
   4264       1.1  christos 		case 0:
   4265       1.1  christos 			p = "int";
   4266       1.1  christos 			break;
   4267       1.1  christos 		case 1:
   4268       1.1  christos 			p = "int";
   4269       1.1  christos 			break;
   4270       1.1  christos 		default:
   4271       1.1  christos 			break;
   4272       1.1  christos 		};
   4273       1.1  christos 		break;
   4274       1.1  christos 	/* netbsd32___getlogin */
   4275       1.1  christos 	case 49:
   4276       1.1  christos 		switch(ndx) {
   4277       1.1  christos 		case 0:
   4278       1.1  christos 			p = "netbsd32_charp";
   4279       1.1  christos 			break;
   4280       1.1  christos 		case 1:
   4281       1.1  christos 			p = "u_int";
   4282       1.1  christos 			break;
   4283       1.1  christos 		default:
   4284       1.1  christos 			break;
   4285       1.1  christos 		};
   4286       1.1  christos 		break;
   4287       1.1  christos 	/* netbsd32_setlogin */
   4288       1.1  christos 	case 50:
   4289       1.1  christos 		switch(ndx) {
   4290       1.1  christos 		case 0:
   4291       1.1  christos 			p = "netbsd32_charp";
   4292       1.1  christos 			break;
   4293       1.1  christos 		default:
   4294       1.1  christos 			break;
   4295       1.1  christos 		};
   4296       1.1  christos 		break;
   4297       1.1  christos 	/* netbsd32_acct */
   4298       1.1  christos 	case 51:
   4299       1.1  christos 		switch(ndx) {
   4300       1.1  christos 		case 0:
   4301       1.1  christos 			p = "netbsd32_charp";
   4302       1.1  christos 			break;
   4303       1.1  christos 		default:
   4304       1.1  christos 			break;
   4305       1.1  christos 		};
   4306       1.1  christos 		break;
   4307       1.1  christos 	/* sys_sigpending */
   4308       1.1  christos 	case 52:
   4309       1.1  christos 		break;
   4310       1.1  christos 	/* netbsd32_sigaltstack13 */
   4311       1.1  christos 	case 53:
   4312       1.1  christos 		switch(ndx) {
   4313       1.1  christos 		case 0:
   4314       1.1  christos 			p = "netbsd32_sigaltstack13p_t";
   4315       1.1  christos 			break;
   4316       1.1  christos 		case 1:
   4317       1.1  christos 			p = "netbsd32_sigaltstack13p_t";
   4318       1.1  christos 			break;
   4319       1.1  christos 		default:
   4320       1.1  christos 			break;
   4321       1.1  christos 		};
   4322       1.1  christos 		break;
   4323       1.1  christos 	/* netbsd32_ioctl */
   4324       1.1  christos 	case 54:
   4325       1.1  christos 		switch(ndx) {
   4326       1.1  christos 		case 0:
   4327       1.1  christos 			p = "int";
   4328       1.1  christos 			break;
   4329       1.1  christos 		case 1:
   4330       1.1  christos 			p = "netbsd32_u_long";
   4331       1.1  christos 			break;
   4332       1.1  christos 		case 2:
   4333       1.1  christos 			p = "netbsd32_voidp";
   4334       1.1  christos 			break;
   4335       1.1  christos 		default:
   4336       1.1  christos 			break;
   4337       1.1  christos 		};
   4338       1.1  christos 		break;
   4339       1.1  christos 	/* netbsd32_reboot */
   4340       1.1  christos 	case 55:
   4341       1.1  christos 		switch(ndx) {
   4342       1.1  christos 		case 0:
   4343       1.1  christos 			p = "int";
   4344       1.1  christos 			break;
   4345       1.1  christos 		default:
   4346       1.1  christos 			break;
   4347       1.1  christos 		};
   4348       1.1  christos 		break;
   4349       1.1  christos 	/* netbsd32_revoke */
   4350       1.1  christos 	case 56:
   4351       1.1  christos 		switch(ndx) {
   4352       1.1  christos 		case 0:
   4353       1.1  christos 			p = "netbsd32_charp";
   4354       1.1  christos 			break;
   4355       1.1  christos 		default:
   4356       1.1  christos 			break;
   4357       1.1  christos 		};
   4358       1.1  christos 		break;
   4359       1.1  christos 	/* netbsd32_symlink */
   4360       1.1  christos 	case 57:
   4361       1.1  christos 		switch(ndx) {
   4362       1.1  christos 		case 0:
   4363       1.1  christos 			p = "netbsd32_charp";
   4364       1.1  christos 			break;
   4365       1.1  christos 		case 1:
   4366       1.1  christos 			p = "netbsd32_charp";
   4367       1.1  christos 			break;
   4368       1.1  christos 		default:
   4369       1.1  christos 			break;
   4370       1.1  christos 		};
   4371       1.1  christos 		break;
   4372       1.1  christos 	/* netbsd32_readlink */
   4373       1.1  christos 	case 58:
   4374       1.1  christos 		switch(ndx) {
   4375       1.1  christos 		case 0:
   4376       1.1  christos 			p = "netbsd32_charp";
   4377       1.1  christos 			break;
   4378       1.1  christos 		case 1:
   4379       1.1  christos 			p = "netbsd32_charp";
   4380       1.1  christos 			break;
   4381       1.1  christos 		case 2:
   4382       1.1  christos 			p = "netbsd32_size_t";
   4383       1.1  christos 			break;
   4384       1.1  christos 		default:
   4385       1.1  christos 			break;
   4386       1.1  christos 		};
   4387       1.1  christos 		break;
   4388       1.1  christos 	/* netbsd32_execve */
   4389       1.1  christos 	case 59:
   4390       1.1  christos 		switch(ndx) {
   4391       1.1  christos 		case 0:
   4392       1.1  christos 			p = "netbsd32_charp";
   4393       1.1  christos 			break;
   4394       1.1  christos 		case 1:
   4395       1.1  christos 			p = "netbsd32_charpp";
   4396       1.1  christos 			break;
   4397       1.1  christos 		case 2:
   4398       1.1  christos 			p = "netbsd32_charpp";
   4399       1.1  christos 			break;
   4400       1.1  christos 		default:
   4401       1.1  christos 			break;
   4402       1.1  christos 		};
   4403       1.1  christos 		break;
   4404       1.1  christos 	/* netbsd32_umask */
   4405       1.1  christos 	case 60:
   4406       1.1  christos 		switch(ndx) {
   4407       1.1  christos 		case 0:
   4408       1.1  christos 			p = "mode_t";
   4409       1.1  christos 			break;
   4410       1.1  christos 		default:
   4411       1.1  christos 			break;
   4412       1.1  christos 		};
   4413       1.1  christos 		break;
   4414       1.1  christos 	/* netbsd32_chroot */
   4415       1.1  christos 	case 61:
   4416       1.1  christos 		switch(ndx) {
   4417       1.1  christos 		case 0:
   4418       1.1  christos 			p = "netbsd32_charp";
   4419       1.1  christos 			break;
   4420       1.1  christos 		default:
   4421       1.1  christos 			break;
   4422       1.1  christos 		};
   4423       1.1  christos 		break;
   4424       1.1  christos 	/* netbsd32_fstat43 */
   4425       1.1  christos 	case 62:
   4426       1.1  christos 		switch(ndx) {
   4427       1.1  christos 		case 0:
   4428       1.1  christos 			p = "int";
   4429       1.1  christos 			break;
   4430       1.1  christos 		case 1:
   4431       1.1  christos 			p = "netbsd32_stat43p_t";
   4432       1.1  christos 			break;
   4433       1.1  christos 		default:
   4434       1.1  christos 			break;
   4435       1.1  christos 		};
   4436       1.1  christos 		break;
   4437       1.1  christos 	/* netbsd32_ogetkerninfo */
   4438       1.1  christos 	case 63:
   4439       1.1  christos 		switch(ndx) {
   4440       1.1  christos 		case 0:
   4441       1.1  christos 			p = "int";
   4442       1.1  christos 			break;
   4443       1.1  christos 		case 1:
   4444       1.1  christos 			p = "netbsd32_charp";
   4445       1.1  christos 			break;
   4446       1.1  christos 		case 2:
   4447       1.1  christos 			p = "netbsd32_intp";
   4448       1.1  christos 			break;
   4449       1.1  christos 		case 3:
   4450       1.1  christos 			p = "int";
   4451       1.1  christos 			break;
   4452       1.1  christos 		default:
   4453       1.1  christos 			break;
   4454       1.1  christos 		};
   4455       1.1  christos 		break;
   4456       1.1  christos 	/* sys_getpagesize */
   4457       1.1  christos 	case 64:
   4458       1.1  christos 		break;
   4459       1.1  christos 	/* netbsd32_msync */
   4460       1.1  christos 	case 65:
   4461       1.1  christos 		switch(ndx) {
   4462       1.1  christos 		case 0:
   4463       1.1  christos 			p = "netbsd32_voidp";
   4464       1.1  christos 			break;
   4465       1.1  christos 		case 1:
   4466       1.1  christos 			p = "netbsd32_size_t";
   4467       1.1  christos 			break;
   4468       1.1  christos 		default:
   4469       1.1  christos 			break;
   4470       1.1  christos 		};
   4471       1.1  christos 		break;
   4472       1.1  christos 	/* sys_vfork */
   4473       1.1  christos 	case 66:
   4474       1.1  christos 		break;
   4475       1.1  christos 	/* netbsd32_ommap */
   4476       1.1  christos 	case 71:
   4477       1.1  christos 		switch(ndx) {
   4478       1.1  christos 		case 0:
   4479       1.1  christos 			p = "netbsd32_voidp";
   4480       1.1  christos 			break;
   4481       1.1  christos 		case 1:
   4482       1.1  christos 			p = "netbsd32_size_t";
   4483       1.1  christos 			break;
   4484       1.1  christos 		case 2:
   4485       1.1  christos 			p = "int";
   4486       1.1  christos 			break;
   4487       1.1  christos 		case 3:
   4488       1.1  christos 			p = "int";
   4489       1.1  christos 			break;
   4490       1.1  christos 		case 4:
   4491       1.1  christos 			p = "int";
   4492       1.1  christos 			break;
   4493       1.1  christos 		case 5:
   4494       1.1  christos 			p = "netbsd32_long";
   4495       1.1  christos 			break;
   4496       1.1  christos 		default:
   4497       1.1  christos 			break;
   4498       1.1  christos 		};
   4499       1.1  christos 		break;
   4500      1.24     kamil 	/* netbsd32_ovadvise */
   4501      1.24     kamil 	case 72:
   4502      1.24     kamil 		switch(ndx) {
   4503      1.24     kamil 		case 0:
   4504      1.24     kamil 			p = "int";
   4505      1.24     kamil 			break;
   4506      1.24     kamil 		default:
   4507      1.24     kamil 			break;
   4508      1.24     kamil 		};
   4509      1.24     kamil 		break;
   4510       1.1  christos 	/* netbsd32_munmap */
   4511       1.1  christos 	case 73:
   4512       1.1  christos 		switch(ndx) {
   4513       1.1  christos 		case 0:
   4514       1.1  christos 			p = "netbsd32_voidp";
   4515       1.1  christos 			break;
   4516       1.1  christos 		case 1:
   4517       1.1  christos 			p = "netbsd32_size_t";
   4518       1.1  christos 			break;
   4519       1.1  christos 		default:
   4520       1.1  christos 			break;
   4521       1.1  christos 		};
   4522       1.1  christos 		break;
   4523       1.1  christos 	/* netbsd32_mprotect */
   4524       1.1  christos 	case 74:
   4525       1.1  christos 		switch(ndx) {
   4526       1.1  christos 		case 0:
   4527       1.1  christos 			p = "netbsd32_voidp";
   4528       1.1  christos 			break;
   4529       1.1  christos 		case 1:
   4530       1.1  christos 			p = "netbsd32_size_t";
   4531       1.1  christos 			break;
   4532       1.1  christos 		case 2:
   4533       1.1  christos 			p = "int";
   4534       1.1  christos 			break;
   4535       1.1  christos 		default:
   4536       1.1  christos 			break;
   4537       1.1  christos 		};
   4538       1.1  christos 		break;
   4539       1.1  christos 	/* netbsd32_madvise */
   4540       1.1  christos 	case 75:
   4541       1.1  christos 		switch(ndx) {
   4542       1.1  christos 		case 0:
   4543       1.1  christos 			p = "netbsd32_voidp";
   4544       1.1  christos 			break;
   4545       1.1  christos 		case 1:
   4546       1.1  christos 			p = "netbsd32_size_t";
   4547       1.1  christos 			break;
   4548       1.1  christos 		case 2:
   4549       1.1  christos 			p = "int";
   4550       1.1  christos 			break;
   4551       1.1  christos 		default:
   4552       1.1  christos 			break;
   4553       1.1  christos 		};
   4554       1.1  christos 		break;
   4555       1.1  christos 	/* netbsd32_mincore */
   4556       1.1  christos 	case 78:
   4557       1.1  christos 		switch(ndx) {
   4558       1.1  christos 		case 0:
   4559       1.1  christos 			p = "netbsd32_voidp";
   4560       1.1  christos 			break;
   4561       1.1  christos 		case 1:
   4562       1.1  christos 			p = "netbsd32_size_t";
   4563       1.1  christos 			break;
   4564       1.1  christos 		case 2:
   4565       1.1  christos 			p = "netbsd32_charp";
   4566       1.1  christos 			break;
   4567       1.1  christos 		default:
   4568       1.1  christos 			break;
   4569       1.1  christos 		};
   4570       1.1  christos 		break;
   4571       1.1  christos 	/* netbsd32_getgroups */
   4572       1.1  christos 	case 79:
   4573       1.1  christos 		switch(ndx) {
   4574       1.1  christos 		case 0:
   4575       1.1  christos 			p = "int";
   4576       1.1  christos 			break;
   4577       1.1  christos 		case 1:
   4578       1.1  christos 			p = "netbsd32_gid_tp";
   4579       1.1  christos 			break;
   4580       1.1  christos 		default:
   4581       1.1  christos 			break;
   4582       1.1  christos 		};
   4583       1.1  christos 		break;
   4584       1.1  christos 	/* netbsd32_setgroups */
   4585       1.1  christos 	case 80:
   4586       1.1  christos 		switch(ndx) {
   4587       1.1  christos 		case 0:
   4588       1.1  christos 			p = "int";
   4589       1.1  christos 			break;
   4590       1.1  christos 		case 1:
   4591       1.1  christos 			p = "netbsd32_gid_tp";
   4592       1.1  christos 			break;
   4593       1.1  christos 		default:
   4594       1.1  christos 			break;
   4595       1.1  christos 		};
   4596       1.1  christos 		break;
   4597       1.1  christos 	/* sys_getpgrp */
   4598       1.1  christos 	case 81:
   4599       1.1  christos 		break;
   4600       1.1  christos 	/* netbsd32_setpgid */
   4601       1.1  christos 	case 82:
   4602       1.1  christos 		switch(ndx) {
   4603       1.1  christos 		case 0:
   4604       1.1  christos 			p = "int";
   4605       1.1  christos 			break;
   4606       1.1  christos 		case 1:
   4607       1.1  christos 			p = "int";
   4608       1.1  christos 			break;
   4609       1.1  christos 		default:
   4610       1.1  christos 			break;
   4611       1.1  christos 		};
   4612       1.1  christos 		break;
   4613       1.1  christos 	/* netbsd32_setitimer */
   4614       1.1  christos 	case 83:
   4615       1.1  christos 		switch(ndx) {
   4616       1.1  christos 		case 0:
   4617       1.1  christos 			p = "int";
   4618       1.1  christos 			break;
   4619       1.1  christos 		case 1:
   4620       1.1  christos 			p = "netbsd32_itimerval50p_t";
   4621       1.1  christos 			break;
   4622       1.1  christos 		case 2:
   4623       1.1  christos 			p = "netbsd32_itimerval50p_t";
   4624       1.1  christos 			break;
   4625       1.1  christos 		default:
   4626       1.1  christos 			break;
   4627       1.1  christos 		};
   4628       1.1  christos 		break;
   4629       1.1  christos 	/* sys_wait */
   4630       1.1  christos 	case 84:
   4631       1.1  christos 		break;
   4632       1.1  christos 	/* netbsd32_oswapon */
   4633       1.1  christos 	case 85:
   4634       1.1  christos 		switch(ndx) {
   4635       1.1  christos 		case 0:
   4636       1.1  christos 			p = "netbsd32_charp";
   4637       1.1  christos 			break;
   4638       1.1  christos 		default:
   4639       1.1  christos 			break;
   4640       1.1  christos 		};
   4641       1.1  christos 		break;
   4642       1.1  christos 	/* netbsd32_getitimer */
   4643       1.1  christos 	case 86:
   4644       1.1  christos 		switch(ndx) {
   4645       1.1  christos 		case 0:
   4646       1.1  christos 			p = "int";
   4647       1.1  christos 			break;
   4648       1.1  christos 		case 1:
   4649       1.1  christos 			p = "netbsd32_itimerval50p_t";
   4650       1.1  christos 			break;
   4651       1.1  christos 		default:
   4652       1.1  christos 			break;
   4653       1.1  christos 		};
   4654       1.1  christos 		break;
   4655       1.1  christos 	/* netbsd32_ogethostname */
   4656       1.1  christos 	case 87:
   4657       1.1  christos 		switch(ndx) {
   4658       1.1  christos 		case 0:
   4659       1.1  christos 			p = "netbsd32_charp";
   4660       1.1  christos 			break;
   4661       1.1  christos 		case 1:
   4662       1.1  christos 			p = "u_int";
   4663       1.1  christos 			break;
   4664       1.1  christos 		default:
   4665       1.1  christos 			break;
   4666       1.1  christos 		};
   4667       1.1  christos 		break;
   4668       1.1  christos 	/* netbsd32_osethostname */
   4669       1.1  christos 	case 88:
   4670       1.1  christos 		switch(ndx) {
   4671       1.1  christos 		case 0:
   4672       1.1  christos 			p = "netbsd32_charp";
   4673       1.1  christos 			break;
   4674       1.1  christos 		case 1:
   4675       1.1  christos 			p = "u_int";
   4676       1.1  christos 			break;
   4677       1.1  christos 		default:
   4678       1.1  christos 			break;
   4679       1.1  christos 		};
   4680       1.1  christos 		break;
   4681       1.1  christos 	/* sys_getdtablesize */
   4682       1.1  christos 	case 89:
   4683       1.1  christos 		break;
   4684       1.1  christos 	/* netbsd32_dup2 */
   4685       1.1  christos 	case 90:
   4686       1.1  christos 		switch(ndx) {
   4687       1.1  christos 		case 0:
   4688       1.1  christos 			p = "int";
   4689       1.1  christos 			break;
   4690       1.1  christos 		case 1:
   4691       1.1  christos 			p = "int";
   4692       1.1  christos 			break;
   4693       1.1  christos 		default:
   4694       1.1  christos 			break;
   4695       1.1  christos 		};
   4696       1.1  christos 		break;
   4697      1.45       rin 	/* netbsd32_getrandom */
   4698      1.45       rin 	case 91:
   4699      1.45       rin 		switch(ndx) {
   4700      1.45       rin 		case 0:
   4701      1.45       rin 			p = "netbsd32_voidp";
   4702      1.45       rin 			break;
   4703      1.45       rin 		case 1:
   4704      1.45       rin 			p = "netbsd32_size_t";
   4705      1.45       rin 			break;
   4706      1.45       rin 		case 2:
   4707      1.45       rin 			p = "unsigned int";
   4708      1.45       rin 			break;
   4709      1.45       rin 		default:
   4710      1.45       rin 			break;
   4711      1.45       rin 		};
   4712      1.45       rin 		break;
   4713       1.1  christos 	/* netbsd32_fcntl */
   4714       1.1  christos 	case 92:
   4715       1.1  christos 		switch(ndx) {
   4716       1.1  christos 		case 0:
   4717       1.1  christos 			p = "int";
   4718       1.1  christos 			break;
   4719       1.1  christos 		case 1:
   4720       1.1  christos 			p = "int";
   4721       1.1  christos 			break;
   4722       1.1  christos 		case 2:
   4723       1.1  christos 			p = "netbsd32_voidp";
   4724       1.1  christos 			break;
   4725       1.1  christos 		default:
   4726       1.1  christos 			break;
   4727       1.1  christos 		};
   4728       1.1  christos 		break;
   4729       1.1  christos 	/* netbsd32_select */
   4730       1.1  christos 	case 93:
   4731       1.1  christos 		switch(ndx) {
   4732       1.1  christos 		case 0:
   4733       1.1  christos 			p = "int";
   4734       1.1  christos 			break;
   4735       1.1  christos 		case 1:
   4736       1.1  christos 			p = "netbsd32_fd_setp_t";
   4737       1.1  christos 			break;
   4738       1.1  christos 		case 2:
   4739       1.1  christos 			p = "netbsd32_fd_setp_t";
   4740       1.1  christos 			break;
   4741       1.1  christos 		case 3:
   4742       1.1  christos 			p = "netbsd32_fd_setp_t";
   4743       1.1  christos 			break;
   4744       1.1  christos 		case 4:
   4745       1.1  christos 			p = "netbsd32_timeval50p_t";
   4746       1.1  christos 			break;
   4747       1.1  christos 		default:
   4748       1.1  christos 			break;
   4749       1.1  christos 		};
   4750       1.1  christos 		break;
   4751       1.1  christos 	/* netbsd32_fsync */
   4752       1.1  christos 	case 95:
   4753       1.1  christos 		switch(ndx) {
   4754       1.1  christos 		case 0:
   4755       1.1  christos 			p = "int";
   4756       1.1  christos 			break;
   4757       1.1  christos 		default:
   4758       1.1  christos 			break;
   4759       1.1  christos 		};
   4760       1.1  christos 		break;
   4761       1.1  christos 	/* netbsd32_setpriority */
   4762       1.1  christos 	case 96:
   4763       1.1  christos 		switch(ndx) {
   4764       1.1  christos 		case 0:
   4765       1.1  christos 			p = "int";
   4766       1.1  christos 			break;
   4767       1.1  christos 		case 1:
   4768       1.1  christos 			p = "int";
   4769       1.1  christos 			break;
   4770       1.1  christos 		case 2:
   4771       1.1  christos 			p = "int";
   4772       1.1  christos 			break;
   4773       1.1  christos 		default:
   4774       1.1  christos 			break;
   4775       1.1  christos 		};
   4776       1.1  christos 		break;
   4777       1.1  christos 	/* netbsd32_socket */
   4778       1.1  christos 	case 97:
   4779       1.1  christos 		switch(ndx) {
   4780       1.1  christos 		case 0:
   4781       1.1  christos 			p = "int";
   4782       1.1  christos 			break;
   4783       1.1  christos 		case 1:
   4784       1.1  christos 			p = "int";
   4785       1.1  christos 			break;
   4786       1.1  christos 		case 2:
   4787       1.1  christos 			p = "int";
   4788       1.1  christos 			break;
   4789       1.1  christos 		default:
   4790       1.1  christos 			break;
   4791       1.1  christos 		};
   4792       1.1  christos 		break;
   4793       1.1  christos 	/* netbsd32_connect */
   4794       1.1  christos 	case 98:
   4795       1.1  christos 		switch(ndx) {
   4796       1.1  christos 		case 0:
   4797       1.1  christos 			p = "int";
   4798       1.1  christos 			break;
   4799       1.1  christos 		case 1:
   4800       1.1  christos 			p = "netbsd32_sockaddrp_t";
   4801       1.1  christos 			break;
   4802       1.1  christos 		case 2:
   4803       1.1  christos 			p = "int";
   4804       1.1  christos 			break;
   4805       1.1  christos 		default:
   4806       1.1  christos 			break;
   4807       1.1  christos 		};
   4808       1.1  christos 		break;
   4809       1.1  christos 	/* netbsd32_oaccept */
   4810       1.1  christos 	case 99:
   4811       1.1  christos 		switch(ndx) {
   4812       1.1  christos 		case 0:
   4813       1.1  christos 			p = "int";
   4814       1.1  christos 			break;
   4815       1.1  christos 		case 1:
   4816       1.1  christos 			p = "netbsd32_voidp";
   4817       1.1  christos 			break;
   4818       1.1  christos 		case 2:
   4819       1.1  christos 			p = "netbsd32_intp";
   4820       1.1  christos 			break;
   4821       1.1  christos 		default:
   4822       1.1  christos 			break;
   4823       1.1  christos 		};
   4824       1.1  christos 		break;
   4825       1.1  christos 	/* netbsd32_getpriority */
   4826       1.1  christos 	case 100:
   4827       1.1  christos 		switch(ndx) {
   4828       1.1  christos 		case 0:
   4829       1.1  christos 			p = "int";
   4830       1.1  christos 			break;
   4831       1.1  christos 		case 1:
   4832       1.1  christos 			p = "int";
   4833       1.1  christos 			break;
   4834       1.1  christos 		default:
   4835       1.1  christos 			break;
   4836       1.1  christos 		};
   4837       1.1  christos 		break;
   4838       1.1  christos 	/* netbsd32_osend */
   4839       1.1  christos 	case 101:
   4840       1.1  christos 		switch(ndx) {
   4841       1.1  christos 		case 0:
   4842       1.1  christos 			p = "int";
   4843       1.1  christos 			break;
   4844       1.1  christos 		case 1:
   4845       1.1  christos 			p = "netbsd32_voidp";
   4846       1.1  christos 			break;
   4847       1.1  christos 		case 2:
   4848       1.1  christos 			p = "int";
   4849       1.1  christos 			break;
   4850       1.1  christos 		case 3:
   4851       1.1  christos 			p = "int";
   4852       1.1  christos 			break;
   4853       1.1  christos 		default:
   4854       1.1  christos 			break;
   4855       1.1  christos 		};
   4856       1.1  christos 		break;
   4857       1.1  christos 	/* netbsd32_orecv */
   4858       1.1  christos 	case 102:
   4859       1.1  christos 		switch(ndx) {
   4860       1.1  christos 		case 0:
   4861       1.1  christos 			p = "int";
   4862       1.1  christos 			break;
   4863       1.1  christos 		case 1:
   4864       1.1  christos 			p = "netbsd32_voidp";
   4865       1.1  christos 			break;
   4866       1.1  christos 		case 2:
   4867       1.1  christos 			p = "int";
   4868       1.1  christos 			break;
   4869       1.1  christos 		case 3:
   4870       1.1  christos 			p = "int";
   4871       1.1  christos 			break;
   4872       1.1  christos 		default:
   4873       1.1  christos 			break;
   4874       1.1  christos 		};
   4875       1.1  christos 		break;
   4876       1.1  christos 	/* netbsd32_sigreturn */
   4877       1.1  christos 	case 103:
   4878       1.1  christos 		switch(ndx) {
   4879       1.1  christos 		case 0:
   4880       1.1  christos 			p = "netbsd32_sigcontextp_t";
   4881       1.1  christos 			break;
   4882       1.1  christos 		default:
   4883       1.1  christos 			break;
   4884       1.1  christos 		};
   4885       1.1  christos 		break;
   4886       1.1  christos 	/* netbsd32_bind */
   4887       1.1  christos 	case 104:
   4888       1.1  christos 		switch(ndx) {
   4889       1.1  christos 		case 0:
   4890       1.1  christos 			p = "int";
   4891       1.1  christos 			break;
   4892       1.1  christos 		case 1:
   4893       1.1  christos 			p = "netbsd32_sockaddrp_t";
   4894       1.1  christos 			break;
   4895       1.1  christos 		case 2:
   4896       1.1  christos 			p = "int";
   4897       1.1  christos 			break;
   4898       1.1  christos 		default:
   4899       1.1  christos 			break;
   4900       1.1  christos 		};
   4901       1.1  christos 		break;
   4902       1.1  christos 	/* netbsd32_setsockopt */
   4903       1.1  christos 	case 105:
   4904       1.1  christos 		switch(ndx) {
   4905       1.1  christos 		case 0:
   4906       1.1  christos 			p = "int";
   4907       1.1  christos 			break;
   4908       1.1  christos 		case 1:
   4909       1.1  christos 			p = "int";
   4910       1.1  christos 			break;
   4911       1.1  christos 		case 2:
   4912       1.1  christos 			p = "int";
   4913       1.1  christos 			break;
   4914       1.1  christos 		case 3:
   4915       1.1  christos 			p = "netbsd32_voidp";
   4916       1.1  christos 			break;
   4917       1.1  christos 		case 4:
   4918       1.1  christos 			p = "int";
   4919       1.1  christos 			break;
   4920       1.1  christos 		default:
   4921       1.1  christos 			break;
   4922       1.1  christos 		};
   4923       1.1  christos 		break;
   4924       1.1  christos 	/* netbsd32_listen */
   4925       1.1  christos 	case 106:
   4926       1.1  christos 		switch(ndx) {
   4927       1.1  christos 		case 0:
   4928       1.1  christos 			p = "int";
   4929       1.1  christos 			break;
   4930       1.1  christos 		case 1:
   4931       1.1  christos 			p = "int";
   4932       1.1  christos 			break;
   4933       1.1  christos 		default:
   4934       1.1  christos 			break;
   4935       1.1  christos 		};
   4936       1.1  christos 		break;
   4937       1.1  christos 	/* netbsd32_osigvec */
   4938       1.1  christos 	case 108:
   4939       1.1  christos 		switch(ndx) {
   4940       1.1  christos 		case 0:
   4941       1.1  christos 			p = "int";
   4942       1.1  christos 			break;
   4943       1.1  christos 		case 1:
   4944       1.1  christos 			p = "netbsd32_sigvecp_t";
   4945       1.1  christos 			break;
   4946       1.1  christos 		case 2:
   4947       1.1  christos 			p = "netbsd32_sigvecp_t";
   4948       1.1  christos 			break;
   4949       1.1  christos 		default:
   4950       1.1  christos 			break;
   4951       1.1  christos 		};
   4952       1.1  christos 		break;
   4953       1.1  christos 	/* netbsd32_sigblock */
   4954       1.1  christos 	case 109:
   4955       1.1  christos 		switch(ndx) {
   4956       1.1  christos 		case 0:
   4957       1.1  christos 			p = "int";
   4958       1.1  christos 			break;
   4959       1.1  christos 		default:
   4960       1.1  christos 			break;
   4961       1.1  christos 		};
   4962       1.1  christos 		break;
   4963       1.1  christos 	/* netbsd32_sigsetmask */
   4964       1.1  christos 	case 110:
   4965       1.1  christos 		switch(ndx) {
   4966       1.1  christos 		case 0:
   4967       1.1  christos 			p = "int";
   4968       1.1  christos 			break;
   4969       1.1  christos 		default:
   4970       1.1  christos 			break;
   4971       1.1  christos 		};
   4972       1.1  christos 		break;
   4973       1.1  christos 	/* netbsd32_sigsuspend */
   4974       1.1  christos 	case 111:
   4975       1.1  christos 		switch(ndx) {
   4976       1.1  christos 		case 0:
   4977       1.1  christos 			p = "int";
   4978       1.1  christos 			break;
   4979       1.1  christos 		default:
   4980       1.1  christos 			break;
   4981       1.1  christos 		};
   4982       1.1  christos 		break;
   4983       1.1  christos 	/* netbsd32_osigstack */
   4984       1.1  christos 	case 112:
   4985       1.1  christos 		switch(ndx) {
   4986       1.1  christos 		case 0:
   4987       1.1  christos 			p = "netbsd32_sigstackp_t";
   4988       1.1  christos 			break;
   4989       1.1  christos 		case 1:
   4990       1.1  christos 			p = "netbsd32_sigstackp_t";
   4991       1.1  christos 			break;
   4992       1.1  christos 		default:
   4993       1.1  christos 			break;
   4994       1.1  christos 		};
   4995       1.1  christos 		break;
   4996       1.1  christos 	/* netbsd32_orecvmsg */
   4997       1.1  christos 	case 113:
   4998       1.1  christos 		switch(ndx) {
   4999       1.1  christos 		case 0:
   5000       1.1  christos 			p = "int";
   5001       1.1  christos 			break;
   5002       1.1  christos 		case 1:
   5003       1.1  christos 			p = "netbsd32_omsghdrp_t";
   5004       1.1  christos 			break;
   5005       1.1  christos 		case 2:
   5006       1.1  christos 			p = "int";
   5007       1.1  christos 			break;
   5008       1.1  christos 		default:
   5009       1.1  christos 			break;
   5010       1.1  christos 		};
   5011       1.1  christos 		break;
   5012       1.1  christos 	/* netbsd32_osendmsg */
   5013       1.1  christos 	case 114:
   5014       1.1  christos 		switch(ndx) {
   5015       1.1  christos 		case 0:
   5016       1.1  christos 			p = "int";
   5017       1.1  christos 			break;
   5018       1.1  christos 		case 1:
   5019       1.1  christos 			p = "netbsd32_voidp";
   5020       1.1  christos 			break;
   5021       1.1  christos 		case 2:
   5022       1.1  christos 			p = "int";
   5023       1.1  christos 			break;
   5024       1.1  christos 		default:
   5025       1.1  christos 			break;
   5026       1.1  christos 		};
   5027       1.1  christos 		break;
   5028       1.1  christos 	/* netbsd32_gettimeofday */
   5029       1.1  christos 	case 116:
   5030       1.1  christos 		switch(ndx) {
   5031       1.1  christos 		case 0:
   5032       1.1  christos 			p = "netbsd32_timeval50p_t";
   5033       1.1  christos 			break;
   5034       1.1  christos 		case 1:
   5035       1.1  christos 			p = "netbsd32_timezonep_t";
   5036       1.1  christos 			break;
   5037       1.1  christos 		default:
   5038       1.1  christos 			break;
   5039       1.1  christos 		};
   5040       1.1  christos 		break;
   5041       1.1  christos 	/* netbsd32_getrusage */
   5042       1.1  christos 	case 117:
   5043       1.1  christos 		switch(ndx) {
   5044       1.1  christos 		case 0:
   5045       1.1  christos 			p = "int";
   5046       1.1  christos 			break;
   5047       1.1  christos 		case 1:
   5048       1.1  christos 			p = "netbsd32_rusage50p_t";
   5049       1.1  christos 			break;
   5050       1.1  christos 		default:
   5051       1.1  christos 			break;
   5052       1.1  christos 		};
   5053       1.1  christos 		break;
   5054       1.1  christos 	/* netbsd32_getsockopt */
   5055       1.1  christos 	case 118:
   5056       1.1  christos 		switch(ndx) {
   5057       1.1  christos 		case 0:
   5058       1.1  christos 			p = "int";
   5059       1.1  christos 			break;
   5060       1.1  christos 		case 1:
   5061       1.1  christos 			p = "int";
   5062       1.1  christos 			break;
   5063       1.1  christos 		case 2:
   5064       1.1  christos 			p = "int";
   5065       1.1  christos 			break;
   5066       1.1  christos 		case 3:
   5067       1.1  christos 			p = "netbsd32_voidp";
   5068       1.1  christos 			break;
   5069       1.1  christos 		case 4:
   5070       1.1  christos 			p = "netbsd32_intp";
   5071       1.1  christos 			break;
   5072       1.1  christos 		default:
   5073       1.1  christos 			break;
   5074       1.1  christos 		};
   5075       1.1  christos 		break;
   5076       1.1  christos 	/* netbsd32_readv */
   5077       1.1  christos 	case 120:
   5078       1.1  christos 		switch(ndx) {
   5079       1.1  christos 		case 0:
   5080       1.1  christos 			p = "int";
   5081       1.1  christos 			break;
   5082       1.1  christos 		case 1:
   5083       1.1  christos 			p = "netbsd32_iovecp_t";
   5084       1.1  christos 			break;
   5085       1.1  christos 		case 2:
   5086       1.1  christos 			p = "int";
   5087       1.1  christos 			break;
   5088       1.1  christos 		default:
   5089       1.1  christos 			break;
   5090       1.1  christos 		};
   5091       1.1  christos 		break;
   5092       1.1  christos 	/* netbsd32_writev */
   5093       1.1  christos 	case 121:
   5094       1.1  christos 		switch(ndx) {
   5095       1.1  christos 		case 0:
   5096       1.1  christos 			p = "int";
   5097       1.1  christos 			break;
   5098       1.1  christos 		case 1:
   5099       1.1  christos 			p = "netbsd32_iovecp_t";
   5100       1.1  christos 			break;
   5101       1.1  christos 		case 2:
   5102       1.1  christos 			p = "int";
   5103       1.1  christos 			break;
   5104       1.1  christos 		default:
   5105       1.1  christos 			break;
   5106       1.1  christos 		};
   5107       1.1  christos 		break;
   5108       1.1  christos 	/* netbsd32_settimeofday */
   5109       1.1  christos 	case 122:
   5110       1.1  christos 		switch(ndx) {
   5111       1.1  christos 		case 0:
   5112       1.1  christos 			p = "netbsd32_timeval50p_t";
   5113       1.1  christos 			break;
   5114       1.1  christos 		case 1:
   5115       1.1  christos 			p = "netbsd32_timezonep_t";
   5116       1.1  christos 			break;
   5117       1.1  christos 		default:
   5118       1.1  christos 			break;
   5119       1.1  christos 		};
   5120       1.1  christos 		break;
   5121       1.1  christos 	/* netbsd32_fchown */
   5122       1.1  christos 	case 123:
   5123       1.1  christos 		switch(ndx) {
   5124       1.1  christos 		case 0:
   5125       1.1  christos 			p = "int";
   5126       1.1  christos 			break;
   5127       1.1  christos 		case 1:
   5128       1.1  christos 			p = "uid_t";
   5129       1.1  christos 			break;
   5130       1.1  christos 		case 2:
   5131       1.1  christos 			p = "gid_t";
   5132       1.1  christos 			break;
   5133       1.1  christos 		default:
   5134       1.1  christos 			break;
   5135       1.1  christos 		};
   5136       1.1  christos 		break;
   5137       1.1  christos 	/* netbsd32_fchmod */
   5138       1.1  christos 	case 124:
   5139       1.1  christos 		switch(ndx) {
   5140       1.1  christos 		case 0:
   5141       1.1  christos 			p = "int";
   5142       1.1  christos 			break;
   5143       1.1  christos 		case 1:
   5144       1.1  christos 			p = "mode_t";
   5145       1.1  christos 			break;
   5146       1.1  christos 		default:
   5147       1.1  christos 			break;
   5148       1.1  christos 		};
   5149       1.1  christos 		break;
   5150       1.1  christos 	/* netbsd32_orecvfrom */
   5151       1.1  christos 	case 125:
   5152       1.1  christos 		switch(ndx) {
   5153       1.1  christos 		case 0:
   5154       1.1  christos 			p = "int";
   5155       1.1  christos 			break;
   5156       1.1  christos 		case 1:
   5157       1.1  christos 			p = "netbsd32_voidp";
   5158       1.1  christos 			break;
   5159       1.1  christos 		case 2:
   5160       1.1  christos 			p = "netbsd32_size_t";
   5161       1.1  christos 			break;
   5162       1.1  christos 		case 3:
   5163       1.1  christos 			p = "int";
   5164       1.1  christos 			break;
   5165       1.1  christos 		case 4:
   5166       1.1  christos 			p = "netbsd32_voidp";
   5167       1.1  christos 			break;
   5168       1.1  christos 		case 5:
   5169       1.1  christos 			p = "netbsd32_intp";
   5170       1.1  christos 			break;
   5171       1.1  christos 		default:
   5172       1.1  christos 			break;
   5173       1.1  christos 		};
   5174       1.1  christos 		break;
   5175       1.1  christos 	/* netbsd32_setreuid */
   5176       1.1  christos 	case 126:
   5177       1.1  christos 		switch(ndx) {
   5178       1.1  christos 		case 0:
   5179       1.1  christos 			p = "uid_t";
   5180       1.1  christos 			break;
   5181       1.1  christos 		case 1:
   5182       1.1  christos 			p = "uid_t";
   5183       1.1  christos 			break;
   5184       1.1  christos 		default:
   5185       1.1  christos 			break;
   5186       1.1  christos 		};
   5187       1.1  christos 		break;
   5188       1.1  christos 	/* netbsd32_setregid */
   5189       1.1  christos 	case 127:
   5190       1.1  christos 		switch(ndx) {
   5191       1.1  christos 		case 0:
   5192       1.1  christos 			p = "gid_t";
   5193       1.1  christos 			break;
   5194       1.1  christos 		case 1:
   5195       1.1  christos 			p = "gid_t";
   5196       1.1  christos 			break;
   5197       1.1  christos 		default:
   5198       1.1  christos 			break;
   5199       1.1  christos 		};
   5200       1.1  christos 		break;
   5201       1.1  christos 	/* netbsd32_rename */
   5202       1.1  christos 	case 128:
   5203       1.1  christos 		switch(ndx) {
   5204       1.1  christos 		case 0:
   5205       1.1  christos 			p = "netbsd32_charp";
   5206       1.1  christos 			break;
   5207       1.1  christos 		case 1:
   5208       1.1  christos 			p = "netbsd32_charp";
   5209       1.1  christos 			break;
   5210       1.1  christos 		default:
   5211       1.1  christos 			break;
   5212       1.1  christos 		};
   5213       1.1  christos 		break;
   5214       1.1  christos 	/* netbsd32_otruncate */
   5215       1.1  christos 	case 129:
   5216       1.1  christos 		switch(ndx) {
   5217       1.1  christos 		case 0:
   5218       1.1  christos 			p = "netbsd32_charp";
   5219       1.1  christos 			break;
   5220       1.1  christos 		case 1:
   5221       1.1  christos 			p = "netbsd32_long";
   5222       1.1  christos 			break;
   5223       1.1  christos 		default:
   5224       1.1  christos 			break;
   5225       1.1  christos 		};
   5226       1.1  christos 		break;
   5227       1.1  christos 	/* netbsd32_oftruncate */
   5228       1.1  christos 	case 130:
   5229       1.1  christos 		switch(ndx) {
   5230       1.1  christos 		case 0:
   5231       1.1  christos 			p = "int";
   5232       1.1  christos 			break;
   5233       1.1  christos 		case 1:
   5234       1.1  christos 			p = "netbsd32_long";
   5235       1.1  christos 			break;
   5236       1.1  christos 		default:
   5237       1.1  christos 			break;
   5238       1.1  christos 		};
   5239       1.1  christos 		break;
   5240       1.1  christos 	/* netbsd32_flock */
   5241       1.1  christos 	case 131:
   5242       1.1  christos 		switch(ndx) {
   5243       1.1  christos 		case 0:
   5244       1.1  christos 			p = "int";
   5245       1.1  christos 			break;
   5246       1.1  christos 		case 1:
   5247       1.1  christos 			p = "int";
   5248       1.1  christos 			break;
   5249       1.1  christos 		default:
   5250       1.1  christos 			break;
   5251       1.1  christos 		};
   5252       1.1  christos 		break;
   5253       1.1  christos 	/* netbsd32_mkfifo */
   5254       1.1  christos 	case 132:
   5255       1.1  christos 		switch(ndx) {
   5256       1.1  christos 		case 0:
   5257       1.1  christos 			p = "netbsd32_charp";
   5258       1.1  christos 			break;
   5259       1.1  christos 		case 1:
   5260       1.1  christos 			p = "mode_t";
   5261       1.1  christos 			break;
   5262       1.1  christos 		default:
   5263       1.1  christos 			break;
   5264       1.1  christos 		};
   5265       1.1  christos 		break;
   5266       1.1  christos 	/* netbsd32_sendto */
   5267       1.1  christos 	case 133:
   5268       1.1  christos 		switch(ndx) {
   5269       1.1  christos 		case 0:
   5270       1.1  christos 			p = "int";
   5271       1.1  christos 			break;
   5272       1.1  christos 		case 1:
   5273       1.1  christos 			p = "netbsd32_voidp";
   5274       1.1  christos 			break;
   5275       1.1  christos 		case 2:
   5276       1.1  christos 			p = "netbsd32_size_t";
   5277       1.1  christos 			break;
   5278       1.1  christos 		case 3:
   5279       1.1  christos 			p = "int";
   5280       1.1  christos 			break;
   5281       1.1  christos 		case 4:
   5282       1.1  christos 			p = "netbsd32_sockaddrp_t";
   5283       1.1  christos 			break;
   5284       1.1  christos 		case 5:
   5285       1.1  christos 			p = "int";
   5286       1.1  christos 			break;
   5287       1.1  christos 		default:
   5288       1.1  christos 			break;
   5289       1.1  christos 		};
   5290       1.1  christos 		break;
   5291       1.1  christos 	/* netbsd32_shutdown */
   5292       1.1  christos 	case 134:
   5293       1.1  christos 		switch(ndx) {
   5294       1.1  christos 		case 0:
   5295       1.1  christos 			p = "int";
   5296       1.1  christos 			break;
   5297       1.1  christos 		case 1:
   5298       1.1  christos 			p = "int";
   5299       1.1  christos 			break;
   5300       1.1  christos 		default:
   5301       1.1  christos 			break;
   5302       1.1  christos 		};
   5303       1.1  christos 		break;
   5304       1.1  christos 	/* netbsd32_socketpair */
   5305       1.1  christos 	case 135:
   5306       1.1  christos 		switch(ndx) {
   5307       1.1  christos 		case 0:
   5308       1.1  christos 			p = "int";
   5309       1.1  christos 			break;
   5310       1.1  christos 		case 1:
   5311       1.1  christos 			p = "int";
   5312       1.1  christos 			break;
   5313       1.1  christos 		case 2:
   5314       1.1  christos 			p = "int";
   5315       1.1  christos 			break;
   5316       1.1  christos 		case 3:
   5317       1.1  christos 			p = "netbsd32_intp";
   5318       1.1  christos 			break;
   5319       1.1  christos 		default:
   5320       1.1  christos 			break;
   5321       1.1  christos 		};
   5322       1.1  christos 		break;
   5323       1.1  christos 	/* netbsd32_mkdir */
   5324       1.1  christos 	case 136:
   5325       1.1  christos 		switch(ndx) {
   5326       1.1  christos 		case 0:
   5327       1.1  christos 			p = "netbsd32_charp";
   5328       1.1  christos 			break;
   5329       1.1  christos 		case 1:
   5330       1.1  christos 			p = "mode_t";
   5331       1.1  christos 			break;
   5332       1.1  christos 		default:
   5333       1.1  christos 			break;
   5334       1.1  christos 		};
   5335       1.1  christos 		break;
   5336       1.1  christos 	/* netbsd32_rmdir */
   5337       1.1  christos 	case 137:
   5338       1.1  christos 		switch(ndx) {
   5339       1.1  christos 		case 0:
   5340       1.1  christos 			p = "netbsd32_charp";
   5341       1.1  christos 			break;
   5342       1.1  christos 		default:
   5343       1.1  christos 			break;
   5344       1.1  christos 		};
   5345       1.1  christos 		break;
   5346       1.1  christos 	/* netbsd32_utimes */
   5347       1.1  christos 	case 138:
   5348       1.1  christos 		switch(ndx) {
   5349       1.1  christos 		case 0:
   5350       1.1  christos 			p = "netbsd32_charp";
   5351       1.1  christos 			break;
   5352       1.1  christos 		case 1:
   5353       1.1  christos 			p = "netbsd32_timeval50p_t";
   5354       1.1  christos 			break;
   5355       1.1  christos 		default:
   5356       1.1  christos 			break;
   5357       1.1  christos 		};
   5358       1.1  christos 		break;
   5359       1.1  christos 	/* netbsd32_adjtime */
   5360       1.1  christos 	case 140:
   5361       1.1  christos 		switch(ndx) {
   5362       1.1  christos 		case 0:
   5363       1.1  christos 			p = "netbsd32_timeval50p_t";
   5364       1.1  christos 			break;
   5365       1.1  christos 		case 1:
   5366       1.1  christos 			p = "netbsd32_timeval50p_t";
   5367       1.1  christos 			break;
   5368       1.1  christos 		default:
   5369       1.1  christos 			break;
   5370       1.1  christos 		};
   5371       1.1  christos 		break;
   5372       1.1  christos 	/* netbsd32_ogetpeername */
   5373       1.1  christos 	case 141:
   5374       1.1  christos 		switch(ndx) {
   5375       1.1  christos 		case 0:
   5376       1.1  christos 			p = "int";
   5377       1.1  christos 			break;
   5378       1.1  christos 		case 1:
   5379       1.1  christos 			p = "netbsd32_voidp";
   5380       1.1  christos 			break;
   5381       1.1  christos 		case 2:
   5382       1.1  christos 			p = "netbsd32_intp";
   5383       1.1  christos 			break;
   5384       1.1  christos 		default:
   5385       1.1  christos 			break;
   5386       1.1  christos 		};
   5387       1.1  christos 		break;
   5388       1.1  christos 	/* sys_gethostid */
   5389       1.1  christos 	case 142:
   5390       1.1  christos 		break;
   5391       1.1  christos 	/* netbsd32_sethostid */
   5392       1.1  christos 	case 143:
   5393       1.1  christos 		switch(ndx) {
   5394       1.1  christos 		case 0:
   5395       1.1  christos 			p = "int32_t";
   5396       1.1  christos 			break;
   5397       1.1  christos 		default:
   5398       1.1  christos 			break;
   5399       1.1  christos 		};
   5400       1.1  christos 		break;
   5401       1.1  christos 	/* netbsd32_ogetrlimit */
   5402       1.1  christos 	case 144:
   5403       1.1  christos 		switch(ndx) {
   5404       1.1  christos 		case 0:
   5405       1.1  christos 			p = "int";
   5406       1.1  christos 			break;
   5407       1.1  christos 		case 1:
   5408       1.1  christos 			p = "netbsd32_orlimitp_t";
   5409       1.1  christos 			break;
   5410       1.1  christos 		default:
   5411       1.1  christos 			break;
   5412       1.1  christos 		};
   5413       1.1  christos 		break;
   5414       1.1  christos 	/* netbsd32_osetrlimit */
   5415       1.1  christos 	case 145:
   5416       1.1  christos 		switch(ndx) {
   5417       1.1  christos 		case 0:
   5418       1.1  christos 			p = "int";
   5419       1.1  christos 			break;
   5420       1.1  christos 		case 1:
   5421       1.1  christos 			p = "netbsd32_orlimitp_t";
   5422       1.1  christos 			break;
   5423       1.1  christos 		default:
   5424       1.1  christos 			break;
   5425       1.1  christos 		};
   5426       1.1  christos 		break;
   5427       1.1  christos 	/* netbsd32_killpg */
   5428       1.1  christos 	case 146:
   5429       1.1  christos 		switch(ndx) {
   5430       1.1  christos 		case 0:
   5431       1.1  christos 			p = "int";
   5432       1.1  christos 			break;
   5433       1.1  christos 		case 1:
   5434       1.1  christos 			p = "int";
   5435       1.1  christos 			break;
   5436       1.1  christos 		default:
   5437       1.1  christos 			break;
   5438       1.1  christos 		};
   5439       1.1  christos 		break;
   5440       1.1  christos 	/* sys_setsid */
   5441       1.1  christos 	case 147:
   5442       1.1  christos 		break;
   5443       1.1  christos 	/* netbsd32_quotactl */
   5444       1.1  christos 	case 148:
   5445       1.1  christos 		switch(ndx) {
   5446       1.1  christos 		case 0:
   5447       1.1  christos 			p = "netbsd32_charp";
   5448       1.1  christos 			break;
   5449       1.1  christos 		case 1:
   5450       1.1  christos 			p = "int";
   5451       1.1  christos 			break;
   5452       1.1  christos 		case 2:
   5453       1.1  christos 			p = "int";
   5454       1.1  christos 			break;
   5455       1.1  christos 		case 3:
   5456       1.1  christos 			p = "netbsd32_voidp";
   5457       1.1  christos 			break;
   5458       1.1  christos 		default:
   5459       1.1  christos 			break;
   5460       1.1  christos 		};
   5461       1.1  christos 		break;
   5462       1.1  christos 	/* netbsd32_ogetsockname */
   5463       1.1  christos 	case 150:
   5464       1.1  christos 		switch(ndx) {
   5465       1.1  christos 		case 0:
   5466       1.1  christos 			p = "int";
   5467       1.1  christos 			break;
   5468       1.1  christos 		case 1:
   5469       1.1  christos 			p = "netbsd32_voidp";
   5470       1.1  christos 			break;
   5471       1.1  christos 		case 2:
   5472       1.1  christos 			p = "netbsd32_intp";
   5473       1.1  christos 			break;
   5474       1.1  christos 		default:
   5475       1.1  christos 			break;
   5476       1.1  christos 		};
   5477       1.1  christos 		break;
   5478       1.6       mrg 	/* netbsd32_nfssvc */
   5479       1.6       mrg 	case 155:
   5480       1.6       mrg 		switch(ndx) {
   5481       1.6       mrg 		case 0:
   5482       1.6       mrg 			p = "int";
   5483       1.6       mrg 			break;
   5484       1.6       mrg 		case 1:
   5485       1.6       mrg 			p = "netbsd32_voidp";
   5486       1.6       mrg 			break;
   5487       1.6       mrg 		default:
   5488       1.6       mrg 			break;
   5489       1.6       mrg 		};
   5490       1.6       mrg 		break;
   5491       1.1  christos 	/* netbsd32_ogetdirentries */
   5492       1.1  christos 	case 156:
   5493       1.1  christos 		switch(ndx) {
   5494       1.1  christos 		case 0:
   5495       1.1  christos 			p = "int";
   5496       1.1  christos 			break;
   5497       1.1  christos 		case 1:
   5498       1.1  christos 			p = "netbsd32_charp";
   5499       1.1  christos 			break;
   5500       1.1  christos 		case 2:
   5501       1.1  christos 			p = "u_int";
   5502       1.1  christos 			break;
   5503       1.1  christos 		case 3:
   5504       1.1  christos 			p = "netbsd32_longp";
   5505       1.1  christos 			break;
   5506       1.1  christos 		default:
   5507       1.1  christos 			break;
   5508       1.1  christos 		};
   5509       1.1  christos 		break;
   5510       1.1  christos 	/* netbsd32_statfs */
   5511       1.1  christos 	case 157:
   5512       1.1  christos 		switch(ndx) {
   5513       1.1  christos 		case 0:
   5514       1.1  christos 			p = "netbsd32_charp";
   5515       1.1  christos 			break;
   5516       1.1  christos 		case 1:
   5517       1.1  christos 			p = "netbsd32_statfsp_t";
   5518       1.1  christos 			break;
   5519       1.1  christos 		default:
   5520       1.1  christos 			break;
   5521       1.1  christos 		};
   5522       1.1  christos 		break;
   5523       1.1  christos 	/* netbsd32_fstatfs */
   5524       1.1  christos 	case 158:
   5525       1.1  christos 		switch(ndx) {
   5526       1.1  christos 		case 0:
   5527       1.1  christos 			p = "int";
   5528       1.1  christos 			break;
   5529       1.1  christos 		case 1:
   5530       1.1  christos 			p = "netbsd32_statfsp_t";
   5531       1.1  christos 			break;
   5532       1.1  christos 		default:
   5533       1.1  christos 			break;
   5534       1.1  christos 		};
   5535       1.1  christos 		break;
   5536       1.1  christos 	/* netbsd32_getfh */
   5537       1.1  christos 	case 161:
   5538       1.1  christos 		switch(ndx) {
   5539       1.1  christos 		case 0:
   5540       1.1  christos 			p = "netbsd32_charp";
   5541       1.1  christos 			break;
   5542       1.1  christos 		case 1:
   5543       1.1  christos 			p = "netbsd32_compat_30_fhandlep_t";
   5544       1.1  christos 			break;
   5545       1.1  christos 		default:
   5546       1.1  christos 			break;
   5547       1.1  christos 		};
   5548       1.1  christos 		break;
   5549       1.1  christos 	/* netbsd32_ogetdomainname */
   5550       1.1  christos 	case 162:
   5551       1.1  christos 		switch(ndx) {
   5552       1.1  christos 		case 0:
   5553       1.1  christos 			p = "netbsd32_charp";
   5554       1.1  christos 			break;
   5555       1.1  christos 		case 1:
   5556       1.1  christos 			p = "int";
   5557       1.1  christos 			break;
   5558       1.1  christos 		default:
   5559       1.1  christos 			break;
   5560       1.1  christos 		};
   5561       1.1  christos 		break;
   5562       1.1  christos 	/* netbsd32_osetdomainname */
   5563       1.1  christos 	case 163:
   5564       1.1  christos 		switch(ndx) {
   5565       1.1  christos 		case 0:
   5566       1.1  christos 			p = "netbsd32_charp";
   5567       1.1  christos 			break;
   5568       1.1  christos 		case 1:
   5569       1.1  christos 			p = "int";
   5570       1.1  christos 			break;
   5571       1.1  christos 		default:
   5572       1.1  christos 			break;
   5573       1.1  christos 		};
   5574       1.1  christos 		break;
   5575       1.1  christos 	/* netbsd32_uname */
   5576       1.1  christos 	case 164:
   5577       1.1  christos 		switch(ndx) {
   5578       1.1  christos 		case 0:
   5579       1.1  christos 			p = "netbsd32_outsnamep_t";
   5580       1.1  christos 			break;
   5581       1.1  christos 		default:
   5582       1.1  christos 			break;
   5583       1.1  christos 		};
   5584       1.1  christos 		break;
   5585       1.1  christos 	/* netbsd32_sysarch */
   5586       1.1  christos 	case 165:
   5587       1.1  christos 		switch(ndx) {
   5588       1.1  christos 		case 0:
   5589       1.1  christos 			p = "int";
   5590       1.1  christos 			break;
   5591       1.1  christos 		case 1:
   5592       1.1  christos 			p = "netbsd32_voidp";
   5593       1.1  christos 			break;
   5594       1.1  christos 		default:
   5595       1.1  christos 			break;
   5596       1.1  christos 		};
   5597       1.1  christos 		break;
   5598      1.43   thorpej 	/* netbsd32___futex */
   5599      1.43   thorpej 	case 166:
   5600      1.43   thorpej 		switch(ndx) {
   5601      1.43   thorpej 		case 0:
   5602      1.43   thorpej 			p = "netbsd32_intp";
   5603      1.43   thorpej 			break;
   5604      1.43   thorpej 		case 1:
   5605      1.43   thorpej 			p = "int";
   5606      1.43   thorpej 			break;
   5607      1.43   thorpej 		case 2:
   5608      1.43   thorpej 			p = "int";
   5609      1.43   thorpej 			break;
   5610      1.43   thorpej 		case 3:
   5611      1.43   thorpej 			p = "const netbsd32_timespecp_t";
   5612      1.43   thorpej 			break;
   5613      1.43   thorpej 		case 4:
   5614      1.43   thorpej 			p = "netbsd32_intp";
   5615      1.43   thorpej 			break;
   5616      1.43   thorpej 		case 5:
   5617      1.43   thorpej 			p = "int";
   5618      1.43   thorpej 			break;
   5619      1.43   thorpej 		case 6:
   5620      1.43   thorpej 			p = "int";
   5621      1.43   thorpej 			break;
   5622      1.43   thorpej 		default:
   5623      1.43   thorpej 			break;
   5624      1.43   thorpej 		};
   5625      1.43   thorpej 		break;
   5626      1.43   thorpej 	/* netbsd32___futex_set_robust_list */
   5627      1.43   thorpej 	case 167:
   5628      1.43   thorpej 		switch(ndx) {
   5629      1.43   thorpej 		case 0:
   5630      1.43   thorpej 			p = "netbsd32_voidp";
   5631      1.43   thorpej 			break;
   5632      1.43   thorpej 		case 1:
   5633      1.43   thorpej 			p = "netbsd32_size_t";
   5634      1.43   thorpej 			break;
   5635      1.43   thorpej 		default:
   5636      1.43   thorpej 			break;
   5637      1.43   thorpej 		};
   5638      1.43   thorpej 		break;
   5639      1.43   thorpej 	/* netbsd32___futex_get_robust_list */
   5640      1.43   thorpej 	case 168:
   5641      1.43   thorpej 		switch(ndx) {
   5642      1.43   thorpej 		case 0:
   5643      1.43   thorpej 			p = "lwpid_t";
   5644      1.43   thorpej 			break;
   5645      1.43   thorpej 		case 1:
   5646      1.43   thorpej 			p = "netbsd32_voidp";
   5647      1.43   thorpej 			break;
   5648      1.43   thorpej 		case 2:
   5649      1.43   thorpej 			p = "netbsd32_size_tp";
   5650      1.43   thorpej 			break;
   5651      1.43   thorpej 		default:
   5652      1.43   thorpej 			break;
   5653      1.43   thorpej 		};
   5654      1.43   thorpej 		break;
   5655       1.1  christos 	/* netbsd32_semsys */
   5656       1.1  christos 	case 169:
   5657       1.1  christos 		switch(ndx) {
   5658       1.1  christos 		case 0:
   5659       1.1  christos 			p = "int";
   5660       1.1  christos 			break;
   5661       1.1  christos 		case 1:
   5662       1.1  christos 			p = "int";
   5663       1.1  christos 			break;
   5664       1.1  christos 		case 2:
   5665       1.1  christos 			p = "int";
   5666       1.1  christos 			break;
   5667       1.1  christos 		case 3:
   5668       1.1  christos 			p = "int";
   5669       1.1  christos 			break;
   5670       1.1  christos 		case 4:
   5671       1.1  christos 			p = "int";
   5672       1.1  christos 			break;
   5673       1.1  christos 		default:
   5674       1.1  christos 			break;
   5675       1.1  christos 		};
   5676       1.1  christos 		break;
   5677       1.1  christos 	/* netbsd32_msgsys */
   5678       1.1  christos 	case 170:
   5679       1.1  christos 		switch(ndx) {
   5680       1.1  christos 		case 0:
   5681       1.1  christos 			p = "int";
   5682       1.1  christos 			break;
   5683       1.1  christos 		case 1:
   5684       1.1  christos 			p = "int";
   5685       1.1  christos 			break;
   5686       1.1  christos 		case 2:
   5687       1.1  christos 			p = "int";
   5688       1.1  christos 			break;
   5689       1.1  christos 		case 3:
   5690       1.1  christos 			p = "int";
   5691       1.1  christos 			break;
   5692       1.1  christos 		case 4:
   5693       1.1  christos 			p = "int";
   5694       1.1  christos 			break;
   5695       1.1  christos 		case 5:
   5696       1.1  christos 			p = "int";
   5697       1.1  christos 			break;
   5698       1.1  christos 		default:
   5699       1.1  christos 			break;
   5700       1.1  christos 		};
   5701       1.1  christos 		break;
   5702       1.1  christos 	/* netbsd32_shmsys */
   5703       1.1  christos 	case 171:
   5704       1.1  christos 		switch(ndx) {
   5705       1.1  christos 		case 0:
   5706       1.1  christos 			p = "int";
   5707       1.1  christos 			break;
   5708       1.1  christos 		case 1:
   5709       1.1  christos 			p = "int";
   5710       1.1  christos 			break;
   5711       1.1  christos 		case 2:
   5712       1.1  christos 			p = "int";
   5713       1.1  christos 			break;
   5714       1.1  christos 		case 3:
   5715       1.1  christos 			p = "int";
   5716       1.1  christos 			break;
   5717       1.1  christos 		default:
   5718       1.1  christos 			break;
   5719       1.1  christos 		};
   5720       1.1  christos 		break;
   5721       1.1  christos 	/* netbsd32_pread */
   5722       1.1  christos 	case 173:
   5723       1.1  christos 		switch(ndx) {
   5724       1.1  christos 		case 0:
   5725       1.1  christos 			p = "int";
   5726       1.1  christos 			break;
   5727       1.1  christos 		case 1:
   5728       1.1  christos 			p = "netbsd32_voidp";
   5729       1.1  christos 			break;
   5730       1.1  christos 		case 2:
   5731       1.1  christos 			p = "netbsd32_size_t";
   5732       1.1  christos 			break;
   5733       1.1  christos 		case 3:
   5734       1.1  christos 			p = "int";
   5735       1.1  christos 			break;
   5736       1.1  christos 		case 4:
   5737       1.1  christos 			p = "netbsd32_off_t";
   5738       1.1  christos 			break;
   5739       1.1  christos 		default:
   5740       1.1  christos 			break;
   5741       1.1  christos 		};
   5742       1.1  christos 		break;
   5743       1.1  christos 	/* netbsd32_pwrite */
   5744       1.1  christos 	case 174:
   5745       1.1  christos 		switch(ndx) {
   5746       1.1  christos 		case 0:
   5747       1.1  christos 			p = "int";
   5748       1.1  christos 			break;
   5749       1.1  christos 		case 1:
   5750       1.1  christos 			p = "netbsd32_voidp";
   5751       1.1  christos 			break;
   5752       1.1  christos 		case 2:
   5753       1.1  christos 			p = "netbsd32_size_t";
   5754       1.1  christos 			break;
   5755       1.1  christos 		case 3:
   5756       1.1  christos 			p = "int";
   5757       1.1  christos 			break;
   5758       1.1  christos 		case 4:
   5759       1.1  christos 			p = "netbsd32_off_t";
   5760       1.1  christos 			break;
   5761       1.1  christos 		default:
   5762       1.1  christos 			break;
   5763       1.1  christos 		};
   5764       1.1  christos 		break;
   5765       1.1  christos 	/* netbsd32_ntp_gettime */
   5766       1.1  christos 	case 175:
   5767       1.1  christos 		switch(ndx) {
   5768       1.1  christos 		case 0:
   5769       1.1  christos 			p = "netbsd32_ntptimeval50p_t";
   5770       1.1  christos 			break;
   5771       1.1  christos 		default:
   5772       1.1  christos 			break;
   5773       1.1  christos 		};
   5774       1.1  christos 		break;
   5775      1.30  pgoyette #if defined(NTP) || !defined(_KERNEL_OPT)
   5776       1.1  christos 	/* netbsd32_ntp_adjtime */
   5777       1.1  christos 	case 176:
   5778       1.1  christos 		switch(ndx) {
   5779       1.1  christos 		case 0:
   5780       1.1  christos 			p = "netbsd32_timexp_t";
   5781       1.1  christos 			break;
   5782       1.1  christos 		default:
   5783       1.1  christos 			break;
   5784       1.1  christos 		};
   5785       1.1  christos 		break;
   5786       1.1  christos #else
   5787       1.1  christos #endif
   5788       1.1  christos 	/* netbsd32_setgid */
   5789       1.1  christos 	case 181:
   5790       1.1  christos 		switch(ndx) {
   5791       1.1  christos 		case 0:
   5792       1.1  christos 			p = "gid_t";
   5793       1.1  christos 			break;
   5794       1.1  christos 		default:
   5795       1.1  christos 			break;
   5796       1.1  christos 		};
   5797       1.1  christos 		break;
   5798       1.1  christos 	/* netbsd32_setegid */
   5799       1.1  christos 	case 182:
   5800       1.1  christos 		switch(ndx) {
   5801       1.1  christos 		case 0:
   5802       1.1  christos 			p = "gid_t";
   5803       1.1  christos 			break;
   5804       1.1  christos 		default:
   5805       1.1  christos 			break;
   5806       1.1  christos 		};
   5807       1.1  christos 		break;
   5808       1.1  christos 	/* netbsd32_seteuid */
   5809       1.1  christos 	case 183:
   5810       1.1  christos 		switch(ndx) {
   5811       1.1  christos 		case 0:
   5812       1.1  christos 			p = "uid_t";
   5813       1.1  christos 			break;
   5814       1.1  christos 		default:
   5815       1.1  christos 			break;
   5816       1.1  christos 		};
   5817       1.1  christos 		break;
   5818       1.1  christos 	/* netbsd32_stat12 */
   5819       1.1  christos 	case 188:
   5820       1.1  christos 		switch(ndx) {
   5821       1.1  christos 		case 0:
   5822       1.1  christos 			p = "netbsd32_charp";
   5823       1.1  christos 			break;
   5824       1.1  christos 		case 1:
   5825       1.1  christos 			p = "netbsd32_stat12p_t";
   5826       1.1  christos 			break;
   5827       1.1  christos 		default:
   5828       1.1  christos 			break;
   5829       1.1  christos 		};
   5830       1.1  christos 		break;
   5831       1.1  christos 	/* netbsd32_fstat12 */
   5832       1.1  christos 	case 189:
   5833       1.1  christos 		switch(ndx) {
   5834       1.1  christos 		case 0:
   5835       1.1  christos 			p = "int";
   5836       1.1  christos 			break;
   5837       1.1  christos 		case 1:
   5838       1.1  christos 			p = "netbsd32_stat12p_t";
   5839       1.1  christos 			break;
   5840       1.1  christos 		default:
   5841       1.1  christos 			break;
   5842       1.1  christos 		};
   5843       1.1  christos 		break;
   5844       1.1  christos 	/* netbsd32_lstat12 */
   5845       1.1  christos 	case 190:
   5846       1.1  christos 		switch(ndx) {
   5847       1.1  christos 		case 0:
   5848       1.1  christos 			p = "netbsd32_charp";
   5849       1.1  christos 			break;
   5850       1.1  christos 		case 1:
   5851       1.1  christos 			p = "netbsd32_stat12p_t";
   5852       1.1  christos 			break;
   5853       1.1  christos 		default:
   5854       1.1  christos 			break;
   5855       1.1  christos 		};
   5856       1.1  christos 		break;
   5857       1.1  christos 	/* netbsd32_pathconf */
   5858       1.1  christos 	case 191:
   5859       1.1  christos 		switch(ndx) {
   5860       1.1  christos 		case 0:
   5861       1.1  christos 			p = "netbsd32_charp";
   5862       1.1  christos 			break;
   5863       1.1  christos 		case 1:
   5864       1.1  christos 			p = "int";
   5865       1.1  christos 			break;
   5866       1.1  christos 		default:
   5867       1.1  christos 			break;
   5868       1.1  christos 		};
   5869       1.1  christos 		break;
   5870       1.1  christos 	/* netbsd32_fpathconf */
   5871       1.1  christos 	case 192:
   5872       1.1  christos 		switch(ndx) {
   5873       1.1  christos 		case 0:
   5874       1.1  christos 			p = "int";
   5875       1.1  christos 			break;
   5876       1.1  christos 		case 1:
   5877       1.1  christos 			p = "int";
   5878       1.1  christos 			break;
   5879       1.1  christos 		default:
   5880       1.1  christos 			break;
   5881       1.1  christos 		};
   5882       1.1  christos 		break;
   5883      1.26       rjs 	/* netbsd32_getsockopt2 */
   5884      1.26       rjs 	case 193:
   5885      1.26       rjs 		switch(ndx) {
   5886      1.26       rjs 		case 0:
   5887      1.26       rjs 			p = "int";
   5888      1.26       rjs 			break;
   5889      1.26       rjs 		case 1:
   5890      1.26       rjs 			p = "int";
   5891      1.26       rjs 			break;
   5892      1.26       rjs 		case 2:
   5893      1.26       rjs 			p = "int";
   5894      1.26       rjs 			break;
   5895      1.26       rjs 		case 3:
   5896      1.26       rjs 			p = "netbsd32_voidp";
   5897      1.26       rjs 			break;
   5898      1.26       rjs 		case 4:
   5899      1.26       rjs 			p = "netbsd32_intp";
   5900      1.26       rjs 			break;
   5901      1.26       rjs 		default:
   5902      1.26       rjs 			break;
   5903      1.26       rjs 		};
   5904      1.26       rjs 		break;
   5905       1.1  christos 	/* netbsd32_getrlimit */
   5906       1.1  christos 	case 194:
   5907       1.1  christos 		switch(ndx) {
   5908       1.1  christos 		case 0:
   5909       1.1  christos 			p = "int";
   5910       1.1  christos 			break;
   5911       1.1  christos 		case 1:
   5912       1.1  christos 			p = "netbsd32_rlimitp_t";
   5913       1.1  christos 			break;
   5914       1.1  christos 		default:
   5915       1.1  christos 			break;
   5916       1.1  christos 		};
   5917       1.1  christos 		break;
   5918       1.1  christos 	/* netbsd32_setrlimit */
   5919       1.1  christos 	case 195:
   5920       1.1  christos 		switch(ndx) {
   5921       1.1  christos 		case 0:
   5922       1.1  christos 			p = "int";
   5923       1.1  christos 			break;
   5924       1.1  christos 		case 1:
   5925       1.1  christos 			p = "netbsd32_rlimitp_t";
   5926       1.1  christos 			break;
   5927       1.1  christos 		default:
   5928       1.1  christos 			break;
   5929       1.1  christos 		};
   5930       1.1  christos 		break;
   5931       1.1  christos 	/* netbsd32_getdirentries */
   5932       1.1  christos 	case 196:
   5933       1.1  christos 		switch(ndx) {
   5934       1.1  christos 		case 0:
   5935       1.1  christos 			p = "int";
   5936       1.1  christos 			break;
   5937       1.1  christos 		case 1:
   5938       1.1  christos 			p = "netbsd32_charp";
   5939       1.1  christos 			break;
   5940       1.1  christos 		case 2:
   5941       1.1  christos 			p = "u_int";
   5942       1.1  christos 			break;
   5943       1.1  christos 		case 3:
   5944       1.1  christos 			p = "netbsd32_longp";
   5945       1.1  christos 			break;
   5946       1.1  christos 		default:
   5947       1.1  christos 			break;
   5948       1.1  christos 		};
   5949       1.1  christos 		break;
   5950       1.1  christos 	/* netbsd32_mmap */
   5951       1.1  christos 	case 197:
   5952       1.1  christos 		switch(ndx) {
   5953       1.1  christos 		case 0:
   5954       1.1  christos 			p = "netbsd32_voidp";
   5955       1.1  christos 			break;
   5956       1.1  christos 		case 1:
   5957       1.1  christos 			p = "netbsd32_size_t";
   5958       1.1  christos 			break;
   5959       1.1  christos 		case 2:
   5960       1.1  christos 			p = "int";
   5961       1.1  christos 			break;
   5962       1.1  christos 		case 3:
   5963       1.1  christos 			p = "int";
   5964       1.1  christos 			break;
   5965       1.1  christos 		case 4:
   5966       1.1  christos 			p = "int";
   5967       1.1  christos 			break;
   5968       1.1  christos 		case 5:
   5969       1.1  christos 			p = "netbsd32_long";
   5970       1.1  christos 			break;
   5971       1.1  christos 		case 6:
   5972       1.1  christos 			p = "netbsd32_off_t";
   5973       1.1  christos 			break;
   5974       1.1  christos 		default:
   5975       1.1  christos 			break;
   5976       1.1  christos 		};
   5977       1.1  christos 		break;
   5978       1.1  christos 	/* netbsd32____syscall */
   5979       1.1  christos 	case 198:
   5980       1.1  christos 		switch(ndx) {
   5981       1.1  christos 		case 0:
   5982       1.1  christos 			p = "quad_t";
   5983       1.1  christos 			break;
   5984       1.1  christos 		case 1:
   5985       1.1  christos 			p = "register32_t";
   5986       1.1  christos 			break;
   5987       1.1  christos 		default:
   5988       1.1  christos 			break;
   5989       1.1  christos 		};
   5990       1.1  christos 		break;
   5991       1.1  christos 	/* netbsd32_lseek */
   5992       1.1  christos 	case 199:
   5993       1.1  christos 		switch(ndx) {
   5994       1.1  christos 		case 0:
   5995       1.1  christos 			p = "int";
   5996       1.1  christos 			break;
   5997       1.1  christos 		case 1:
   5998       1.1  christos 			p = "int";
   5999       1.1  christos 			break;
   6000       1.1  christos 		case 2:
   6001       1.1  christos 			p = "netbsd32_off_t";
   6002       1.1  christos 			break;
   6003       1.1  christos 		case 3:
   6004       1.1  christos 			p = "int";
   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_truncate */
   6011       1.1  christos 	case 200:
   6012       1.1  christos 		switch(ndx) {
   6013       1.1  christos 		case 0:
   6014       1.1  christos 			p = "netbsd32_charp";
   6015       1.1  christos 			break;
   6016       1.1  christos 		case 1:
   6017       1.1  christos 			p = "int";
   6018       1.1  christos 			break;
   6019       1.1  christos 		case 2:
   6020       1.1  christos 			p = "netbsd32_off_t";
   6021       1.1  christos 			break;
   6022       1.1  christos 		default:
   6023       1.1  christos 			break;
   6024       1.1  christos 		};
   6025       1.1  christos 		break;
   6026       1.1  christos 	/* netbsd32_ftruncate */
   6027       1.1  christos 	case 201:
   6028       1.1  christos 		switch(ndx) {
   6029       1.1  christos 		case 0:
   6030       1.1  christos 			p = "int";
   6031       1.1  christos 			break;
   6032       1.1  christos 		case 1:
   6033       1.1  christos 			p = "int";
   6034       1.1  christos 			break;
   6035       1.1  christos 		case 2:
   6036       1.1  christos 			p = "netbsd32_off_t";
   6037       1.1  christos 			break;
   6038       1.1  christos 		default:
   6039       1.1  christos 			break;
   6040       1.1  christos 		};
   6041       1.1  christos 		break;
   6042       1.1  christos 	/* netbsd32___sysctl */
   6043       1.1  christos 	case 202:
   6044       1.1  christos 		switch(ndx) {
   6045       1.1  christos 		case 0:
   6046       1.1  christos 			p = "netbsd32_intp";
   6047       1.1  christos 			break;
   6048       1.1  christos 		case 1:
   6049       1.1  christos 			p = "u_int";
   6050       1.1  christos 			break;
   6051       1.1  christos 		case 2:
   6052       1.1  christos 			p = "netbsd32_voidp";
   6053       1.1  christos 			break;
   6054       1.1  christos 		case 3:
   6055       1.1  christos 			p = "netbsd32_size_tp";
   6056       1.1  christos 			break;
   6057       1.1  christos 		case 4:
   6058       1.1  christos 			p = "netbsd32_voidp";
   6059       1.1  christos 			break;
   6060       1.1  christos 		case 5:
   6061       1.1  christos 			p = "netbsd32_size_t";
   6062       1.1  christos 			break;
   6063       1.1  christos 		default:
   6064       1.1  christos 			break;
   6065       1.1  christos 		};
   6066       1.1  christos 		break;
   6067       1.1  christos 	/* netbsd32_mlock */
   6068       1.1  christos 	case 203:
   6069       1.1  christos 		switch(ndx) {
   6070       1.1  christos 		case 0:
   6071       1.1  christos 			p = "netbsd32_voidp";
   6072       1.1  christos 			break;
   6073       1.1  christos 		case 1:
   6074       1.1  christos 			p = "netbsd32_size_t";
   6075       1.1  christos 			break;
   6076       1.1  christos 		default:
   6077       1.1  christos 			break;
   6078       1.1  christos 		};
   6079       1.1  christos 		break;
   6080       1.1  christos 	/* netbsd32_munlock */
   6081       1.1  christos 	case 204:
   6082       1.1  christos 		switch(ndx) {
   6083       1.1  christos 		case 0:
   6084       1.1  christos 			p = "netbsd32_voidp";
   6085       1.1  christos 			break;
   6086       1.1  christos 		case 1:
   6087       1.1  christos 			p = "netbsd32_size_t";
   6088       1.1  christos 			break;
   6089       1.1  christos 		default:
   6090       1.1  christos 			break;
   6091       1.1  christos 		};
   6092       1.1  christos 		break;
   6093       1.1  christos 	/* netbsd32_undelete */
   6094       1.1  christos 	case 205:
   6095       1.1  christos 		switch(ndx) {
   6096       1.1  christos 		case 0:
   6097       1.1  christos 			p = "netbsd32_charp";
   6098       1.1  christos 			break;
   6099       1.1  christos 		default:
   6100       1.1  christos 			break;
   6101       1.1  christos 		};
   6102       1.1  christos 		break;
   6103       1.1  christos 	/* netbsd32_futimes */
   6104       1.1  christos 	case 206:
   6105       1.1  christos 		switch(ndx) {
   6106       1.1  christos 		case 0:
   6107       1.1  christos 			p = "int";
   6108       1.1  christos 			break;
   6109       1.1  christos 		case 1:
   6110       1.1  christos 			p = "netbsd32_timeval50p_t";
   6111       1.1  christos 			break;
   6112       1.1  christos 		default:
   6113       1.1  christos 			break;
   6114       1.1  christos 		};
   6115       1.1  christos 		break;
   6116       1.1  christos 	/* netbsd32_getpgid */
   6117       1.1  christos 	case 207:
   6118       1.1  christos 		switch(ndx) {
   6119       1.1  christos 		case 0:
   6120       1.1  christos 			p = "pid_t";
   6121       1.1  christos 			break;
   6122       1.1  christos 		default:
   6123       1.1  christos 			break;
   6124       1.1  christos 		};
   6125       1.1  christos 		break;
   6126       1.1  christos 	/* netbsd32_reboot */
   6127       1.1  christos 	case 208:
   6128       1.1  christos 		switch(ndx) {
   6129       1.1  christos 		case 0:
   6130       1.1  christos 			p = "int";
   6131       1.1  christos 			break;
   6132       1.1  christos 		case 1:
   6133       1.1  christos 			p = "netbsd32_charp";
   6134       1.1  christos 			break;
   6135       1.1  christos 		default:
   6136       1.1  christos 			break;
   6137       1.1  christos 		};
   6138       1.1  christos 		break;
   6139       1.1  christos 	/* netbsd32_poll */
   6140       1.1  christos 	case 209:
   6141       1.1  christos 		switch(ndx) {
   6142       1.1  christos 		case 0:
   6143       1.1  christos 			p = "netbsd32_pollfdp_t";
   6144       1.1  christos 			break;
   6145       1.1  christos 		case 1:
   6146       1.1  christos 			p = "u_int";
   6147       1.1  christos 			break;
   6148       1.1  christos 		case 2:
   6149       1.1  christos 			p = "int";
   6150       1.1  christos 			break;
   6151       1.1  christos 		default:
   6152       1.1  christos 			break;
   6153       1.1  christos 		};
   6154       1.1  christos 		break;
   6155       1.1  christos 	/* netbsd32___semctl */
   6156       1.1  christos 	case 220:
   6157       1.1  christos 		switch(ndx) {
   6158       1.1  christos 		case 0:
   6159       1.1  christos 			p = "int";
   6160       1.1  christos 			break;
   6161       1.1  christos 		case 1:
   6162       1.1  christos 			p = "int";
   6163       1.1  christos 			break;
   6164       1.1  christos 		case 2:
   6165       1.1  christos 			p = "int";
   6166       1.1  christos 			break;
   6167       1.1  christos 		case 3:
   6168       1.1  christos 			p = "netbsd32_semunu_t";
   6169       1.1  christos 			break;
   6170       1.1  christos 		default:
   6171       1.1  christos 			break;
   6172       1.1  christos 		};
   6173       1.1  christos 		break;
   6174       1.1  christos 	/* netbsd32_semget */
   6175       1.1  christos 	case 221:
   6176       1.1  christos 		switch(ndx) {
   6177       1.1  christos 		case 0:
   6178       1.1  christos 			p = "netbsd32_key_t";
   6179       1.1  christos 			break;
   6180       1.1  christos 		case 1:
   6181       1.1  christos 			p = "int";
   6182       1.1  christos 			break;
   6183       1.1  christos 		case 2:
   6184       1.1  christos 			p = "int";
   6185       1.1  christos 			break;
   6186       1.1  christos 		default:
   6187       1.1  christos 			break;
   6188       1.1  christos 		};
   6189       1.1  christos 		break;
   6190       1.1  christos 	/* netbsd32_semop */
   6191       1.1  christos 	case 222:
   6192       1.1  christos 		switch(ndx) {
   6193       1.1  christos 		case 0:
   6194       1.1  christos 			p = "int";
   6195       1.1  christos 			break;
   6196       1.1  christos 		case 1:
   6197       1.1  christos 			p = "netbsd32_sembufp_t";
   6198       1.1  christos 			break;
   6199       1.1  christos 		case 2:
   6200       1.1  christos 			p = "netbsd32_size_t";
   6201       1.1  christos 			break;
   6202       1.1  christos 		default:
   6203       1.1  christos 			break;
   6204       1.1  christos 		};
   6205       1.1  christos 		break;
   6206       1.1  christos 	/* netbsd32_semconfig */
   6207       1.1  christos 	case 223:
   6208       1.1  christos 		switch(ndx) {
   6209       1.1  christos 		case 0:
   6210       1.1  christos 			p = "int";
   6211       1.1  christos 			break;
   6212       1.1  christos 		default:
   6213       1.1  christos 			break;
   6214       1.1  christos 		};
   6215       1.1  christos 		break;
   6216       1.1  christos 	/* netbsd32_msgctl */
   6217       1.1  christos 	case 224:
   6218       1.1  christos 		switch(ndx) {
   6219       1.1  christos 		case 0:
   6220       1.1  christos 			p = "int";
   6221       1.1  christos 			break;
   6222       1.1  christos 		case 1:
   6223       1.1  christos 			p = "int";
   6224       1.1  christos 			break;
   6225       1.1  christos 		case 2:
   6226       1.1  christos 			p = "netbsd32_msqid_ds14p_t";
   6227       1.1  christos 			break;
   6228       1.1  christos 		default:
   6229       1.1  christos 			break;
   6230       1.1  christos 		};
   6231       1.1  christos 		break;
   6232       1.1  christos 	/* netbsd32_msgget */
   6233       1.1  christos 	case 225:
   6234       1.1  christos 		switch(ndx) {
   6235       1.1  christos 		case 0:
   6236       1.1  christos 			p = "netbsd32_key_t";
   6237       1.1  christos 			break;
   6238       1.1  christos 		case 1:
   6239       1.1  christos 			p = "int";
   6240       1.1  christos 			break;
   6241       1.1  christos 		default:
   6242       1.1  christos 			break;
   6243       1.1  christos 		};
   6244       1.1  christos 		break;
   6245       1.1  christos 	/* netbsd32_msgsnd */
   6246       1.1  christos 	case 226:
   6247       1.1  christos 		switch(ndx) {
   6248       1.1  christos 		case 0:
   6249       1.1  christos 			p = "int";
   6250       1.1  christos 			break;
   6251       1.1  christos 		case 1:
   6252       1.1  christos 			p = "netbsd32_voidp";
   6253       1.1  christos 			break;
   6254       1.1  christos 		case 2:
   6255       1.1  christos 			p = "netbsd32_size_t";
   6256       1.1  christos 			break;
   6257       1.1  christos 		case 3:
   6258       1.1  christos 			p = "int";
   6259       1.1  christos 			break;
   6260       1.1  christos 		default:
   6261       1.1  christos 			break;
   6262       1.1  christos 		};
   6263       1.1  christos 		break;
   6264       1.1  christos 	/* netbsd32_msgrcv */
   6265       1.1  christos 	case 227:
   6266       1.1  christos 		switch(ndx) {
   6267       1.1  christos 		case 0:
   6268       1.1  christos 			p = "int";
   6269       1.1  christos 			break;
   6270       1.1  christos 		case 1:
   6271       1.1  christos 			p = "netbsd32_voidp";
   6272       1.1  christos 			break;
   6273       1.1  christos 		case 2:
   6274       1.1  christos 			p = "netbsd32_size_t";
   6275       1.1  christos 			break;
   6276       1.1  christos 		case 3:
   6277       1.1  christos 			p = "netbsd32_long";
   6278       1.1  christos 			break;
   6279       1.1  christos 		case 4:
   6280       1.1  christos 			p = "int";
   6281       1.1  christos 			break;
   6282       1.1  christos 		default:
   6283       1.1  christos 			break;
   6284       1.1  christos 		};
   6285       1.1  christos 		break;
   6286       1.1  christos 	/* netbsd32_shmat */
   6287       1.1  christos 	case 228:
   6288       1.1  christos 		switch(ndx) {
   6289       1.1  christos 		case 0:
   6290       1.1  christos 			p = "int";
   6291       1.1  christos 			break;
   6292       1.1  christos 		case 1:
   6293       1.1  christos 			p = "netbsd32_voidp";
   6294       1.1  christos 			break;
   6295       1.1  christos 		case 2:
   6296       1.1  christos 			p = "int";
   6297       1.1  christos 			break;
   6298       1.1  christos 		default:
   6299       1.1  christos 			break;
   6300       1.1  christos 		};
   6301       1.1  christos 		break;
   6302       1.1  christos 	/* netbsd32_shmctl */
   6303       1.1  christos 	case 229:
   6304       1.1  christos 		switch(ndx) {
   6305       1.1  christos 		case 0:
   6306       1.1  christos 			p = "int";
   6307       1.1  christos 			break;
   6308       1.1  christos 		case 1:
   6309       1.1  christos 			p = "int";
   6310       1.1  christos 			break;
   6311       1.1  christos 		case 2:
   6312       1.1  christos 			p = "netbsd32_shmid_dsp_t";
   6313       1.1  christos 			break;
   6314       1.1  christos 		default:
   6315       1.1  christos 			break;
   6316       1.1  christos 		};
   6317       1.1  christos 		break;
   6318       1.1  christos 	/* netbsd32_shmdt */
   6319       1.1  christos 	case 230:
   6320       1.1  christos 		switch(ndx) {
   6321       1.1  christos 		case 0:
   6322       1.1  christos 			p = "netbsd32_voidp";
   6323       1.1  christos 			break;
   6324       1.1  christos 		default:
   6325       1.1  christos 			break;
   6326       1.1  christos 		};
   6327       1.1  christos 		break;
   6328       1.1  christos 	/* netbsd32_shmget */
   6329       1.1  christos 	case 231:
   6330       1.1  christos 		switch(ndx) {
   6331       1.1  christos 		case 0:
   6332       1.1  christos 			p = "netbsd32_key_t";
   6333       1.1  christos 			break;
   6334       1.1  christos 		case 1:
   6335       1.1  christos 			p = "netbsd32_size_t";
   6336       1.1  christos 			break;
   6337       1.1  christos 		case 2:
   6338       1.1  christos 			p = "int";
   6339       1.1  christos 			break;
   6340       1.1  christos 		default:
   6341       1.1  christos 			break;
   6342       1.1  christos 		};
   6343       1.1  christos 		break;
   6344       1.1  christos 	/* netbsd32_clock_gettime */
   6345       1.1  christos 	case 232:
   6346       1.1  christos 		switch(ndx) {
   6347       1.1  christos 		case 0:
   6348       1.1  christos 			p = "netbsd32_clockid_t";
   6349       1.1  christos 			break;
   6350       1.1  christos 		case 1:
   6351       1.1  christos 			p = "netbsd32_timespec50p_t";
   6352       1.1  christos 			break;
   6353       1.1  christos 		default:
   6354       1.1  christos 			break;
   6355       1.1  christos 		};
   6356       1.1  christos 		break;
   6357       1.1  christos 	/* netbsd32_clock_settime */
   6358       1.1  christos 	case 233:
   6359       1.1  christos 		switch(ndx) {
   6360       1.1  christos 		case 0:
   6361       1.1  christos 			p = "netbsd32_clockid_t";
   6362       1.1  christos 			break;
   6363       1.1  christos 		case 1:
   6364       1.1  christos 			p = "netbsd32_timespec50p_t";
   6365       1.1  christos 			break;
   6366       1.1  christos 		default:
   6367       1.1  christos 			break;
   6368       1.1  christos 		};
   6369       1.1  christos 		break;
   6370       1.1  christos 	/* netbsd32_clock_getres */
   6371       1.1  christos 	case 234:
   6372       1.1  christos 		switch(ndx) {
   6373       1.1  christos 		case 0:
   6374       1.1  christos 			p = "netbsd32_clockid_t";
   6375       1.1  christos 			break;
   6376       1.1  christos 		case 1:
   6377       1.1  christos 			p = "netbsd32_timespec50p_t";
   6378       1.1  christos 			break;
   6379       1.1  christos 		default:
   6380       1.1  christos 			break;
   6381       1.1  christos 		};
   6382       1.1  christos 		break;
   6383       1.1  christos 	/* netbsd32_timer_create */
   6384       1.1  christos 	case 235:
   6385       1.1  christos 		switch(ndx) {
   6386       1.1  christos 		case 0:
   6387       1.1  christos 			p = "netbsd32_clockid_t";
   6388       1.1  christos 			break;
   6389       1.1  christos 		case 1:
   6390       1.1  christos 			p = "netbsd32_sigeventp_t";
   6391       1.1  christos 			break;
   6392       1.1  christos 		case 2:
   6393       1.1  christos 			p = "netbsd32_timerp_t";
   6394       1.1  christos 			break;
   6395       1.1  christos 		default:
   6396       1.1  christos 			break;
   6397       1.1  christos 		};
   6398       1.1  christos 		break;
   6399       1.1  christos 	/* netbsd32_timer_delete */
   6400       1.1  christos 	case 236:
   6401       1.1  christos 		switch(ndx) {
   6402       1.1  christos 		case 0:
   6403       1.1  christos 			p = "netbsd32_timer_t";
   6404       1.1  christos 			break;
   6405       1.1  christos 		default:
   6406       1.1  christos 			break;
   6407       1.1  christos 		};
   6408       1.1  christos 		break;
   6409       1.1  christos 	/* netbsd32_timer_settime */
   6410       1.1  christos 	case 237:
   6411       1.1  christos 		switch(ndx) {
   6412       1.1  christos 		case 0:
   6413       1.1  christos 			p = "netbsd32_timer_t";
   6414       1.1  christos 			break;
   6415       1.1  christos 		case 1:
   6416       1.1  christos 			p = "int";
   6417       1.1  christos 			break;
   6418       1.1  christos 		case 2:
   6419       1.1  christos 			p = "netbsd32_itimerspec50p_t";
   6420       1.1  christos 			break;
   6421       1.1  christos 		case 3:
   6422       1.1  christos 			p = "netbsd32_itimerspec50p_t";
   6423       1.1  christos 			break;
   6424       1.1  christos 		default:
   6425       1.1  christos 			break;
   6426       1.1  christos 		};
   6427       1.1  christos 		break;
   6428       1.1  christos 	/* netbsd32_timer_gettime */
   6429       1.1  christos 	case 238:
   6430       1.1  christos 		switch(ndx) {
   6431       1.1  christos 		case 0:
   6432       1.1  christos 			p = "netbsd32_timer_t";
   6433       1.1  christos 			break;
   6434       1.1  christos 		case 1:
   6435       1.1  christos 			p = "netbsd32_itimerspec50p_t";
   6436       1.1  christos 			break;
   6437       1.1  christos 		default:
   6438       1.1  christos 			break;
   6439       1.1  christos 		};
   6440       1.1  christos 		break;
   6441       1.1  christos 	/* netbsd32_timer_getoverrun */
   6442       1.1  christos 	case 239:
   6443       1.1  christos 		switch(ndx) {
   6444       1.1  christos 		case 0:
   6445       1.1  christos 			p = "netbsd32_timer_t";
   6446       1.1  christos 			break;
   6447       1.1  christos 		default:
   6448       1.1  christos 			break;
   6449       1.1  christos 		};
   6450       1.1  christos 		break;
   6451       1.1  christos 	/* netbsd32_nanosleep */
   6452       1.1  christos 	case 240:
   6453       1.1  christos 		switch(ndx) {
   6454       1.1  christos 		case 0:
   6455       1.1  christos 			p = "netbsd32_timespec50p_t";
   6456       1.1  christos 			break;
   6457       1.1  christos 		case 1:
   6458       1.1  christos 			p = "netbsd32_timespec50p_t";
   6459       1.1  christos 			break;
   6460       1.1  christos 		default:
   6461       1.1  christos 			break;
   6462       1.1  christos 		};
   6463       1.1  christos 		break;
   6464       1.1  christos 	/* netbsd32_fdatasync */
   6465       1.1  christos 	case 241:
   6466       1.1  christos 		switch(ndx) {
   6467       1.1  christos 		case 0:
   6468       1.1  christos 			p = "int";
   6469       1.1  christos 			break;
   6470       1.1  christos 		default:
   6471       1.1  christos 			break;
   6472       1.1  christos 		};
   6473       1.1  christos 		break;
   6474       1.1  christos 	/* netbsd32_mlockall */
   6475       1.1  christos 	case 242:
   6476       1.1  christos 		switch(ndx) {
   6477       1.1  christos 		case 0:
   6478       1.1  christos 			p = "int";
   6479       1.1  christos 			break;
   6480       1.1  christos 		default:
   6481       1.1  christos 			break;
   6482       1.1  christos 		};
   6483       1.1  christos 		break;
   6484       1.1  christos 	/* sys_munlockall */
   6485       1.1  christos 	case 243:
   6486       1.1  christos 		break;
   6487       1.1  christos 	/* netbsd32___sigtimedwait */
   6488       1.1  christos 	case 244:
   6489       1.1  christos 		switch(ndx) {
   6490       1.1  christos 		case 0:
   6491       1.1  christos 			p = "netbsd32_sigsetp_t";
   6492       1.1  christos 			break;
   6493       1.1  christos 		case 1:
   6494       1.1  christos 			p = "netbsd32_siginfop_t";
   6495       1.1  christos 			break;
   6496       1.1  christos 		case 2:
   6497       1.1  christos 			p = "netbsd32_timespec50p_t";
   6498       1.1  christos 			break;
   6499       1.1  christos 		default:
   6500       1.1  christos 			break;
   6501       1.1  christos 		};
   6502       1.1  christos 		break;
   6503       1.3    martin 	/* netbsd32_sigqueueinfo */
   6504       1.3    martin 	case 245:
   6505       1.3    martin 		switch(ndx) {
   6506       1.3    martin 		case 0:
   6507       1.3    martin 			p = "pid_t";
   6508       1.3    martin 			break;
   6509       1.3    martin 		case 1:
   6510       1.3    martin 			p = "const netbsd32_siginfop_t";
   6511       1.3    martin 			break;
   6512       1.3    martin 		default:
   6513       1.3    martin 			break;
   6514       1.3    martin 		};
   6515       1.3    martin 		break;
   6516       1.3    martin 	/* netbsd32_modctl */
   6517       1.3    martin 	case 246:
   6518       1.3    martin 		switch(ndx) {
   6519       1.3    martin 		case 0:
   6520       1.3    martin 			p = "int";
   6521       1.3    martin 			break;
   6522       1.3    martin 		case 1:
   6523       1.3    martin 			p = "netbsd32_voidp";
   6524       1.3    martin 			break;
   6525       1.3    martin 		default:
   6526       1.3    martin 			break;
   6527       1.3    martin 		};
   6528       1.3    martin 		break;
   6529       1.1  christos 	/* netbsd32__ksem_init */
   6530       1.1  christos 	case 247:
   6531       1.1  christos 		switch(ndx) {
   6532       1.1  christos 		case 0:
   6533       1.1  christos 			p = "unsigned int";
   6534       1.1  christos 			break;
   6535       1.1  christos 		case 1:
   6536       1.1  christos 			p = "netbsd32_semidp_t";
   6537       1.1  christos 			break;
   6538       1.1  christos 		default:
   6539       1.1  christos 			break;
   6540       1.1  christos 		};
   6541       1.1  christos 		break;
   6542       1.1  christos 	/* netbsd32__ksem_open */
   6543       1.1  christos 	case 248:
   6544       1.1  christos 		switch(ndx) {
   6545       1.1  christos 		case 0:
   6546       1.1  christos 			p = "netbsd32_charp";
   6547       1.1  christos 			break;
   6548       1.1  christos 		case 1:
   6549       1.1  christos 			p = "int";
   6550       1.1  christos 			break;
   6551       1.1  christos 		case 2:
   6552       1.1  christos 			p = "mode_t";
   6553       1.1  christos 			break;
   6554       1.1  christos 		case 3:
   6555       1.1  christos 			p = "unsigned int";
   6556       1.1  christos 			break;
   6557       1.1  christos 		case 4:
   6558       1.1  christos 			p = "netbsd32_semidp_t";
   6559       1.1  christos 			break;
   6560       1.1  christos 		default:
   6561       1.1  christos 			break;
   6562       1.1  christos 		};
   6563       1.1  christos 		break;
   6564       1.1  christos 	/* netbsd32__ksem_unlink */
   6565       1.1  christos 	case 249:
   6566       1.1  christos 		switch(ndx) {
   6567       1.1  christos 		case 0:
   6568       1.1  christos 			p = "netbsd32_charp";
   6569       1.1  christos 			break;
   6570       1.1  christos 		default:
   6571       1.1  christos 			break;
   6572       1.1  christos 		};
   6573       1.1  christos 		break;
   6574       1.1  christos 	/* netbsd32__ksem_close */
   6575       1.1  christos 	case 250:
   6576       1.1  christos 		switch(ndx) {
   6577       1.1  christos 		case 0:
   6578       1.1  christos 			p = "netbsd32_intptr_t";
   6579       1.1  christos 			break;
   6580       1.1  christos 		default:
   6581       1.1  christos 			break;
   6582       1.1  christos 		};
   6583       1.1  christos 		break;
   6584       1.1  christos 	/* netbsd32__ksem_post */
   6585       1.1  christos 	case 251:
   6586       1.1  christos 		switch(ndx) {
   6587       1.1  christos 		case 0:
   6588       1.1  christos 			p = "netbsd32_intptr_t";
   6589       1.1  christos 			break;
   6590       1.1  christos 		default:
   6591       1.1  christos 			break;
   6592       1.1  christos 		};
   6593       1.1  christos 		break;
   6594       1.1  christos 	/* netbsd32__ksem_wait */
   6595       1.1  christos 	case 252:
   6596       1.1  christos 		switch(ndx) {
   6597       1.1  christos 		case 0:
   6598       1.1  christos 			p = "netbsd32_intptr_t";
   6599       1.1  christos 			break;
   6600       1.1  christos 		default:
   6601       1.1  christos 			break;
   6602       1.1  christos 		};
   6603       1.1  christos 		break;
   6604       1.1  christos 	/* netbsd32__ksem_trywait */
   6605       1.1  christos 	case 253:
   6606       1.1  christos 		switch(ndx) {
   6607       1.1  christos 		case 0:
   6608       1.1  christos 			p = "netbsd32_intptr_t";
   6609       1.1  christos 			break;
   6610       1.1  christos 		default:
   6611       1.1  christos 			break;
   6612       1.1  christos 		};
   6613       1.1  christos 		break;
   6614       1.1  christos 	/* netbsd32__ksem_getvalue */
   6615       1.1  christos 	case 254:
   6616       1.1  christos 		switch(ndx) {
   6617       1.1  christos 		case 0:
   6618       1.1  christos 			p = "netbsd32_intptr_t";
   6619       1.1  christos 			break;
   6620       1.1  christos 		case 1:
   6621       1.1  christos 			p = "netbsd32_intp";
   6622       1.1  christos 			break;
   6623       1.1  christos 		default:
   6624       1.1  christos 			break;
   6625       1.1  christos 		};
   6626       1.1  christos 		break;
   6627       1.1  christos 	/* netbsd32__ksem_destroy */
   6628       1.1  christos 	case 255:
   6629       1.1  christos 		switch(ndx) {
   6630       1.1  christos 		case 0:
   6631       1.1  christos 			p = "netbsd32_intptr_t";
   6632       1.1  christos 			break;
   6633       1.1  christos 		default:
   6634       1.1  christos 			break;
   6635       1.1  christos 		};
   6636       1.1  christos 		break;
   6637       1.1  christos 	/* netbsd32__ksem_timedwait */
   6638       1.1  christos 	case 256:
   6639       1.1  christos 		switch(ndx) {
   6640       1.1  christos 		case 0:
   6641       1.1  christos 			p = "intptr_t";
   6642       1.1  christos 			break;
   6643       1.1  christos 		case 1:
   6644       1.1  christos 			p = "const netbsd32_timespecp_t";
   6645       1.1  christos 			break;
   6646       1.1  christos 		default:
   6647       1.1  christos 			break;
   6648       1.1  christos 		};
   6649       1.1  christos 		break;
   6650       1.3    martin 	/* netbsd32_mq_open */
   6651       1.3    martin 	case 257:
   6652       1.3    martin 		switch(ndx) {
   6653       1.3    martin 		case 0:
   6654       1.3    martin 			p = "const netbsd32_charp";
   6655       1.3    martin 			break;
   6656       1.3    martin 		case 1:
   6657       1.3    martin 			p = "int";
   6658       1.3    martin 			break;
   6659       1.3    martin 		case 2:
   6660       1.3    martin 			p = "mode_t";
   6661       1.3    martin 			break;
   6662       1.3    martin 		case 3:
   6663       1.3    martin 			p = "netbsd32_mq_attrp_t";
   6664       1.3    martin 			break;
   6665       1.3    martin 		default:
   6666       1.3    martin 			break;
   6667       1.3    martin 		};
   6668       1.3    martin 		break;
   6669       1.3    martin 	/* netbsd32_mq_close */
   6670       1.3    martin 	case 258:
   6671       1.3    martin 		switch(ndx) {
   6672       1.3    martin 		case 0:
   6673       1.3    martin 			p = "mqd_t";
   6674       1.3    martin 			break;
   6675       1.3    martin 		default:
   6676       1.3    martin 			break;
   6677       1.3    martin 		};
   6678       1.3    martin 		break;
   6679       1.3    martin 	/* netbsd32_mq_unlink */
   6680       1.3    martin 	case 259:
   6681       1.3    martin 		switch(ndx) {
   6682       1.3    martin 		case 0:
   6683       1.3    martin 			p = "const netbsd32_charp";
   6684       1.3    martin 			break;
   6685       1.3    martin 		default:
   6686       1.3    martin 			break;
   6687       1.3    martin 		};
   6688       1.3    martin 		break;
   6689       1.3    martin 	/* netbsd32_mq_getattr */
   6690       1.3    martin 	case 260:
   6691       1.3    martin 		switch(ndx) {
   6692       1.3    martin 		case 0:
   6693       1.3    martin 			p = "mqd_t";
   6694       1.3    martin 			break;
   6695       1.3    martin 		case 1:
   6696       1.3    martin 			p = "netbsd32_mq_attrp_t";
   6697       1.3    martin 			break;
   6698       1.3    martin 		default:
   6699       1.3    martin 			break;
   6700       1.3    martin 		};
   6701       1.3    martin 		break;
   6702       1.3    martin 	/* netbsd32_mq_setattr */
   6703       1.3    martin 	case 261:
   6704       1.3    martin 		switch(ndx) {
   6705       1.3    martin 		case 0:
   6706       1.3    martin 			p = "mqd_t";
   6707       1.3    martin 			break;
   6708       1.3    martin 		case 1:
   6709       1.3    martin 			p = "const netbsd32_mq_attrp_t";
   6710       1.3    martin 			break;
   6711       1.3    martin 		case 2:
   6712       1.3    martin 			p = "netbsd32_mq_attrp_t";
   6713       1.3    martin 			break;
   6714       1.3    martin 		default:
   6715       1.3    martin 			break;
   6716       1.3    martin 		};
   6717       1.3    martin 		break;
   6718       1.3    martin 	/* netbsd32_mq_notify */
   6719       1.3    martin 	case 262:
   6720       1.3    martin 		switch(ndx) {
   6721       1.3    martin 		case 0:
   6722       1.3    martin 			p = "mqd_t";
   6723       1.3    martin 			break;
   6724       1.3    martin 		case 1:
   6725       1.3    martin 			p = "const netbsd32_sigeventp_t";
   6726       1.3    martin 			break;
   6727       1.3    martin 		default:
   6728       1.3    martin 			break;
   6729       1.3    martin 		};
   6730       1.3    martin 		break;
   6731       1.3    martin 	/* netbsd32_mq_send */
   6732       1.3    martin 	case 263:
   6733       1.3    martin 		switch(ndx) {
   6734       1.3    martin 		case 0:
   6735       1.3    martin 			p = "mqd_t";
   6736       1.3    martin 			break;
   6737       1.3    martin 		case 1:
   6738       1.3    martin 			p = "const netbsd32_charp";
   6739       1.3    martin 			break;
   6740       1.3    martin 		case 2:
   6741       1.3    martin 			p = "netbsd32_size_t";
   6742       1.3    martin 			break;
   6743       1.3    martin 		case 3:
   6744       1.3    martin 			p = "unsigned";
   6745       1.3    martin 			break;
   6746       1.3    martin 		default:
   6747       1.3    martin 			break;
   6748       1.3    martin 		};
   6749       1.3    martin 		break;
   6750       1.3    martin 	/* netbsd32_mq_receive */
   6751       1.3    martin 	case 264:
   6752       1.3    martin 		switch(ndx) {
   6753       1.3    martin 		case 0:
   6754       1.3    martin 			p = "mqd_t";
   6755       1.3    martin 			break;
   6756       1.3    martin 		case 1:
   6757       1.3    martin 			p = "netbsd32_charp";
   6758       1.3    martin 			break;
   6759       1.3    martin 		case 2:
   6760       1.3    martin 			p = "netbsd32_size_t";
   6761       1.3    martin 			break;
   6762       1.3    martin 		case 3:
   6763       1.3    martin 			p = "netbsd32_uintp";
   6764       1.3    martin 			break;
   6765       1.3    martin 		default:
   6766       1.3    martin 			break;
   6767       1.3    martin 		};
   6768       1.3    martin 		break;
   6769       1.3    martin 	/* netbsd32_mq_timedsend */
   6770       1.3    martin 	case 265:
   6771       1.3    martin 		switch(ndx) {
   6772       1.3    martin 		case 0:
   6773       1.3    martin 			p = "mqd_t";
   6774       1.3    martin 			break;
   6775       1.3    martin 		case 1:
   6776       1.3    martin 			p = "const netbsd32_charp";
   6777       1.3    martin 			break;
   6778       1.3    martin 		case 2:
   6779       1.3    martin 			p = "netbsd32_size_t";
   6780       1.3    martin 			break;
   6781       1.3    martin 		case 3:
   6782       1.3    martin 			p = "unsigned";
   6783       1.3    martin 			break;
   6784       1.3    martin 		case 4:
   6785       1.3    martin 			p = "const netbsd32_timespec50p_t";
   6786       1.3    martin 			break;
   6787       1.3    martin 		default:
   6788       1.3    martin 			break;
   6789       1.3    martin 		};
   6790       1.3    martin 		break;
   6791       1.3    martin 	/* netbsd32_mq_timedreceive */
   6792       1.3    martin 	case 266:
   6793       1.3    martin 		switch(ndx) {
   6794       1.3    martin 		case 0:
   6795       1.3    martin 			p = "mqd_t";
   6796       1.3    martin 			break;
   6797       1.3    martin 		case 1:
   6798       1.3    martin 			p = "netbsd32_charp";
   6799       1.3    martin 			break;
   6800       1.3    martin 		case 2:
   6801       1.3    martin 			p = "netbsd32_size_t";
   6802       1.3    martin 			break;
   6803       1.3    martin 		case 3:
   6804       1.3    martin 			p = "netbsd32_uintp";
   6805       1.3    martin 			break;
   6806       1.3    martin 		case 4:
   6807       1.3    martin 			p = "const netbsd32_timespec50p_t";
   6808       1.3    martin 			break;
   6809       1.3    martin 		default:
   6810       1.3    martin 			break;
   6811       1.3    martin 		};
   6812       1.3    martin 		break;
   6813       1.1  christos 	/* netbsd32___posix_rename */
   6814       1.1  christos 	case 270:
   6815       1.1  christos 		switch(ndx) {
   6816       1.1  christos 		case 0:
   6817       1.1  christos 			p = "netbsd32_charp";
   6818       1.1  christos 			break;
   6819       1.1  christos 		case 1:
   6820       1.1  christos 			p = "netbsd32_charp";
   6821       1.1  christos 			break;
   6822       1.1  christos 		default:
   6823       1.1  christos 			break;
   6824       1.1  christos 		};
   6825       1.1  christos 		break;
   6826       1.1  christos 	/* netbsd32_swapctl */
   6827       1.1  christos 	case 271:
   6828       1.1  christos 		switch(ndx) {
   6829       1.1  christos 		case 0:
   6830       1.1  christos 			p = "int";
   6831       1.1  christos 			break;
   6832       1.1  christos 		case 1:
   6833       1.1  christos 			p = "netbsd32_voidp";
   6834       1.1  christos 			break;
   6835       1.1  christos 		case 2:
   6836       1.1  christos 			p = "int";
   6837       1.1  christos 			break;
   6838       1.1  christos 		default:
   6839       1.1  christos 			break;
   6840       1.1  christos 		};
   6841       1.1  christos 		break;
   6842       1.1  christos 	/* netbsd32_getdents */
   6843       1.1  christos 	case 272:
   6844       1.1  christos 		switch(ndx) {
   6845       1.1  christos 		case 0:
   6846       1.1  christos 			p = "int";
   6847       1.1  christos 			break;
   6848       1.1  christos 		case 1:
   6849       1.1  christos 			p = "netbsd32_charp";
   6850       1.1  christos 			break;
   6851       1.1  christos 		case 2:
   6852       1.1  christos 			p = "netbsd32_size_t";
   6853       1.1  christos 			break;
   6854       1.1  christos 		default:
   6855       1.1  christos 			break;
   6856       1.1  christos 		};
   6857       1.1  christos 		break;
   6858       1.1  christos 	/* netbsd32_minherit */
   6859       1.1  christos 	case 273:
   6860       1.1  christos 		switch(ndx) {
   6861       1.1  christos 		case 0:
   6862       1.1  christos 			p = "netbsd32_voidp";
   6863       1.1  christos 			break;
   6864       1.1  christos 		case 1:
   6865       1.1  christos 			p = "netbsd32_size_t";
   6866       1.1  christos 			break;
   6867       1.1  christos 		case 2:
   6868       1.1  christos 			p = "int";
   6869       1.1  christos 			break;
   6870       1.1  christos 		default:
   6871       1.1  christos 			break;
   6872       1.1  christos 		};
   6873       1.1  christos 		break;
   6874       1.1  christos 	/* netbsd32_lchmod */
   6875       1.1  christos 	case 274:
   6876       1.1  christos 		switch(ndx) {
   6877       1.1  christos 		case 0:
   6878       1.1  christos 			p = "netbsd32_charp";
   6879       1.1  christos 			break;
   6880       1.1  christos 		case 1:
   6881       1.1  christos 			p = "mode_t";
   6882       1.1  christos 			break;
   6883       1.1  christos 		default:
   6884       1.1  christos 			break;
   6885       1.1  christos 		};
   6886       1.1  christos 		break;
   6887       1.1  christos 	/* netbsd32_lchown */
   6888       1.1  christos 	case 275:
   6889       1.1  christos 		switch(ndx) {
   6890       1.1  christos 		case 0:
   6891       1.1  christos 			p = "netbsd32_charp";
   6892       1.1  christos 			break;
   6893       1.1  christos 		case 1:
   6894       1.1  christos 			p = "uid_t";
   6895       1.1  christos 			break;
   6896       1.1  christos 		case 2:
   6897       1.1  christos 			p = "gid_t";
   6898       1.1  christos 			break;
   6899       1.1  christos 		default:
   6900       1.1  christos 			break;
   6901       1.1  christos 		};
   6902       1.1  christos 		break;
   6903       1.1  christos 	/* netbsd32_lutimes */
   6904       1.1  christos 	case 276:
   6905       1.1  christos 		switch(ndx) {
   6906       1.1  christos 		case 0:
   6907       1.1  christos 			p = "netbsd32_charp";
   6908       1.1  christos 			break;
   6909       1.1  christos 		case 1:
   6910       1.1  christos 			p = "netbsd32_timeval50p_t";
   6911       1.1  christos 			break;
   6912       1.1  christos 		default:
   6913       1.1  christos 			break;
   6914       1.1  christos 		};
   6915       1.1  christos 		break;
   6916       1.1  christos 	/* netbsd32___msync13 */
   6917       1.1  christos 	case 277:
   6918       1.1  christos 		switch(ndx) {
   6919       1.1  christos 		case 0:
   6920       1.1  christos 			p = "netbsd32_voidp";
   6921       1.1  christos 			break;
   6922       1.1  christos 		case 1:
   6923       1.1  christos 			p = "netbsd32_size_t";
   6924       1.1  christos 			break;
   6925       1.1  christos 		case 2:
   6926       1.1  christos 			p = "int";
   6927       1.1  christos 			break;
   6928       1.1  christos 		default:
   6929       1.1  christos 			break;
   6930       1.1  christos 		};
   6931       1.1  christos 		break;
   6932       1.1  christos 	/* netbsd32___stat13 */
   6933       1.1  christos 	case 278:
   6934       1.1  christos 		switch(ndx) {
   6935       1.1  christos 		case 0:
   6936       1.1  christos 			p = "netbsd32_charp";
   6937       1.1  christos 			break;
   6938       1.1  christos 		case 1:
   6939       1.1  christos 			p = "netbsd32_stat13p_t";
   6940       1.1  christos 			break;
   6941       1.1  christos 		default:
   6942       1.1  christos 			break;
   6943       1.1  christos 		};
   6944       1.1  christos 		break;
   6945       1.1  christos 	/* netbsd32___fstat13 */
   6946       1.1  christos 	case 279:
   6947       1.1  christos 		switch(ndx) {
   6948       1.1  christos 		case 0:
   6949       1.1  christos 			p = "int";
   6950       1.1  christos 			break;
   6951       1.1  christos 		case 1:
   6952       1.1  christos 			p = "netbsd32_stat13p_t";
   6953       1.1  christos 			break;
   6954       1.1  christos 		default:
   6955       1.1  christos 			break;
   6956       1.1  christos 		};
   6957       1.1  christos 		break;
   6958       1.1  christos 	/* netbsd32___lstat13 */
   6959       1.1  christos 	case 280:
   6960       1.1  christos 		switch(ndx) {
   6961       1.1  christos 		case 0:
   6962       1.1  christos 			p = "netbsd32_charp";
   6963       1.1  christos 			break;
   6964       1.1  christos 		case 1:
   6965       1.1  christos 			p = "netbsd32_stat13p_t";
   6966       1.1  christos 			break;
   6967       1.1  christos 		default:
   6968       1.1  christos 			break;
   6969       1.1  christos 		};
   6970       1.1  christos 		break;
   6971       1.1  christos 	/* netbsd32___sigaltstack14 */
   6972       1.1  christos 	case 281:
   6973       1.1  christos 		switch(ndx) {
   6974       1.1  christos 		case 0:
   6975       1.1  christos 			p = "netbsd32_sigaltstackp_t";
   6976       1.1  christos 			break;
   6977       1.1  christos 		case 1:
   6978       1.1  christos 			p = "netbsd32_sigaltstackp_t";
   6979       1.1  christos 			break;
   6980       1.1  christos 		default:
   6981       1.1  christos 			break;
   6982       1.1  christos 		};
   6983       1.1  christos 		break;
   6984       1.1  christos 	/* sys___vfork14 */
   6985       1.1  christos 	case 282:
   6986       1.1  christos 		break;
   6987       1.1  christos 	/* netbsd32___posix_chown */
   6988       1.1  christos 	case 283:
   6989       1.1  christos 		switch(ndx) {
   6990       1.1  christos 		case 0:
   6991       1.1  christos 			p = "netbsd32_charp";
   6992       1.1  christos 			break;
   6993       1.1  christos 		case 1:
   6994       1.1  christos 			p = "uid_t";
   6995       1.1  christos 			break;
   6996       1.1  christos 		case 2:
   6997       1.1  christos 			p = "gid_t";
   6998       1.1  christos 			break;
   6999       1.1  christos 		default:
   7000       1.1  christos 			break;
   7001       1.1  christos 		};
   7002       1.1  christos 		break;
   7003       1.1  christos 	/* netbsd32___posix_fchown */
   7004       1.1  christos 	case 284:
   7005       1.1  christos 		switch(ndx) {
   7006       1.1  christos 		case 0:
   7007       1.1  christos 			p = "int";
   7008       1.1  christos 			break;
   7009       1.1  christos 		case 1:
   7010       1.1  christos 			p = "uid_t";
   7011       1.1  christos 			break;
   7012       1.1  christos 		case 2:
   7013       1.1  christos 			p = "gid_t";
   7014       1.1  christos 			break;
   7015       1.1  christos 		default:
   7016       1.1  christos 			break;
   7017       1.1  christos 		};
   7018       1.1  christos 		break;
   7019       1.1  christos 	/* netbsd32___posix_lchown */
   7020       1.1  christos 	case 285:
   7021       1.1  christos 		switch(ndx) {
   7022       1.1  christos 		case 0:
   7023       1.1  christos 			p = "netbsd32_charp";
   7024       1.1  christos 			break;
   7025       1.1  christos 		case 1:
   7026       1.1  christos 			p = "uid_t";
   7027       1.1  christos 			break;
   7028       1.1  christos 		case 2:
   7029       1.1  christos 			p = "gid_t";
   7030       1.1  christos 			break;
   7031       1.1  christos 		default:
   7032       1.1  christos 			break;
   7033       1.1  christos 		};
   7034       1.1  christos 		break;
   7035       1.1  christos 	/* netbsd32_getsid */
   7036       1.1  christos 	case 286:
   7037       1.1  christos 		switch(ndx) {
   7038       1.1  christos 		case 0:
   7039       1.1  christos 			p = "pid_t";
   7040       1.1  christos 			break;
   7041       1.1  christos 		default:
   7042       1.1  christos 			break;
   7043       1.1  christos 		};
   7044       1.1  christos 		break;
   7045       1.1  christos 	/* netbsd32___clone */
   7046       1.1  christos 	case 287:
   7047       1.1  christos 		switch(ndx) {
   7048       1.1  christos 		case 0:
   7049       1.1  christos 			p = "int";
   7050       1.1  christos 			break;
   7051       1.1  christos 		case 1:
   7052       1.1  christos 			p = "netbsd32_voidp";
   7053       1.1  christos 			break;
   7054       1.1  christos 		default:
   7055       1.1  christos 			break;
   7056       1.1  christos 		};
   7057       1.1  christos 		break;
   7058       1.1  christos 	/* netbsd32_fktrace */
   7059       1.1  christos 	case 288:
   7060       1.1  christos 		switch(ndx) {
   7061       1.1  christos 		case 0:
   7062       1.1  christos 			p = "int";
   7063       1.1  christos 			break;
   7064       1.1  christos 		case 1:
   7065       1.1  christos 			p = "int";
   7066       1.1  christos 			break;
   7067       1.1  christos 		case 2:
   7068       1.1  christos 			p = "int";
   7069       1.1  christos 			break;
   7070       1.1  christos 		case 3:
   7071       1.1  christos 			p = "int";
   7072       1.1  christos 			break;
   7073       1.1  christos 		default:
   7074       1.1  christos 			break;
   7075       1.1  christos 		};
   7076       1.1  christos 		break;
   7077       1.1  christos 	/* netbsd32_preadv */
   7078       1.1  christos 	case 289:
   7079       1.1  christos 		switch(ndx) {
   7080       1.1  christos 		case 0:
   7081       1.1  christos 			p = "int";
   7082       1.1  christos 			break;
   7083       1.1  christos 		case 1:
   7084       1.1  christos 			p = "netbsd32_iovecp_t";
   7085       1.1  christos 			break;
   7086       1.1  christos 		case 2:
   7087       1.1  christos 			p = "int";
   7088       1.1  christos 			break;
   7089       1.1  christos 		case 3:
   7090       1.1  christos 			p = "int";
   7091       1.1  christos 			break;
   7092       1.1  christos 		case 4:
   7093       1.1  christos 			p = "netbsd32_off_t";
   7094       1.1  christos 			break;
   7095       1.1  christos 		default:
   7096       1.1  christos 			break;
   7097       1.1  christos 		};
   7098       1.1  christos 		break;
   7099       1.1  christos 	/* netbsd32_pwritev */
   7100       1.1  christos 	case 290:
   7101       1.1  christos 		switch(ndx) {
   7102       1.1  christos 		case 0:
   7103       1.1  christos 			p = "int";
   7104       1.1  christos 			break;
   7105       1.1  christos 		case 1:
   7106       1.1  christos 			p = "netbsd32_iovecp_t";
   7107       1.1  christos 			break;
   7108       1.1  christos 		case 2:
   7109       1.1  christos 			p = "int";
   7110       1.1  christos 			break;
   7111       1.1  christos 		case 3:
   7112       1.1  christos 			p = "int";
   7113       1.1  christos 			break;
   7114       1.1  christos 		case 4:
   7115       1.1  christos 			p = "netbsd32_off_t";
   7116       1.1  christos 			break;
   7117       1.1  christos 		default:
   7118       1.1  christos 			break;
   7119       1.1  christos 		};
   7120       1.1  christos 		break;
   7121       1.1  christos 	/* netbsd32___sigaction14 */
   7122       1.1  christos 	case 291:
   7123       1.1  christos 		switch(ndx) {
   7124       1.1  christos 		case 0:
   7125       1.1  christos 			p = "int";
   7126       1.1  christos 			break;
   7127       1.1  christos 		case 1:
   7128       1.1  christos 			p = "netbsd32_sigactionp_t";
   7129       1.1  christos 			break;
   7130       1.1  christos 		case 2:
   7131       1.1  christos 			p = "netbsd32_sigactionp_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___sigpending14 */
   7138       1.1  christos 	case 292:
   7139       1.1  christos 		switch(ndx) {
   7140       1.1  christos 		case 0:
   7141       1.1  christos 			p = "netbsd32_sigsetp_t";
   7142       1.1  christos 			break;
   7143       1.1  christos 		default:
   7144       1.1  christos 			break;
   7145       1.1  christos 		};
   7146       1.1  christos 		break;
   7147       1.1  christos 	/* netbsd32___sigprocmask14 */
   7148       1.1  christos 	case 293:
   7149       1.1  christos 		switch(ndx) {
   7150       1.1  christos 		case 0:
   7151       1.1  christos 			p = "int";
   7152       1.1  christos 			break;
   7153       1.1  christos 		case 1:
   7154       1.1  christos 			p = "netbsd32_sigsetp_t";
   7155       1.1  christos 			break;
   7156       1.1  christos 		case 2:
   7157       1.1  christos 			p = "netbsd32_sigsetp_t";
   7158       1.1  christos 			break;
   7159       1.1  christos 		default:
   7160       1.1  christos 			break;
   7161       1.1  christos 		};
   7162       1.1  christos 		break;
   7163       1.1  christos 	/* netbsd32___sigsuspend14 */
   7164       1.1  christos 	case 294:
   7165       1.1  christos 		switch(ndx) {
   7166       1.1  christos 		case 0:
   7167       1.1  christos 			p = "netbsd32_sigsetp_t";
   7168       1.1  christos 			break;
   7169       1.1  christos 		default:
   7170       1.1  christos 			break;
   7171       1.1  christos 		};
   7172       1.1  christos 		break;
   7173       1.1  christos 	/* netbsd32___sigreturn14 */
   7174       1.1  christos 	case 295:
   7175       1.1  christos 		switch(ndx) {
   7176       1.1  christos 		case 0:
   7177       1.1  christos 			p = "netbsd32_sigcontextp_t";
   7178       1.1  christos 			break;
   7179       1.1  christos 		default:
   7180       1.1  christos 			break;
   7181       1.1  christos 		};
   7182       1.1  christos 		break;
   7183       1.1  christos 	/* netbsd32___getcwd */
   7184       1.1  christos 	case 296:
   7185       1.1  christos 		switch(ndx) {
   7186       1.1  christos 		case 0:
   7187       1.1  christos 			p = "netbsd32_charp";
   7188       1.1  christos 			break;
   7189       1.1  christos 		case 1:
   7190       1.1  christos 			p = "netbsd32_size_t";
   7191       1.1  christos 			break;
   7192       1.1  christos 		default:
   7193       1.1  christos 			break;
   7194       1.1  christos 		};
   7195       1.1  christos 		break;
   7196       1.1  christos 	/* netbsd32_fchroot */
   7197       1.1  christos 	case 297:
   7198       1.1  christos 		switch(ndx) {
   7199       1.1  christos 		case 0:
   7200       1.1  christos 			p = "int";
   7201       1.1  christos 			break;
   7202       1.1  christos 		default:
   7203       1.1  christos 			break;
   7204       1.1  christos 		};
   7205       1.1  christos 		break;
   7206       1.1  christos 	/* netbsd32_fhopen */
   7207       1.1  christos 	case 298:
   7208       1.1  christos 		switch(ndx) {
   7209       1.1  christos 		case 0:
   7210       1.1  christos 			p = "netbsd32_fhandlep_t";
   7211       1.1  christos 			break;
   7212       1.1  christos 		case 1:
   7213       1.1  christos 			p = "int";
   7214       1.1  christos 			break;
   7215       1.1  christos 		default:
   7216       1.1  christos 			break;
   7217       1.1  christos 		};
   7218       1.1  christos 		break;
   7219       1.1  christos 	/* netbsd32_fhstat */
   7220       1.1  christos 	case 299:
   7221       1.1  christos 		switch(ndx) {
   7222       1.1  christos 		case 0:
   7223       1.1  christos 			p = "netbsd32_fhandlep_t";
   7224       1.1  christos 			break;
   7225       1.1  christos 		case 1:
   7226       1.1  christos 			p = "netbsd32_stat13p_t";
   7227       1.1  christos 			break;
   7228       1.1  christos 		default:
   7229       1.1  christos 			break;
   7230       1.1  christos 		};
   7231       1.1  christos 		break;
   7232       1.1  christos 	/* netbsd32_fhstatfs */
   7233       1.1  christos 	case 300:
   7234       1.1  christos 		switch(ndx) {
   7235       1.1  christos 		case 0:
   7236       1.1  christos 			p = "netbsd32_fhandlep_t";
   7237       1.1  christos 			break;
   7238       1.1  christos 		case 1:
   7239       1.1  christos 			p = "netbsd32_stat50p_t";
   7240       1.1  christos 			break;
   7241       1.1  christos 		default:
   7242       1.1  christos 			break;
   7243       1.1  christos 		};
   7244       1.1  christos 		break;
   7245       1.1  christos 	/* netbsd32___semctl14 */
   7246       1.1  christos 	case 301:
   7247       1.1  christos 		switch(ndx) {
   7248       1.1  christos 		case 0:
   7249       1.1  christos 			p = "int";
   7250       1.1  christos 			break;
   7251       1.1  christos 		case 1:
   7252       1.1  christos 			p = "int";
   7253       1.1  christos 			break;
   7254       1.1  christos 		case 2:
   7255       1.1  christos 			p = "int";
   7256       1.1  christos 			break;
   7257       1.1  christos 		case 3:
   7258       1.1  christos 			p = "netbsd32_semun50p_t";
   7259       1.1  christos 			break;
   7260       1.1  christos 		default:
   7261       1.1  christos 			break;
   7262       1.1  christos 		};
   7263       1.1  christos 		break;
   7264       1.1  christos 	/* netbsd32___msgctl13 */
   7265       1.1  christos 	case 302:
   7266       1.1  christos 		switch(ndx) {
   7267       1.1  christos 		case 0:
   7268       1.1  christos 			p = "int";
   7269       1.1  christos 			break;
   7270       1.1  christos 		case 1:
   7271       1.1  christos 			p = "int";
   7272       1.1  christos 			break;
   7273       1.1  christos 		case 2:
   7274       1.1  christos 			p = "netbsd32_msqid_ds50p_t";
   7275       1.1  christos 			break;
   7276       1.1  christos 		default:
   7277       1.1  christos 			break;
   7278       1.1  christos 		};
   7279       1.1  christos 		break;
   7280       1.1  christos 	/* netbsd32___shmctl13 */
   7281       1.1  christos 	case 303:
   7282       1.1  christos 		switch(ndx) {
   7283       1.1  christos 		case 0:
   7284       1.1  christos 			p = "int";
   7285       1.1  christos 			break;
   7286       1.1  christos 		case 1:
   7287       1.1  christos 			p = "int";
   7288       1.1  christos 			break;
   7289       1.1  christos 		case 2:
   7290       1.1  christos 			p = "netbsd32_shmid_ds50p_t";
   7291       1.1  christos 			break;
   7292       1.1  christos 		default:
   7293       1.1  christos 			break;
   7294       1.1  christos 		};
   7295       1.1  christos 		break;
   7296       1.1  christos 	/* netbsd32_lchflags */
   7297       1.1  christos 	case 304:
   7298       1.1  christos 		switch(ndx) {
   7299       1.1  christos 		case 0:
   7300       1.1  christos 			p = "netbsd32_charp";
   7301       1.1  christos 			break;
   7302       1.1  christos 		case 1:
   7303       1.1  christos 			p = "netbsd32_u_long";
   7304       1.1  christos 			break;
   7305       1.1  christos 		default:
   7306       1.1  christos 			break;
   7307       1.1  christos 		};
   7308       1.1  christos 		break;
   7309       1.1  christos 	/* sys_issetugid */
   7310       1.1  christos 	case 305:
   7311       1.1  christos 		break;
   7312       1.1  christos 	/* netbsd32_utrace */
   7313       1.1  christos 	case 306:
   7314       1.1  christos 		switch(ndx) {
   7315       1.1  christos 		case 0:
   7316       1.1  christos 			p = "netbsd32_charp";
   7317       1.1  christos 			break;
   7318       1.1  christos 		case 1:
   7319       1.1  christos 			p = "netbsd32_voidp";
   7320       1.1  christos 			break;
   7321       1.1  christos 		case 2:
   7322       1.1  christos 			p = "netbsd32_size_t";
   7323       1.1  christos 			break;
   7324       1.1  christos 		default:
   7325       1.1  christos 			break;
   7326       1.1  christos 		};
   7327       1.1  christos 		break;
   7328       1.1  christos 	/* netbsd32_getcontext */
   7329       1.1  christos 	case 307:
   7330       1.1  christos 		switch(ndx) {
   7331       1.1  christos 		case 0:
   7332       1.1  christos 			p = "netbsd32_ucontextp";
   7333       1.1  christos 			break;
   7334       1.1  christos 		default:
   7335       1.1  christos 			break;
   7336       1.1  christos 		};
   7337       1.1  christos 		break;
   7338       1.1  christos 	/* netbsd32_setcontext */
   7339       1.1  christos 	case 308:
   7340       1.1  christos 		switch(ndx) {
   7341       1.1  christos 		case 0:
   7342       1.1  christos 			p = "netbsd32_ucontextp";
   7343       1.1  christos 			break;
   7344       1.1  christos 		default:
   7345       1.1  christos 			break;
   7346       1.1  christos 		};
   7347       1.1  christos 		break;
   7348       1.1  christos 	/* netbsd32__lwp_create */
   7349       1.1  christos 	case 309:
   7350       1.1  christos 		switch(ndx) {
   7351       1.1  christos 		case 0:
   7352       1.1  christos 			p = "netbsd32_ucontextp";
   7353       1.1  christos 			break;
   7354       1.1  christos 		case 1:
   7355       1.1  christos 			p = "netbsd32_u_long";
   7356       1.1  christos 			break;
   7357       1.1  christos 		case 2:
   7358       1.1  christos 			p = "netbsd32_lwpidp";
   7359       1.1  christos 			break;
   7360       1.1  christos 		default:
   7361       1.1  christos 			break;
   7362       1.1  christos 		};
   7363       1.1  christos 		break;
   7364       1.1  christos 	/* sys__lwp_exit */
   7365       1.1  christos 	case 310:
   7366       1.1  christos 		break;
   7367       1.1  christos 	/* sys__lwp_self */
   7368       1.1  christos 	case 311:
   7369       1.1  christos 		break;
   7370       1.1  christos 	/* netbsd32__lwp_wait */
   7371       1.1  christos 	case 312:
   7372       1.1  christos 		switch(ndx) {
   7373       1.1  christos 		case 0:
   7374       1.1  christos 			p = "lwpid_t";
   7375       1.1  christos 			break;
   7376       1.1  christos 		case 1:
   7377       1.1  christos 			p = "netbsd32_lwpidp";
   7378       1.1  christos 			break;
   7379       1.1  christos 		default:
   7380       1.1  christos 			break;
   7381       1.1  christos 		};
   7382       1.1  christos 		break;
   7383       1.1  christos 	/* netbsd32__lwp_suspend */
   7384       1.1  christos 	case 313:
   7385       1.1  christos 		switch(ndx) {
   7386       1.1  christos 		case 0:
   7387       1.1  christos 			p = "lwpid_t";
   7388       1.1  christos 			break;
   7389       1.1  christos 		default:
   7390       1.1  christos 			break;
   7391       1.1  christos 		};
   7392       1.1  christos 		break;
   7393       1.1  christos 	/* netbsd32__lwp_continue */
   7394       1.1  christos 	case 314:
   7395       1.1  christos 		switch(ndx) {
   7396       1.1  christos 		case 0:
   7397       1.1  christos 			p = "lwpid_t";
   7398       1.1  christos 			break;
   7399       1.1  christos 		default:
   7400       1.1  christos 			break;
   7401       1.1  christos 		};
   7402       1.1  christos 		break;
   7403       1.1  christos 	/* netbsd32__lwp_wakeup */
   7404       1.1  christos 	case 315:
   7405       1.1  christos 		switch(ndx) {
   7406       1.1  christos 		case 0:
   7407       1.1  christos 			p = "lwpid_t";
   7408       1.1  christos 			break;
   7409       1.1  christos 		default:
   7410       1.1  christos 			break;
   7411       1.1  christos 		};
   7412       1.1  christos 		break;
   7413       1.1  christos 	/* sys__lwp_getprivate */
   7414       1.1  christos 	case 316:
   7415       1.1  christos 		break;
   7416       1.1  christos 	/* netbsd32__lwp_setprivate */
   7417       1.1  christos 	case 317:
   7418       1.1  christos 		switch(ndx) {
   7419       1.1  christos 		case 0:
   7420       1.1  christos 			p = "netbsd32_voidp";
   7421       1.1  christos 			break;
   7422       1.1  christos 		default:
   7423       1.1  christos 			break;
   7424       1.1  christos 		};
   7425       1.1  christos 		break;
   7426       1.1  christos 	/* netbsd32__lwp_kill */
   7427       1.1  christos 	case 318:
   7428       1.1  christos 		switch(ndx) {
   7429       1.1  christos 		case 0:
   7430       1.1  christos 			p = "lwpid_t";
   7431       1.1  christos 			break;
   7432       1.1  christos 		case 1:
   7433       1.1  christos 			p = "int";
   7434       1.1  christos 			break;
   7435       1.1  christos 		default:
   7436       1.1  christos 			break;
   7437       1.1  christos 		};
   7438       1.1  christos 		break;
   7439       1.1  christos 	/* netbsd32__lwp_detach */
   7440       1.1  christos 	case 319:
   7441       1.1  christos 		switch(ndx) {
   7442       1.1  christos 		case 0:
   7443       1.1  christos 			p = "lwpid_t";
   7444       1.1  christos 			break;
   7445       1.1  christos 		default:
   7446       1.1  christos 			break;
   7447       1.1  christos 		};
   7448       1.1  christos 		break;
   7449       1.1  christos 	/* netbsd32__lwp_park */
   7450       1.1  christos 	case 320:
   7451       1.1  christos 		switch(ndx) {
   7452       1.1  christos 		case 0:
   7453       1.1  christos 			p = "netbsd32_timespec50p_t";
   7454       1.1  christos 			break;
   7455       1.1  christos 		case 1:
   7456       1.1  christos 			p = "lwpid_t";
   7457       1.1  christos 			break;
   7458       1.1  christos 		case 2:
   7459       1.1  christos 			p = "netbsd32_voidp";
   7460       1.1  christos 			break;
   7461       1.1  christos 		case 3:
   7462       1.1  christos 			p = "netbsd32_voidp";
   7463       1.1  christos 			break;
   7464       1.1  christos 		default:
   7465       1.1  christos 			break;
   7466       1.1  christos 		};
   7467       1.1  christos 		break;
   7468       1.1  christos 	/* netbsd32__lwp_unpark */
   7469       1.1  christos 	case 321:
   7470       1.1  christos 		switch(ndx) {
   7471       1.1  christos 		case 0:
   7472       1.1  christos 			p = "lwpid_t";
   7473       1.1  christos 			break;
   7474       1.1  christos 		case 1:
   7475       1.1  christos 			p = "netbsd32_voidp";
   7476       1.1  christos 			break;
   7477       1.1  christos 		default:
   7478       1.1  christos 			break;
   7479       1.1  christos 		};
   7480       1.1  christos 		break;
   7481       1.1  christos 	/* netbsd32__lwp_unpark_all */
   7482       1.1  christos 	case 322:
   7483       1.1  christos 		switch(ndx) {
   7484       1.1  christos 		case 0:
   7485       1.1  christos 			p = "netbsd32_lwpidp";
   7486       1.1  christos 			break;
   7487       1.1  christos 		case 1:
   7488       1.1  christos 			p = "netbsd32_size_t";
   7489       1.1  christos 			break;
   7490       1.1  christos 		case 2:
   7491       1.1  christos 			p = "netbsd32_voidp";
   7492       1.1  christos 			break;
   7493       1.1  christos 		default:
   7494       1.1  christos 			break;
   7495       1.1  christos 		};
   7496       1.1  christos 		break;
   7497       1.1  christos 	/* netbsd32__lwp_setname */
   7498       1.1  christos 	case 323:
   7499       1.1  christos 		switch(ndx) {
   7500       1.1  christos 		case 0:
   7501       1.1  christos 			p = "lwpid_t";
   7502       1.1  christos 			break;
   7503       1.1  christos 		case 1:
   7504       1.1  christos 			p = "netbsd32_charp";
   7505       1.1  christos 			break;
   7506       1.1  christos 		default:
   7507       1.1  christos 			break;
   7508       1.1  christos 		};
   7509       1.1  christos 		break;
   7510       1.1  christos 	/* netbsd32__lwp_getname */
   7511       1.1  christos 	case 324:
   7512       1.1  christos 		switch(ndx) {
   7513       1.1  christos 		case 0:
   7514       1.1  christos 			p = "lwpid_t";
   7515       1.1  christos 			break;
   7516       1.1  christos 		case 1:
   7517       1.1  christos 			p = "netbsd32_charp";
   7518       1.1  christos 			break;
   7519       1.1  christos 		case 2:
   7520       1.1  christos 			p = "netbsd32_size_t";
   7521       1.1  christos 			break;
   7522       1.1  christos 		default:
   7523       1.1  christos 			break;
   7524       1.1  christos 		};
   7525       1.1  christos 		break;
   7526       1.1  christos 	/* netbsd32__lwp_ctl */
   7527       1.1  christos 	case 325:
   7528       1.1  christos 		switch(ndx) {
   7529       1.1  christos 		case 0:
   7530       1.1  christos 			p = "int";
   7531       1.1  christos 			break;
   7532       1.1  christos 		case 1:
   7533       1.1  christos 			p = "netbsd32_pointer_t";
   7534       1.1  christos 			break;
   7535       1.1  christos 		default:
   7536       1.1  christos 			break;
   7537       1.1  christos 		};
   7538       1.1  christos 		break;
   7539       1.1  christos 	/* netbsd32___sigaction_sigtramp */
   7540       1.1  christos 	case 340:
   7541       1.1  christos 		switch(ndx) {
   7542       1.1  christos 		case 0:
   7543       1.1  christos 			p = "int";
   7544       1.1  christos 			break;
   7545       1.1  christos 		case 1:
   7546       1.1  christos 			p = "netbsd32_sigactionp_t";
   7547       1.1  christos 			break;
   7548       1.1  christos 		case 2:
   7549       1.1  christos 			p = "netbsd32_sigactionp_t";
   7550       1.1  christos 			break;
   7551       1.1  christos 		case 3:
   7552       1.1  christos 			p = "netbsd32_voidp";
   7553       1.1  christos 			break;
   7554       1.1  christos 		case 4:
   7555       1.1  christos 			p = "int";
   7556       1.1  christos 			break;
   7557       1.1  christos 		default:
   7558       1.1  christos 			break;
   7559       1.1  christos 		};
   7560       1.1  christos 		break;
   7561       1.1  christos 	/* netbsd32_rasctl */
   7562       1.1  christos 	case 343:
   7563       1.1  christos 		switch(ndx) {
   7564       1.1  christos 		case 0:
   7565       1.1  christos 			p = "netbsd32_voidp";
   7566       1.1  christos 			break;
   7567       1.1  christos 		case 1:
   7568       1.1  christos 			p = "netbsd32_size_t";
   7569       1.1  christos 			break;
   7570       1.1  christos 		case 2:
   7571       1.1  christos 			p = "int";
   7572       1.1  christos 			break;
   7573       1.1  christos 		default:
   7574       1.1  christos 			break;
   7575       1.1  christos 		};
   7576       1.1  christos 		break;
   7577       1.1  christos 	/* sys_kqueue */
   7578       1.1  christos 	case 344:
   7579       1.1  christos 		break;
   7580       1.1  christos 	/* netbsd32_kevent */
   7581       1.1  christos 	case 345:
   7582       1.1  christos 		switch(ndx) {
   7583       1.1  christos 		case 0:
   7584       1.1  christos 			p = "int";
   7585       1.1  christos 			break;
   7586       1.1  christos 		case 1:
   7587       1.1  christos 			p = "netbsd32_keventp_t";
   7588       1.1  christos 			break;
   7589       1.1  christos 		case 2:
   7590       1.1  christos 			p = "netbsd32_size_t";
   7591       1.1  christos 			break;
   7592       1.1  christos 		case 3:
   7593       1.1  christos 			p = "netbsd32_keventp_t";
   7594       1.1  christos 			break;
   7595       1.1  christos 		case 4:
   7596       1.1  christos 			p = "netbsd32_size_t";
   7597       1.1  christos 			break;
   7598       1.1  christos 		case 5:
   7599       1.1  christos 			p = "netbsd32_timespec50p_t";
   7600       1.1  christos 			break;
   7601       1.1  christos 		default:
   7602       1.1  christos 			break;
   7603       1.1  christos 		};
   7604       1.1  christos 		break;
   7605       1.1  christos 	/* netbsd32__sched_setparam */
   7606       1.1  christos 	case 346:
   7607       1.1  christos 		switch(ndx) {
   7608       1.1  christos 		case 0:
   7609       1.1  christos 			p = "pid_t";
   7610       1.1  christos 			break;
   7611       1.1  christos 		case 1:
   7612       1.1  christos 			p = "lwpid_t";
   7613       1.1  christos 			break;
   7614       1.1  christos 		case 2:
   7615       1.1  christos 			p = "int";
   7616       1.1  christos 			break;
   7617       1.1  christos 		case 3:
   7618       1.1  christos 			p = "const netbsd32_sched_paramp_t";
   7619       1.1  christos 			break;
   7620       1.1  christos 		default:
   7621       1.1  christos 			break;
   7622       1.1  christos 		};
   7623       1.1  christos 		break;
   7624       1.1  christos 	/* netbsd32__sched_getparam */
   7625       1.1  christos 	case 347:
   7626       1.1  christos 		switch(ndx) {
   7627       1.1  christos 		case 0:
   7628       1.1  christos 			p = "pid_t";
   7629       1.1  christos 			break;
   7630       1.1  christos 		case 1:
   7631       1.1  christos 			p = "lwpid_t";
   7632       1.1  christos 			break;
   7633       1.1  christos 		case 2:
   7634       1.1  christos 			p = "netbsd32_intp";
   7635       1.1  christos 			break;
   7636       1.1  christos 		case 3:
   7637       1.1  christos 			p = "netbsd32_sched_paramp_t";
   7638       1.1  christos 			break;
   7639       1.1  christos 		default:
   7640       1.1  christos 			break;
   7641       1.1  christos 		};
   7642       1.1  christos 		break;
   7643       1.1  christos 	/* netbsd32__sched_setaffinity */
   7644       1.1  christos 	case 348:
   7645       1.1  christos 		switch(ndx) {
   7646       1.1  christos 		case 0:
   7647       1.1  christos 			p = "pid_t";
   7648       1.1  christos 			break;
   7649       1.1  christos 		case 1:
   7650       1.1  christos 			p = "lwpid_t";
   7651       1.1  christos 			break;
   7652       1.1  christos 		case 2:
   7653       1.1  christos 			p = "netbsd32_size_t";
   7654       1.1  christos 			break;
   7655       1.1  christos 		case 3:
   7656       1.1  christos 			p = "const netbsd32_cpusetp_t";
   7657       1.1  christos 			break;
   7658       1.1  christos 		default:
   7659       1.1  christos 			break;
   7660       1.1  christos 		};
   7661       1.1  christos 		break;
   7662       1.1  christos 	/* netbsd32__sched_getaffinity */
   7663       1.1  christos 	case 349:
   7664       1.1  christos 		switch(ndx) {
   7665       1.1  christos 		case 0:
   7666       1.1  christos 			p = "pid_t";
   7667       1.1  christos 			break;
   7668       1.1  christos 		case 1:
   7669       1.1  christos 			p = "lwpid_t";
   7670       1.1  christos 			break;
   7671       1.1  christos 		case 2:
   7672       1.1  christos 			p = "netbsd32_size_t";
   7673       1.1  christos 			break;
   7674       1.1  christos 		case 3:
   7675       1.1  christos 			p = "netbsd32_cpusetp_t";
   7676       1.1  christos 			break;
   7677       1.1  christos 		default:
   7678       1.1  christos 			break;
   7679       1.1  christos 		};
   7680       1.1  christos 		break;
   7681       1.1  christos 	/* sys_sched_yield */
   7682       1.1  christos 	case 350:
   7683       1.1  christos 		break;
   7684      1.13     skrll 	/* netbsd32__sched_protect */
   7685      1.13     skrll 	case 351:
   7686      1.13     skrll 		switch(ndx) {
   7687      1.13     skrll 		case 0:
   7688      1.13     skrll 			p = "int";
   7689      1.13     skrll 			break;
   7690      1.13     skrll 		default:
   7691      1.13     skrll 			break;
   7692      1.13     skrll 		};
   7693      1.13     skrll 		break;
   7694       1.1  christos 	/* netbsd32_fsync_range */
   7695       1.1  christos 	case 354:
   7696       1.1  christos 		switch(ndx) {
   7697       1.1  christos 		case 0:
   7698       1.1  christos 			p = "int";
   7699       1.1  christos 			break;
   7700       1.1  christos 		case 1:
   7701       1.1  christos 			p = "int";
   7702       1.1  christos 			break;
   7703       1.1  christos 		case 2:
   7704       1.1  christos 			p = "netbsd32_off_t";
   7705       1.1  christos 			break;
   7706       1.1  christos 		case 3:
   7707       1.1  christos 			p = "netbsd32_off_t";
   7708       1.1  christos 			break;
   7709       1.1  christos 		default:
   7710       1.1  christos 			break;
   7711       1.1  christos 		};
   7712       1.1  christos 		break;
   7713       1.1  christos 	/* netbsd32_uuidgen */
   7714       1.1  christos 	case 355:
   7715       1.1  christos 		switch(ndx) {
   7716       1.1  christos 		case 0:
   7717       1.1  christos 			p = "netbsd32_uuidp_t";
   7718       1.1  christos 			break;
   7719       1.1  christos 		case 1:
   7720       1.1  christos 			p = "int";
   7721       1.1  christos 			break;
   7722       1.1  christos 		default:
   7723       1.1  christos 			break;
   7724       1.1  christos 		};
   7725       1.1  christos 		break;
   7726       1.1  christos 	/* netbsd32_getvfsstat */
   7727       1.1  christos 	case 356:
   7728       1.1  christos 		switch(ndx) {
   7729       1.1  christos 		case 0:
   7730      1.33  christos 			p = "netbsd32_statvfs90p_t";
   7731       1.1  christos 			break;
   7732       1.1  christos 		case 1:
   7733       1.1  christos 			p = "netbsd32_size_t";
   7734       1.1  christos 			break;
   7735       1.1  christos 		case 2:
   7736       1.1  christos 			p = "int";
   7737       1.1  christos 			break;
   7738       1.1  christos 		default:
   7739       1.1  christos 			break;
   7740       1.1  christos 		};
   7741       1.1  christos 		break;
   7742       1.1  christos 	/* netbsd32_statvfs1 */
   7743       1.1  christos 	case 357:
   7744       1.1  christos 		switch(ndx) {
   7745       1.1  christos 		case 0:
   7746       1.1  christos 			p = "netbsd32_charp";
   7747       1.1  christos 			break;
   7748       1.1  christos 		case 1:
   7749      1.33  christos 			p = "netbsd32_statvfs90p_t";
   7750       1.1  christos 			break;
   7751       1.1  christos 		case 2:
   7752       1.1  christos 			p = "int";
   7753       1.1  christos 			break;
   7754       1.1  christos 		default:
   7755       1.1  christos 			break;
   7756       1.1  christos 		};
   7757       1.1  christos 		break;
   7758       1.1  christos 	/* netbsd32_fstatvfs1 */
   7759       1.1  christos 	case 358:
   7760       1.1  christos 		switch(ndx) {
   7761       1.1  christos 		case 0:
   7762       1.1  christos 			p = "int";
   7763       1.1  christos 			break;
   7764       1.1  christos 		case 1:
   7765      1.33  christos 			p = "netbsd32_statvfs90p_t";
   7766       1.1  christos 			break;
   7767       1.1  christos 		case 2:
   7768       1.1  christos 			p = "int";
   7769       1.1  christos 			break;
   7770       1.1  christos 		default:
   7771       1.1  christos 			break;
   7772       1.1  christos 		};
   7773       1.1  christos 		break;
   7774       1.1  christos 	/* netbsd32_fhstatvfs1 */
   7775       1.1  christos 	case 359:
   7776       1.1  christos 		switch(ndx) {
   7777       1.1  christos 		case 0:
   7778       1.1  christos 			p = "netbsd32_fhandlep_t";
   7779       1.1  christos 			break;
   7780       1.1  christos 		case 1:
   7781      1.33  christos 			p = "netbsd32_statvfs90p_t";
   7782       1.1  christos 			break;
   7783       1.1  christos 		case 2:
   7784       1.1  christos 			p = "int";
   7785       1.1  christos 			break;
   7786       1.1  christos 		default:
   7787       1.1  christos 			break;
   7788       1.1  christos 		};
   7789       1.1  christos 		break;
   7790       1.1  christos 	/* netbsd32_extattrctl */
   7791       1.1  christos 	case 360:
   7792       1.1  christos 		switch(ndx) {
   7793       1.1  christos 		case 0:
   7794       1.1  christos 			p = "netbsd32_charp";
   7795       1.1  christos 			break;
   7796       1.1  christos 		case 1:
   7797       1.1  christos 			p = "int";
   7798       1.1  christos 			break;
   7799       1.1  christos 		case 2:
   7800       1.1  christos 			p = "netbsd32_charp";
   7801       1.1  christos 			break;
   7802       1.1  christos 		case 3:
   7803       1.1  christos 			p = "int";
   7804       1.1  christos 			break;
   7805       1.1  christos 		case 4:
   7806       1.1  christos 			p = "netbsd32_charp";
   7807       1.1  christos 			break;
   7808       1.1  christos 		default:
   7809       1.1  christos 			break;
   7810       1.1  christos 		};
   7811       1.1  christos 		break;
   7812       1.1  christos 	/* netbsd32_extattr_set_file */
   7813       1.1  christos 	case 361:
   7814       1.1  christos 		switch(ndx) {
   7815       1.1  christos 		case 0:
   7816       1.1  christos 			p = "netbsd32_charp";
   7817       1.1  christos 			break;
   7818       1.1  christos 		case 1:
   7819       1.1  christos 			p = "int";
   7820       1.1  christos 			break;
   7821       1.1  christos 		case 2:
   7822       1.1  christos 			p = "netbsd32_charp";
   7823       1.1  christos 			break;
   7824       1.1  christos 		case 3:
   7825       1.1  christos 			p = "netbsd32_voidp";
   7826       1.1  christos 			break;
   7827       1.1  christos 		case 4:
   7828       1.1  christos 			p = "netbsd32_size_t";
   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_extattr_get_file */
   7835       1.1  christos 	case 362:
   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.1  christos 			p = "int";
   7842       1.1  christos 			break;
   7843       1.1  christos 		case 2:
   7844       1.1  christos 			p = "netbsd32_charp";
   7845       1.1  christos 			break;
   7846       1.1  christos 		case 3:
   7847       1.1  christos 			p = "netbsd32_voidp";
   7848       1.1  christos 			break;
   7849       1.1  christos 		case 4:
   7850       1.1  christos 			p = "netbsd32_size_t";
   7851       1.1  christos 			break;
   7852       1.1  christos 		default:
   7853       1.1  christos 			break;
   7854       1.1  christos 		};
   7855       1.1  christos 		break;
   7856       1.1  christos 	/* netbsd32_extattr_delete_file */
   7857       1.1  christos 	case 363:
   7858       1.1  christos 		switch(ndx) {
   7859       1.1  christos 		case 0:
   7860       1.1  christos 			p = "netbsd32_charp";
   7861       1.1  christos 			break;
   7862       1.1  christos 		case 1:
   7863       1.1  christos 			p = "int";
   7864       1.1  christos 			break;
   7865       1.1  christos 		case 2:
   7866       1.1  christos 			p = "netbsd32_charp";
   7867       1.1  christos 			break;
   7868       1.1  christos 		default:
   7869       1.1  christos 			break;
   7870       1.1  christos 		};
   7871       1.1  christos 		break;
   7872       1.1  christos 	/* netbsd32_extattr_set_fd */
   7873       1.1  christos 	case 364:
   7874       1.1  christos 		switch(ndx) {
   7875       1.1  christos 		case 0:
   7876       1.1  christos 			p = "int";
   7877       1.1  christos 			break;
   7878       1.1  christos 		case 1:
   7879       1.1  christos 			p = "int";
   7880       1.1  christos 			break;
   7881       1.1  christos 		case 2:
   7882       1.1  christos 			p = "netbsd32_charp";
   7883       1.1  christos 			break;
   7884       1.1  christos 		case 3:
   7885       1.1  christos 			p = "netbsd32_voidp";
   7886       1.1  christos 			break;
   7887       1.1  christos 		case 4:
   7888       1.1  christos 			p = "netbsd32_size_t";
   7889       1.1  christos 			break;
   7890       1.1  christos 		default:
   7891       1.1  christos 			break;
   7892       1.1  christos 		};
   7893       1.1  christos 		break;
   7894       1.1  christos 	/* netbsd32_extattr_get_fd */
   7895       1.1  christos 	case 365:
   7896       1.1  christos 		switch(ndx) {
   7897       1.1  christos 		case 0:
   7898       1.1  christos 			p = "int";
   7899       1.1  christos 			break;
   7900       1.1  christos 		case 1:
   7901       1.1  christos 			p = "int";
   7902       1.1  christos 			break;
   7903       1.1  christos 		case 2:
   7904       1.1  christos 			p = "netbsd32_charp";
   7905       1.1  christos 			break;
   7906       1.1  christos 		case 3:
   7907       1.1  christos 			p = "netbsd32_voidp";
   7908       1.1  christos 			break;
   7909       1.1  christos 		case 4:
   7910       1.1  christos 			p = "netbsd32_size_t";
   7911       1.1  christos 			break;
   7912       1.1  christos 		default:
   7913       1.1  christos 			break;
   7914       1.1  christos 		};
   7915       1.1  christos 		break;
   7916       1.1  christos 	/* netbsd32_extattr_delete_fd */
   7917       1.1  christos 	case 366:
   7918       1.1  christos 		switch(ndx) {
   7919       1.1  christos 		case 0:
   7920       1.1  christos 			p = "int";
   7921       1.1  christos 			break;
   7922       1.1  christos 		case 1:
   7923       1.1  christos 			p = "int";
   7924       1.1  christos 			break;
   7925       1.1  christos 		case 2:
   7926       1.1  christos 			p = "netbsd32_charp";
   7927       1.1  christos 			break;
   7928       1.1  christos 		default:
   7929       1.1  christos 			break;
   7930       1.1  christos 		};
   7931       1.1  christos 		break;
   7932       1.1  christos 	/* netbsd32_extattr_set_link */
   7933       1.1  christos 	case 367:
   7934       1.1  christos 		switch(ndx) {
   7935       1.1  christos 		case 0:
   7936       1.1  christos 			p = "netbsd32_charp";
   7937       1.1  christos 			break;
   7938       1.1  christos 		case 1:
   7939       1.1  christos 			p = "int";
   7940       1.1  christos 			break;
   7941       1.1  christos 		case 2:
   7942       1.1  christos 			p = "netbsd32_charp";
   7943       1.1  christos 			break;
   7944       1.1  christos 		case 3:
   7945       1.1  christos 			p = "netbsd32_voidp";
   7946       1.1  christos 			break;
   7947       1.1  christos 		case 4:
   7948       1.1  christos 			p = "netbsd32_size_t";
   7949       1.1  christos 			break;
   7950       1.1  christos 		default:
   7951       1.1  christos 			break;
   7952       1.1  christos 		};
   7953       1.1  christos 		break;
   7954       1.1  christos 	/* netbsd32_extattr_get_link */
   7955       1.1  christos 	case 368:
   7956       1.1  christos 		switch(ndx) {
   7957       1.1  christos 		case 0:
   7958       1.1  christos 			p = "netbsd32_charp";
   7959       1.1  christos 			break;
   7960       1.1  christos 		case 1:
   7961       1.1  christos 			p = "int";
   7962       1.1  christos 			break;
   7963       1.1  christos 		case 2:
   7964       1.1  christos 			p = "netbsd32_charp";
   7965       1.1  christos 			break;
   7966       1.1  christos 		case 3:
   7967       1.1  christos 			p = "netbsd32_voidp";
   7968       1.1  christos 			break;
   7969       1.1  christos 		case 4:
   7970       1.1  christos 			p = "netbsd32_size_t";
   7971       1.1  christos 			break;
   7972       1.1  christos 		default:
   7973       1.1  christos 			break;
   7974       1.1  christos 		};
   7975       1.1  christos 		break;
   7976       1.1  christos 	/* netbsd32_extattr_delete_link */
   7977       1.1  christos 	case 369:
   7978       1.1  christos 		switch(ndx) {
   7979       1.1  christos 		case 0:
   7980       1.1  christos 			p = "netbsd32_charp";
   7981       1.1  christos 			break;
   7982       1.1  christos 		case 1:
   7983       1.1  christos 			p = "int";
   7984       1.1  christos 			break;
   7985       1.1  christos 		case 2:
   7986       1.1  christos 			p = "netbsd32_charp";
   7987       1.1  christos 			break;
   7988       1.1  christos 		default:
   7989       1.1  christos 			break;
   7990       1.1  christos 		};
   7991       1.1  christos 		break;
   7992       1.1  christos 	/* netbsd32_extattr_list_fd */
   7993       1.1  christos 	case 370:
   7994       1.1  christos 		switch(ndx) {
   7995       1.1  christos 		case 0:
   7996       1.1  christos 			p = "int";
   7997       1.1  christos 			break;
   7998       1.1  christos 		case 1:
   7999       1.1  christos 			p = "int";
   8000       1.1  christos 			break;
   8001       1.1  christos 		case 2:
   8002       1.1  christos 			p = "netbsd32_voidp";
   8003       1.1  christos 			break;
   8004       1.1  christos 		case 3:
   8005       1.1  christos 			p = "netbsd32_size_t";
   8006       1.1  christos 			break;
   8007       1.1  christos 		default:
   8008       1.1  christos 			break;
   8009       1.1  christos 		};
   8010       1.1  christos 		break;
   8011       1.1  christos 	/* netbsd32_extattr_list_file */
   8012       1.1  christos 	case 371:
   8013       1.1  christos 		switch(ndx) {
   8014       1.1  christos 		case 0:
   8015       1.1  christos 			p = "netbsd32_charp";
   8016       1.1  christos 			break;
   8017       1.1  christos 		case 1:
   8018       1.1  christos 			p = "int";
   8019       1.1  christos 			break;
   8020       1.1  christos 		case 2:
   8021       1.1  christos 			p = "netbsd32_voidp";
   8022       1.1  christos 			break;
   8023       1.1  christos 		case 3:
   8024       1.1  christos 			p = "netbsd32_size_t";
   8025       1.1  christos 			break;
   8026       1.1  christos 		default:
   8027       1.1  christos 			break;
   8028       1.1  christos 		};
   8029       1.1  christos 		break;
   8030       1.1  christos 	/* netbsd32_extattr_list_link */
   8031       1.1  christos 	case 372:
   8032       1.1  christos 		switch(ndx) {
   8033       1.1  christos 		case 0:
   8034       1.1  christos 			p = "netbsd32_charp";
   8035       1.1  christos 			break;
   8036       1.1  christos 		case 1:
   8037       1.1  christos 			p = "int";
   8038       1.1  christos 			break;
   8039       1.1  christos 		case 2:
   8040       1.1  christos 			p = "netbsd32_voidp";
   8041       1.1  christos 			break;
   8042       1.1  christos 		case 3:
   8043       1.1  christos 			p = "netbsd32_size_t";
   8044       1.1  christos 			break;
   8045       1.1  christos 		default:
   8046       1.1  christos 			break;
   8047       1.1  christos 		};
   8048       1.1  christos 		break;
   8049       1.1  christos 	/* netbsd32_pselect */
   8050       1.1  christos 	case 373:
   8051       1.1  christos 		switch(ndx) {
   8052       1.1  christos 		case 0:
   8053       1.1  christos 			p = "int";
   8054       1.1  christos 			break;
   8055       1.1  christos 		case 1:
   8056       1.1  christos 			p = "netbsd32_fd_setp_t";
   8057       1.1  christos 			break;
   8058       1.1  christos 		case 2:
   8059       1.1  christos 			p = "netbsd32_fd_setp_t";
   8060       1.1  christos 			break;
   8061       1.1  christos 		case 3:
   8062       1.1  christos 			p = "netbsd32_fd_setp_t";
   8063       1.1  christos 			break;
   8064       1.1  christos 		case 4:
   8065       1.1  christos 			p = "netbsd32_timespec50p_t";
   8066       1.1  christos 			break;
   8067       1.1  christos 		case 5:
   8068       1.1  christos 			p = "netbsd32_sigsetp_t";
   8069       1.1  christos 			break;
   8070       1.1  christos 		default:
   8071       1.1  christos 			break;
   8072       1.1  christos 		};
   8073       1.1  christos 		break;
   8074       1.1  christos 	/* netbsd32_pollts */
   8075       1.1  christos 	case 374:
   8076       1.1  christos 		switch(ndx) {
   8077       1.1  christos 		case 0:
   8078       1.1  christos 			p = "netbsd32_pollfdp_t";
   8079       1.1  christos 			break;
   8080       1.1  christos 		case 1:
   8081       1.1  christos 			p = "u_int";
   8082       1.1  christos 			break;
   8083       1.1  christos 		case 2:
   8084       1.1  christos 			p = "netbsd32_timespec50p_t";
   8085       1.1  christos 			break;
   8086       1.1  christos 		case 3:
   8087       1.1  christos 			p = "netbsd32_sigsetp_t";
   8088       1.1  christos 			break;
   8089       1.1  christos 		default:
   8090       1.1  christos 			break;
   8091       1.1  christos 		};
   8092       1.1  christos 		break;
   8093       1.1  christos 	/* netbsd32_setxattr */
   8094       1.1  christos 	case 375:
   8095       1.1  christos 		switch(ndx) {
   8096       1.1  christos 		case 0:
   8097       1.1  christos 			p = "netbsd32_charp";
   8098       1.1  christos 			break;
   8099       1.1  christos 		case 1:
   8100       1.1  christos 			p = "netbsd32_charp";
   8101       1.1  christos 			break;
   8102       1.1  christos 		case 2:
   8103       1.1  christos 			p = "netbsd32_voidp";
   8104       1.1  christos 			break;
   8105       1.1  christos 		case 3:
   8106       1.1  christos 			p = "netbsd32_size_t";
   8107       1.1  christos 			break;
   8108       1.1  christos 		case 4:
   8109       1.1  christos 			p = "int";
   8110       1.1  christos 			break;
   8111       1.1  christos 		default:
   8112       1.1  christos 			break;
   8113       1.1  christos 		};
   8114       1.1  christos 		break;
   8115       1.1  christos 	/* netbsd32_lsetxattr */
   8116       1.1  christos 	case 376:
   8117       1.1  christos 		switch(ndx) {
   8118       1.1  christos 		case 0:
   8119       1.1  christos 			p = "netbsd32_charp";
   8120       1.1  christos 			break;
   8121       1.1  christos 		case 1:
   8122       1.1  christos 			p = "netbsd32_charp";
   8123       1.1  christos 			break;
   8124       1.1  christos 		case 2:
   8125       1.1  christos 			p = "netbsd32_voidp";
   8126       1.1  christos 			break;
   8127       1.1  christos 		case 3:
   8128       1.1  christos 			p = "netbsd32_size_t";
   8129       1.1  christos 			break;
   8130       1.1  christos 		case 4:
   8131       1.1  christos 			p = "int";
   8132       1.1  christos 			break;
   8133       1.1  christos 		default:
   8134       1.1  christos 			break;
   8135       1.1  christos 		};
   8136       1.1  christos 		break;
   8137       1.1  christos 	/* netbsd32_fsetxattr */
   8138       1.1  christos 	case 377:
   8139       1.1  christos 		switch(ndx) {
   8140       1.1  christos 		case 0:
   8141       1.1  christos 			p = "int";
   8142       1.1  christos 			break;
   8143       1.1  christos 		case 1:
   8144       1.1  christos 			p = "netbsd32_charp";
   8145       1.1  christos 			break;
   8146       1.1  christos 		case 2:
   8147       1.1  christos 			p = "netbsd32_voidp";
   8148       1.1  christos 			break;
   8149       1.1  christos 		case 3:
   8150       1.1  christos 			p = "netbsd32_size_t";
   8151       1.1  christos 			break;
   8152       1.1  christos 		case 4:
   8153       1.1  christos 			p = "int";
   8154       1.1  christos 			break;
   8155       1.1  christos 		default:
   8156       1.1  christos 			break;
   8157       1.1  christos 		};
   8158       1.1  christos 		break;
   8159       1.1  christos 	/* netbsd32_getxattr */
   8160       1.1  christos 	case 378:
   8161       1.1  christos 		switch(ndx) {
   8162       1.1  christos 		case 0:
   8163       1.1  christos 			p = "netbsd32_charp";
   8164       1.1  christos 			break;
   8165       1.1  christos 		case 1:
   8166       1.1  christos 			p = "netbsd32_charp";
   8167       1.1  christos 			break;
   8168       1.1  christos 		case 2:
   8169       1.1  christos 			p = "netbsd32_voidp";
   8170       1.1  christos 			break;
   8171       1.1  christos 		case 3:
   8172       1.1  christos 			p = "netbsd32_size_t";
   8173       1.1  christos 			break;
   8174       1.1  christos 		default:
   8175       1.1  christos 			break;
   8176       1.1  christos 		};
   8177       1.1  christos 		break;
   8178       1.1  christos 	/* netbsd32_lgetxattr */
   8179       1.1  christos 	case 379:
   8180       1.1  christos 		switch(ndx) {
   8181       1.1  christos 		case 0:
   8182       1.1  christos 			p = "netbsd32_charp";
   8183       1.1  christos 			break;
   8184       1.1  christos 		case 1:
   8185       1.1  christos 			p = "netbsd32_charp";
   8186       1.1  christos 			break;
   8187       1.1  christos 		case 2:
   8188       1.1  christos 			p = "netbsd32_voidp";
   8189       1.1  christos 			break;
   8190       1.1  christos 		case 3:
   8191       1.1  christos 			p = "netbsd32_size_t";
   8192       1.1  christos 			break;
   8193       1.1  christos 		default:
   8194       1.1  christos 			break;
   8195       1.1  christos 		};
   8196       1.1  christos 		break;
   8197       1.1  christos 	/* netbsd32_fgetxattr */
   8198       1.1  christos 	case 380:
   8199       1.1  christos 		switch(ndx) {
   8200       1.1  christos 		case 0:
   8201       1.1  christos 			p = "int";
   8202       1.1  christos 			break;
   8203       1.1  christos 		case 1:
   8204       1.1  christos 			p = "netbsd32_charp";
   8205       1.1  christos 			break;
   8206       1.1  christos 		case 2:
   8207       1.1  christos 			p = "netbsd32_voidp";
   8208       1.1  christos 			break;
   8209       1.1  christos 		case 3:
   8210       1.1  christos 			p = "netbsd32_size_t";
   8211       1.1  christos 			break;
   8212       1.1  christos 		default:
   8213       1.1  christos 			break;
   8214       1.1  christos 		};
   8215       1.1  christos 		break;
   8216       1.1  christos 	/* netbsd32_listxattr */
   8217       1.1  christos 	case 381:
   8218       1.1  christos 		switch(ndx) {
   8219       1.1  christos 		case 0:
   8220       1.1  christos 			p = "netbsd32_charp";
   8221       1.1  christos 			break;
   8222       1.1  christos 		case 1:
   8223       1.1  christos 			p = "netbsd32_charp";
   8224       1.1  christos 			break;
   8225       1.1  christos 		case 2:
   8226       1.1  christos 			p = "netbsd32_size_t";
   8227       1.1  christos 			break;
   8228       1.1  christos 		default:
   8229       1.1  christos 			break;
   8230       1.1  christos 		};
   8231       1.1  christos 		break;
   8232       1.1  christos 	/* netbsd32_llistxattr */
   8233       1.1  christos 	case 382:
   8234       1.1  christos 		switch(ndx) {
   8235       1.1  christos 		case 0:
   8236       1.1  christos 			p = "netbsd32_charp";
   8237       1.1  christos 			break;
   8238       1.1  christos 		case 1:
   8239       1.1  christos 			p = "netbsd32_charp";
   8240       1.1  christos 			break;
   8241       1.1  christos 		case 2:
   8242       1.1  christos 			p = "netbsd32_size_t";
   8243       1.1  christos 			break;
   8244       1.1  christos 		default:
   8245       1.1  christos 			break;
   8246       1.1  christos 		};
   8247       1.1  christos 		break;
   8248       1.1  christos 	/* netbsd32_flistxattr */
   8249       1.1  christos 	case 383:
   8250       1.1  christos 		switch(ndx) {
   8251       1.1  christos 		case 0:
   8252       1.1  christos 			p = "int";
   8253       1.1  christos 			break;
   8254       1.1  christos 		case 1:
   8255       1.1  christos 			p = "netbsd32_charp";
   8256       1.1  christos 			break;
   8257       1.1  christos 		case 2:
   8258       1.1  christos 			p = "netbsd32_size_t";
   8259       1.1  christos 			break;
   8260       1.1  christos 		default:
   8261       1.1  christos 			break;
   8262       1.1  christos 		};
   8263       1.1  christos 		break;
   8264       1.1  christos 	/* netbsd32_removexattr */
   8265       1.1  christos 	case 384:
   8266       1.1  christos 		switch(ndx) {
   8267       1.1  christos 		case 0:
   8268       1.1  christos 			p = "netbsd32_charp";
   8269       1.1  christos 			break;
   8270       1.1  christos 		case 1:
   8271       1.1  christos 			p = "netbsd32_charp";
   8272       1.1  christos 			break;
   8273       1.1  christos 		default:
   8274       1.1  christos 			break;
   8275       1.1  christos 		};
   8276       1.1  christos 		break;
   8277       1.1  christos 	/* netbsd32_lremovexattr */
   8278       1.1  christos 	case 385:
   8279       1.1  christos 		switch(ndx) {
   8280       1.1  christos 		case 0:
   8281       1.1  christos 			p = "netbsd32_charp";
   8282       1.1  christos 			break;
   8283       1.1  christos 		case 1:
   8284       1.1  christos 			p = "netbsd32_charp";
   8285       1.1  christos 			break;
   8286       1.1  christos 		default:
   8287       1.1  christos 			break;
   8288       1.1  christos 		};
   8289       1.1  christos 		break;
   8290       1.1  christos 	/* netbsd32_fremovexattr */
   8291       1.1  christos 	case 386:
   8292       1.1  christos 		switch(ndx) {
   8293       1.1  christos 		case 0:
   8294       1.1  christos 			p = "int";
   8295       1.1  christos 			break;
   8296       1.1  christos 		case 1:
   8297       1.1  christos 			p = "netbsd32_charp";
   8298       1.1  christos 			break;
   8299       1.1  christos 		default:
   8300       1.1  christos 			break;
   8301       1.1  christos 		};
   8302       1.1  christos 		break;
   8303       1.1  christos 	/* netbsd32___stat30 */
   8304       1.1  christos 	case 387:
   8305       1.1  christos 		switch(ndx) {
   8306       1.1  christos 		case 0:
   8307       1.1  christos 			p = "netbsd32_charp";
   8308       1.1  christos 			break;
   8309       1.1  christos 		case 1:
   8310       1.1  christos 			p = "netbsd32_stat50p_t";
   8311       1.1  christos 			break;
   8312       1.1  christos 		default:
   8313       1.1  christos 			break;
   8314       1.1  christos 		};
   8315       1.1  christos 		break;
   8316       1.1  christos 	/* netbsd32___fstat30 */
   8317       1.1  christos 	case 388:
   8318       1.1  christos 		switch(ndx) {
   8319       1.1  christos 		case 0:
   8320       1.1  christos 			p = "int";
   8321       1.1  christos 			break;
   8322       1.1  christos 		case 1:
   8323       1.1  christos 			p = "netbsd32_stat50p_t";
   8324       1.1  christos 			break;
   8325       1.1  christos 		default:
   8326       1.1  christos 			break;
   8327       1.1  christos 		};
   8328       1.1  christos 		break;
   8329       1.1  christos 	/* netbsd32___lstat30 */
   8330       1.1  christos 	case 389:
   8331       1.1  christos 		switch(ndx) {
   8332       1.1  christos 		case 0:
   8333       1.1  christos 			p = "netbsd32_charp";
   8334       1.1  christos 			break;
   8335       1.1  christos 		case 1:
   8336       1.1  christos 			p = "netbsd32_stat50p_t";
   8337       1.1  christos 			break;
   8338       1.1  christos 		default:
   8339       1.1  christos 			break;
   8340       1.1  christos 		};
   8341       1.1  christos 		break;
   8342       1.1  christos 	/* netbsd32___getdents30 */
   8343       1.1  christos 	case 390:
   8344       1.1  christos 		switch(ndx) {
   8345       1.1  christos 		case 0:
   8346       1.1  christos 			p = "int";
   8347       1.1  christos 			break;
   8348       1.1  christos 		case 1:
   8349       1.1  christos 			p = "netbsd32_charp";
   8350       1.1  christos 			break;
   8351       1.1  christos 		case 2:
   8352       1.1  christos 			p = "netbsd32_size_t";
   8353       1.1  christos 			break;
   8354       1.1  christos 		default:
   8355       1.1  christos 			break;
   8356       1.1  christos 		};
   8357       1.1  christos 		break;
   8358       1.1  christos 	/* netbsd32___fhstat30 */
   8359       1.1  christos 	case 392:
   8360       1.1  christos 		switch(ndx) {
   8361       1.1  christos 		case 0:
   8362       1.1  christos 			p = "netbsd32_fhandlep_t";
   8363       1.1  christos 			break;
   8364       1.1  christos 		case 1:
   8365       1.1  christos 			p = "netbsd32_stat50p_t";
   8366       1.1  christos 			break;
   8367       1.1  christos 		default:
   8368       1.1  christos 			break;
   8369       1.1  christos 		};
   8370       1.1  christos 		break;
   8371       1.1  christos 	/* netbsd32_ntp_gettime */
   8372       1.1  christos 	case 393:
   8373       1.1  christos 		switch(ndx) {
   8374       1.1  christos 		case 0:
   8375       1.1  christos 			p = "netbsd32_ntptimeval50p_t";
   8376       1.1  christos 			break;
   8377       1.1  christos 		default:
   8378       1.1  christos 			break;
   8379       1.1  christos 		};
   8380       1.1  christos 		break;
   8381       1.1  christos 	/* netbsd32___socket30 */
   8382       1.1  christos 	case 394:
   8383       1.1  christos 		switch(ndx) {
   8384       1.1  christos 		case 0:
   8385       1.1  christos 			p = "int";
   8386       1.1  christos 			break;
   8387       1.1  christos 		case 1:
   8388       1.1  christos 			p = "int";
   8389       1.1  christos 			break;
   8390       1.1  christos 		case 2:
   8391       1.1  christos 			p = "int";
   8392       1.1  christos 			break;
   8393       1.1  christos 		default:
   8394       1.1  christos 			break;
   8395       1.1  christos 		};
   8396       1.1  christos 		break;
   8397       1.1  christos 	/* netbsd32___getfh30 */
   8398       1.1  christos 	case 395:
   8399       1.1  christos 		switch(ndx) {
   8400       1.1  christos 		case 0:
   8401       1.1  christos 			p = "netbsd32_charp";
   8402       1.1  christos 			break;
   8403       1.1  christos 		case 1:
   8404       1.1  christos 			p = "netbsd32_pointer_t";
   8405       1.1  christos 			break;
   8406       1.1  christos 		case 2:
   8407       1.1  christos 			p = "netbsd32_size_tp";
   8408       1.1  christos 			break;
   8409       1.1  christos 		default:
   8410       1.1  christos 			break;
   8411       1.1  christos 		};
   8412       1.1  christos 		break;
   8413       1.1  christos 	/* netbsd32___fhopen40 */
   8414       1.1  christos 	case 396:
   8415       1.1  christos 		switch(ndx) {
   8416       1.1  christos 		case 0:
   8417       1.1  christos 			p = "netbsd32_pointer_t";
   8418       1.1  christos 			break;
   8419       1.1  christos 		case 1:
   8420       1.1  christos 			p = "netbsd32_size_t";
   8421       1.1  christos 			break;
   8422       1.1  christos 		case 2:
   8423       1.1  christos 			p = "int";
   8424       1.1  christos 			break;
   8425       1.1  christos 		default:
   8426       1.1  christos 			break;
   8427       1.1  christos 		};
   8428       1.1  christos 		break;
   8429      1.33  christos 	/* netbsd32_fhstatvfs1 */
   8430       1.1  christos 	case 397:
   8431       1.1  christos 		switch(ndx) {
   8432       1.1  christos 		case 0:
   8433       1.1  christos 			p = "netbsd32_pointer_t";
   8434       1.1  christos 			break;
   8435       1.1  christos 		case 1:
   8436       1.1  christos 			p = "netbsd32_size_t";
   8437       1.1  christos 			break;
   8438       1.1  christos 		case 2:
   8439      1.33  christos 			p = "netbsd32_statvfs90p_t";
   8440       1.1  christos 			break;
   8441       1.1  christos 		case 3:
   8442       1.1  christos 			p = "int";
   8443       1.1  christos 			break;
   8444       1.1  christos 		default:
   8445       1.1  christos 			break;
   8446       1.1  christos 		};
   8447       1.1  christos 		break;
   8448       1.1  christos 	/* netbsd32___fhstat40 */
   8449       1.1  christos 	case 398:
   8450       1.1  christos 		switch(ndx) {
   8451       1.1  christos 		case 0:
   8452       1.1  christos 			p = "netbsd32_pointer_t";
   8453       1.1  christos 			break;
   8454       1.1  christos 		case 1:
   8455       1.1  christos 			p = "netbsd32_size_t";
   8456       1.1  christos 			break;
   8457       1.1  christos 		case 2:
   8458       1.1  christos 			p = "netbsd32_stat50p_t";
   8459       1.1  christos 			break;
   8460       1.1  christos 		default:
   8461       1.1  christos 			break;
   8462       1.1  christos 		};
   8463       1.1  christos 		break;
   8464       1.1  christos 	/* netbsd32___mount50 */
   8465       1.1  christos 	case 410:
   8466       1.1  christos 		switch(ndx) {
   8467       1.1  christos 		case 0:
   8468       1.1  christos 			p = "netbsd32_charp";
   8469       1.1  christos 			break;
   8470       1.1  christos 		case 1:
   8471       1.1  christos 			p = "netbsd32_charp";
   8472       1.1  christos 			break;
   8473       1.1  christos 		case 2:
   8474       1.1  christos 			p = "int";
   8475       1.1  christos 			break;
   8476       1.1  christos 		case 3:
   8477       1.1  christos 			p = "netbsd32_voidp";
   8478       1.1  christos 			break;
   8479       1.1  christos 		case 4:
   8480       1.1  christos 			p = "netbsd32_size_t";
   8481       1.1  christos 			break;
   8482       1.1  christos 		default:
   8483       1.1  christos 			break;
   8484       1.1  christos 		};
   8485       1.1  christos 		break;
   8486       1.1  christos 	/* netbsd32_mremap */
   8487       1.1  christos 	case 411:
   8488       1.1  christos 		switch(ndx) {
   8489       1.1  christos 		case 0:
   8490       1.1  christos 			p = "netbsd32_voidp";
   8491       1.1  christos 			break;
   8492       1.1  christos 		case 1:
   8493       1.1  christos 			p = "netbsd32_size_t";
   8494       1.1  christos 			break;
   8495       1.1  christos 		case 2:
   8496       1.1  christos 			p = "netbsd32_voidp";
   8497       1.1  christos 			break;
   8498       1.1  christos 		case 3:
   8499       1.1  christos 			p = "netbsd32_size_t";
   8500       1.1  christos 			break;
   8501       1.1  christos 		case 4:
   8502       1.1  christos 			p = "int";
   8503       1.1  christos 			break;
   8504       1.1  christos 		default:
   8505       1.1  christos 			break;
   8506       1.1  christos 		};
   8507       1.1  christos 		break;
   8508       1.5    martin 	/* netbsd32_pset_create */
   8509       1.5    martin 	case 412:
   8510       1.5    martin 		switch(ndx) {
   8511       1.5    martin 		case 0:
   8512       1.5    martin 			p = "netbsd32_psetidp_t";
   8513       1.5    martin 			break;
   8514       1.5    martin 		default:
   8515       1.5    martin 			break;
   8516       1.5    martin 		};
   8517       1.5    martin 		break;
   8518       1.5    martin 	/* netbsd32_pset_destroy */
   8519       1.5    martin 	case 413:
   8520       1.5    martin 		switch(ndx) {
   8521       1.5    martin 		case 0:
   8522       1.5    martin 			p = "psetid_t";
   8523       1.5    martin 			break;
   8524       1.5    martin 		default:
   8525       1.5    martin 			break;
   8526       1.5    martin 		};
   8527       1.5    martin 		break;
   8528       1.5    martin 	/* netbsd32_pset_assign */
   8529       1.5    martin 	case 414:
   8530       1.5    martin 		switch(ndx) {
   8531       1.5    martin 		case 0:
   8532       1.5    martin 			p = "psetid_t";
   8533       1.5    martin 			break;
   8534       1.5    martin 		case 1:
   8535       1.5    martin 			p = "cpuid_t";
   8536       1.5    martin 			break;
   8537       1.5    martin 		case 2:
   8538       1.5    martin 			p = "netbsd32_psetidp_t";
   8539       1.5    martin 			break;
   8540       1.5    martin 		default:
   8541       1.5    martin 			break;
   8542       1.5    martin 		};
   8543       1.5    martin 		break;
   8544       1.5    martin 	/* netbsd32__pset_bind */
   8545       1.5    martin 	case 415:
   8546       1.5    martin 		switch(ndx) {
   8547       1.5    martin 		case 0:
   8548       1.5    martin 			p = "idtype_t";
   8549       1.5    martin 			break;
   8550       1.5    martin 		case 1:
   8551       1.5    martin 			p = "id_t";
   8552       1.5    martin 			break;
   8553       1.5    martin 		case 2:
   8554       1.5    martin 			p = "id_t";
   8555       1.5    martin 			break;
   8556       1.5    martin 		case 3:
   8557       1.5    martin 			p = "psetid_t";
   8558       1.5    martin 			break;
   8559       1.5    martin 		case 4:
   8560       1.5    martin 			p = "netbsd32_psetidp_t";
   8561       1.5    martin 			break;
   8562       1.5    martin 		default:
   8563       1.5    martin 			break;
   8564       1.5    martin 		};
   8565       1.5    martin 		break;
   8566       1.1  christos 	/* netbsd32___posix_fadvise50 */
   8567       1.1  christos 	case 416:
   8568       1.1  christos 		switch(ndx) {
   8569       1.1  christos 		case 0:
   8570       1.1  christos 			p = "int";
   8571       1.1  christos 			break;
   8572       1.1  christos 		case 1:
   8573       1.1  christos 			p = "int";
   8574       1.1  christos 			break;
   8575       1.1  christos 		case 2:
   8576       1.1  christos 			p = "netbsd32_off_t";
   8577       1.1  christos 			break;
   8578       1.1  christos 		case 3:
   8579       1.1  christos 			p = "netbsd32_off_t";
   8580       1.1  christos 			break;
   8581       1.1  christos 		case 4:
   8582       1.1  christos 			p = "int";
   8583       1.1  christos 			break;
   8584       1.1  christos 		default:
   8585       1.1  christos 			break;
   8586       1.1  christos 		};
   8587       1.1  christos 		break;
   8588       1.1  christos 	/* netbsd32___select50 */
   8589       1.1  christos 	case 417:
   8590       1.1  christos 		switch(ndx) {
   8591       1.1  christos 		case 0:
   8592       1.1  christos 			p = "int";
   8593       1.1  christos 			break;
   8594       1.1  christos 		case 1:
   8595       1.1  christos 			p = "netbsd32_fd_setp_t";
   8596       1.1  christos 			break;
   8597       1.1  christos 		case 2:
   8598       1.1  christos 			p = "netbsd32_fd_setp_t";
   8599       1.1  christos 			break;
   8600       1.1  christos 		case 3:
   8601       1.1  christos 			p = "netbsd32_fd_setp_t";
   8602       1.1  christos 			break;
   8603       1.1  christos 		case 4:
   8604       1.1  christos 			p = "netbsd32_timevalp_t";
   8605       1.1  christos 			break;
   8606       1.1  christos 		default:
   8607       1.1  christos 			break;
   8608       1.1  christos 		};
   8609       1.1  christos 		break;
   8610       1.1  christos 	/* netbsd32___gettimeofday50 */
   8611       1.1  christos 	case 418:
   8612       1.1  christos 		switch(ndx) {
   8613       1.1  christos 		case 0:
   8614       1.1  christos 			p = "netbsd32_timevalp_t";
   8615       1.1  christos 			break;
   8616       1.1  christos 		case 1:
   8617       1.1  christos 			p = "netbsd32_voidp";
   8618       1.1  christos 			break;
   8619       1.1  christos 		default:
   8620       1.1  christos 			break;
   8621       1.1  christos 		};
   8622       1.1  christos 		break;
   8623       1.1  christos 	/* netbsd32___settimeofday50 */
   8624       1.1  christos 	case 419:
   8625       1.1  christos 		switch(ndx) {
   8626       1.1  christos 		case 0:
   8627       1.1  christos 			p = "const netbsd32_timevalp_t";
   8628       1.1  christos 			break;
   8629       1.1  christos 		case 1:
   8630       1.1  christos 			p = "const netbsd32_voidp";
   8631       1.1  christos 			break;
   8632       1.1  christos 		default:
   8633       1.1  christos 			break;
   8634       1.1  christos 		};
   8635       1.1  christos 		break;
   8636       1.1  christos 	/* netbsd32___utimes50 */
   8637       1.1  christos 	case 420:
   8638       1.1  christos 		switch(ndx) {
   8639       1.1  christos 		case 0:
   8640       1.1  christos 			p = "const netbsd32_charp";
   8641       1.1  christos 			break;
   8642       1.1  christos 		case 1:
   8643       1.1  christos 			p = "const netbsd32_timevalp_t";
   8644       1.1  christos 			break;
   8645       1.1  christos 		default:
   8646       1.1  christos 			break;
   8647       1.1  christos 		};
   8648       1.1  christos 		break;
   8649       1.1  christos 	/* netbsd32___adjtime50 */
   8650       1.1  christos 	case 421:
   8651       1.1  christos 		switch(ndx) {
   8652       1.1  christos 		case 0:
   8653       1.1  christos 			p = "const netbsd32_timevalp_t";
   8654       1.1  christos 			break;
   8655       1.1  christos 		case 1:
   8656       1.1  christos 			p = "netbsd32_timevalp_t";
   8657       1.1  christos 			break;
   8658       1.1  christos 		default:
   8659       1.1  christos 			break;
   8660       1.1  christos 		};
   8661       1.1  christos 		break;
   8662       1.1  christos 	/* netbsd32___futimes50 */
   8663       1.1  christos 	case 423:
   8664       1.1  christos 		switch(ndx) {
   8665       1.1  christos 		case 0:
   8666       1.1  christos 			p = "int";
   8667       1.1  christos 			break;
   8668       1.1  christos 		case 1:
   8669       1.1  christos 			p = "const netbsd32_timevalp_t";
   8670       1.1  christos 			break;
   8671       1.1  christos 		default:
   8672       1.1  christos 			break;
   8673       1.1  christos 		};
   8674       1.1  christos 		break;
   8675       1.1  christos 	/* netbsd32___lutimes50 */
   8676       1.1  christos 	case 424:
   8677       1.1  christos 		switch(ndx) {
   8678       1.1  christos 		case 0:
   8679       1.1  christos 			p = "const netbsd32_charp";
   8680       1.1  christos 			break;
   8681       1.1  christos 		case 1:
   8682       1.1  christos 			p = "const netbsd32_timevalp_t";
   8683       1.1  christos 			break;
   8684       1.1  christos 		default:
   8685       1.1  christos 			break;
   8686       1.1  christos 		};
   8687       1.1  christos 		break;
   8688       1.1  christos 	/* netbsd32___setitimer50 */
   8689       1.1  christos 	case 425:
   8690       1.1  christos 		switch(ndx) {
   8691       1.1  christos 		case 0:
   8692       1.1  christos 			p = "int";
   8693       1.1  christos 			break;
   8694       1.1  christos 		case 1:
   8695       1.1  christos 			p = "const netbsd32_itimervalp_t";
   8696       1.1  christos 			break;
   8697       1.1  christos 		case 2:
   8698       1.1  christos 			p = "netbsd32_itimervalp_t";
   8699       1.1  christos 			break;
   8700       1.1  christos 		default:
   8701       1.1  christos 			break;
   8702       1.1  christos 		};
   8703       1.1  christos 		break;
   8704       1.1  christos 	/* netbsd32___getitimer50 */
   8705       1.1  christos 	case 426:
   8706       1.1  christos 		switch(ndx) {
   8707       1.1  christos 		case 0:
   8708       1.1  christos 			p = "int";
   8709       1.1  christos 			break;
   8710       1.1  christos 		case 1:
   8711       1.1  christos 			p = "netbsd32_itimervalp_t";
   8712       1.1  christos 			break;
   8713       1.1  christos 		default:
   8714       1.1  christos 			break;
   8715       1.1  christos 		};
   8716       1.1  christos 		break;
   8717       1.1  christos 	/* netbsd32___clock_gettime50 */
   8718       1.1  christos 	case 427:
   8719       1.1  christos 		switch(ndx) {
   8720       1.1  christos 		case 0:
   8721       1.1  christos 			p = "clockid_t";
   8722       1.1  christos 			break;
   8723       1.1  christos 		case 1:
   8724       1.1  christos 			p = "netbsd32_timespecp_t";
   8725       1.1  christos 			break;
   8726       1.1  christos 		default:
   8727       1.1  christos 			break;
   8728       1.1  christos 		};
   8729       1.1  christos 		break;
   8730       1.1  christos 	/* netbsd32___clock_settime50 */
   8731       1.1  christos 	case 428:
   8732       1.1  christos 		switch(ndx) {
   8733       1.1  christos 		case 0:
   8734       1.1  christos 			p = "clockid_t";
   8735       1.1  christos 			break;
   8736       1.1  christos 		case 1:
   8737       1.1  christos 			p = "const netbsd32_timespecp_t";
   8738       1.1  christos 			break;
   8739       1.1  christos 		default:
   8740       1.1  christos 			break;
   8741       1.1  christos 		};
   8742       1.1  christos 		break;
   8743       1.1  christos 	/* netbsd32___clock_getres50 */
   8744       1.1  christos 	case 429:
   8745       1.1  christos 		switch(ndx) {
   8746       1.1  christos 		case 0:
   8747       1.1  christos 			p = "clockid_t";
   8748       1.1  christos 			break;
   8749       1.1  christos 		case 1:
   8750       1.1  christos 			p = "netbsd32_timespecp_t";
   8751       1.1  christos 			break;
   8752       1.1  christos 		default:
   8753       1.1  christos 			break;
   8754       1.1  christos 		};
   8755       1.1  christos 		break;
   8756       1.1  christos 	/* netbsd32___nanosleep50 */
   8757       1.1  christos 	case 430:
   8758       1.1  christos 		switch(ndx) {
   8759       1.1  christos 		case 0:
   8760       1.1  christos 			p = "const netbsd32_timespecp_t";
   8761       1.1  christos 			break;
   8762       1.1  christos 		case 1:
   8763       1.1  christos 			p = "netbsd32_timespecp_t";
   8764       1.1  christos 			break;
   8765       1.1  christos 		default:
   8766       1.1  christos 			break;
   8767       1.1  christos 		};
   8768       1.1  christos 		break;
   8769       1.1  christos 	/* netbsd32_____sigtimedwait50 */
   8770       1.1  christos 	case 431:
   8771       1.1  christos 		switch(ndx) {
   8772       1.1  christos 		case 0:
   8773       1.1  christos 			p = "const netbsd32_sigsetp_t";
   8774       1.1  christos 			break;
   8775       1.1  christos 		case 1:
   8776       1.1  christos 			p = "netbsd32_siginfop_t";
   8777       1.1  christos 			break;
   8778       1.1  christos 		case 2:
   8779       1.1  christos 			p = "netbsd32_timespecp_t";
   8780       1.1  christos 			break;
   8781       1.1  christos 		default:
   8782       1.1  christos 			break;
   8783       1.1  christos 		};
   8784       1.1  christos 		break;
   8785       1.4    martin 	/* netbsd32___mq_timedsend50 */
   8786       1.4    martin 	case 432:
   8787       1.4    martin 		switch(ndx) {
   8788       1.4    martin 		case 0:
   8789       1.4    martin 			p = "mqd_t";
   8790       1.4    martin 			break;
   8791       1.4    martin 		case 1:
   8792       1.4    martin 			p = "const netbsd32_charp";
   8793       1.4    martin 			break;
   8794       1.4    martin 		case 2:
   8795       1.4    martin 			p = "netbsd32_size_t";
   8796       1.4    martin 			break;
   8797       1.4    martin 		case 3:
   8798       1.4    martin 			p = "unsigned";
   8799       1.4    martin 			break;
   8800       1.4    martin 		case 4:
   8801       1.4    martin 			p = "const netbsd32_timespecp_t";
   8802       1.4    martin 			break;
   8803       1.4    martin 		default:
   8804       1.4    martin 			break;
   8805       1.4    martin 		};
   8806       1.4    martin 		break;
   8807       1.4    martin 	/* netbsd32___mq_timedreceive50 */
   8808       1.4    martin 	case 433:
   8809       1.4    martin 		switch(ndx) {
   8810       1.4    martin 		case 0:
   8811       1.4    martin 			p = "mqd_t";
   8812       1.4    martin 			break;
   8813       1.4    martin 		case 1:
   8814       1.4    martin 			p = "netbsd32_charp";
   8815       1.4    martin 			break;
   8816       1.4    martin 		case 2:
   8817       1.4    martin 			p = "netbsd32_size_t";
   8818       1.4    martin 			break;
   8819       1.4    martin 		case 3:
   8820       1.4    martin 			p = "netbsd32_uintp";
   8821       1.4    martin 			break;
   8822       1.4    martin 		case 4:
   8823       1.4    martin 			p = "const netbsd32_timespecp_t";
   8824       1.4    martin 			break;
   8825       1.4    martin 		default:
   8826       1.4    martin 			break;
   8827       1.4    martin 		};
   8828       1.4    martin 		break;
   8829       1.1  christos 	/* netbsd32__lwp_park */
   8830       1.1  christos 	case 434:
   8831       1.1  christos 		switch(ndx) {
   8832       1.1  christos 		case 0:
   8833       1.1  christos 			p = "const netbsd32_timespecp_t";
   8834       1.1  christos 			break;
   8835       1.1  christos 		case 1:
   8836       1.1  christos 			p = "lwpid_t";
   8837       1.1  christos 			break;
   8838       1.1  christos 		case 2:
   8839       1.1  christos 			p = "const netbsd32_voidp";
   8840       1.1  christos 			break;
   8841       1.1  christos 		case 3:
   8842       1.1  christos 			p = "const netbsd32_voidp";
   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___kevent50 */
   8849       1.1  christos 	case 435:
   8850       1.1  christos 		switch(ndx) {
   8851       1.1  christos 		case 0:
   8852       1.1  christos 			p = "int";
   8853       1.1  christos 			break;
   8854       1.1  christos 		case 1:
   8855       1.1  christos 			p = "const netbsd32_keventp_t";
   8856       1.1  christos 			break;
   8857       1.1  christos 		case 2:
   8858       1.1  christos 			p = "netbsd32_size_t";
   8859       1.1  christos 			break;
   8860       1.1  christos 		case 3:
   8861       1.1  christos 			p = "netbsd32_keventp_t";
   8862       1.1  christos 			break;
   8863       1.1  christos 		case 4:
   8864       1.1  christos 			p = "netbsd32_size_t";
   8865       1.1  christos 			break;
   8866       1.1  christos 		case 5:
   8867       1.1  christos 			p = "const netbsd32_timespecp_t";
   8868       1.1  christos 			break;
   8869       1.1  christos 		default:
   8870       1.1  christos 			break;
   8871       1.1  christos 		};
   8872       1.1  christos 		break;
   8873       1.1  christos 	/* netbsd32___pselect50 */
   8874       1.1  christos 	case 436:
   8875       1.1  christos 		switch(ndx) {
   8876       1.1  christos 		case 0:
   8877       1.1  christos 			p = "int";
   8878       1.1  christos 			break;
   8879       1.1  christos 		case 1:
   8880       1.1  christos 			p = "netbsd32_fd_setp_t";
   8881       1.1  christos 			break;
   8882       1.1  christos 		case 2:
   8883       1.1  christos 			p = "netbsd32_fd_setp_t";
   8884       1.1  christos 			break;
   8885       1.1  christos 		case 3:
   8886       1.1  christos 			p = "netbsd32_fd_setp_t";
   8887       1.1  christos 			break;
   8888       1.1  christos 		case 4:
   8889       1.1  christos 			p = "const netbsd32_timespecp_t";
   8890       1.1  christos 			break;
   8891       1.1  christos 		case 5:
   8892       1.1  christos 			p = "const netbsd32_sigsetp_t";
   8893       1.1  christos 			break;
   8894       1.1  christos 		default:
   8895       1.1  christos 			break;
   8896       1.1  christos 		};
   8897       1.1  christos 		break;
   8898       1.1  christos 	/* netbsd32___pollts50 */
   8899       1.1  christos 	case 437:
   8900       1.1  christos 		switch(ndx) {
   8901       1.1  christos 		case 0:
   8902       1.1  christos 			p = "netbsd32_pollfdp_t";
   8903       1.1  christos 			break;
   8904       1.1  christos 		case 1:
   8905       1.1  christos 			p = "u_int";
   8906       1.1  christos 			break;
   8907       1.1  christos 		case 2:
   8908       1.1  christos 			p = "const netbsd32_timespecp_t";
   8909       1.1  christos 			break;
   8910       1.1  christos 		case 3:
   8911       1.1  christos 			p = "const netbsd32_sigsetp_t";
   8912       1.1  christos 			break;
   8913       1.1  christos 		default:
   8914       1.1  christos 			break;
   8915       1.1  christos 		};
   8916       1.1  christos 		break;
   8917       1.1  christos 	/* netbsd32___stat50 */
   8918       1.1  christos 	case 439:
   8919       1.1  christos 		switch(ndx) {
   8920       1.1  christos 		case 0:
   8921       1.1  christos 			p = "const netbsd32_charp";
   8922       1.1  christos 			break;
   8923       1.1  christos 		case 1:
   8924       1.1  christos 			p = "netbsd32_statp_t";
   8925       1.1  christos 			break;
   8926       1.1  christos 		default:
   8927       1.1  christos 			break;
   8928       1.1  christos 		};
   8929       1.1  christos 		break;
   8930       1.1  christos 	/* netbsd32___fstat50 */
   8931       1.1  christos 	case 440:
   8932       1.1  christos 		switch(ndx) {
   8933       1.1  christos 		case 0:
   8934       1.1  christos 			p = "int";
   8935       1.1  christos 			break;
   8936       1.1  christos 		case 1:
   8937       1.1  christos 			p = "netbsd32_statp_t";
   8938       1.1  christos 			break;
   8939       1.1  christos 		default:
   8940       1.1  christos 			break;
   8941       1.1  christos 		};
   8942       1.1  christos 		break;
   8943       1.1  christos 	/* netbsd32___lstat50 */
   8944       1.1  christos 	case 441:
   8945       1.1  christos 		switch(ndx) {
   8946       1.1  christos 		case 0:
   8947       1.1  christos 			p = "const netbsd32_charp";
   8948       1.1  christos 			break;
   8949       1.1  christos 		case 1:
   8950       1.1  christos 			p = "netbsd32_statp_t";
   8951       1.1  christos 			break;
   8952       1.1  christos 		default:
   8953       1.1  christos 			break;
   8954       1.1  christos 		};
   8955       1.1  christos 		break;
   8956       1.1  christos 	/* netbsd32_____semctl50 */
   8957       1.1  christos 	case 442:
   8958       1.1  christos 		switch(ndx) {
   8959       1.1  christos 		case 0:
   8960       1.1  christos 			p = "int";
   8961       1.1  christos 			break;
   8962       1.1  christos 		case 1:
   8963       1.1  christos 			p = "int";
   8964       1.1  christos 			break;
   8965       1.1  christos 		case 2:
   8966       1.1  christos 			p = "int";
   8967       1.1  christos 			break;
   8968       1.1  christos 		case 3:
   8969       1.1  christos 			p = "netbsd32_semunp_t";
   8970       1.1  christos 			break;
   8971       1.1  christos 		default:
   8972       1.1  christos 			break;
   8973       1.1  christos 		};
   8974       1.1  christos 		break;
   8975       1.1  christos 	/* netbsd32___shmctl50 */
   8976       1.1  christos 	case 443:
   8977       1.1  christos 		switch(ndx) {
   8978       1.1  christos 		case 0:
   8979       1.1  christos 			p = "int";
   8980       1.1  christos 			break;
   8981       1.1  christos 		case 1:
   8982       1.1  christos 			p = "int";
   8983       1.1  christos 			break;
   8984       1.1  christos 		case 2:
   8985       1.1  christos 			p = "netbsd32_shmid_dsp_t";
   8986       1.1  christos 			break;
   8987       1.1  christos 		default:
   8988       1.1  christos 			break;
   8989       1.1  christos 		};
   8990       1.1  christos 		break;
   8991       1.1  christos 	/* netbsd32___msgctl50 */
   8992       1.1  christos 	case 444:
   8993       1.1  christos 		switch(ndx) {
   8994       1.1  christos 		case 0:
   8995       1.1  christos 			p = "int";
   8996       1.1  christos 			break;
   8997       1.1  christos 		case 1:
   8998       1.1  christos 			p = "int";
   8999       1.1  christos 			break;
   9000       1.1  christos 		case 2:
   9001       1.1  christos 			p = "netbsd32_msqid_dsp_t";
   9002       1.1  christos 			break;
   9003       1.1  christos 		default:
   9004       1.1  christos 			break;
   9005       1.1  christos 		};
   9006       1.1  christos 		break;
   9007       1.1  christos 	/* netbsd32___getrusage50 */
   9008       1.1  christos 	case 445:
   9009       1.1  christos 		switch(ndx) {
   9010       1.1  christos 		case 0:
   9011       1.1  christos 			p = "int";
   9012       1.1  christos 			break;
   9013       1.1  christos 		case 1:
   9014       1.1  christos 			p = "netbsd32_rusagep_t";
   9015       1.1  christos 			break;
   9016       1.1  christos 		default:
   9017       1.1  christos 			break;
   9018       1.1  christos 		};
   9019       1.1  christos 		break;
   9020       1.1  christos 	/* netbsd32___timer_settime50 */
   9021       1.1  christos 	case 446:
   9022       1.1  christos 		switch(ndx) {
   9023       1.1  christos 		case 0:
   9024       1.1  christos 			p = "timer_t";
   9025       1.1  christos 			break;
   9026       1.1  christos 		case 1:
   9027       1.1  christos 			p = "int";
   9028       1.1  christos 			break;
   9029       1.1  christos 		case 2:
   9030       1.1  christos 			p = "const netbsd32_itimerspecp_t";
   9031       1.1  christos 			break;
   9032       1.1  christos 		case 3:
   9033       1.1  christos 			p = "netbsd32_itimerspecp_t";
   9034       1.1  christos 			break;
   9035       1.1  christos 		default:
   9036       1.1  christos 			break;
   9037       1.1  christos 		};
   9038       1.1  christos 		break;
   9039       1.1  christos 	/* netbsd32___timer_gettime50 */
   9040       1.1  christos 	case 447:
   9041       1.1  christos 		switch(ndx) {
   9042       1.1  christos 		case 0:
   9043       1.1  christos 			p = "timer_t";
   9044       1.1  christos 			break;
   9045       1.1  christos 		case 1:
   9046       1.1  christos 			p = "netbsd32_itimerspecp_t";
   9047       1.1  christos 			break;
   9048       1.1  christos 		default:
   9049       1.1  christos 			break;
   9050       1.1  christos 		};
   9051       1.1  christos 		break;
   9052       1.1  christos #if defined(NTP) || !defined(_KERNEL_OPT)
   9053       1.1  christos 	/* netbsd32___ntp_gettime50 */
   9054       1.1  christos 	case 448:
   9055       1.1  christos 		switch(ndx) {
   9056       1.1  christos 		case 0:
   9057       1.1  christos 			p = "netbsd32_ntptimevalp_t";
   9058       1.1  christos 			break;
   9059       1.1  christos 		default:
   9060       1.1  christos 			break;
   9061       1.1  christos 		};
   9062       1.1  christos 		break;
   9063       1.1  christos #else
   9064       1.1  christos #endif
   9065       1.1  christos 	/* netbsd32___wait450 */
   9066       1.1  christos 	case 449:
   9067       1.1  christos 		switch(ndx) {
   9068       1.1  christos 		case 0:
   9069       1.1  christos 			p = "int";
   9070       1.1  christos 			break;
   9071       1.1  christos 		case 1:
   9072       1.1  christos 			p = "netbsd32_intp";
   9073       1.1  christos 			break;
   9074       1.1  christos 		case 2:
   9075       1.1  christos 			p = "int";
   9076       1.1  christos 			break;
   9077       1.1  christos 		case 3:
   9078       1.1  christos 			p = "netbsd32_rusagep_t";
   9079       1.1  christos 			break;
   9080       1.1  christos 		default:
   9081       1.1  christos 			break;
   9082       1.1  christos 		};
   9083       1.1  christos 		break;
   9084       1.1  christos 	/* netbsd32___mknod50 */
   9085       1.1  christos 	case 450:
   9086       1.1  christos 		switch(ndx) {
   9087       1.1  christos 		case 0:
   9088       1.1  christos 			p = "const netbsd32_charp";
   9089       1.1  christos 			break;
   9090       1.1  christos 		case 1:
   9091       1.1  christos 			p = "mode_t";
   9092       1.1  christos 			break;
   9093       1.1  christos 		case 2:
   9094       1.1  christos 			p = "netbsd32_dev_t";
   9095       1.1  christos 			break;
   9096       1.1  christos 		default:
   9097       1.1  christos 			break;
   9098       1.1  christos 		};
   9099       1.1  christos 		break;
   9100       1.1  christos 	/* netbsd32___fhstat50 */
   9101       1.1  christos 	case 451:
   9102       1.1  christos 		switch(ndx) {
   9103       1.1  christos 		case 0:
   9104       1.1  christos 			p = "const netbsd32_voidp";
   9105       1.1  christos 			break;
   9106       1.1  christos 		case 1:
   9107       1.1  christos 			p = "netbsd32_size_t";
   9108       1.1  christos 			break;
   9109       1.1  christos 		case 2:
   9110       1.1  christos 			p = "netbsd32_statp_t";
   9111       1.1  christos 			break;
   9112       1.1  christos 		default:
   9113       1.1  christos 			break;
   9114       1.1  christos 		};
   9115       1.1  christos 		break;
   9116       1.1  christos 	/* netbsd32_pipe2 */
   9117       1.1  christos 	case 453:
   9118       1.1  christos 		switch(ndx) {
   9119       1.1  christos 		case 0:
   9120       1.1  christos 			p = "netbsd32_intp";
   9121       1.1  christos 			break;
   9122       1.1  christos 		case 1:
   9123       1.1  christos 			p = "int";
   9124       1.1  christos 			break;
   9125       1.1  christos 		default:
   9126       1.1  christos 			break;
   9127       1.1  christos 		};
   9128       1.1  christos 		break;
   9129       1.1  christos 	/* netbsd32_dup3 */
   9130       1.1  christos 	case 454:
   9131       1.1  christos 		switch(ndx) {
   9132       1.1  christos 		case 0:
   9133       1.1  christos 			p = "int";
   9134       1.1  christos 			break;
   9135       1.1  christos 		case 1:
   9136       1.1  christos 			p = "int";
   9137       1.1  christos 			break;
   9138       1.1  christos 		case 2:
   9139       1.1  christos 			p = "int";
   9140       1.1  christos 			break;
   9141       1.1  christos 		default:
   9142       1.1  christos 			break;
   9143       1.1  christos 		};
   9144       1.1  christos 		break;
   9145       1.1  christos 	/* netbsd32_kqueue1 */
   9146       1.1  christos 	case 455:
   9147       1.1  christos 		switch(ndx) {
   9148       1.1  christos 		case 0:
   9149       1.1  christos 			p = "int";
   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 	/* netbsd32_paccept */
   9156       1.1  christos 	case 456:
   9157       1.1  christos 		switch(ndx) {
   9158       1.1  christos 		case 0:
   9159       1.1  christos 			p = "int";
   9160       1.1  christos 			break;
   9161       1.1  christos 		case 1:
   9162       1.1  christos 			p = "netbsd32_sockaddrp_t";
   9163       1.1  christos 			break;
   9164       1.1  christos 		case 2:
   9165       1.1  christos 			p = "netbsd32_socklenp_t";
   9166       1.1  christos 			break;
   9167       1.1  christos 		case 3:
   9168       1.1  christos 			p = "const netbsd32_sigsetp_t";
   9169       1.1  christos 			break;
   9170       1.1  christos 		case 4:
   9171       1.1  christos 			p = "int";
   9172       1.1  christos 			break;
   9173       1.1  christos 		default:
   9174       1.1  christos 			break;
   9175       1.1  christos 		};
   9176       1.1  christos 		break;
   9177       1.1  christos 	/* netbsd32_linkat */
   9178       1.1  christos 	case 457:
   9179       1.1  christos 		switch(ndx) {
   9180       1.1  christos 		case 0:
   9181       1.1  christos 			p = "int";
   9182       1.1  christos 			break;
   9183       1.1  christos 		case 1:
   9184       1.1  christos 			p = "const netbsd32_charp";
   9185       1.1  christos 			break;
   9186       1.1  christos 		case 2:
   9187       1.1  christos 			p = "int";
   9188       1.1  christos 			break;
   9189       1.1  christos 		case 3:
   9190       1.1  christos 			p = "const netbsd32_charp";
   9191       1.1  christos 			break;
   9192       1.1  christos 		case 4:
   9193       1.1  christos 			p = "int";
   9194       1.1  christos 			break;
   9195       1.1  christos 		default:
   9196       1.1  christos 			break;
   9197       1.1  christos 		};
   9198       1.1  christos 		break;
   9199       1.1  christos 	/* netbsd32_renameat */
   9200       1.1  christos 	case 458:
   9201       1.1  christos 		switch(ndx) {
   9202       1.1  christos 		case 0:
   9203       1.1  christos 			p = "int";
   9204       1.1  christos 			break;
   9205       1.1  christos 		case 1:
   9206       1.1  christos 			p = "const netbsd32_charp";
   9207       1.1  christos 			break;
   9208       1.1  christos 		case 2:
   9209       1.1  christos 			p = "int";
   9210       1.1  christos 			break;
   9211       1.1  christos 		case 3:
   9212       1.1  christos 			p = "const netbsd32_charp";
   9213       1.1  christos 			break;
   9214       1.1  christos 		default:
   9215       1.1  christos 			break;
   9216       1.1  christos 		};
   9217       1.1  christos 		break;
   9218       1.1  christos 	/* netbsd32_mkfifoat */
   9219       1.1  christos 	case 459:
   9220       1.1  christos 		switch(ndx) {
   9221       1.1  christos 		case 0:
   9222       1.1  christos 			p = "int";
   9223       1.1  christos 			break;
   9224       1.1  christos 		case 1:
   9225       1.1  christos 			p = "const netbsd32_charp";
   9226       1.1  christos 			break;
   9227       1.1  christos 		case 2:
   9228       1.1  christos 			p = "mode_t";
   9229       1.1  christos 			break;
   9230       1.1  christos 		default:
   9231       1.1  christos 			break;
   9232       1.1  christos 		};
   9233       1.1  christos 		break;
   9234       1.1  christos 	/* netbsd32_mknodat */
   9235       1.1  christos 	case 460:
   9236       1.1  christos 		switch(ndx) {
   9237       1.1  christos 		case 0:
   9238       1.1  christos 			p = "int";
   9239       1.1  christos 			break;
   9240       1.1  christos 		case 1:
   9241       1.1  christos 			p = "const netbsd32_charp";
   9242       1.1  christos 			break;
   9243       1.1  christos 		case 2:
   9244       1.1  christos 			p = "mode_t";
   9245       1.1  christos 			break;
   9246       1.1  christos 		case 3:
   9247       1.1  christos 			p = "int";
   9248       1.1  christos 			break;
   9249       1.1  christos 		case 4:
   9250       1.1  christos 			p = "netbsd32_dev_t";
   9251       1.1  christos 			break;
   9252       1.1  christos 		default:
   9253       1.1  christos 			break;
   9254       1.1  christos 		};
   9255       1.1  christos 		break;
   9256       1.1  christos 	/* netbsd32_mkdirat */
   9257       1.1  christos 	case 461:
   9258       1.1  christos 		switch(ndx) {
   9259       1.1  christos 		case 0:
   9260       1.1  christos 			p = "int";
   9261       1.1  christos 			break;
   9262       1.1  christos 		case 1:
   9263       1.1  christos 			p = "const netbsd32_charp";
   9264       1.1  christos 			break;
   9265       1.1  christos 		case 2:
   9266       1.1  christos 			p = "mode_t";
   9267       1.1  christos 			break;
   9268       1.1  christos 		default:
   9269       1.1  christos 			break;
   9270       1.1  christos 		};
   9271       1.1  christos 		break;
   9272       1.1  christos 	/* netbsd32_faccessat */
   9273       1.1  christos 	case 462:
   9274       1.1  christos 		switch(ndx) {
   9275       1.1  christos 		case 0:
   9276       1.1  christos 			p = "int";
   9277       1.1  christos 			break;
   9278       1.1  christos 		case 1:
   9279       1.1  christos 			p = "const netbsd32_charp";
   9280       1.1  christos 			break;
   9281       1.1  christos 		case 2:
   9282       1.1  christos 			p = "int";
   9283       1.1  christos 			break;
   9284       1.1  christos 		case 3:
   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_fchmodat */
   9292       1.1  christos 	case 463:
   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 = "mode_t";
   9302       1.1  christos 			break;
   9303       1.1  christos 		case 3:
   9304       1.1  christos 			p = "int";
   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_fchownat */
   9311       1.1  christos 	case 464:
   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 = "uid_t";
   9321       1.1  christos 			break;
   9322       1.1  christos 		case 3:
   9323       1.1  christos 			p = "gid_t";
   9324       1.1  christos 			break;
   9325       1.1  christos 		case 4:
   9326       1.1  christos 			p = "int";
   9327       1.1  christos 			break;
   9328       1.1  christos 		default:
   9329       1.1  christos 			break;
   9330       1.1  christos 		};
   9331       1.1  christos 		break;
   9332       1.1  christos 	/* netbsd32_fexecve */
   9333       1.1  christos 	case 465:
   9334       1.1  christos 		switch(ndx) {
   9335       1.1  christos 		case 0:
   9336       1.1  christos 			p = "int";
   9337       1.1  christos 			break;
   9338       1.1  christos 		case 1:
   9339       1.1  christos 			p = "netbsd32_charpp";
   9340       1.1  christos 			break;
   9341       1.1  christos 		case 2:
   9342       1.1  christos 			p = "netbsd32_charpp";
   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_fstatat */
   9349       1.1  christos 	case 466:
   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 = "netbsd32_statp_t";
   9359       1.1  christos 			break;
   9360       1.1  christos 		case 3:
   9361       1.1  christos 			p = "int";
   9362       1.1  christos 			break;
   9363       1.1  christos 		default:
   9364       1.1  christos 			break;
   9365       1.1  christos 		};
   9366       1.1  christos 		break;
   9367       1.1  christos 	/* netbsd32_utimensat */
   9368       1.1  christos 	case 467:
   9369       1.1  christos 		switch(ndx) {
   9370       1.1  christos 		case 0:
   9371       1.1  christos 			p = "int";
   9372       1.1  christos 			break;
   9373       1.1  christos 		case 1:
   9374       1.1  christos 			p = "const netbsd32_charp";
   9375       1.1  christos 			break;
   9376       1.1  christos 		case 2:
   9377       1.1  christos 			p = "const netbsd32_timespecp_t";
   9378       1.1  christos 			break;
   9379       1.1  christos 		case 3:
   9380       1.1  christos 			p = "int";
   9381       1.1  christos 			break;
   9382       1.1  christos 		default:
   9383       1.1  christos 			break;
   9384       1.1  christos 		};
   9385       1.1  christos 		break;
   9386       1.1  christos 	/* netbsd32_openat */
   9387       1.1  christos 	case 468:
   9388       1.1  christos 		switch(ndx) {
   9389       1.1  christos 		case 0:
   9390       1.1  christos 			p = "int";
   9391       1.1  christos 			break;
   9392       1.1  christos 		case 1:
   9393       1.1  christos 			p = "const netbsd32_charp";
   9394       1.1  christos 			break;
   9395       1.1  christos 		case 2:
   9396       1.1  christos 			p = "int";
   9397       1.1  christos 			break;
   9398       1.1  christos 		case 3:
   9399       1.1  christos 			p = "mode_t";
   9400       1.1  christos 			break;
   9401       1.1  christos 		default:
   9402       1.1  christos 			break;
   9403       1.1  christos 		};
   9404       1.1  christos 		break;
   9405       1.1  christos 	/* netbsd32_readlinkat */
   9406       1.1  christos 	case 469:
   9407       1.1  christos 		switch(ndx) {
   9408       1.1  christos 		case 0:
   9409       1.1  christos 			p = "int";
   9410       1.1  christos 			break;
   9411       1.1  christos 		case 1:
   9412       1.1  christos 			p = "const netbsd32_charp";
   9413       1.1  christos 			break;
   9414       1.1  christos 		case 2:
   9415       1.1  christos 			p = "netbsd32_charp";
   9416       1.1  christos 			break;
   9417       1.1  christos 		case 3:
   9418      1.35       rin 			p = "netbsd32_size_t";
   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_symlinkat */
   9425       1.1  christos 	case 470:
   9426       1.1  christos 		switch(ndx) {
   9427       1.1  christos 		case 0:
   9428       1.1  christos 			p = "const netbsd32_charp";
   9429       1.1  christos 			break;
   9430       1.1  christos 		case 1:
   9431       1.1  christos 			p = "int";
   9432       1.1  christos 			break;
   9433       1.1  christos 		case 2:
   9434       1.1  christos 			p = "const netbsd32_charp";
   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_unlinkat */
   9441       1.1  christos 	case 471:
   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 = "int";
   9451       1.1  christos 			break;
   9452       1.1  christos 		default:
   9453       1.1  christos 			break;
   9454       1.1  christos 		};
   9455       1.1  christos 		break;
   9456       1.1  christos 	/* netbsd32_futimens */
   9457       1.1  christos 	case 472:
   9458       1.1  christos 		switch(ndx) {
   9459       1.1  christos 		case 0:
   9460       1.1  christos 			p = "int";
   9461       1.1  christos 			break;
   9462       1.1  christos 		case 1:
   9463       1.1  christos 			p = "const netbsd32_timespecp_t";
   9464       1.1  christos 			break;
   9465       1.1  christos 		default:
   9466       1.1  christos 			break;
   9467       1.1  christos 		};
   9468       1.1  christos 		break;
   9469       1.1  christos 	/* netbsd32___quotactl */
   9470       1.1  christos 	case 473:
   9471       1.1  christos 		switch(ndx) {
   9472       1.1  christos 		case 0:
   9473       1.1  christos 			p = "const netbsd32_charp";
   9474       1.1  christos 			break;
   9475       1.1  christos 		case 1:
   9476       1.1  christos 			p = "netbsd32_voidp";
   9477       1.1  christos 			break;
   9478       1.1  christos 		default:
   9479       1.1  christos 			break;
   9480       1.1  christos 		};
   9481       1.1  christos 		break;
   9482       1.1  christos 	/* netbsd32_posix_spawn */
   9483       1.1  christos 	case 474:
   9484       1.1  christos 		switch(ndx) {
   9485       1.1  christos 		case 0:
   9486       1.1  christos 			p = "netbsd32_pid_tp";
   9487       1.1  christos 			break;
   9488       1.1  christos 		case 1:
   9489       1.1  christos 			p = "const netbsd32_charp";
   9490       1.1  christos 			break;
   9491       1.1  christos 		case 2:
   9492       1.1  christos 			p = "const netbsd32_posix_spawn_file_actionsp";
   9493       1.1  christos 			break;
   9494       1.1  christos 		case 3:
   9495       1.1  christos 			p = "const netbsd32_posix_spawnattrp";
   9496       1.1  christos 			break;
   9497       1.1  christos 		case 4:
   9498       1.1  christos 			p = "netbsd32_charpp";
   9499       1.1  christos 			break;
   9500       1.1  christos 		case 5:
   9501       1.1  christos 			p = "netbsd32_charpp";
   9502       1.1  christos 			break;
   9503       1.1  christos 		default:
   9504       1.1  christos 			break;
   9505       1.1  christos 		};
   9506       1.1  christos 		break;
   9507      1.25  christos 	/* netbsd32_recvmmsg */
   9508      1.25  christos 	case 475:
   9509      1.25  christos 		switch(ndx) {
   9510      1.25  christos 		case 0:
   9511      1.25  christos 			p = "int";
   9512      1.25  christos 			break;
   9513      1.25  christos 		case 1:
   9514      1.25  christos 			p = "netbsd32_mmsghdrp_t";
   9515      1.25  christos 			break;
   9516      1.25  christos 		case 2:
   9517      1.25  christos 			p = "unsigned int";
   9518      1.25  christos 			break;
   9519      1.25  christos 		case 3:
   9520      1.25  christos 			p = "unsigned int";
   9521      1.25  christos 			break;
   9522      1.25  christos 		case 4:
   9523      1.25  christos 			p = "netbsd32_timespecp_t";
   9524      1.25  christos 			break;
   9525      1.25  christos 		default:
   9526      1.25  christos 			break;
   9527      1.25  christos 		};
   9528      1.25  christos 		break;
   9529      1.25  christos 	/* netbsd32_sendmmsg */
   9530      1.25  christos 	case 476:
   9531      1.25  christos 		switch(ndx) {
   9532      1.25  christos 		case 0:
   9533      1.25  christos 			p = "int";
   9534      1.25  christos 			break;
   9535      1.25  christos 		case 1:
   9536      1.25  christos 			p = "netbsd32_mmsghdrp_t";
   9537      1.25  christos 			break;
   9538      1.25  christos 		case 2:
   9539      1.25  christos 			p = "unsigned int";
   9540      1.25  christos 			break;
   9541      1.25  christos 		case 3:
   9542      1.25  christos 			p = "unsigned int";
   9543      1.25  christos 			break;
   9544      1.25  christos 		default:
   9545      1.25  christos 			break;
   9546      1.25  christos 		};
   9547      1.25  christos 		break;
   9548       1.1  christos 	/* netbsd32_clock_nanosleep */
   9549       1.1  christos 	case 477:
   9550       1.1  christos 		switch(ndx) {
   9551       1.1  christos 		case 0:
   9552       1.1  christos 			p = "netbsd32_clockid_t";
   9553       1.1  christos 			break;
   9554       1.1  christos 		case 1:
   9555       1.1  christos 			p = "int";
   9556       1.1  christos 			break;
   9557       1.1  christos 		case 2:
   9558       1.1  christos 			p = "const netbsd32_timespecp_t";
   9559       1.1  christos 			break;
   9560       1.1  christos 		case 3:
   9561       1.1  christos 			p = "netbsd32_timespecp_t";
   9562       1.1  christos 			break;
   9563       1.1  christos 		default:
   9564       1.1  christos 			break;
   9565       1.1  christos 		};
   9566       1.1  christos 		break;
   9567       1.1  christos 	/* netbsd32____lwp_park60 */
   9568       1.1  christos 	case 478:
   9569       1.1  christos 		switch(ndx) {
   9570       1.1  christos 		case 0:
   9571       1.1  christos 			p = "netbsd32_clockid_t";
   9572       1.1  christos 			break;
   9573       1.1  christos 		case 1:
   9574       1.1  christos 			p = "int";
   9575       1.1  christos 			break;
   9576       1.1  christos 		case 2:
   9577      1.20     kamil 			p = "netbsd32_timespecp_t";
   9578       1.1  christos 			break;
   9579       1.1  christos 		case 3:
   9580       1.1  christos 			p = "lwpid_t";
   9581       1.1  christos 			break;
   9582       1.1  christos 		case 4:
   9583       1.1  christos 			p = "netbsd32_voidp";
   9584       1.1  christos 			break;
   9585       1.1  christos 		case 5:
   9586       1.1  christos 			p = "netbsd32_voidp";
   9587       1.1  christos 			break;
   9588       1.1  christos 		default:
   9589       1.1  christos 			break;
   9590       1.1  christos 		};
   9591       1.1  christos 		break;
   9592       1.2    martin 	/* netbsd32_posix_fallocate */
   9593       1.2    martin 	case 479:
   9594       1.2    martin 		switch(ndx) {
   9595       1.2    martin 		case 0:
   9596       1.2    martin 			p = "int";
   9597       1.2    martin 			break;
   9598       1.2    martin 		case 1:
   9599       1.2    martin 			p = "int";
   9600       1.2    martin 			break;
   9601       1.2    martin 		case 2:
   9602       1.2    martin 			p = "netbsd32_off_t";
   9603       1.2    martin 			break;
   9604       1.2    martin 		case 3:
   9605       1.2    martin 			p = "netbsd32_off_t";
   9606       1.2    martin 			break;
   9607       1.2    martin 		default:
   9608       1.2    martin 			break;
   9609       1.2    martin 		};
   9610       1.2    martin 		break;
   9611       1.2    martin 	/* netbsd32_fdiscard */
   9612       1.2    martin 	case 480:
   9613       1.2    martin 		switch(ndx) {
   9614       1.2    martin 		case 0:
   9615       1.2    martin 			p = "int";
   9616       1.2    martin 			break;
   9617       1.2    martin 		case 1:
   9618       1.2    martin 			p = "int";
   9619       1.2    martin 			break;
   9620       1.2    martin 		case 2:
   9621       1.2    martin 			p = "netbsd32_off_t";
   9622       1.2    martin 			break;
   9623       1.2    martin 		case 3:
   9624       1.2    martin 			p = "netbsd32_off_t";
   9625       1.2    martin 			break;
   9626       1.2    martin 		default:
   9627       1.2    martin 			break;
   9628       1.2    martin 		};
   9629       1.2    martin 		break;
   9630      1.14     skrll 	/* netbsd32_wait6 */
   9631      1.14     skrll 	case 481:
   9632      1.14     skrll 		switch(ndx) {
   9633      1.14     skrll 		case 0:
   9634      1.14     skrll 			p = "idtype_t";
   9635      1.14     skrll 			break;
   9636      1.14     skrll 		case 1:
   9637      1.14     skrll 			p = "id_t";
   9638      1.14     skrll 			break;
   9639      1.14     skrll 		case 2:
   9640      1.14     skrll 			p = "netbsd32_intp";
   9641      1.14     skrll 			break;
   9642      1.14     skrll 		case 3:
   9643      1.14     skrll 			p = "int";
   9644      1.14     skrll 			break;
   9645      1.14     skrll 		case 4:
   9646      1.14     skrll 			p = "netbsd32_wrusagep_t";
   9647      1.14     skrll 			break;
   9648      1.14     skrll 		case 5:
   9649      1.14     skrll 			p = "netbsd32_siginfop_t";
   9650      1.14     skrll 			break;
   9651      1.14     skrll 		default:
   9652      1.14     skrll 			break;
   9653      1.14     skrll 		};
   9654      1.14     skrll 		break;
   9655      1.14     skrll 	/* netbsd32_clock_getcpuclockid2 */
   9656      1.14     skrll 	case 482:
   9657      1.14     skrll 		switch(ndx) {
   9658      1.14     skrll 		case 0:
   9659      1.14     skrll 			p = "idtype_t";
   9660      1.14     skrll 			break;
   9661      1.14     skrll 		case 1:
   9662      1.14     skrll 			p = "id_t";
   9663      1.14     skrll 			break;
   9664      1.14     skrll 		case 2:
   9665      1.14     skrll 			p = "netbsd32_clockidp_t";
   9666      1.14     skrll 			break;
   9667      1.14     skrll 		default:
   9668      1.14     skrll 			break;
   9669      1.14     skrll 		};
   9670      1.14     skrll 		break;
   9671      1.33  christos 	/* netbsd32___getvfsstat90 */
   9672      1.33  christos 	case 483:
   9673      1.33  christos 		switch(ndx) {
   9674      1.33  christos 		case 0:
   9675      1.33  christos 			p = "netbsd32_statvfsp_t";
   9676      1.33  christos 			break;
   9677      1.33  christos 		case 1:
   9678      1.36       rin 			p = "netbsd32_size_t";
   9679      1.33  christos 			break;
   9680      1.33  christos 		case 2:
   9681      1.33  christos 			p = "int";
   9682      1.33  christos 			break;
   9683      1.33  christos 		default:
   9684      1.33  christos 			break;
   9685      1.33  christos 		};
   9686      1.33  christos 		break;
   9687      1.33  christos 	/* netbsd32___statvfs190 */
   9688      1.33  christos 	case 484:
   9689      1.33  christos 		switch(ndx) {
   9690      1.33  christos 		case 0:
   9691      1.33  christos 			p = "netbsd32_charp";
   9692      1.33  christos 			break;
   9693      1.33  christos 		case 1:
   9694      1.33  christos 			p = "netbsd32_statvfsp_t";
   9695      1.33  christos 			break;
   9696      1.33  christos 		case 2:
   9697      1.33  christos 			p = "int";
   9698      1.33  christos 			break;
   9699      1.33  christos 		default:
   9700      1.33  christos 			break;
   9701      1.33  christos 		};
   9702      1.33  christos 		break;
   9703      1.33  christos 	/* netbsd32___fstatvfs190 */
   9704      1.33  christos 	case 485:
   9705      1.33  christos 		switch(ndx) {
   9706      1.33  christos 		case 0:
   9707      1.33  christos 			p = "int";
   9708      1.33  christos 			break;
   9709      1.33  christos 		case 1:
   9710      1.33  christos 			p = "netbsd32_statvfsp_t";
   9711      1.33  christos 			break;
   9712      1.33  christos 		case 2:
   9713      1.33  christos 			p = "int";
   9714      1.33  christos 			break;
   9715      1.33  christos 		default:
   9716      1.33  christos 			break;
   9717      1.33  christos 		};
   9718      1.33  christos 		break;
   9719      1.33  christos 	/* netbsd32___fhstatvfs190 */
   9720      1.33  christos 	case 486:
   9721      1.33  christos 		switch(ndx) {
   9722      1.33  christos 		case 0:
   9723      1.33  christos 			p = "netbsd32_voidp";
   9724      1.33  christos 			break;
   9725      1.33  christos 		case 1:
   9726      1.36       rin 			p = "netbsd32_size_t";
   9727      1.33  christos 			break;
   9728      1.33  christos 		case 2:
   9729      1.33  christos 			p = "netbsd32_statvfsp_t";
   9730      1.33  christos 			break;
   9731      1.33  christos 		case 3:
   9732      1.33  christos 			p = "int";
   9733      1.33  christos 			break;
   9734      1.33  christos 		default:
   9735      1.33  christos 			break;
   9736      1.33  christos 		};
   9737      1.33  christos 		break;
   9738      1.44  christos 	/* netbsd32___acl_get_link */
   9739      1.44  christos 	case 487:
   9740      1.44  christos 		switch(ndx) {
   9741      1.44  christos 		case 0:
   9742      1.44  christos 			p = "const netbsd32_charp";
   9743      1.44  christos 			break;
   9744      1.44  christos 		case 1:
   9745      1.44  christos 			p = "acl_type_t";
   9746      1.44  christos 			break;
   9747      1.44  christos 		case 2:
   9748      1.44  christos 			p = "netbsd32_aclp_t";
   9749      1.44  christos 			break;
   9750      1.44  christos 		default:
   9751      1.44  christos 			break;
   9752      1.44  christos 		};
   9753      1.44  christos 		break;
   9754      1.44  christos 	/* netbsd32___acl_set_link */
   9755      1.44  christos 	case 488:
   9756      1.44  christos 		switch(ndx) {
   9757      1.44  christos 		case 0:
   9758      1.44  christos 			p = "const netbsd32_charp";
   9759      1.44  christos 			break;
   9760      1.44  christos 		case 1:
   9761      1.44  christos 			p = "acl_type_t";
   9762      1.44  christos 			break;
   9763      1.44  christos 		case 2:
   9764      1.44  christos 			p = "netbsd32_aclp_t";
   9765      1.44  christos 			break;
   9766      1.44  christos 		default:
   9767      1.44  christos 			break;
   9768      1.44  christos 		};
   9769      1.44  christos 		break;
   9770      1.44  christos 	/* netbsd32___acl_delete_link */
   9771      1.44  christos 	case 489:
   9772      1.44  christos 		switch(ndx) {
   9773      1.44  christos 		case 0:
   9774      1.44  christos 			p = "const netbsd32_charp";
   9775      1.44  christos 			break;
   9776      1.44  christos 		case 1:
   9777      1.44  christos 			p = "acl_type_t";
   9778      1.44  christos 			break;
   9779      1.44  christos 		default:
   9780      1.44  christos 			break;
   9781      1.44  christos 		};
   9782      1.44  christos 		break;
   9783      1.44  christos 	/* netbsd32___acl_aclcheck_link */
   9784      1.44  christos 	case 490:
   9785      1.44  christos 		switch(ndx) {
   9786      1.44  christos 		case 0:
   9787      1.44  christos 			p = "const netbsd32_charp";
   9788      1.44  christos 			break;
   9789      1.44  christos 		case 1:
   9790      1.44  christos 			p = "acl_type_t";
   9791      1.44  christos 			break;
   9792      1.44  christos 		case 2:
   9793      1.44  christos 			p = "netbsd32_aclp_t";
   9794      1.44  christos 			break;
   9795      1.44  christos 		default:
   9796      1.44  christos 			break;
   9797      1.44  christos 		};
   9798      1.44  christos 		break;
   9799      1.44  christos 	/* netbsd32___acl_get_file */
   9800      1.44  christos 	case 491:
   9801      1.44  christos 		switch(ndx) {
   9802      1.44  christos 		case 0:
   9803      1.44  christos 			p = "const netbsd32_charp";
   9804      1.44  christos 			break;
   9805      1.44  christos 		case 1:
   9806      1.44  christos 			p = "acl_type_t";
   9807      1.44  christos 			break;
   9808      1.44  christos 		case 2:
   9809      1.44  christos 			p = "netbsd32_aclp_t";
   9810      1.44  christos 			break;
   9811      1.44  christos 		default:
   9812      1.44  christos 			break;
   9813      1.44  christos 		};
   9814      1.44  christos 		break;
   9815      1.44  christos 	/* netbsd32___acl_set_file */
   9816      1.44  christos 	case 492:
   9817      1.44  christos 		switch(ndx) {
   9818      1.44  christos 		case 0:
   9819      1.44  christos 			p = "const netbsd32_charp";
   9820      1.44  christos 			break;
   9821      1.44  christos 		case 1:
   9822      1.44  christos 			p = "acl_type_t";
   9823      1.44  christos 			break;
   9824      1.44  christos 		case 2:
   9825      1.44  christos 			p = "netbsd32_aclp_t";
   9826      1.44  christos 			break;
   9827      1.44  christos 		default:
   9828      1.44  christos 			break;
   9829      1.44  christos 		};
   9830      1.44  christos 		break;
   9831      1.44  christos 	/* netbsd32___acl_get_fd */
   9832      1.44  christos 	case 493:
   9833      1.44  christos 		switch(ndx) {
   9834      1.44  christos 		case 0:
   9835      1.44  christos 			p = "int";
   9836      1.44  christos 			break;
   9837      1.44  christos 		case 1:
   9838      1.44  christos 			p = "acl_type_t";
   9839      1.44  christos 			break;
   9840      1.44  christos 		case 2:
   9841      1.44  christos 			p = "netbsd32_aclp_t";
   9842      1.44  christos 			break;
   9843      1.44  christos 		default:
   9844      1.44  christos 			break;
   9845      1.44  christos 		};
   9846      1.44  christos 		break;
   9847      1.44  christos 	/* netbsd32___acl_set_fd */
   9848      1.44  christos 	case 494:
   9849      1.44  christos 		switch(ndx) {
   9850      1.44  christos 		case 0:
   9851      1.44  christos 			p = "int";
   9852      1.44  christos 			break;
   9853      1.44  christos 		case 1:
   9854      1.44  christos 			p = "acl_type_t";
   9855      1.44  christos 			break;
   9856      1.44  christos 		case 2:
   9857      1.44  christos 			p = "netbsd32_aclp_t";
   9858      1.44  christos 			break;
   9859      1.44  christos 		default:
   9860      1.44  christos 			break;
   9861      1.44  christos 		};
   9862      1.44  christos 		break;
   9863      1.44  christos 	/* netbsd32___acl_delete_file */
   9864      1.44  christos 	case 495:
   9865      1.44  christos 		switch(ndx) {
   9866      1.44  christos 		case 0:
   9867      1.44  christos 			p = "const netbsd32_charp";
   9868      1.44  christos 			break;
   9869      1.44  christos 		case 1:
   9870      1.44  christos 			p = "acl_type_t";
   9871      1.44  christos 			break;
   9872      1.44  christos 		default:
   9873      1.44  christos 			break;
   9874      1.44  christos 		};
   9875      1.44  christos 		break;
   9876      1.44  christos 	/* netbsd32___acl_delete_fd */
   9877      1.44  christos 	case 496:
   9878      1.44  christos 		switch(ndx) {
   9879      1.44  christos 		case 0:
   9880      1.44  christos 			p = "int";
   9881      1.44  christos 			break;
   9882      1.44  christos 		case 1:
   9883      1.44  christos 			p = "acl_type_t";
   9884      1.44  christos 			break;
   9885      1.44  christos 		default:
   9886      1.44  christos 			break;
   9887      1.44  christos 		};
   9888      1.44  christos 		break;
   9889      1.44  christos 	/* netbsd32___acl_aclcheck_file */
   9890      1.44  christos 	case 497:
   9891      1.44  christos 		switch(ndx) {
   9892      1.44  christos 		case 0:
   9893      1.44  christos 			p = "const netbsd32_charp";
   9894      1.44  christos 			break;
   9895      1.44  christos 		case 1:
   9896      1.44  christos 			p = "acl_type_t";
   9897      1.44  christos 			break;
   9898      1.44  christos 		case 2:
   9899      1.44  christos 			p = "netbsd32_aclp_t";
   9900      1.44  christos 			break;
   9901      1.44  christos 		default:
   9902      1.44  christos 			break;
   9903      1.44  christos 		};
   9904      1.44  christos 		break;
   9905      1.44  christos 	/* netbsd32___acl_aclcheck_fd */
   9906      1.44  christos 	case 498:
   9907      1.44  christos 		switch(ndx) {
   9908      1.44  christos 		case 0:
   9909      1.44  christos 			p = "int";
   9910      1.44  christos 			break;
   9911      1.44  christos 		case 1:
   9912      1.44  christos 			p = "acl_type_t";
   9913      1.44  christos 			break;
   9914      1.44  christos 		case 2:
   9915      1.44  christos 			p = "netbsd32_aclp_t";
   9916      1.44  christos 			break;
   9917      1.44  christos 		default:
   9918      1.44  christos 			break;
   9919      1.44  christos 		};
   9920      1.44  christos 		break;
   9921      1.44  christos 	/* netbsd32_lpathconf */
   9922      1.44  christos 	case 499:
   9923      1.44  christos 		switch(ndx) {
   9924      1.44  christos 		case 0:
   9925      1.44  christos 			p = "const netbsd32_charp";
   9926      1.44  christos 			break;
   9927      1.44  christos 		case 1:
   9928      1.44  christos 			p = "int";
   9929      1.44  christos 			break;
   9930      1.44  christos 		default:
   9931      1.44  christos 			break;
   9932      1.44  christos 		};
   9933      1.44  christos 		break;
   9934       1.1  christos 	default:
   9935       1.1  christos 		break;
   9936       1.1  christos 	};
   9937       1.1  christos 	if (p != NULL)
   9938       1.1  christos 		strlcpy(desc, p, descsz);
   9939       1.1  christos }
   9940       1.1  christos static void
   9941       1.1  christos systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
   9942       1.1  christos {
   9943       1.1  christos 	const char *p = NULL;
   9944       1.1  christos 	switch (sysnum) {
   9945       1.1  christos 	/* netbsd32_syscall */
   9946       1.1  christos 	case 0:
   9947       1.1  christos 		if (ndx == 0 || ndx == 1)
   9948       1.1  christos 			p = "int";
   9949       1.1  christos 		break;
   9950       1.1  christos 	/* netbsd32_exit */
   9951       1.1  christos 	case 1:
   9952       1.1  christos 		if (ndx == 0 || ndx == 1)
   9953       1.1  christos 			p = "void";
   9954       1.1  christos 		break;
   9955       1.1  christos 	/* sys_fork */
   9956       1.1  christos 	case 2:
   9957       1.1  christos 	/* netbsd32_read */
   9958       1.1  christos 	case 3:
   9959       1.1  christos 		if (ndx == 0 || ndx == 1)
   9960       1.1  christos 			p = "netbsd32_ssize_t";
   9961       1.1  christos 		break;
   9962       1.1  christos 	/* netbsd32_write */
   9963       1.1  christos 	case 4:
   9964       1.1  christos 		if (ndx == 0 || ndx == 1)
   9965       1.1  christos 			p = "netbsd32_ssize_t";
   9966       1.1  christos 		break;
   9967       1.1  christos 	/* netbsd32_open */
   9968       1.1  christos 	case 5:
   9969       1.1  christos 		if (ndx == 0 || ndx == 1)
   9970       1.1  christos 			p = "int";
   9971       1.1  christos 		break;
   9972       1.1  christos 	/* netbsd32_close */
   9973       1.1  christos 	case 6:
   9974       1.1  christos 		if (ndx == 0 || ndx == 1)
   9975       1.1  christos 			p = "int";
   9976       1.1  christos 		break;
   9977       1.1  christos 	/* netbsd32_wait4 */
   9978       1.1  christos 	case 7:
   9979       1.1  christos 		if (ndx == 0 || ndx == 1)
   9980       1.1  christos 			p = "int";
   9981       1.1  christos 		break;
   9982       1.1  christos 	/* netbsd32_ocreat */
   9983       1.1  christos 	case 8:
   9984       1.1  christos 		if (ndx == 0 || ndx == 1)
   9985       1.1  christos 			p = "int";
   9986       1.1  christos 		break;
   9987       1.1  christos 	/* netbsd32_link */
   9988       1.1  christos 	case 9:
   9989       1.1  christos 		if (ndx == 0 || ndx == 1)
   9990       1.1  christos 			p = "int";
   9991       1.1  christos 		break;
   9992       1.1  christos 	/* netbsd32_unlink */
   9993       1.1  christos 	case 10:
   9994       1.1  christos 		if (ndx == 0 || ndx == 1)
   9995       1.1  christos 			p = "int";
   9996       1.1  christos 		break;
   9997       1.1  christos 	/* netbsd32_chdir */
   9998       1.1  christos 	case 12:
   9999       1.1  christos 		if (ndx == 0 || ndx == 1)
   10000       1.1  christos 			p = "int";
   10001       1.1  christos 		break;
   10002       1.1  christos 	/* netbsd32_fchdir */
   10003       1.1  christos 	case 13:
   10004       1.1  christos 		if (ndx == 0 || ndx == 1)
   10005       1.1  christos 			p = "int";
   10006       1.1  christos 		break;
   10007       1.1  christos 	/* netbsd32_mknod */
   10008       1.1  christos 	case 14:
   10009       1.1  christos 		if (ndx == 0 || ndx == 1)
   10010       1.1  christos 			p = "int";
   10011       1.1  christos 		break;
   10012       1.1  christos 	/* netbsd32_chmod */
   10013       1.1  christos 	case 15:
   10014       1.1  christos 		if (ndx == 0 || ndx == 1)
   10015       1.1  christos 			p = "int";
   10016       1.1  christos 		break;
   10017       1.1  christos 	/* netbsd32_chown */
   10018       1.1  christos 	case 16:
   10019       1.1  christos 		if (ndx == 0 || ndx == 1)
   10020       1.1  christos 			p = "int";
   10021       1.1  christos 		break;
   10022       1.1  christos 	/* netbsd32_break */
   10023       1.1  christos 	case 17:
   10024       1.1  christos 		if (ndx == 0 || ndx == 1)
   10025       1.1  christos 			p = "int";
   10026       1.1  christos 		break;
   10027       1.1  christos 	/* netbsd32_getfsstat */
   10028       1.1  christos 	case 18:
   10029       1.1  christos 		if (ndx == 0 || ndx == 1)
   10030       1.1  christos 			p = "int";
   10031       1.1  christos 		break;
   10032       1.1  christos 	/* netbsd32_olseek */
   10033       1.1  christos 	case 19:
   10034       1.1  christos 		if (ndx == 0 || ndx == 1)
   10035       1.1  christos 			p = "netbsd32_long";
   10036       1.1  christos 		break;
   10037      1.37     kamil 	/* sys_getpid_with_ppid */
   10038       1.1  christos 	case 20:
   10039       1.1  christos 	/* netbsd32_mount */
   10040       1.1  christos 	case 21:
   10041       1.1  christos 		if (ndx == 0 || ndx == 1)
   10042       1.1  christos 			p = "int";
   10043       1.1  christos 		break;
   10044       1.1  christos 	/* netbsd32_unmount */
   10045       1.1  christos 	case 22:
   10046       1.1  christos 		if (ndx == 0 || ndx == 1)
   10047       1.1  christos 			p = "int";
   10048       1.1  christos 		break;
   10049       1.1  christos 	/* netbsd32_setuid */
   10050       1.1  christos 	case 23:
   10051       1.1  christos 		if (ndx == 0 || ndx == 1)
   10052       1.1  christos 			p = "int";
   10053       1.1  christos 		break;
   10054      1.37     kamil 	/* sys_getuid_with_euid */
   10055       1.1  christos 	case 24:
   10056       1.1  christos 	/* sys_geteuid */
   10057       1.1  christos 	case 25:
   10058       1.1  christos 	/* netbsd32_ptrace */
   10059       1.1  christos 	case 26:
   10060       1.1  christos 		if (ndx == 0 || ndx == 1)
   10061       1.1  christos 			p = "int";
   10062       1.1  christos 		break;
   10063       1.1  christos 	/* netbsd32_recvmsg */
   10064       1.1  christos 	case 27:
   10065       1.1  christos 		if (ndx == 0 || ndx == 1)
   10066       1.1  christos 			p = "netbsd32_ssize_t";
   10067       1.1  christos 		break;
   10068       1.1  christos 	/* netbsd32_sendmsg */
   10069       1.1  christos 	case 28:
   10070       1.1  christos 		if (ndx == 0 || ndx == 1)
   10071       1.1  christos 			p = "netbsd32_ssize_t";
   10072       1.1  christos 		break;
   10073       1.1  christos 	/* netbsd32_recvfrom */
   10074       1.1  christos 	case 29:
   10075       1.1  christos 		if (ndx == 0 || ndx == 1)
   10076       1.1  christos 			p = "netbsd32_ssize_t";
   10077       1.1  christos 		break;
   10078       1.1  christos 	/* netbsd32_accept */
   10079       1.1  christos 	case 30:
   10080       1.1  christos 		if (ndx == 0 || ndx == 1)
   10081       1.1  christos 			p = "int";
   10082       1.1  christos 		break;
   10083       1.1  christos 	/* netbsd32_getpeername */
   10084       1.1  christos 	case 31:
   10085       1.1  christos 		if (ndx == 0 || ndx == 1)
   10086       1.1  christos 			p = "int";
   10087       1.1  christos 		break;
   10088       1.1  christos 	/* netbsd32_getsockname */
   10089       1.1  christos 	case 32:
   10090       1.1  christos 		if (ndx == 0 || ndx == 1)
   10091       1.1  christos 			p = "int";
   10092       1.1  christos 		break;
   10093       1.1  christos 	/* netbsd32_access */
   10094       1.1  christos 	case 33:
   10095       1.1  christos 		if (ndx == 0 || ndx == 1)
   10096       1.1  christos 			p = "int";
   10097       1.1  christos 		break;
   10098       1.1  christos 	/* netbsd32_chflags */
   10099       1.1  christos 	case 34:
   10100       1.1  christos 		if (ndx == 0 || ndx == 1)
   10101       1.1  christos 			p = "int";
   10102       1.1  christos 		break;
   10103       1.1  christos 	/* netbsd32_fchflags */
   10104       1.1  christos 	case 35:
   10105       1.1  christos 		if (ndx == 0 || ndx == 1)
   10106       1.1  christos 			p = "int";
   10107       1.1  christos 		break;
   10108       1.1  christos 	/* sys_sync */
   10109       1.1  christos 	case 36:
   10110       1.1  christos 	/* netbsd32_kill */
   10111       1.1  christos 	case 37:
   10112       1.1  christos 		if (ndx == 0 || ndx == 1)
   10113       1.1  christos 			p = "int";
   10114       1.1  christos 		break;
   10115       1.1  christos 	/* netbsd32_stat43 */
   10116       1.1  christos 	case 38:
   10117       1.1  christos 		if (ndx == 0 || ndx == 1)
   10118       1.1  christos 			p = "int";
   10119       1.1  christos 		break;
   10120       1.1  christos 	/* sys_getppid */
   10121       1.1  christos 	case 39:
   10122       1.1  christos 	/* netbsd32_lstat43 */
   10123       1.1  christos 	case 40:
   10124       1.1  christos 		if (ndx == 0 || ndx == 1)
   10125       1.1  christos 			p = "int";
   10126       1.1  christos 		break;
   10127       1.1  christos 	/* netbsd32_dup */
   10128       1.1  christos 	case 41:
   10129       1.1  christos 		if (ndx == 0 || ndx == 1)
   10130       1.1  christos 			p = "int";
   10131       1.1  christos 		break;
   10132       1.1  christos 	/* sys_pipe */
   10133       1.1  christos 	case 42:
   10134       1.1  christos 	/* sys_getegid */
   10135       1.1  christos 	case 43:
   10136       1.1  christos 	/* netbsd32_profil */
   10137       1.1  christos 	case 44:
   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_ktrace */
   10142       1.1  christos 	case 45:
   10143       1.1  christos 		if (ndx == 0 || ndx == 1)
   10144       1.1  christos 			p = "int";
   10145       1.1  christos 		break;
   10146       1.1  christos 	/* netbsd32_sigaction */
   10147       1.1  christos 	case 46:
   10148       1.1  christos 		if (ndx == 0 || ndx == 1)
   10149       1.1  christos 			p = "int";
   10150       1.1  christos 		break;
   10151      1.37     kamil 	/* sys_getgid_with_egid */
   10152       1.1  christos 	case 47:
   10153       1.1  christos 	/* netbsd32_sigprocmask */
   10154       1.1  christos 	case 48:
   10155       1.1  christos 		if (ndx == 0 || ndx == 1)
   10156       1.1  christos 			p = "int";
   10157       1.1  christos 		break;
   10158       1.1  christos 	/* netbsd32___getlogin */
   10159       1.1  christos 	case 49:
   10160       1.1  christos 		if (ndx == 0 || ndx == 1)
   10161       1.1  christos 			p = "int";
   10162       1.1  christos 		break;
   10163       1.1  christos 	/* netbsd32_setlogin */
   10164       1.1  christos 	case 50:
   10165       1.1  christos 		if (ndx == 0 || ndx == 1)
   10166       1.1  christos 			p = "int";
   10167       1.1  christos 		break;
   10168       1.1  christos 	/* netbsd32_acct */
   10169       1.1  christos 	case 51:
   10170       1.1  christos 		if (ndx == 0 || ndx == 1)
   10171       1.1  christos 			p = "int";
   10172       1.1  christos 		break;
   10173       1.1  christos 	/* sys_sigpending */
   10174       1.1  christos 	case 52:
   10175       1.1  christos 	/* netbsd32_sigaltstack13 */
   10176       1.1  christos 	case 53:
   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_ioctl */
   10181       1.1  christos 	case 54:
   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_reboot */
   10186       1.1  christos 	case 55:
   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_revoke */
   10191       1.1  christos 	case 56:
   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_symlink */
   10196       1.1  christos 	case 57:
   10197       1.1  christos 		if (ndx == 0 || ndx == 1)
   10198       1.1  christos 			p = "int";
   10199       1.1  christos 		break;
   10200       1.1  christos 	/* netbsd32_readlink */
   10201       1.1  christos 	case 58:
   10202       1.1  christos 		if (ndx == 0 || ndx == 1)
   10203       1.1  christos 			p = "int";
   10204       1.1  christos 		break;
   10205       1.1  christos 	/* netbsd32_execve */
   10206       1.1  christos 	case 59:
   10207       1.1  christos 		if (ndx == 0 || ndx == 1)
   10208       1.1  christos 			p = "int";
   10209       1.1  christos 		break;
   10210       1.1  christos 	/* netbsd32_umask */
   10211       1.1  christos 	case 60:
   10212       1.1  christos 		if (ndx == 0 || ndx == 1)
   10213       1.1  christos 			p = "mode_t";
   10214       1.1  christos 		break;
   10215       1.1  christos 	/* netbsd32_chroot */
   10216       1.1  christos 	case 61:
   10217       1.1  christos 		if (ndx == 0 || ndx == 1)
   10218       1.1  christos 			p = "int";
   10219       1.1  christos 		break;
   10220       1.1  christos 	/* netbsd32_fstat43 */
   10221       1.1  christos 	case 62:
   10222       1.1  christos 		if (ndx == 0 || ndx == 1)
   10223       1.1  christos 			p = "int";
   10224       1.1  christos 		break;
   10225       1.1  christos 	/* netbsd32_ogetkerninfo */
   10226       1.1  christos 	case 63:
   10227       1.1  christos 		if (ndx == 0 || ndx == 1)
   10228       1.1  christos 			p = "int";
   10229       1.1  christos 		break;
   10230       1.1  christos 	/* sys_getpagesize */
   10231       1.1  christos 	case 64:
   10232       1.1  christos 	/* netbsd32_msync */
   10233       1.1  christos 	case 65:
   10234       1.1  christos 		if (ndx == 0 || ndx == 1)
   10235       1.1  christos 			p = "int";
   10236       1.1  christos 		break;
   10237       1.1  christos 	/* sys_vfork */
   10238       1.1  christos 	case 66:
   10239       1.1  christos 	/* netbsd32_ommap */
   10240       1.1  christos 	case 71:
   10241       1.1  christos 		if (ndx == 0 || ndx == 1)
   10242       1.1  christos 			p = "int";
   10243       1.1  christos 		break;
   10244      1.24     kamil 	/* netbsd32_ovadvise */
   10245      1.24     kamil 	case 72:
   10246      1.24     kamil 		if (ndx == 0 || ndx == 1)
   10247      1.24     kamil 			p = "int";
   10248      1.24     kamil 		break;
   10249       1.1  christos 	/* netbsd32_munmap */
   10250       1.1  christos 	case 73:
   10251       1.1  christos 		if (ndx == 0 || ndx == 1)
   10252       1.1  christos 			p = "int";
   10253       1.1  christos 		break;
   10254       1.1  christos 	/* netbsd32_mprotect */
   10255       1.1  christos 	case 74:
   10256       1.1  christos 		if (ndx == 0 || ndx == 1)
   10257       1.1  christos 			p = "int";
   10258       1.1  christos 		break;
   10259       1.1  christos 	/* netbsd32_madvise */
   10260       1.1  christos 	case 75:
   10261       1.1  christos 		if (ndx == 0 || ndx == 1)
   10262       1.1  christos 			p = "int";
   10263       1.1  christos 		break;
   10264       1.1  christos 	/* netbsd32_mincore */
   10265       1.1  christos 	case 78:
   10266       1.1  christos 		if (ndx == 0 || ndx == 1)
   10267       1.1  christos 			p = "int";
   10268       1.1  christos 		break;
   10269       1.1  christos 	/* netbsd32_getgroups */
   10270       1.1  christos 	case 79:
   10271       1.1  christos 		if (ndx == 0 || ndx == 1)
   10272       1.1  christos 			p = "int";
   10273       1.1  christos 		break;
   10274       1.1  christos 	/* netbsd32_setgroups */
   10275       1.1  christos 	case 80:
   10276       1.1  christos 		if (ndx == 0 || ndx == 1)
   10277       1.1  christos 			p = "int";
   10278       1.1  christos 		break;
   10279       1.1  christos 	/* sys_getpgrp */
   10280       1.1  christos 	case 81:
   10281       1.1  christos 	/* netbsd32_setpgid */
   10282       1.1  christos 	case 82:
   10283       1.1  christos 		if (ndx == 0 || ndx == 1)
   10284       1.1  christos 			p = "int";
   10285       1.1  christos 		break;
   10286       1.1  christos 	/* netbsd32_setitimer */
   10287       1.1  christos 	case 83:
   10288       1.1  christos 		if (ndx == 0 || ndx == 1)
   10289       1.1  christos 			p = "int";
   10290       1.1  christos 		break;
   10291       1.1  christos 	/* sys_wait */
   10292       1.1  christos 	case 84:
   10293       1.1  christos 	/* netbsd32_oswapon */
   10294       1.1  christos 	case 85:
   10295       1.1  christos 		if (ndx == 0 || ndx == 1)
   10296       1.1  christos 			p = "int";
   10297       1.1  christos 		break;
   10298       1.1  christos 	/* netbsd32_getitimer */
   10299       1.1  christos 	case 86:
   10300       1.1  christos 		if (ndx == 0 || ndx == 1)
   10301       1.1  christos 			p = "int";
   10302       1.1  christos 		break;
   10303       1.1  christos 	/* netbsd32_ogethostname */
   10304       1.1  christos 	case 87:
   10305       1.1  christos 		if (ndx == 0 || ndx == 1)
   10306       1.1  christos 			p = "int";
   10307       1.1  christos 		break;
   10308       1.1  christos 	/* netbsd32_osethostname */
   10309       1.1  christos 	case 88:
   10310       1.1  christos 		if (ndx == 0 || ndx == 1)
   10311       1.1  christos 			p = "int";
   10312       1.1  christos 		break;
   10313       1.1  christos 	/* sys_getdtablesize */
   10314       1.1  christos 	case 89:
   10315       1.1  christos 	/* netbsd32_dup2 */
   10316       1.1  christos 	case 90:
   10317       1.1  christos 		if (ndx == 0 || ndx == 1)
   10318       1.1  christos 			p = "int";
   10319       1.1  christos 		break;
   10320      1.45       rin 	/* netbsd32_getrandom */
   10321      1.45       rin 	case 91:
   10322      1.45       rin 		if (ndx == 0 || ndx == 1)
   10323      1.45       rin 			p = "netbsd32_ssize_t";
   10324      1.45       rin 		break;
   10325       1.1  christos 	/* netbsd32_fcntl */
   10326       1.1  christos 	case 92:
   10327       1.1  christos 		if (ndx == 0 || ndx == 1)
   10328       1.1  christos 			p = "int";
   10329       1.1  christos 		break;
   10330       1.1  christos 	/* netbsd32_select */
   10331       1.1  christos 	case 93:
   10332       1.1  christos 		if (ndx == 0 || ndx == 1)
   10333       1.1  christos 			p = "int";
   10334       1.1  christos 		break;
   10335       1.1  christos 	/* netbsd32_fsync */
   10336       1.1  christos 	case 95:
   10337       1.1  christos 		if (ndx == 0 || ndx == 1)
   10338       1.1  christos 			p = "int";
   10339       1.1  christos 		break;
   10340       1.1  christos 	/* netbsd32_setpriority */
   10341       1.1  christos 	case 96:
   10342       1.1  christos 		if (ndx == 0 || ndx == 1)
   10343       1.1  christos 			p = "int";
   10344       1.1  christos 		break;
   10345       1.1  christos 	/* netbsd32_socket */
   10346       1.1  christos 	case 97:
   10347       1.1  christos 		if (ndx == 0 || ndx == 1)
   10348       1.1  christos 			p = "int";
   10349       1.1  christos 		break;
   10350       1.1  christos 	/* netbsd32_connect */
   10351       1.1  christos 	case 98:
   10352       1.1  christos 		if (ndx == 0 || ndx == 1)
   10353       1.1  christos 			p = "int";
   10354       1.1  christos 		break;
   10355       1.1  christos 	/* netbsd32_oaccept */
   10356       1.1  christos 	case 99:
   10357       1.1  christos 		if (ndx == 0 || ndx == 1)
   10358       1.1  christos 			p = "int";
   10359       1.1  christos 		break;
   10360       1.1  christos 	/* netbsd32_getpriority */
   10361       1.1  christos 	case 100:
   10362       1.1  christos 		if (ndx == 0 || ndx == 1)
   10363       1.1  christos 			p = "int";
   10364       1.1  christos 		break;
   10365       1.1  christos 	/* netbsd32_osend */
   10366       1.1  christos 	case 101:
   10367       1.1  christos 		if (ndx == 0 || ndx == 1)
   10368       1.1  christos 			p = "int";
   10369       1.1  christos 		break;
   10370       1.1  christos 	/* netbsd32_orecv */
   10371       1.1  christos 	case 102:
   10372       1.1  christos 		if (ndx == 0 || ndx == 1)
   10373       1.1  christos 			p = "int";
   10374       1.1  christos 		break;
   10375       1.1  christos 	/* netbsd32_sigreturn */
   10376       1.1  christos 	case 103:
   10377       1.1  christos 		if (ndx == 0 || ndx == 1)
   10378       1.1  christos 			p = "int";
   10379       1.1  christos 		break;
   10380       1.1  christos 	/* netbsd32_bind */
   10381       1.1  christos 	case 104:
   10382       1.1  christos 		if (ndx == 0 || ndx == 1)
   10383       1.1  christos 			p = "int";
   10384       1.1  christos 		break;
   10385       1.1  christos 	/* netbsd32_setsockopt */
   10386       1.1  christos 	case 105:
   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_listen */
   10391       1.1  christos 	case 106:
   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_osigvec */
   10396       1.1  christos 	case 108:
   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_sigblock */
   10401       1.1  christos 	case 109:
   10402       1.1  christos 		if (ndx == 0 || ndx == 1)
   10403       1.1  christos 			p = "int";
   10404       1.1  christos 		break;
   10405       1.1  christos 	/* netbsd32_sigsetmask */
   10406       1.1  christos 	case 110:
   10407       1.1  christos 		if (ndx == 0 || ndx == 1)
   10408       1.1  christos 			p = "int";
   10409       1.1  christos 		break;
   10410       1.1  christos 	/* netbsd32_sigsuspend */
   10411       1.1  christos 	case 111:
   10412       1.1  christos 		if (ndx == 0 || ndx == 1)
   10413       1.1  christos 			p = "int";
   10414       1.1  christos 		break;
   10415       1.1  christos 	/* netbsd32_osigstack */
   10416       1.1  christos 	case 112:
   10417       1.1  christos 		if (ndx == 0 || ndx == 1)
   10418       1.1  christos 			p = "int";
   10419       1.1  christos 		break;
   10420       1.1  christos 	/* netbsd32_orecvmsg */
   10421       1.1  christos 	case 113:
   10422       1.1  christos 		if (ndx == 0 || ndx == 1)
   10423       1.1  christos 			p = "int";
   10424       1.1  christos 		break;
   10425       1.1  christos 	/* netbsd32_osendmsg */
   10426       1.1  christos 	case 114:
   10427       1.1  christos 		if (ndx == 0 || ndx == 1)
   10428       1.1  christos 			p = "int";
   10429       1.1  christos 		break;
   10430       1.1  christos 	/* netbsd32_gettimeofday */
   10431       1.1  christos 	case 116:
   10432       1.1  christos 		if (ndx == 0 || ndx == 1)
   10433       1.1  christos 			p = "int";
   10434       1.1  christos 		break;
   10435       1.1  christos 	/* netbsd32_getrusage */
   10436       1.1  christos 	case 117:
   10437       1.1  christos 		if (ndx == 0 || ndx == 1)
   10438       1.1  christos 			p = "int";
   10439       1.1  christos 		break;
   10440       1.1  christos 	/* netbsd32_getsockopt */
   10441       1.1  christos 	case 118:
   10442       1.1  christos 		if (ndx == 0 || ndx == 1)
   10443       1.1  christos 			p = "int";
   10444       1.1  christos 		break;
   10445       1.1  christos 	/* netbsd32_readv */
   10446       1.1  christos 	case 120:
   10447       1.1  christos 		if (ndx == 0 || ndx == 1)
   10448       1.1  christos 			p = "netbsd32_ssize_t";
   10449       1.1  christos 		break;
   10450       1.1  christos 	/* netbsd32_writev */
   10451       1.1  christos 	case 121:
   10452       1.1  christos 		if (ndx == 0 || ndx == 1)
   10453       1.1  christos 			p = "netbsd32_ssize_t";
   10454       1.1  christos 		break;
   10455       1.1  christos 	/* netbsd32_settimeofday */
   10456       1.1  christos 	case 122:
   10457       1.1  christos 		if (ndx == 0 || ndx == 1)
   10458       1.1  christos 			p = "int";
   10459       1.1  christos 		break;
   10460       1.1  christos 	/* netbsd32_fchown */
   10461       1.1  christos 	case 123:
   10462       1.1  christos 		if (ndx == 0 || ndx == 1)
   10463       1.1  christos 			p = "int";
   10464       1.1  christos 		break;
   10465       1.1  christos 	/* netbsd32_fchmod */
   10466       1.1  christos 	case 124:
   10467       1.1  christos 		if (ndx == 0 || ndx == 1)
   10468       1.1  christos 			p = "int";
   10469       1.1  christos 		break;
   10470       1.1  christos 	/* netbsd32_orecvfrom */
   10471       1.1  christos 	case 125:
   10472       1.1  christos 		if (ndx == 0 || ndx == 1)
   10473       1.1  christos 			p = "int";
   10474       1.1  christos 		break;
   10475       1.1  christos 	/* netbsd32_setreuid */
   10476       1.1  christos 	case 126:
   10477       1.1  christos 		if (ndx == 0 || ndx == 1)
   10478       1.1  christos 			p = "int";
   10479       1.1  christos 		break;
   10480       1.1  christos 	/* netbsd32_setregid */
   10481       1.1  christos 	case 127:
   10482       1.1  christos 		if (ndx == 0 || ndx == 1)
   10483       1.1  christos 			p = "int";
   10484       1.1  christos 		break;
   10485       1.1  christos 	/* netbsd32_rename */
   10486       1.1  christos 	case 128:
   10487       1.1  christos 		if (ndx == 0 || ndx == 1)
   10488       1.1  christos 			p = "int";
   10489       1.1  christos 		break;
   10490       1.1  christos 	/* netbsd32_otruncate */
   10491       1.1  christos 	case 129:
   10492       1.1  christos 		if (ndx == 0 || ndx == 1)
   10493       1.1  christos 			p = "int";
   10494       1.1  christos 		break;
   10495       1.1  christos 	/* netbsd32_oftruncate */
   10496       1.1  christos 	case 130:
   10497       1.1  christos 		if (ndx == 0 || ndx == 1)
   10498       1.1  christos 			p = "int";
   10499       1.1  christos 		break;
   10500       1.1  christos 	/* netbsd32_flock */
   10501       1.1  christos 	case 131:
   10502       1.1  christos 		if (ndx == 0 || ndx == 1)
   10503       1.1  christos 			p = "int";
   10504       1.1  christos 		break;
   10505       1.1  christos 	/* netbsd32_mkfifo */
   10506       1.1  christos 	case 132:
   10507       1.1  christos 		if (ndx == 0 || ndx == 1)
   10508       1.1  christos 			p = "int";
   10509       1.1  christos 		break;
   10510       1.1  christos 	/* netbsd32_sendto */
   10511       1.1  christos 	case 133:
   10512       1.1  christos 		if (ndx == 0 || ndx == 1)
   10513       1.1  christos 			p = "netbsd32_ssize_t";
   10514       1.1  christos 		break;
   10515       1.1  christos 	/* netbsd32_shutdown */
   10516       1.1  christos 	case 134:
   10517       1.1  christos 		if (ndx == 0 || ndx == 1)
   10518       1.1  christos 			p = "int";
   10519       1.1  christos 		break;
   10520       1.1  christos 	/* netbsd32_socketpair */
   10521       1.1  christos 	case 135:
   10522       1.1  christos 		if (ndx == 0 || ndx == 1)
   10523       1.1  christos 			p = "int";
   10524       1.1  christos 		break;
   10525       1.1  christos 	/* netbsd32_mkdir */
   10526       1.1  christos 	case 136:
   10527       1.1  christos 		if (ndx == 0 || ndx == 1)
   10528       1.1  christos 			p = "int";
   10529       1.1  christos 		break;
   10530       1.1  christos 	/* netbsd32_rmdir */
   10531       1.1  christos 	case 137:
   10532       1.1  christos 		if (ndx == 0 || ndx == 1)
   10533       1.1  christos 			p = "int";
   10534       1.1  christos 		break;
   10535       1.1  christos 	/* netbsd32_utimes */
   10536       1.1  christos 	case 138:
   10537       1.1  christos 		if (ndx == 0 || ndx == 1)
   10538       1.1  christos 			p = "int";
   10539       1.1  christos 		break;
   10540       1.1  christos 	/* netbsd32_adjtime */
   10541       1.1  christos 	case 140:
   10542       1.1  christos 		if (ndx == 0 || ndx == 1)
   10543       1.1  christos 			p = "int";
   10544       1.1  christos 		break;
   10545       1.1  christos 	/* netbsd32_ogetpeername */
   10546       1.1  christos 	case 141:
   10547       1.1  christos 		if (ndx == 0 || ndx == 1)
   10548       1.1  christos 			p = "int";
   10549       1.1  christos 		break;
   10550       1.1  christos 	/* sys_gethostid */
   10551       1.1  christos 	case 142:
   10552       1.1  christos 	/* netbsd32_sethostid */
   10553       1.1  christos 	case 143:
   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_ogetrlimit */
   10558       1.1  christos 	case 144:
   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_osetrlimit */
   10563       1.1  christos 	case 145:
   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_killpg */
   10568       1.1  christos 	case 146:
   10569       1.1  christos 		if (ndx == 0 || ndx == 1)
   10570       1.1  christos 			p = "int";
   10571       1.1  christos 		break;
   10572       1.1  christos 	/* sys_setsid */
   10573       1.1  christos 	case 147:
   10574       1.1  christos 	/* netbsd32_quotactl */
   10575       1.1  christos 	case 148:
   10576       1.1  christos 		if (ndx == 0 || ndx == 1)
   10577       1.1  christos 			p = "int";
   10578       1.1  christos 		break;
   10579       1.1  christos 	/* netbsd32_ogetsockname */
   10580       1.1  christos 	case 150:
   10581       1.1  christos 		if (ndx == 0 || ndx == 1)
   10582       1.1  christos 			p = "int";
   10583       1.1  christos 		break;
   10584       1.6       mrg 	/* netbsd32_nfssvc */
   10585       1.6       mrg 	case 155:
   10586       1.6       mrg 		if (ndx == 0 || ndx == 1)
   10587       1.6       mrg 			p = "int";
   10588       1.6       mrg 		break;
   10589       1.1  christos 	/* netbsd32_ogetdirentries */
   10590       1.1  christos 	case 156:
   10591       1.1  christos 		if (ndx == 0 || ndx == 1)
   10592       1.1  christos 			p = "int";
   10593       1.1  christos 		break;
   10594       1.1  christos 	/* netbsd32_statfs */
   10595       1.1  christos 	case 157:
   10596       1.1  christos 		if (ndx == 0 || ndx == 1)
   10597       1.1  christos 			p = "int";
   10598       1.1  christos 		break;
   10599       1.1  christos 	/* netbsd32_fstatfs */
   10600       1.1  christos 	case 158:
   10601       1.1  christos 		if (ndx == 0 || ndx == 1)
   10602       1.1  christos 			p = "int";
   10603       1.1  christos 		break;
   10604       1.1  christos 	/* netbsd32_getfh */
   10605       1.1  christos 	case 161:
   10606       1.1  christos 		if (ndx == 0 || ndx == 1)
   10607       1.1  christos 			p = "int";
   10608       1.1  christos 		break;
   10609       1.1  christos 	/* netbsd32_ogetdomainname */
   10610       1.1  christos 	case 162:
   10611       1.1  christos 		if (ndx == 0 || ndx == 1)
   10612       1.1  christos 			p = "int";
   10613       1.1  christos 		break;
   10614       1.1  christos 	/* netbsd32_osetdomainname */
   10615       1.1  christos 	case 163:
   10616       1.1  christos 		if (ndx == 0 || ndx == 1)
   10617       1.1  christos 			p = "int";
   10618       1.1  christos 		break;
   10619       1.1  christos 	/* netbsd32_uname */
   10620       1.1  christos 	case 164:
   10621       1.1  christos 		if (ndx == 0 || ndx == 1)
   10622       1.1  christos 			p = "int";
   10623       1.1  christos 		break;
   10624       1.1  christos 	/* netbsd32_sysarch */
   10625       1.1  christos 	case 165:
   10626       1.1  christos 		if (ndx == 0 || ndx == 1)
   10627       1.1  christos 			p = "int";
   10628       1.1  christos 		break;
   10629      1.43   thorpej 	/* netbsd32___futex */
   10630      1.43   thorpej 	case 166:
   10631      1.43   thorpej 		if (ndx == 0 || ndx == 1)
   10632      1.43   thorpej 			p = "int";
   10633      1.43   thorpej 		break;
   10634      1.43   thorpej 	/* netbsd32___futex_set_robust_list */
   10635      1.43   thorpej 	case 167:
   10636      1.43   thorpej 		if (ndx == 0 || ndx == 1)
   10637      1.43   thorpej 			p = "int";
   10638      1.43   thorpej 		break;
   10639      1.43   thorpej 	/* netbsd32___futex_get_robust_list */
   10640      1.43   thorpej 	case 168:
   10641      1.43   thorpej 		if (ndx == 0 || ndx == 1)
   10642      1.43   thorpej 			p = "int";
   10643      1.43   thorpej 		break;
   10644       1.1  christos 	/* netbsd32_semsys */
   10645       1.1  christos 	case 169:
   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_msgsys */
   10650       1.1  christos 	case 170:
   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_shmsys */
   10655       1.1  christos 	case 171:
   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_pread */
   10660       1.1  christos 	case 173:
   10661       1.1  christos 		if (ndx == 0 || ndx == 1)
   10662       1.1  christos 			p = "netbsd32_ssize_t";
   10663       1.1  christos 		break;
   10664       1.1  christos 	/* netbsd32_pwrite */
   10665       1.1  christos 	case 174:
   10666       1.1  christos 		if (ndx == 0 || ndx == 1)
   10667       1.1  christos 			p = "netbsd32_ssize_t";
   10668       1.1  christos 		break;
   10669       1.1  christos 	/* netbsd32_ntp_gettime */
   10670       1.1  christos 	case 175:
   10671       1.1  christos 		if (ndx == 0 || ndx == 1)
   10672       1.1  christos 			p = "int";
   10673       1.1  christos 		break;
   10674      1.30  pgoyette #if defined(NTP) || !defined(_KERNEL_OPT)
   10675       1.1  christos 	/* netbsd32_ntp_adjtime */
   10676       1.1  christos 	case 176:
   10677       1.1  christos 		if (ndx == 0 || ndx == 1)
   10678       1.1  christos 			p = "int";
   10679       1.1  christos 		break;
   10680       1.1  christos #else
   10681       1.1  christos #endif
   10682       1.1  christos 	/* netbsd32_setgid */
   10683       1.1  christos 	case 181:
   10684       1.1  christos 		if (ndx == 0 || ndx == 1)
   10685       1.1  christos 			p = "int";
   10686       1.1  christos 		break;
   10687       1.1  christos 	/* netbsd32_setegid */
   10688       1.1  christos 	case 182:
   10689       1.1  christos 		if (ndx == 0 || ndx == 1)
   10690       1.1  christos 			p = "int";
   10691       1.1  christos 		break;
   10692       1.1  christos 	/* netbsd32_seteuid */
   10693       1.1  christos 	case 183:
   10694       1.1  christos 		if (ndx == 0 || ndx == 1)
   10695       1.1  christos 			p = "int";
   10696       1.1  christos 		break;
   10697       1.1  christos 	/* netbsd32_stat12 */
   10698       1.1  christos 	case 188:
   10699       1.1  christos 		if (ndx == 0 || ndx == 1)
   10700       1.1  christos 			p = "int";
   10701       1.1  christos 		break;
   10702       1.1  christos 	/* netbsd32_fstat12 */
   10703       1.1  christos 	case 189:
   10704       1.1  christos 		if (ndx == 0 || ndx == 1)
   10705       1.1  christos 			p = "int";
   10706       1.1  christos 		break;
   10707       1.1  christos 	/* netbsd32_lstat12 */
   10708       1.1  christos 	case 190:
   10709       1.1  christos 		if (ndx == 0 || ndx == 1)
   10710       1.1  christos 			p = "int";
   10711       1.1  christos 		break;
   10712       1.1  christos 	/* netbsd32_pathconf */
   10713       1.1  christos 	case 191:
   10714       1.1  christos 		if (ndx == 0 || ndx == 1)
   10715       1.1  christos 			p = "netbsd32_long";
   10716       1.1  christos 		break;
   10717       1.1  christos 	/* netbsd32_fpathconf */
   10718       1.1  christos 	case 192:
   10719       1.1  christos 		if (ndx == 0 || ndx == 1)
   10720       1.1  christos 			p = "netbsd32_long";
   10721       1.1  christos 		break;
   10722      1.26       rjs 	/* netbsd32_getsockopt2 */
   10723      1.26       rjs 	case 193:
   10724      1.26       rjs 		if (ndx == 0 || ndx == 1)
   10725      1.26       rjs 			p = "int";
   10726      1.26       rjs 		break;
   10727       1.1  christos 	/* netbsd32_getrlimit */
   10728       1.1  christos 	case 194:
   10729       1.1  christos 		if (ndx == 0 || ndx == 1)
   10730       1.1  christos 			p = "int";
   10731       1.1  christos 		break;
   10732       1.1  christos 	/* netbsd32_setrlimit */
   10733       1.1  christos 	case 195:
   10734       1.1  christos 		if (ndx == 0 || ndx == 1)
   10735       1.1  christos 			p = "int";
   10736       1.1  christos 		break;
   10737       1.1  christos 	/* netbsd32_getdirentries */
   10738       1.1  christos 	case 196:
   10739       1.1  christos 		if (ndx == 0 || ndx == 1)
   10740       1.1  christos 			p = "int";
   10741       1.1  christos 		break;
   10742       1.1  christos 	/* netbsd32_mmap */
   10743       1.1  christos 	case 197:
   10744       1.1  christos 		if (ndx == 0 || ndx == 1)
   10745       1.1  christos 			p = "netbsd32_voidp";
   10746       1.1  christos 		break;
   10747       1.1  christos 	/* netbsd32____syscall */
   10748       1.1  christos 	case 198:
   10749       1.1  christos 		if (ndx == 0 || ndx == 1)
   10750       1.1  christos 			p = "quad_t";
   10751       1.1  christos 		break;
   10752       1.1  christos 	/* netbsd32_lseek */
   10753       1.1  christos 	case 199:
   10754       1.1  christos 		if (ndx == 0 || ndx == 1)
   10755       1.1  christos 			p = "netbsd32_off_t";
   10756       1.1  christos 		break;
   10757       1.1  christos 	/* netbsd32_truncate */
   10758       1.1  christos 	case 200:
   10759       1.1  christos 		if (ndx == 0 || ndx == 1)
   10760       1.1  christos 			p = "int";
   10761       1.1  christos 		break;
   10762       1.1  christos 	/* netbsd32_ftruncate */
   10763       1.1  christos 	case 201:
   10764       1.1  christos 		if (ndx == 0 || ndx == 1)
   10765       1.1  christos 			p = "int";
   10766       1.1  christos 		break;
   10767       1.1  christos 	/* netbsd32___sysctl */
   10768       1.1  christos 	case 202:
   10769       1.1  christos 		if (ndx == 0 || ndx == 1)
   10770       1.1  christos 			p = "int";
   10771       1.1  christos 		break;
   10772       1.1  christos 	/* netbsd32_mlock */
   10773       1.1  christos 	case 203:
   10774       1.1  christos 		if (ndx == 0 || ndx == 1)
   10775       1.1  christos 			p = "int";
   10776       1.1  christos 		break;
   10777       1.1  christos 	/* netbsd32_munlock */
   10778       1.1  christos 	case 204:
   10779       1.1  christos 		if (ndx == 0 || ndx == 1)
   10780       1.1  christos 			p = "int";
   10781       1.1  christos 		break;
   10782       1.1  christos 	/* netbsd32_undelete */
   10783       1.1  christos 	case 205:
   10784       1.1  christos 		if (ndx == 0 || ndx == 1)
   10785       1.1  christos 			p = "int";
   10786       1.1  christos 		break;
   10787       1.1  christos 	/* netbsd32_futimes */
   10788       1.1  christos 	case 206:
   10789       1.1  christos 		if (ndx == 0 || ndx == 1)
   10790       1.1  christos 			p = "int";
   10791       1.1  christos 		break;
   10792       1.1  christos 	/* netbsd32_getpgid */
   10793       1.1  christos 	case 207:
   10794       1.1  christos 		if (ndx == 0 || ndx == 1)
   10795       1.1  christos 			p = "int";
   10796       1.1  christos 		break;
   10797       1.1  christos 	/* netbsd32_reboot */
   10798       1.1  christos 	case 208:
   10799       1.1  christos 		if (ndx == 0 || ndx == 1)
   10800       1.1  christos 			p = "int";
   10801       1.1  christos 		break;
   10802       1.1  christos 	/* netbsd32_poll */
   10803       1.1  christos 	case 209:
   10804       1.1  christos 		if (ndx == 0 || ndx == 1)
   10805       1.1  christos 			p = "int";
   10806       1.1  christos 		break;
   10807       1.1  christos 	/* netbsd32___semctl */
   10808       1.1  christos 	case 220:
   10809       1.1  christos 		if (ndx == 0 || ndx == 1)
   10810       1.1  christos 			p = "int";
   10811       1.1  christos 		break;
   10812       1.1  christos 	/* netbsd32_semget */
   10813       1.1  christos 	case 221:
   10814       1.1  christos 		if (ndx == 0 || ndx == 1)
   10815       1.1  christos 			p = "int";
   10816       1.1  christos 		break;
   10817       1.1  christos 	/* netbsd32_semop */
   10818       1.1  christos 	case 222:
   10819       1.1  christos 		if (ndx == 0 || ndx == 1)
   10820       1.1  christos 			p = "int";
   10821       1.1  christos 		break;
   10822       1.1  christos 	/* netbsd32_semconfig */
   10823       1.1  christos 	case 223:
   10824       1.1  christos 		if (ndx == 0 || ndx == 1)
   10825       1.1  christos 			p = "int";
   10826       1.1  christos 		break;
   10827       1.1  christos 	/* netbsd32_msgctl */
   10828       1.1  christos 	case 224:
   10829       1.1  christos 		if (ndx == 0 || ndx == 1)
   10830       1.1  christos 			p = "int";
   10831       1.1  christos 		break;
   10832       1.1  christos 	/* netbsd32_msgget */
   10833       1.1  christos 	case 225:
   10834       1.1  christos 		if (ndx == 0 || ndx == 1)
   10835       1.1  christos 			p = "int";
   10836       1.1  christos 		break;
   10837       1.1  christos 	/* netbsd32_msgsnd */
   10838       1.1  christos 	case 226:
   10839       1.1  christos 		if (ndx == 0 || ndx == 1)
   10840       1.1  christos 			p = "int";
   10841       1.1  christos 		break;
   10842       1.1  christos 	/* netbsd32_msgrcv */
   10843       1.1  christos 	case 227:
   10844       1.1  christos 		if (ndx == 0 || ndx == 1)
   10845       1.1  christos 			p = "netbsd32_ssize_t";
   10846       1.1  christos 		break;
   10847       1.1  christos 	/* netbsd32_shmat */
   10848       1.1  christos 	case 228:
   10849       1.1  christos 		if (ndx == 0 || ndx == 1)
   10850       1.1  christos 			p = "netbsd32_voidp";
   10851       1.1  christos 		break;
   10852       1.1  christos 	/* netbsd32_shmctl */
   10853       1.1  christos 	case 229:
   10854       1.1  christos 		if (ndx == 0 || ndx == 1)
   10855       1.1  christos 			p = "int";
   10856       1.1  christos 		break;
   10857       1.1  christos 	/* netbsd32_shmdt */
   10858       1.1  christos 	case 230:
   10859       1.1  christos 		if (ndx == 0 || ndx == 1)
   10860       1.1  christos 			p = "int";
   10861       1.1  christos 		break;
   10862       1.1  christos 	/* netbsd32_shmget */
   10863       1.1  christos 	case 231:
   10864       1.1  christos 		if (ndx == 0 || ndx == 1)
   10865       1.1  christos 			p = "int";
   10866       1.1  christos 		break;
   10867       1.1  christos 	/* netbsd32_clock_gettime */
   10868       1.1  christos 	case 232:
   10869       1.1  christos 		if (ndx == 0 || ndx == 1)
   10870       1.1  christos 			p = "int";
   10871       1.1  christos 		break;
   10872       1.1  christos 	/* netbsd32_clock_settime */
   10873       1.1  christos 	case 233:
   10874       1.1  christos 		if (ndx == 0 || ndx == 1)
   10875       1.1  christos 			p = "int";
   10876       1.1  christos 		break;
   10877       1.1  christos 	/* netbsd32_clock_getres */
   10878       1.1  christos 	case 234:
   10879       1.1  christos 		if (ndx == 0 || ndx == 1)
   10880       1.1  christos 			p = "int";
   10881       1.1  christos 		break;
   10882       1.1  christos 	/* netbsd32_timer_create */
   10883       1.1  christos 	case 235:
   10884       1.1  christos 		if (ndx == 0 || ndx == 1)
   10885       1.1  christos 			p = "int";
   10886       1.1  christos 		break;
   10887       1.1  christos 	/* netbsd32_timer_delete */
   10888       1.1  christos 	case 236:
   10889       1.1  christos 		if (ndx == 0 || ndx == 1)
   10890       1.1  christos 			p = "int";
   10891       1.1  christos 		break;
   10892       1.1  christos 	/* netbsd32_timer_settime */
   10893       1.1  christos 	case 237:
   10894       1.1  christos 		if (ndx == 0 || ndx == 1)
   10895       1.1  christos 			p = "int";
   10896       1.1  christos 		break;
   10897       1.1  christos 	/* netbsd32_timer_gettime */
   10898       1.1  christos 	case 238:
   10899       1.1  christos 		if (ndx == 0 || ndx == 1)
   10900       1.1  christos 			p = "int";
   10901       1.1  christos 		break;
   10902       1.1  christos 	/* netbsd32_timer_getoverrun */
   10903       1.1  christos 	case 239:
   10904       1.1  christos 		if (ndx == 0 || ndx == 1)
   10905       1.1  christos 			p = "int";
   10906       1.1  christos 		break;
   10907       1.1  christos 	/* netbsd32_nanosleep */
   10908       1.1  christos 	case 240:
   10909       1.1  christos 		if (ndx == 0 || ndx == 1)
   10910       1.1  christos 			p = "int";
   10911       1.1  christos 		break;
   10912       1.1  christos 	/* netbsd32_fdatasync */
   10913       1.1  christos 	case 241:
   10914       1.1  christos 		if (ndx == 0 || ndx == 1)
   10915       1.1  christos 			p = "int";
   10916       1.1  christos 		break;
   10917       1.1  christos 	/* netbsd32_mlockall */
   10918       1.1  christos 	case 242:
   10919       1.1  christos 		if (ndx == 0 || ndx == 1)
   10920       1.1  christos 			p = "int";
   10921       1.1  christos 		break;
   10922       1.1  christos 	/* sys_munlockall */
   10923       1.1  christos 	case 243:
   10924       1.1  christos 	/* netbsd32___sigtimedwait */
   10925       1.1  christos 	case 244:
   10926       1.1  christos 		if (ndx == 0 || ndx == 1)
   10927       1.1  christos 			p = "int";
   10928       1.1  christos 		break;
   10929       1.3    martin 	/* netbsd32_sigqueueinfo */
   10930       1.3    martin 	case 245:
   10931       1.3    martin 		if (ndx == 0 || ndx == 1)
   10932       1.3    martin 			p = "int";
   10933       1.3    martin 		break;
   10934       1.3    martin 	/* netbsd32_modctl */
   10935       1.3    martin 	case 246:
   10936       1.3    martin 		if (ndx == 0 || ndx == 1)
   10937       1.3    martin 			p = "int";
   10938       1.3    martin 		break;
   10939       1.1  christos 	/* netbsd32__ksem_init */
   10940       1.1  christos 	case 247:
   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__ksem_open */
   10945       1.1  christos 	case 248:
   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__ksem_unlink */
   10950       1.1  christos 	case 249:
   10951       1.1  christos 		if (ndx == 0 || ndx == 1)
   10952       1.1  christos 			p = "int";
   10953       1.1  christos 		break;
   10954       1.1  christos 	/* netbsd32__ksem_close */
   10955       1.1  christos 	case 250:
   10956       1.1  christos 		if (ndx == 0 || ndx == 1)
   10957       1.1  christos 			p = "int";
   10958       1.1  christos 		break;
   10959       1.1  christos 	/* netbsd32__ksem_post */
   10960       1.1  christos 	case 251:
   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__ksem_wait */
   10965       1.1  christos 	case 252:
   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__ksem_trywait */
   10970       1.1  christos 	case 253:
   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__ksem_getvalue */
   10975       1.1  christos 	case 254:
   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__ksem_destroy */
   10980       1.1  christos 	case 255:
   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__ksem_timedwait */
   10985       1.1  christos 	case 256:
   10986       1.1  christos 		if (ndx == 0 || ndx == 1)
   10987       1.1  christos 			p = "int";
   10988       1.1  christos 		break;
   10989       1.3    martin 	/* netbsd32_mq_open */
   10990       1.3    martin 	case 257:
   10991       1.3    martin 		if (ndx == 0 || ndx == 1)
   10992       1.3    martin 			p = "mqd_t";
   10993       1.3    martin 		break;
   10994       1.3    martin 	/* netbsd32_mq_close */
   10995       1.3    martin 	case 258:
   10996       1.3    martin 		if (ndx == 0 || ndx == 1)
   10997       1.3    martin 			p = "int";
   10998       1.3    martin 		break;
   10999       1.3    martin 	/* netbsd32_mq_unlink */
   11000       1.3    martin 	case 259:
   11001       1.3    martin 		if (ndx == 0 || ndx == 1)
   11002       1.3    martin 			p = "int";
   11003       1.3    martin 		break;
   11004       1.3    martin 	/* netbsd32_mq_getattr */
   11005       1.3    martin 	case 260:
   11006       1.3    martin 		if (ndx == 0 || ndx == 1)
   11007       1.3    martin 			p = "int";
   11008       1.3    martin 		break;
   11009       1.3    martin 	/* netbsd32_mq_setattr */
   11010       1.3    martin 	case 261:
   11011       1.3    martin 		if (ndx == 0 || ndx == 1)
   11012       1.3    martin 			p = "int";
   11013       1.3    martin 		break;
   11014       1.3    martin 	/* netbsd32_mq_notify */
   11015       1.3    martin 	case 262:
   11016       1.3    martin 		if (ndx == 0 || ndx == 1)
   11017       1.3    martin 			p = "int";
   11018       1.3    martin 		break;
   11019       1.3    martin 	/* netbsd32_mq_send */
   11020       1.3    martin 	case 263:
   11021       1.3    martin 		if (ndx == 0 || ndx == 1)
   11022       1.3    martin 			p = "int";
   11023       1.3    martin 		break;
   11024       1.3    martin 	/* netbsd32_mq_receive */
   11025       1.3    martin 	case 264:
   11026       1.3    martin 		if (ndx == 0 || ndx == 1)
   11027       1.3    martin 			p = "netbsd32_ssize_t";
   11028       1.3    martin 		break;
   11029       1.3    martin 	/* netbsd32_mq_timedsend */
   11030       1.3    martin 	case 265:
   11031       1.3    martin 		if (ndx == 0 || ndx == 1)
   11032       1.3    martin 			p = "int";
   11033       1.3    martin 		break;
   11034       1.3    martin 	/* netbsd32_mq_timedreceive */
   11035       1.3    martin 	case 266:
   11036       1.3    martin 		if (ndx == 0 || ndx == 1)
   11037       1.3    martin 			p = "netbsd32_ssize_t";
   11038       1.3    martin 		break;
   11039       1.1  christos 	/* netbsd32___posix_rename */
   11040       1.1  christos 	case 270:
   11041       1.1  christos 		if (ndx == 0 || ndx == 1)
   11042       1.1  christos 			p = "int";
   11043       1.1  christos 		break;
   11044       1.1  christos 	/* netbsd32_swapctl */
   11045       1.1  christos 	case 271:
   11046       1.1  christos 		if (ndx == 0 || ndx == 1)
   11047       1.1  christos 			p = "int";
   11048       1.1  christos 		break;
   11049       1.1  christos 	/* netbsd32_getdents */
   11050       1.1  christos 	case 272:
   11051       1.1  christos 		if (ndx == 0 || ndx == 1)
   11052       1.1  christos 			p = "int";
   11053       1.1  christos 		break;
   11054       1.1  christos 	/* netbsd32_minherit */
   11055       1.1  christos 	case 273:
   11056       1.1  christos 		if (ndx == 0 || ndx == 1)
   11057       1.1  christos 			p = "int";
   11058       1.1  christos 		break;
   11059       1.1  christos 	/* netbsd32_lchmod */
   11060       1.1  christos 	case 274:
   11061       1.1  christos 		if (ndx == 0 || ndx == 1)
   11062       1.1  christos 			p = "int";
   11063       1.1  christos 		break;
   11064       1.1  christos 	/* netbsd32_lchown */
   11065       1.1  christos 	case 275:
   11066       1.1  christos 		if (ndx == 0 || ndx == 1)
   11067       1.1  christos 			p = "int";
   11068       1.1  christos 		break;
   11069       1.1  christos 	/* netbsd32_lutimes */
   11070       1.1  christos 	case 276:
   11071       1.1  christos 		if (ndx == 0 || ndx == 1)
   11072       1.1  christos 			p = "int";
   11073       1.1  christos 		break;
   11074       1.1  christos 	/* netbsd32___msync13 */
   11075       1.1  christos 	case 277:
   11076       1.1  christos 		if (ndx == 0 || ndx == 1)
   11077       1.1  christos 			p = "int";
   11078       1.1  christos 		break;
   11079       1.1  christos 	/* netbsd32___stat13 */
   11080       1.1  christos 	case 278:
   11081       1.1  christos 		if (ndx == 0 || ndx == 1)
   11082       1.1  christos 			p = "int";
   11083       1.1  christos 		break;
   11084       1.1  christos 	/* netbsd32___fstat13 */
   11085       1.1  christos 	case 279:
   11086       1.1  christos 		if (ndx == 0 || ndx == 1)
   11087       1.1  christos 			p = "int";
   11088       1.1  christos 		break;
   11089       1.1  christos 	/* netbsd32___lstat13 */
   11090       1.1  christos 	case 280:
   11091       1.1  christos 		if (ndx == 0 || ndx == 1)
   11092       1.1  christos 			p = "int";
   11093       1.1  christos 		break;
   11094       1.1  christos 	/* netbsd32___sigaltstack14 */
   11095       1.1  christos 	case 281:
   11096       1.1  christos 		if (ndx == 0 || ndx == 1)
   11097       1.1  christos 			p = "int";
   11098       1.1  christos 		break;
   11099       1.1  christos 	/* sys___vfork14 */
   11100       1.1  christos 	case 282:
   11101       1.1  christos 	/* netbsd32___posix_chown */
   11102       1.1  christos 	case 283:
   11103       1.1  christos 		if (ndx == 0 || ndx == 1)
   11104       1.1  christos 			p = "int";
   11105       1.1  christos 		break;
   11106       1.1  christos 	/* netbsd32___posix_fchown */
   11107       1.1  christos 	case 284:
   11108       1.1  christos 		if (ndx == 0 || ndx == 1)
   11109       1.1  christos 			p = "int";
   11110       1.1  christos 		break;
   11111       1.1  christos 	/* netbsd32___posix_lchown */
   11112       1.1  christos 	case 285:
   11113       1.1  christos 		if (ndx == 0 || ndx == 1)
   11114       1.1  christos 			p = "int";
   11115       1.1  christos 		break;
   11116       1.1  christos 	/* netbsd32_getsid */
   11117       1.1  christos 	case 286:
   11118       1.1  christos 		if (ndx == 0 || ndx == 1)
   11119       1.1  christos 			p = "pid_t";
   11120       1.1  christos 		break;
   11121       1.1  christos 	/* netbsd32___clone */
   11122       1.1  christos 	case 287:
   11123       1.1  christos 		if (ndx == 0 || ndx == 1)
   11124       1.1  christos 			p = "int";
   11125       1.1  christos 		break;
   11126       1.1  christos 	/* netbsd32_fktrace */
   11127       1.1  christos 	case 288:
   11128       1.1  christos 		if (ndx == 0 || ndx == 1)
   11129       1.1  christos 			p = "int";
   11130       1.1  christos 		break;
   11131       1.1  christos 	/* netbsd32_preadv */
   11132       1.1  christos 	case 289:
   11133       1.1  christos 		if (ndx == 0 || ndx == 1)
   11134       1.1  christos 			p = "netbsd32_ssize_t";
   11135       1.1  christos 		break;
   11136       1.1  christos 	/* netbsd32_pwritev */
   11137       1.1  christos 	case 290:
   11138       1.1  christos 		if (ndx == 0 || ndx == 1)
   11139       1.1  christos 			p = "netbsd32_ssize_t";
   11140       1.1  christos 		break;
   11141       1.1  christos 	/* netbsd32___sigaction14 */
   11142       1.1  christos 	case 291:
   11143       1.1  christos 		if (ndx == 0 || ndx == 1)
   11144       1.1  christos 			p = "int";
   11145       1.1  christos 		break;
   11146       1.1  christos 	/* netbsd32___sigpending14 */
   11147       1.1  christos 	case 292:
   11148       1.1  christos 		if (ndx == 0 || ndx == 1)
   11149       1.1  christos 			p = "int";
   11150       1.1  christos 		break;
   11151       1.1  christos 	/* netbsd32___sigprocmask14 */
   11152       1.1  christos 	case 293:
   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___sigsuspend14 */
   11157       1.1  christos 	case 294:
   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___sigreturn14 */
   11162       1.1  christos 	case 295:
   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___getcwd */
   11167       1.1  christos 	case 296:
   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_fchroot */
   11172       1.1  christos 	case 297:
   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_fhopen */
   11177       1.1  christos 	case 298:
   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_fhstat */
   11182       1.1  christos 	case 299:
   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_fhstatfs */
   11187       1.1  christos 	case 300:
   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___semctl14 */
   11192       1.1  christos 	case 301:
   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___msgctl13 */
   11197       1.1  christos 	case 302:
   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___shmctl13 */
   11202       1.1  christos 	case 303:
   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_lchflags */
   11207       1.1  christos 	case 304:
   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_issetugid */
   11212       1.1  christos 	case 305:
   11213       1.1  christos 	/* netbsd32_utrace */
   11214       1.1  christos 	case 306:
   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_getcontext */
   11219       1.1  christos 	case 307:
   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_setcontext */
   11224       1.1  christos 	case 308:
   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__lwp_create */
   11229       1.1  christos 	case 309:
   11230       1.1  christos 		if (ndx == 0 || ndx == 1)
   11231       1.1  christos 			p = "int";
   11232       1.1  christos 		break;
   11233       1.1  christos 	/* sys__lwp_exit */
   11234       1.1  christos 	case 310:
   11235       1.1  christos 	/* sys__lwp_self */
   11236       1.1  christos 	case 311:
   11237       1.1  christos 	/* netbsd32__lwp_wait */
   11238       1.1  christos 	case 312:
   11239       1.1  christos 		if (ndx == 0 || ndx == 1)
   11240       1.1  christos 			p = "int";
   11241       1.1  christos 		break;
   11242       1.1  christos 	/* netbsd32__lwp_suspend */
   11243       1.1  christos 	case 313:
   11244       1.1  christos 		if (ndx == 0 || ndx == 1)
   11245       1.1  christos 			p = "int";
   11246       1.1  christos 		break;
   11247       1.1  christos 	/* netbsd32__lwp_continue */
   11248       1.1  christos 	case 314:
   11249       1.1  christos 		if (ndx == 0 || ndx == 1)
   11250       1.1  christos 			p = "int";
   11251       1.1  christos 		break;
   11252       1.1  christos 	/* netbsd32__lwp_wakeup */
   11253       1.1  christos 	case 315:
   11254       1.1  christos 		if (ndx == 0 || ndx == 1)
   11255       1.1  christos 			p = "int";
   11256       1.1  christos 		break;
   11257       1.1  christos 	/* sys__lwp_getprivate */
   11258       1.1  christos 	case 316:
   11259       1.1  christos 	/* netbsd32__lwp_setprivate */
   11260       1.1  christos 	case 317:
   11261       1.1  christos 		if (ndx == 0 || ndx == 1)
   11262       1.1  christos 			p = "void";
   11263       1.1  christos 		break;
   11264       1.1  christos 	/* netbsd32__lwp_kill */
   11265       1.1  christos 	case 318:
   11266       1.1  christos 		if (ndx == 0 || ndx == 1)
   11267       1.1  christos 			p = "int";
   11268       1.1  christos 		break;
   11269       1.1  christos 	/* netbsd32__lwp_detach */
   11270       1.1  christos 	case 319:
   11271       1.1  christos 		if (ndx == 0 || ndx == 1)
   11272       1.1  christos 			p = "int";
   11273       1.1  christos 		break;
   11274       1.1  christos 	/* netbsd32__lwp_park */
   11275       1.1  christos 	case 320:
   11276       1.1  christos 		if (ndx == 0 || ndx == 1)
   11277       1.1  christos 			p = "int";
   11278       1.1  christos 		break;
   11279       1.1  christos 	/* netbsd32__lwp_unpark */
   11280       1.1  christos 	case 321:
   11281       1.1  christos 		if (ndx == 0 || ndx == 1)
   11282       1.1  christos 			p = "int";
   11283       1.1  christos 		break;
   11284       1.1  christos 	/* netbsd32__lwp_unpark_all */
   11285       1.1  christos 	case 322:
   11286       1.1  christos 		if (ndx == 0 || ndx == 1)
   11287       1.1  christos 			p = "netbsd32_size_t";
   11288       1.1  christos 		break;
   11289       1.1  christos 	/* netbsd32__lwp_setname */
   11290       1.1  christos 	case 323:
   11291       1.1  christos 		if (ndx == 0 || ndx == 1)
   11292       1.1  christos 			p = "int";
   11293       1.1  christos 		break;
   11294       1.1  christos 	/* netbsd32__lwp_getname */
   11295       1.1  christos 	case 324:
   11296       1.1  christos 		if (ndx == 0 || ndx == 1)
   11297       1.1  christos 			p = "int";
   11298       1.1  christos 		break;
   11299       1.1  christos 	/* netbsd32__lwp_ctl */
   11300       1.1  christos 	case 325:
   11301       1.1  christos 		if (ndx == 0 || ndx == 1)
   11302       1.1  christos 			p = "int";
   11303       1.1  christos 		break;
   11304       1.1  christos 	/* netbsd32___sigaction_sigtramp */
   11305       1.1  christos 	case 340:
   11306       1.1  christos 		if (ndx == 0 || ndx == 1)
   11307       1.1  christos 			p = "int";
   11308       1.1  christos 		break;
   11309       1.1  christos 	/* netbsd32_rasctl */
   11310       1.1  christos 	case 343:
   11311       1.1  christos 		if (ndx == 0 || ndx == 1)
   11312       1.1  christos 			p = "int";
   11313       1.1  christos 		break;
   11314       1.1  christos 	/* sys_kqueue */
   11315       1.1  christos 	case 344:
   11316       1.1  christos 	/* netbsd32_kevent */
   11317       1.1  christos 	case 345:
   11318       1.1  christos 		if (ndx == 0 || ndx == 1)
   11319       1.1  christos 			p = "int";
   11320       1.1  christos 		break;
   11321       1.1  christos 	/* netbsd32__sched_setparam */
   11322       1.1  christos 	case 346:
   11323       1.1  christos 		if (ndx == 0 || ndx == 1)
   11324       1.1  christos 			p = "int";
   11325       1.1  christos 		break;
   11326       1.1  christos 	/* netbsd32__sched_getparam */
   11327       1.1  christos 	case 347:
   11328       1.1  christos 		if (ndx == 0 || ndx == 1)
   11329       1.1  christos 			p = "int";
   11330       1.1  christos 		break;
   11331       1.1  christos 	/* netbsd32__sched_setaffinity */
   11332       1.1  christos 	case 348:
   11333       1.1  christos 		if (ndx == 0 || ndx == 1)
   11334       1.1  christos 			p = "int";
   11335       1.1  christos 		break;
   11336       1.1  christos 	/* netbsd32__sched_getaffinity */
   11337       1.1  christos 	case 349:
   11338       1.1  christos 		if (ndx == 0 || ndx == 1)
   11339       1.1  christos 			p = "int";
   11340       1.1  christos 		break;
   11341       1.1  christos 	/* sys_sched_yield */
   11342       1.1  christos 	case 350:
   11343      1.13     skrll 	/* netbsd32__sched_protect */
   11344      1.13     skrll 	case 351:
   11345      1.13     skrll 		if (ndx == 0 || ndx == 1)
   11346      1.13     skrll 			p = "int";
   11347      1.13     skrll 		break;
   11348       1.1  christos 	/* netbsd32_fsync_range */
   11349       1.1  christos 	case 354:
   11350       1.1  christos 		if (ndx == 0 || ndx == 1)
   11351       1.1  christos 			p = "int";
   11352       1.1  christos 		break;
   11353       1.1  christos 	/* netbsd32_uuidgen */
   11354       1.1  christos 	case 355:
   11355       1.1  christos 		if (ndx == 0 || ndx == 1)
   11356       1.1  christos 			p = "int";
   11357       1.1  christos 		break;
   11358       1.1  christos 	/* netbsd32_getvfsstat */
   11359       1.1  christos 	case 356:
   11360       1.1  christos 		if (ndx == 0 || ndx == 1)
   11361       1.1  christos 			p = "int";
   11362       1.1  christos 		break;
   11363       1.1  christos 	/* netbsd32_statvfs1 */
   11364       1.1  christos 	case 357:
   11365       1.1  christos 		if (ndx == 0 || ndx == 1)
   11366       1.1  christos 			p = "int";
   11367       1.1  christos 		break;
   11368       1.1  christos 	/* netbsd32_fstatvfs1 */
   11369       1.1  christos 	case 358:
   11370       1.1  christos 		if (ndx == 0 || ndx == 1)
   11371       1.1  christos 			p = "int";
   11372       1.1  christos 		break;
   11373       1.1  christos 	/* netbsd32_fhstatvfs1 */
   11374       1.1  christos 	case 359:
   11375       1.1  christos 		if (ndx == 0 || ndx == 1)
   11376       1.1  christos 			p = "int";
   11377       1.1  christos 		break;
   11378       1.1  christos 	/* netbsd32_extattrctl */
   11379       1.1  christos 	case 360:
   11380       1.1  christos 		if (ndx == 0 || ndx == 1)
   11381       1.1  christos 			p = "int";
   11382       1.1  christos 		break;
   11383       1.1  christos 	/* netbsd32_extattr_set_file */
   11384       1.1  christos 	case 361:
   11385       1.1  christos 		if (ndx == 0 || ndx == 1)
   11386       1.1  christos 			p = "int";
   11387       1.1  christos 		break;
   11388       1.1  christos 	/* netbsd32_extattr_get_file */
   11389       1.1  christos 	case 362:
   11390       1.1  christos 		if (ndx == 0 || ndx == 1)
   11391       1.1  christos 			p = "int";
   11392       1.1  christos 		break;
   11393       1.1  christos 	/* netbsd32_extattr_delete_file */
   11394       1.1  christos 	case 363:
   11395       1.1  christos 		if (ndx == 0 || ndx == 1)
   11396       1.1  christos 			p = "int";
   11397       1.1  christos 		break;
   11398       1.1  christos 	/* netbsd32_extattr_set_fd */
   11399       1.1  christos 	case 364:
   11400       1.1  christos 		if (ndx == 0 || ndx == 1)
   11401       1.1  christos 			p = "int";
   11402       1.1  christos 		break;
   11403       1.1  christos 	/* netbsd32_extattr_get_fd */
   11404       1.1  christos 	case 365:
   11405       1.1  christos 		if (ndx == 0 || ndx == 1)
   11406       1.1  christos 			p = "int";
   11407       1.1  christos 		break;
   11408       1.1  christos 	/* netbsd32_extattr_delete_fd */
   11409       1.1  christos 	case 366:
   11410       1.1  christos 		if (ndx == 0 || ndx == 1)
   11411       1.1  christos 			p = "int";
   11412       1.1  christos 		break;
   11413       1.1  christos 	/* netbsd32_extattr_set_link */
   11414       1.1  christos 	case 367:
   11415       1.1  christos 		if (ndx == 0 || ndx == 1)
   11416       1.1  christos 			p = "int";
   11417       1.1  christos 		break;
   11418       1.1  christos 	/* netbsd32_extattr_get_link */
   11419       1.1  christos 	case 368:
   11420       1.1  christos 		if (ndx == 0 || ndx == 1)
   11421       1.1  christos 			p = "int";
   11422       1.1  christos 		break;
   11423       1.1  christos 	/* netbsd32_extattr_delete_link */
   11424       1.1  christos 	case 369:
   11425       1.1  christos 		if (ndx == 0 || ndx == 1)
   11426       1.1  christos 			p = "int";
   11427       1.1  christos 		break;
   11428       1.1  christos 	/* netbsd32_extattr_list_fd */
   11429       1.1  christos 	case 370:
   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_extattr_list_file */
   11434       1.1  christos 	case 371:
   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_extattr_list_link */
   11439       1.1  christos 	case 372:
   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_pselect */
   11444       1.1  christos 	case 373:
   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_pollts */
   11449       1.1  christos 	case 374:
   11450       1.1  christos 		if (ndx == 0 || ndx == 1)
   11451       1.1  christos 			p = "int";
   11452       1.1  christos 		break;
   11453       1.1  christos 	/* netbsd32_setxattr */
   11454       1.1  christos 	case 375:
   11455       1.1  christos 		if (ndx == 0 || ndx == 1)
   11456       1.1  christos 			p = "int";
   11457       1.1  christos 		break;
   11458       1.1  christos 	/* netbsd32_lsetxattr */
   11459       1.1  christos 	case 376:
   11460       1.1  christos 		if (ndx == 0 || ndx == 1)
   11461       1.1  christos 			p = "int";
   11462       1.1  christos 		break;
   11463       1.1  christos 	/* netbsd32_fsetxattr */
   11464       1.1  christos 	case 377:
   11465       1.1  christos 		if (ndx == 0 || ndx == 1)
   11466       1.1  christos 			p = "int";
   11467       1.1  christos 		break;
   11468       1.1  christos 	/* netbsd32_getxattr */
   11469       1.1  christos 	case 378:
   11470       1.1  christos 		if (ndx == 0 || ndx == 1)
   11471       1.1  christos 			p = "int";
   11472       1.1  christos 		break;
   11473       1.1  christos 	/* netbsd32_lgetxattr */
   11474       1.1  christos 	case 379:
   11475       1.1  christos 		if (ndx == 0 || ndx == 1)
   11476       1.1  christos 			p = "int";
   11477       1.1  christos 		break;
   11478       1.1  christos 	/* netbsd32_fgetxattr */
   11479       1.1  christos 	case 380:
   11480       1.1  christos 		if (ndx == 0 || ndx == 1)
   11481       1.1  christos 			p = "int";
   11482       1.1  christos 		break;
   11483       1.1  christos 	/* netbsd32_listxattr */
   11484       1.1  christos 	case 381:
   11485       1.1  christos 		if (ndx == 0 || ndx == 1)
   11486       1.1  christos 			p = "int";
   11487       1.1  christos 		break;
   11488       1.1  christos 	/* netbsd32_llistxattr */
   11489       1.1  christos 	case 382:
   11490       1.1  christos 		if (ndx == 0 || ndx == 1)
   11491       1.1  christos 			p = "int";
   11492       1.1  christos 		break;
   11493       1.1  christos 	/* netbsd32_flistxattr */
   11494       1.1  christos 	case 383:
   11495       1.1  christos 		if (ndx == 0 || ndx == 1)
   11496       1.1  christos 			p = "int";
   11497       1.1  christos 		break;
   11498       1.1  christos 	/* netbsd32_removexattr */
   11499       1.1  christos 	case 384:
   11500       1.1  christos 		if (ndx == 0 || ndx == 1)
   11501       1.1  christos 			p = "int";
   11502       1.1  christos 		break;
   11503       1.1  christos 	/* netbsd32_lremovexattr */
   11504       1.1  christos 	case 385:
   11505       1.1  christos 		if (ndx == 0 || ndx == 1)
   11506       1.1  christos 			p = "int";
   11507       1.1  christos 		break;
   11508       1.1  christos 	/* netbsd32_fremovexattr */
   11509       1.1  christos 	case 386:
   11510       1.1  christos 		if (ndx == 0 || ndx == 1)
   11511       1.1  christos 			p = "int";
   11512       1.1  christos 		break;
   11513       1.1  christos 	/* netbsd32___stat30 */
   11514       1.1  christos 	case 387:
   11515       1.1  christos 		if (ndx == 0 || ndx == 1)
   11516       1.1  christos 			p = "int";
   11517       1.1  christos 		break;
   11518       1.1  christos 	/* netbsd32___fstat30 */
   11519       1.1  christos 	case 388:
   11520       1.1  christos 		if (ndx == 0 || ndx == 1)
   11521       1.1  christos 			p = "int";
   11522       1.1  christos 		break;
   11523       1.1  christos 	/* netbsd32___lstat30 */
   11524       1.1  christos 	case 389:
   11525       1.1  christos 		if (ndx == 0 || ndx == 1)
   11526       1.1  christos 			p = "int";
   11527       1.1  christos 		break;
   11528       1.1  christos 	/* netbsd32___getdents30 */
   11529       1.1  christos 	case 390:
   11530       1.1  christos 		if (ndx == 0 || ndx == 1)
   11531       1.1  christos 			p = "int";
   11532       1.1  christos 		break;
   11533       1.1  christos 	/* netbsd32___fhstat30 */
   11534       1.1  christos 	case 392:
   11535       1.1  christos 		if (ndx == 0 || ndx == 1)
   11536       1.1  christos 			p = "int";
   11537       1.1  christos 		break;
   11538       1.1  christos 	/* netbsd32_ntp_gettime */
   11539       1.1  christos 	case 393:
   11540       1.1  christos 		if (ndx == 0 || ndx == 1)
   11541       1.1  christos 			p = "int";
   11542       1.1  christos 		break;
   11543       1.1  christos 	/* netbsd32___socket30 */
   11544       1.1  christos 	case 394:
   11545       1.1  christos 		if (ndx == 0 || ndx == 1)
   11546       1.1  christos 			p = "int";
   11547       1.1  christos 		break;
   11548       1.1  christos 	/* netbsd32___getfh30 */
   11549       1.1  christos 	case 395:
   11550       1.1  christos 		if (ndx == 0 || ndx == 1)
   11551       1.1  christos 			p = "int";
   11552       1.1  christos 		break;
   11553       1.1  christos 	/* netbsd32___fhopen40 */
   11554       1.1  christos 	case 396:
   11555       1.1  christos 		if (ndx == 0 || ndx == 1)
   11556       1.1  christos 			p = "int";
   11557       1.1  christos 		break;
   11558      1.33  christos 	/* netbsd32_fhstatvfs1 */
   11559       1.1  christos 	case 397:
   11560       1.1  christos 		if (ndx == 0 || ndx == 1)
   11561       1.1  christos 			p = "int";
   11562       1.1  christos 		break;
   11563       1.1  christos 	/* netbsd32___fhstat40 */
   11564       1.1  christos 	case 398:
   11565       1.1  christos 		if (ndx == 0 || ndx == 1)
   11566       1.1  christos 			p = "int";
   11567       1.1  christos 		break;
   11568       1.1  christos 	/* netbsd32___mount50 */
   11569       1.1  christos 	case 410:
   11570       1.1  christos 		if (ndx == 0 || ndx == 1)
   11571       1.1  christos 			p = "int";
   11572       1.1  christos 		break;
   11573       1.1  christos 	/* netbsd32_mremap */
   11574       1.1  christos 	case 411:
   11575       1.1  christos 		if (ndx == 0 || ndx == 1)
   11576       1.1  christos 			p = "netbsd32_voidp";
   11577       1.1  christos 		break;
   11578       1.5    martin 	/* netbsd32_pset_create */
   11579       1.5    martin 	case 412:
   11580       1.5    martin 		if (ndx == 0 || ndx == 1)
   11581       1.5    martin 			p = "int";
   11582       1.5    martin 		break;
   11583       1.5    martin 	/* netbsd32_pset_destroy */
   11584       1.5    martin 	case 413:
   11585       1.5    martin 		if (ndx == 0 || ndx == 1)
   11586       1.5    martin 			p = "int";
   11587       1.5    martin 		break;
   11588       1.5    martin 	/* netbsd32_pset_assign */
   11589       1.5    martin 	case 414:
   11590       1.5    martin 		if (ndx == 0 || ndx == 1)
   11591       1.5    martin 			p = "int";
   11592       1.5    martin 		break;
   11593       1.5    martin 	/* netbsd32__pset_bind */
   11594       1.5    martin 	case 415:
   11595       1.5    martin 		if (ndx == 0 || ndx == 1)
   11596       1.5    martin 			p = "int";
   11597       1.5    martin 		break;
   11598       1.1  christos 	/* netbsd32___posix_fadvise50 */
   11599       1.1  christos 	case 416:
   11600       1.1  christos 		if (ndx == 0 || ndx == 1)
   11601       1.1  christos 			p = "int";
   11602       1.1  christos 		break;
   11603       1.1  christos 	/* netbsd32___select50 */
   11604       1.1  christos 	case 417:
   11605       1.1  christos 		if (ndx == 0 || ndx == 1)
   11606       1.1  christos 			p = "int";
   11607       1.1  christos 		break;
   11608       1.1  christos 	/* netbsd32___gettimeofday50 */
   11609       1.1  christos 	case 418:
   11610       1.1  christos 		if (ndx == 0 || ndx == 1)
   11611       1.1  christos 			p = "int";
   11612       1.1  christos 		break;
   11613       1.1  christos 	/* netbsd32___settimeofday50 */
   11614       1.1  christos 	case 419:
   11615       1.1  christos 		if (ndx == 0 || ndx == 1)
   11616       1.1  christos 			p = "int";
   11617       1.1  christos 		break;
   11618       1.1  christos 	/* netbsd32___utimes50 */
   11619       1.1  christos 	case 420:
   11620       1.1  christos 		if (ndx == 0 || ndx == 1)
   11621       1.1  christos 			p = "int";
   11622       1.1  christos 		break;
   11623       1.1  christos 	/* netbsd32___adjtime50 */
   11624       1.1  christos 	case 421:
   11625       1.1  christos 		if (ndx == 0 || ndx == 1)
   11626       1.1  christos 			p = "int";
   11627       1.1  christos 		break;
   11628       1.1  christos 	/* netbsd32___futimes50 */
   11629       1.1  christos 	case 423:
   11630       1.1  christos 		if (ndx == 0 || ndx == 1)
   11631       1.1  christos 			p = "int";
   11632       1.1  christos 		break;
   11633       1.1  christos 	/* netbsd32___lutimes50 */
   11634       1.1  christos 	case 424:
   11635       1.1  christos 		if (ndx == 0 || ndx == 1)
   11636       1.1  christos 			p = "int";
   11637       1.1  christos 		break;
   11638       1.1  christos 	/* netbsd32___setitimer50 */
   11639       1.1  christos 	case 425:
   11640       1.1  christos 		if (ndx == 0 || ndx == 1)
   11641       1.1  christos 			p = "int";
   11642       1.1  christos 		break;
   11643       1.1  christos 	/* netbsd32___getitimer50 */
   11644       1.1  christos 	case 426:
   11645       1.1  christos 		if (ndx == 0 || ndx == 1)
   11646       1.1  christos 			p = "int";
   11647       1.1  christos 		break;
   11648       1.1  christos 	/* netbsd32___clock_gettime50 */
   11649       1.1  christos 	case 427:
   11650       1.1  christos 		if (ndx == 0 || ndx == 1)
   11651       1.1  christos 			p = "int";
   11652       1.1  christos 		break;
   11653       1.1  christos 	/* netbsd32___clock_settime50 */
   11654       1.1  christos 	case 428:
   11655       1.1  christos 		if (ndx == 0 || ndx == 1)
   11656       1.1  christos 			p = "int";
   11657       1.1  christos 		break;
   11658       1.1  christos 	/* netbsd32___clock_getres50 */
   11659       1.1  christos 	case 429:
   11660       1.1  christos 		if (ndx == 0 || ndx == 1)
   11661       1.1  christos 			p = "int";
   11662       1.1  christos 		break;
   11663       1.1  christos 	/* netbsd32___nanosleep50 */
   11664       1.1  christos 	case 430:
   11665       1.1  christos 		if (ndx == 0 || ndx == 1)
   11666       1.1  christos 			p = "int";
   11667       1.1  christos 		break;
   11668       1.1  christos 	/* netbsd32_____sigtimedwait50 */
   11669       1.1  christos 	case 431:
   11670       1.1  christos 		if (ndx == 0 || ndx == 1)
   11671       1.1  christos 			p = "int";
   11672       1.1  christos 		break;
   11673       1.4    martin 	/* netbsd32___mq_timedsend50 */
   11674       1.4    martin 	case 432:
   11675       1.4    martin 		if (ndx == 0 || ndx == 1)
   11676       1.4    martin 			p = "int";
   11677       1.4    martin 		break;
   11678       1.4    martin 	/* netbsd32___mq_timedreceive50 */
   11679       1.4    martin 	case 433:
   11680       1.4    martin 		if (ndx == 0 || ndx == 1)
   11681       1.4    martin 			p = "netbsd32_ssize_t";
   11682       1.4    martin 		break;
   11683       1.1  christos 	/* netbsd32__lwp_park */
   11684       1.1  christos 	case 434:
   11685       1.1  christos 		if (ndx == 0 || ndx == 1)
   11686       1.1  christos 			p = "int";
   11687       1.1  christos 		break;
   11688       1.1  christos 	/* netbsd32___kevent50 */
   11689       1.1  christos 	case 435:
   11690       1.1  christos 		if (ndx == 0 || ndx == 1)
   11691       1.1  christos 			p = "int";
   11692       1.1  christos 		break;
   11693       1.1  christos 	/* netbsd32___pselect50 */
   11694       1.1  christos 	case 436:
   11695       1.1  christos 		if (ndx == 0 || ndx == 1)
   11696       1.1  christos 			p = "int";
   11697       1.1  christos 		break;
   11698       1.1  christos 	/* netbsd32___pollts50 */
   11699       1.1  christos 	case 437:
   11700       1.1  christos 		if (ndx == 0 || ndx == 1)
   11701       1.1  christos 			p = "int";
   11702       1.1  christos 		break;
   11703       1.1  christos 	/* netbsd32___stat50 */
   11704       1.1  christos 	case 439:
   11705       1.1  christos 		if (ndx == 0 || ndx == 1)
   11706       1.1  christos 			p = "int";
   11707       1.1  christos 		break;
   11708       1.1  christos 	/* netbsd32___fstat50 */
   11709       1.1  christos 	case 440:
   11710       1.1  christos 		if (ndx == 0 || ndx == 1)
   11711       1.1  christos 			p = "int";
   11712       1.1  christos 		break;
   11713       1.1  christos 	/* netbsd32___lstat50 */
   11714       1.1  christos 	case 441:
   11715       1.1  christos 		if (ndx == 0 || ndx == 1)
   11716       1.1  christos 			p = "int";
   11717       1.1  christos 		break;
   11718       1.1  christos 	/* netbsd32_____semctl50 */
   11719       1.1  christos 	case 442:
   11720       1.1  christos 		if (ndx == 0 || ndx == 1)
   11721       1.1  christos 			p = "int";
   11722       1.1  christos 		break;
   11723       1.1  christos 	/* netbsd32___shmctl50 */
   11724       1.1  christos 	case 443:
   11725       1.1  christos 		if (ndx == 0 || ndx == 1)
   11726       1.1  christos 			p = "int";
   11727       1.1  christos 		break;
   11728       1.1  christos 	/* netbsd32___msgctl50 */
   11729       1.1  christos 	case 444:
   11730       1.1  christos 		if (ndx == 0 || ndx == 1)
   11731       1.1  christos 			p = "int";
   11732       1.1  christos 		break;
   11733       1.1  christos 	/* netbsd32___getrusage50 */
   11734       1.1  christos 	case 445:
   11735       1.1  christos 		if (ndx == 0 || ndx == 1)
   11736       1.1  christos 			p = "int";
   11737       1.1  christos 		break;
   11738       1.1  christos 	/* netbsd32___timer_settime50 */
   11739       1.1  christos 	case 446:
   11740       1.1  christos 		if (ndx == 0 || ndx == 1)
   11741       1.1  christos 			p = "int";
   11742       1.1  christos 		break;
   11743       1.1  christos 	/* netbsd32___timer_gettime50 */
   11744       1.1  christos 	case 447:
   11745       1.1  christos 		if (ndx == 0 || ndx == 1)
   11746       1.1  christos 			p = "int";
   11747       1.1  christos 		break;
   11748       1.1  christos #if defined(NTP) || !defined(_KERNEL_OPT)
   11749       1.1  christos 	/* netbsd32___ntp_gettime50 */
   11750       1.1  christos 	case 448:
   11751       1.1  christos 		if (ndx == 0 || ndx == 1)
   11752       1.1  christos 			p = "int";
   11753       1.1  christos 		break;
   11754       1.1  christos #else
   11755       1.1  christos #endif
   11756       1.1  christos 	/* netbsd32___wait450 */
   11757       1.1  christos 	case 449:
   11758       1.1  christos 		if (ndx == 0 || ndx == 1)
   11759       1.1  christos 			p = "int";
   11760       1.1  christos 		break;
   11761       1.1  christos 	/* netbsd32___mknod50 */
   11762       1.1  christos 	case 450:
   11763       1.1  christos 		if (ndx == 0 || ndx == 1)
   11764       1.1  christos 			p = "int";
   11765       1.1  christos 		break;
   11766       1.1  christos 	/* netbsd32___fhstat50 */
   11767       1.1  christos 	case 451:
   11768       1.1  christos 		if (ndx == 0 || ndx == 1)
   11769       1.1  christos 			p = "int";
   11770       1.1  christos 		break;
   11771       1.1  christos 	/* netbsd32_pipe2 */
   11772       1.1  christos 	case 453:
   11773       1.1  christos 		if (ndx == 0 || ndx == 1)
   11774       1.1  christos 			p = "int";
   11775       1.1  christos 		break;
   11776       1.1  christos 	/* netbsd32_dup3 */
   11777       1.1  christos 	case 454:
   11778       1.1  christos 		if (ndx == 0 || ndx == 1)
   11779       1.1  christos 			p = "int";
   11780       1.1  christos 		break;
   11781       1.1  christos 	/* netbsd32_kqueue1 */
   11782       1.1  christos 	case 455:
   11783       1.1  christos 		if (ndx == 0 || ndx == 1)
   11784       1.1  christos 			p = "int";
   11785       1.1  christos 		break;
   11786       1.1  christos 	/* netbsd32_paccept */
   11787       1.1  christos 	case 456:
   11788       1.1  christos 		if (ndx == 0 || ndx == 1)
   11789       1.1  christos 			p = "int";
   11790       1.1  christos 		break;
   11791       1.1  christos 	/* netbsd32_linkat */
   11792       1.1  christos 	case 457:
   11793       1.1  christos 		if (ndx == 0 || ndx == 1)
   11794       1.1  christos 			p = "int";
   11795       1.1  christos 		break;
   11796       1.1  christos 	/* netbsd32_renameat */
   11797       1.1  christos 	case 458:
   11798       1.1  christos 		if (ndx == 0 || ndx == 1)
   11799       1.1  christos 			p = "int";
   11800       1.1  christos 		break;
   11801       1.1  christos 	/* netbsd32_mkfifoat */
   11802       1.1  christos 	case 459:
   11803       1.1  christos 		if (ndx == 0 || ndx == 1)
   11804       1.1  christos 			p = "int";
   11805       1.1  christos 		break;
   11806       1.1  christos 	/* netbsd32_mknodat */
   11807       1.1  christos 	case 460:
   11808       1.1  christos 		if (ndx == 0 || ndx == 1)
   11809       1.1  christos 			p = "int";
   11810       1.1  christos 		break;
   11811       1.1  christos 	/* netbsd32_mkdirat */
   11812       1.1  christos 	case 461:
   11813       1.1  christos 		if (ndx == 0 || ndx == 1)
   11814       1.1  christos 			p = "int";
   11815       1.1  christos 		break;
   11816       1.1  christos 	/* netbsd32_faccessat */
   11817       1.1  christos 	case 462:
   11818       1.1  christos 		if (ndx == 0 || ndx == 1)
   11819       1.1  christos 			p = "int";
   11820       1.1  christos 		break;
   11821       1.1  christos 	/* netbsd32_fchmodat */
   11822       1.1  christos 	case 463:
   11823       1.1  christos 		if (ndx == 0 || ndx == 1)
   11824       1.1  christos 			p = "int";
   11825       1.1  christos 		break;
   11826       1.1  christos 	/* netbsd32_fchownat */
   11827       1.1  christos 	case 464:
   11828       1.1  christos 		if (ndx == 0 || ndx == 1)
   11829       1.1  christos 			p = "int";
   11830       1.1  christos 		break;
   11831       1.1  christos 	/* netbsd32_fexecve */
   11832       1.1  christos 	case 465:
   11833       1.1  christos 		if (ndx == 0 || ndx == 1)
   11834       1.1  christos 			p = "int";
   11835       1.1  christos 		break;
   11836       1.1  christos 	/* netbsd32_fstatat */
   11837       1.1  christos 	case 466:
   11838       1.1  christos 		if (ndx == 0 || ndx == 1)
   11839       1.1  christos 			p = "int";
   11840       1.1  christos 		break;
   11841       1.1  christos 	/* netbsd32_utimensat */
   11842       1.1  christos 	case 467:
   11843       1.1  christos 		if (ndx == 0 || ndx == 1)
   11844       1.1  christos 			p = "int";
   11845       1.1  christos 		break;
   11846       1.1  christos 	/* netbsd32_openat */
   11847       1.1  christos 	case 468:
   11848       1.1  christos 		if (ndx == 0 || ndx == 1)
   11849       1.1  christos 			p = "int";
   11850       1.1  christos 		break;
   11851       1.1  christos 	/* netbsd32_readlinkat */
   11852       1.1  christos 	case 469:
   11853       1.1  christos 		if (ndx == 0 || ndx == 1)
   11854       1.1  christos 			p = "netbsd32_ssize_t";
   11855       1.1  christos 		break;
   11856       1.1  christos 	/* netbsd32_symlinkat */
   11857       1.1  christos 	case 470:
   11858       1.1  christos 		if (ndx == 0 || ndx == 1)
   11859       1.1  christos 			p = "int";
   11860       1.1  christos 		break;
   11861       1.1  christos 	/* netbsd32_unlinkat */
   11862       1.1  christos 	case 471:
   11863       1.1  christos 		if (ndx == 0 || ndx == 1)
   11864       1.1  christos 			p = "int";
   11865       1.1  christos 		break;
   11866       1.1  christos 	/* netbsd32_futimens */
   11867       1.1  christos 	case 472:
   11868       1.1  christos 		if (ndx == 0 || ndx == 1)
   11869       1.1  christos 			p = "int";
   11870       1.1  christos 		break;
   11871       1.1  christos 	/* netbsd32___quotactl */
   11872       1.1  christos 	case 473:
   11873       1.1  christos 		if (ndx == 0 || ndx == 1)
   11874       1.1  christos 			p = "int";
   11875       1.1  christos 		break;
   11876       1.1  christos 	/* netbsd32_posix_spawn */
   11877       1.1  christos 	case 474:
   11878       1.1  christos 		if (ndx == 0 || ndx == 1)
   11879       1.1  christos 			p = "int";
   11880       1.1  christos 		break;
   11881      1.25  christos 	/* netbsd32_recvmmsg */
   11882      1.25  christos 	case 475:
   11883      1.25  christos 		if (ndx == 0 || ndx == 1)
   11884      1.25  christos 			p = "int";
   11885      1.25  christos 		break;
   11886      1.25  christos 	/* netbsd32_sendmmsg */
   11887      1.25  christos 	case 476:
   11888      1.25  christos 		if (ndx == 0 || ndx == 1)
   11889      1.25  christos 			p = "int";
   11890      1.25  christos 		break;
   11891       1.1  christos 	/* netbsd32_clock_nanosleep */
   11892       1.1  christos 	case 477:
   11893       1.1  christos 		if (ndx == 0 || ndx == 1)
   11894       1.1  christos 			p = "int";
   11895       1.1  christos 		break;
   11896       1.1  christos 	/* netbsd32____lwp_park60 */
   11897       1.1  christos 	case 478:
   11898       1.1  christos 		if (ndx == 0 || ndx == 1)
   11899       1.1  christos 			p = "int";
   11900       1.1  christos 		break;
   11901       1.2    martin 	/* netbsd32_posix_fallocate */
   11902       1.2    martin 	case 479:
   11903       1.2    martin 		if (ndx == 0 || ndx == 1)
   11904       1.2    martin 			p = "int";
   11905       1.2    martin 		break;
   11906       1.2    martin 	/* netbsd32_fdiscard */
   11907       1.2    martin 	case 480:
   11908       1.2    martin 		if (ndx == 0 || ndx == 1)
   11909       1.2    martin 			p = "int";
   11910       1.2    martin 		break;
   11911      1.14     skrll 	/* netbsd32_wait6 */
   11912      1.14     skrll 	case 481:
   11913      1.14     skrll 		if (ndx == 0 || ndx == 1)
   11914      1.14     skrll 			p = "int";
   11915      1.14     skrll 		break;
   11916      1.14     skrll 	/* netbsd32_clock_getcpuclockid2 */
   11917      1.14     skrll 	case 482:
   11918      1.14     skrll 		if (ndx == 0 || ndx == 1)
   11919      1.14     skrll 			p = "int";
   11920      1.14     skrll 		break;
   11921      1.33  christos 	/* netbsd32___getvfsstat90 */
   11922      1.33  christos 	case 483:
   11923      1.33  christos 		if (ndx == 0 || ndx == 1)
   11924      1.33  christos 			p = "int";
   11925      1.33  christos 		break;
   11926      1.33  christos 	/* netbsd32___statvfs190 */
   11927      1.33  christos 	case 484:
   11928      1.33  christos 		if (ndx == 0 || ndx == 1)
   11929      1.33  christos 			p = "int";
   11930      1.33  christos 		break;
   11931      1.33  christos 	/* netbsd32___fstatvfs190 */
   11932      1.33  christos 	case 485:
   11933      1.33  christos 		if (ndx == 0 || ndx == 1)
   11934      1.33  christos 			p = "int";
   11935      1.33  christos 		break;
   11936      1.33  christos 	/* netbsd32___fhstatvfs190 */
   11937      1.33  christos 	case 486:
   11938      1.33  christos 		if (ndx == 0 || ndx == 1)
   11939      1.33  christos 			p = "int";
   11940      1.33  christos 		break;
   11941      1.44  christos 	/* netbsd32___acl_get_link */
   11942      1.44  christos 	case 487:
   11943      1.44  christos 		if (ndx == 0 || ndx == 1)
   11944      1.44  christos 			p = "int";
   11945      1.44  christos 		break;
   11946      1.44  christos 	/* netbsd32___acl_set_link */
   11947      1.44  christos 	case 488:
   11948      1.44  christos 		if (ndx == 0 || ndx == 1)
   11949      1.44  christos 			p = "int";
   11950      1.44  christos 		break;
   11951      1.44  christos 	/* netbsd32___acl_delete_link */
   11952      1.44  christos 	case 489:
   11953      1.44  christos 		if (ndx == 0 || ndx == 1)
   11954      1.44  christos 			p = "int";
   11955      1.44  christos 		break;
   11956      1.44  christos 	/* netbsd32___acl_aclcheck_link */
   11957      1.44  christos 	case 490:
   11958      1.44  christos 		if (ndx == 0 || ndx == 1)
   11959      1.44  christos 			p = "int";
   11960      1.44  christos 		break;
   11961      1.44  christos 	/* netbsd32___acl_get_file */
   11962      1.44  christos 	case 491:
   11963      1.44  christos 		if (ndx == 0 || ndx == 1)
   11964      1.44  christos 			p = "int";
   11965      1.44  christos 		break;
   11966      1.44  christos 	/* netbsd32___acl_set_file */
   11967      1.44  christos 	case 492:
   11968      1.44  christos 		if (ndx == 0 || ndx == 1)
   11969      1.44  christos 			p = "int";
   11970      1.44  christos 		break;
   11971      1.44  christos 	/* netbsd32___acl_get_fd */
   11972      1.44  christos 	case 493:
   11973      1.44  christos 		if (ndx == 0 || ndx == 1)
   11974      1.44  christos 			p = "int";
   11975      1.44  christos 		break;
   11976      1.44  christos 	/* netbsd32___acl_set_fd */
   11977      1.44  christos 	case 494:
   11978      1.44  christos 		if (ndx == 0 || ndx == 1)
   11979      1.44  christos 			p = "int";
   11980      1.44  christos 		break;
   11981      1.44  christos 	/* netbsd32___acl_delete_file */
   11982      1.44  christos 	case 495:
   11983      1.44  christos 		if (ndx == 0 || ndx == 1)
   11984      1.44  christos 			p = "int";
   11985      1.44  christos 		break;
   11986      1.44  christos 	/* netbsd32___acl_delete_fd */
   11987      1.44  christos 	case 496:
   11988      1.44  christos 		if (ndx == 0 || ndx == 1)
   11989      1.44  christos 			p = "int";
   11990      1.44  christos 		break;
   11991      1.44  christos 	/* netbsd32___acl_aclcheck_file */
   11992      1.44  christos 	case 497:
   11993      1.44  christos 		if (ndx == 0 || ndx == 1)
   11994      1.44  christos 			p = "int";
   11995      1.44  christos 		break;
   11996      1.44  christos 	/* netbsd32___acl_aclcheck_fd */
   11997      1.44  christos 	case 498:
   11998      1.44  christos 		if (ndx == 0 || ndx == 1)
   11999      1.44  christos 			p = "int";
   12000      1.44  christos 		break;
   12001      1.44  christos 	/* netbsd32_lpathconf */
   12002      1.44  christos 	case 499:
   12003      1.44  christos 		if (ndx == 0 || ndx == 1)
   12004      1.44  christos 			p = "long";
   12005      1.44  christos 		break;
   12006       1.1  christos 	default:
   12007       1.1  christos 		break;
   12008       1.1  christos 	};
   12009       1.1  christos 	if (p != NULL)
   12010       1.1  christos 		strlcpy(desc, p, descsz);
   12011       1.1  christos }
   12012