[BACK]Return to netbsd32_sysent.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / compat / netbsd32

Annotation of src/sys/compat/netbsd32/netbsd32_sysent.c, Revision 1.47.6.2

1.47.6.2! kardel      1: /* $NetBSD: netbsd32_sysent.c,v 1.47.6.1 2006/04/22 11:38:17 simonb Exp $ */
1.1       mrg         2:
                      3: /*
                      4:  * System call switch table.
                      5:  *
                      6:  * DO NOT EDIT-- this file is automatically generated.
1.47.6.2! kardel      7:  * created from        NetBSD: syscalls.master,v 1.47 2006/05/31 09:52:27 drochner Exp
1.1       mrg         8:  */
1.24      lukem       9:
                     10: #include <sys/cdefs.h>
1.47.6.2! kardel     11: __KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.47.6.1 2006/04/22 11:38:17 simonb Exp $");
1.1       mrg        12:
1.23      mrg        13: #if defined(_KERNEL_OPT)
1.1       mrg        14: #include "opt_ktrace.h"
                     15: #include "opt_nfsserver.h"
                     16: #include "opt_compat_netbsd.h"
1.4       eeh        17: #include "opt_ntp.h"
1.5       tron       18: #include "opt_sysv.h"
1.6       christos   19: #include "opt_compat_43.h"
1.47.6.1  simonb     20: #include "opt_posix.h"
1.1       mrg        21: #include "fs_lfs.h"
                     22: #include "fs_nfs.h"
1.17      jdolecek   23: #endif
1.1       mrg        24: #include <sys/param.h>
                     25: #include <sys/systm.h>
                     26: #include <sys/signal.h>
                     27: #include <sys/mount.h>
1.28      thorpej    28: #include <sys/sa.h>
1.1       mrg        29: #include <sys/syscallargs.h>
1.8       mrg        30: #include <compat/netbsd32/netbsd32.h>
                     31: #include <compat/netbsd32/netbsd32_syscallargs.h>
1.1       mrg        32:
                     33: #ifdef COMPAT_43
1.23      mrg        34: #define        compat_43(func) __CONCAT(compat_43_,func)
1.1       mrg        35: #else
1.23      mrg        36: #define        compat_43(func) sys_nosys
1.1       mrg        37: #endif
                     38:
                     39: #ifdef COMPAT_09
1.23      mrg        40: #define        compat_09(func) __CONCAT(compat_09_,func)
1.1       mrg        41: #else
1.23      mrg        42: #define        compat_09(func) sys_nosys
1.1       mrg        43: #endif
                     44:
                     45: #ifdef COMPAT_10
1.23      mrg        46: #define        compat_10(func) __CONCAT(compat_10_,func)
1.1       mrg        47: #else
1.23      mrg        48: #define        compat_10(func) sys_nosys
1.1       mrg        49: #endif
                     50:
                     51: #ifdef COMPAT_11
1.23      mrg        52: #define        compat_11(func) __CONCAT(compat_11_,func)
1.1       mrg        53: #else
1.23      mrg        54: #define        compat_11(func) sys_nosys
1.1       mrg        55: #endif
                     56:
                     57: #ifdef COMPAT_12
1.23      mrg        58: #define        compat_12(func) __CONCAT(compat_12_,func)
1.1       mrg        59: #else
1.23      mrg        60: #define        compat_12(func) sys_nosys
1.1       mrg        61: #endif
                     62:
                     63: #ifdef COMPAT_13
1.23      mrg        64: #define        compat_13(func) __CONCAT(compat_13_,func)
1.1       mrg        65: #else
1.23      mrg        66: #define        compat_13(func) sys_nosys
1.1       mrg        67: #endif
                     68:
1.11      eeh        69: #ifdef COMPAT_14
1.23      mrg        70: #define        compat_14(func) __CONCAT(compat_14_,func)
1.11      eeh        71: #else
1.23      mrg        72: #define        compat_14(func) sys_nosys
1.11      eeh        73: #endif
                     74:
1.30      fvdl       75: #ifdef COMPAT_15
                     76: #define        compat_15(func) __CONCAT(compat_15_,func)
                     77: #else
                     78: #define        compat_15(func) sys_nosys
                     79: #endif
                     80:
                     81: #ifdef COMPAT_16
                     82: #define        compat_16(func) __CONCAT(compat_16_,func)
                     83: #else
                     84: #define        compat_16(func) sys_nosys
                     85: #endif
                     86:
1.32      cube       87: #ifdef COMPAT_20
                     88: #define        compat_20(func) __CONCAT(compat_20_,func)
                     89: #else
                     90: #define        compat_20(func) sys_nosys
                     91: #endif
                     92:
1.47.6.2! kardel     93: #ifdef COMPAT_30
        !            94: #define        compat_30(func) __CONCAT(compat_30_,func)
        !            95: #else
        !            96: #define        compat_30(func) sys_nosys
        !            97: #endif
        !            98:
1.1       mrg        99: #define        s(type) sizeof(type)
                    100:
1.8       mrg       101: struct sysent netbsd32_sysent[] = {
1.19      thorpej   102:        { 0, 0, 0,
1.1       mrg       103:            sys_nosys },                        /* 0 = syscall (indir) */
1.19      thorpej   104:        { 1, s(struct netbsd32_exit_args), 0,
1.11      eeh       105:            netbsd32_exit },                    /* 1 = netbsd32_exit */
1.19      thorpej   106:        { 0, 0, 0,
1.1       mrg       107:            sys_fork },                         /* 2 = fork */
1.19      thorpej   108:        { 3, s(struct netbsd32_read_args), 0,
1.11      eeh       109:            netbsd32_read },                    /* 3 = netbsd32_read */
1.19      thorpej   110:        { 3, s(struct netbsd32_write_args), 0,
1.11      eeh       111:            netbsd32_write },                   /* 4 = netbsd32_write */
1.19      thorpej   112:        { 3, s(struct netbsd32_open_args), 0,
1.11      eeh       113:            netbsd32_open },                    /* 5 = netbsd32_open */
1.19      thorpej   114:        { 1, s(struct netbsd32_close_args), 0,
1.11      eeh       115:            netbsd32_close },                   /* 6 = netbsd32_close */
1.19      thorpej   116:        { 4, s(struct netbsd32_wait4_args), 0,
1.11      eeh       117:            netbsd32_wait4 },                   /* 7 = netbsd32_wait4 */
1.19      thorpej   118:        { 2, s(struct compat_43_netbsd32_ocreat_args), 0,
1.11      eeh       119:            compat_43(netbsd32_ocreat) },       /* 8 = compat_43 netbsd32_ocreat */
1.19      thorpej   120:        { 2, s(struct netbsd32_link_args), 0,
1.11      eeh       121:            netbsd32_link },                    /* 9 = netbsd32_link */
1.19      thorpej   122:        { 1, s(struct netbsd32_unlink_args), 0,
1.11      eeh       123:            netbsd32_unlink },                  /* 10 = netbsd32_unlink */
1.19      thorpej   124:        { 0, 0, 0,
1.1       mrg       125:            sys_nosys },                        /* 11 = obsolete execv */
1.19      thorpej   126:        { 1, s(struct netbsd32_chdir_args), 0,
1.11      eeh       127:            netbsd32_chdir },                   /* 12 = netbsd32_chdir */
1.19      thorpej   128:        { 1, s(struct netbsd32_fchdir_args), 0,
1.11      eeh       129:            netbsd32_fchdir },                  /* 13 = netbsd32_fchdir */
1.19      thorpej   130:        { 3, s(struct netbsd32_mknod_args), 0,
1.11      eeh       131:            netbsd32_mknod },                   /* 14 = netbsd32_mknod */
1.19      thorpej   132:        { 2, s(struct netbsd32_chmod_args), 0,
1.11      eeh       133:            netbsd32_chmod },                   /* 15 = netbsd32_chmod */
1.19      thorpej   134:        { 3, s(struct netbsd32_chown_args), 0,
1.11      eeh       135:            netbsd32_chown },                   /* 16 = netbsd32_chown */
1.19      thorpej   136:        { 1, s(struct netbsd32_break_args), 0,
1.11      eeh       137:            netbsd32_break },                   /* 17 = netbsd32_break */
1.32      cube      138:        { 3, s(struct compat_20_netbsd32_getfsstat_args), 0,
                    139:            compat_20(netbsd32_getfsstat) },    /* 18 = compat_20 netbsd32_getfsstat */
1.19      thorpej   140:        { 3, s(struct compat_43_netbsd32_olseek_args), 0,
1.11      eeh       141:            compat_43(netbsd32_olseek) },       /* 19 = compat_43 netbsd32_olseek */
1.20      thorpej   142:        { 0, 0, SYCALL_MPSAFE | 0,
1.1       mrg       143:            sys_getpid },                       /* 20 = getpid */
1.19      thorpej   144:        { 4, s(struct netbsd32_mount_args), 0,
1.11      eeh       145:            netbsd32_mount },                   /* 21 = netbsd32_mount */
1.19      thorpej   146:        { 2, s(struct netbsd32_unmount_args), 0,
1.11      eeh       147:            netbsd32_unmount },                 /* 22 = netbsd32_unmount */
1.19      thorpej   148:        { 1, s(struct netbsd32_setuid_args), 0,
1.11      eeh       149:            netbsd32_setuid },                  /* 23 = netbsd32_setuid */
1.19      thorpej   150:        { 0, 0, 0,
1.1       mrg       151:            sys_getuid },                       /* 24 = getuid */
1.19      thorpej   152:        { 0, 0, 0,
1.1       mrg       153:            sys_geteuid },                      /* 25 = geteuid */
1.19      thorpej   154:        { 4, s(struct netbsd32_ptrace_args), 0,
1.11      eeh       155:            netbsd32_ptrace },                  /* 26 = netbsd32_ptrace */
1.19      thorpej   156:        { 3, s(struct netbsd32_recvmsg_args), 0,
1.11      eeh       157:            netbsd32_recvmsg },                 /* 27 = netbsd32_recvmsg */
1.19      thorpej   158:        { 3, s(struct netbsd32_sendmsg_args), 0,
1.11      eeh       159:            netbsd32_sendmsg },                 /* 28 = netbsd32_sendmsg */
1.19      thorpej   160:        { 6, s(struct netbsd32_recvfrom_args), 0,
1.11      eeh       161:            netbsd32_recvfrom },                /* 29 = netbsd32_recvfrom */
1.19      thorpej   162:        { 3, s(struct netbsd32_accept_args), 0,
1.11      eeh       163:            netbsd32_accept },                  /* 30 = netbsd32_accept */
1.19      thorpej   164:        { 3, s(struct netbsd32_getpeername_args), 0,
1.11      eeh       165:            netbsd32_getpeername },             /* 31 = netbsd32_getpeername */
1.19      thorpej   166:        { 3, s(struct netbsd32_getsockname_args), 0,
1.11      eeh       167:            netbsd32_getsockname },             /* 32 = netbsd32_getsockname */
1.19      thorpej   168:        { 2, s(struct netbsd32_access_args), 0,
1.11      eeh       169:            netbsd32_access },                  /* 33 = netbsd32_access */
1.19      thorpej   170:        { 2, s(struct netbsd32_chflags_args), 0,
1.11      eeh       171:            netbsd32_chflags },                 /* 34 = netbsd32_chflags */
1.19      thorpej   172:        { 2, s(struct netbsd32_fchflags_args), 0,
1.11      eeh       173:            netbsd32_fchflags },                /* 35 = netbsd32_fchflags */
1.19      thorpej   174:        { 0, 0, 0,
1.1       mrg       175:            sys_sync },                         /* 36 = sync */
1.19      thorpej   176:        { 2, s(struct netbsd32_kill_args), 0,
1.11      eeh       177:            netbsd32_kill },                    /* 37 = netbsd32_kill */
1.19      thorpej   178:        { 2, s(struct compat_43_netbsd32_stat43_args), 0,
1.11      eeh       179:            compat_43(netbsd32_stat43) },       /* 38 = compat_43 netbsd32_stat43 */
1.19      thorpej   180:        { 0, 0, 0,
1.1       mrg       181:            sys_getppid },                      /* 39 = getppid */
1.19      thorpej   182:        { 2, s(struct compat_43_netbsd32_lstat43_args), 0,
1.11      eeh       183:            compat_43(netbsd32_lstat43) },      /* 40 = compat_43 netbsd32_lstat43 */
1.19      thorpej   184:        { 1, s(struct netbsd32_dup_args), 0,
1.11      eeh       185:            netbsd32_dup },                     /* 41 = netbsd32_dup */
1.19      thorpej   186:        { 0, 0, 0,
1.1       mrg       187:            sys_pipe },                         /* 42 = pipe */
1.19      thorpej   188:        { 0, 0, 0,
1.1       mrg       189:            sys_getegid },                      /* 43 = getegid */
1.19      thorpej   190:        { 4, s(struct netbsd32_profil_args), 0,
1.11      eeh       191:            netbsd32_profil },                  /* 44 = netbsd32_profil */
1.10      christos  192: #if defined(KTRACE) || !defined(_KERNEL)
1.19      thorpej   193:        { 4, s(struct netbsd32_ktrace_args), 0,
1.11      eeh       194:            netbsd32_ktrace },                  /* 45 = netbsd32_ktrace */
1.1       mrg       195: #else
1.19      thorpej   196:        { 0, 0, 0,
1.11      eeh       197:            sys_nosys },                        /* 45 = excluded netbsd32_ktrace */
1.1       mrg       198: #endif
1.19      thorpej   199:        { 3, s(struct netbsd32_sigaction_args), 0,
1.11      eeh       200:            netbsd32_sigaction },               /* 46 = netbsd32_sigaction */
1.19      thorpej   201:        { 0, 0, 0,
1.1       mrg       202:            sys_getgid },                       /* 47 = getgid */
1.19      thorpej   203:        { 2, s(struct compat_13_netbsd32_sigprocmask_args), 0,
1.11      eeh       204:            compat_13(netbsd32_sigprocmask) },  /* 48 = compat_13 sigprocmask13 */
1.19      thorpej   205:        { 2, s(struct netbsd32___getlogin_args), 0,
1.11      eeh       206:            netbsd32___getlogin },              /* 49 = netbsd32___getlogin */
1.19      thorpej   207:        { 1, s(struct netbsd32_setlogin_args), 0,
1.11      eeh       208:            netbsd32_setlogin },                /* 50 = netbsd32_setlogin */
1.19      thorpej   209:        { 1, s(struct netbsd32_acct_args), 0,
1.11      eeh       210:            netbsd32_acct },                    /* 51 = netbsd32_acct */
1.19      thorpej   211:        { 0, 0, 0,
1.4       eeh       212:            compat_13(sys_sigpending) },        /* 52 = compat_13 sigpending13 */
1.19      thorpej   213:        { 2, s(struct compat_13_netbsd32_sigaltstack13_args), 0,
1.11      eeh       214:            compat_13(netbsd32_sigaltstack13) },/* 53 = compat_13 netbsd32_sigaltstack13 */
1.19      thorpej   215:        { 3, s(struct netbsd32_ioctl_args), 0,
1.11      eeh       216:            netbsd32_ioctl },                   /* 54 = netbsd32_ioctl */
1.19      thorpej   217:        { 1, s(struct compat_12_netbsd32_reboot_args), 0,
1.11      eeh       218:            compat_12(netbsd32_reboot) },       /* 55 = compat_12 netbsd32_reboot */
1.19      thorpej   219:        { 1, s(struct netbsd32_revoke_args), 0,
1.11      eeh       220:            netbsd32_revoke },                  /* 56 = netbsd32_revoke */
1.19      thorpej   221:        { 2, s(struct netbsd32_symlink_args), 0,
1.11      eeh       222:            netbsd32_symlink },                 /* 57 = netbsd32_symlink */
1.19      thorpej   223:        { 3, s(struct netbsd32_readlink_args), 0,
1.11      eeh       224:            netbsd32_readlink },                /* 58 = netbsd32_readlink */
1.19      thorpej   225:        { 3, s(struct netbsd32_execve_args), 0,
1.11      eeh       226:            netbsd32_execve },                  /* 59 = netbsd32_execve */
1.19      thorpej   227:        { 1, s(struct netbsd32_umask_args), 0,
1.11      eeh       228:            netbsd32_umask },                   /* 60 = netbsd32_umask */
1.19      thorpej   229:        { 1, s(struct netbsd32_chroot_args), 0,
1.11      eeh       230:            netbsd32_chroot },                  /* 61 = netbsd32_chroot */
1.19      thorpej   231:        { 2, s(struct compat_43_netbsd32_fstat43_args), 0,
1.11      eeh       232:            compat_43(netbsd32_fstat43) },      /* 62 = compat_43 netbsd32_fstat43 */
1.19      thorpej   233:        { 4, s(struct compat_43_netbsd32_ogetkerninfo_args), 0,
1.11      eeh       234:            compat_43(netbsd32_ogetkerninfo) }, /* 63 = compat_43 netbsd32_ogetkerninfo */
1.19      thorpej   235:        { 0, 0, 0,
1.1       mrg       236:            compat_43(sys_getpagesize) },       /* 64 = compat_43 ogetpagesize */
1.19      thorpej   237:        { 2, s(struct compat_12_netbsd32_msync_args), 0,
1.11      eeh       238:            compat_12(netbsd32_msync) },        /* 65 = compat_12 netbsd32_msync */
1.19      thorpej   239:        { 0, 0, 0,
1.1       mrg       240:            sys_vfork },                        /* 66 = vfork */
1.19      thorpej   241:        { 0, 0, 0,
1.1       mrg       242:            sys_nosys },                        /* 67 = obsolete vread */
1.19      thorpej   243:        { 0, 0, 0,
1.1       mrg       244:            sys_nosys },                        /* 68 = obsolete vwrite */
1.19      thorpej   245:        { 1, s(struct netbsd32_sbrk_args), 0,
1.11      eeh       246:            netbsd32_sbrk },                    /* 69 = netbsd32_sbrk */
1.19      thorpej   247:        { 1, s(struct netbsd32_sstk_args), 0,
1.11      eeh       248:            netbsd32_sstk },                    /* 70 = netbsd32_sstk */
1.19      thorpej   249:        { 6, s(struct compat_43_netbsd32_ommap_args), 0,
1.11      eeh       250:            compat_43(netbsd32_ommap) },        /* 71 = compat_43 netbsd32_ommap */
1.19      thorpej   251:        { 1, s(struct netbsd32_ovadvise_args), 0,
1.11      eeh       252:            netbsd32_ovadvise },                /* 72 = vadvise */
1.19      thorpej   253:        { 2, s(struct netbsd32_munmap_args), 0,
1.11      eeh       254:            netbsd32_munmap },                  /* 73 = netbsd32_munmap */
1.19      thorpej   255:        { 3, s(struct netbsd32_mprotect_args), 0,
1.11      eeh       256:            netbsd32_mprotect },                /* 74 = netbsd32_mprotect */
1.19      thorpej   257:        { 3, s(struct netbsd32_madvise_args), 0,
1.11      eeh       258:            netbsd32_madvise },                 /* 75 = netbsd32_madvise */
1.19      thorpej   259:        { 0, 0, 0,
1.1       mrg       260:            sys_nosys },                        /* 76 = obsolete vhangup */
1.19      thorpej   261:        { 0, 0, 0,
1.1       mrg       262:            sys_nosys },                        /* 77 = obsolete vlimit */
1.19      thorpej   263:        { 3, s(struct netbsd32_mincore_args), 0,
1.11      eeh       264:            netbsd32_mincore },                 /* 78 = netbsd32_mincore */
1.19      thorpej   265:        { 2, s(struct netbsd32_getgroups_args), 0,
1.11      eeh       266:            netbsd32_getgroups },               /* 79 = netbsd32_getgroups */
1.19      thorpej   267:        { 2, s(struct netbsd32_setgroups_args), 0,
1.11      eeh       268:            netbsd32_setgroups },               /* 80 = netbsd32_setgroups */
1.19      thorpej   269:        { 0, 0, 0,
1.1       mrg       270:            sys_getpgrp },                      /* 81 = getpgrp */
1.19      thorpej   271:        { 2, s(struct netbsd32_setpgid_args), 0,
1.11      eeh       272:            netbsd32_setpgid },                 /* 82 = netbsd32_setpgid */
1.19      thorpej   273:        { 3, s(struct netbsd32_setitimer_args), 0,
1.11      eeh       274:            netbsd32_setitimer },               /* 83 = netbsd32_setitimer */
1.19      thorpej   275:        { 0, 0, 0,
1.1       mrg       276:            compat_43(sys_wait) },              /* 84 = compat_43 owait */
1.19      thorpej   277:        { 1, s(struct compat_12_netbsd32_oswapon_args), 0,
1.11      eeh       278:            compat_12(netbsd32_oswapon) },      /* 85 = compat_12 netbsd32_oswapon */
1.19      thorpej   279:        { 2, s(struct netbsd32_getitimer_args), 0,
1.11      eeh       280:            netbsd32_getitimer },               /* 86 = netbsd32_getitimer */
1.19      thorpej   281:        { 2, s(struct compat_43_netbsd32_ogethostname_args), 0,
1.11      eeh       282:            compat_43(netbsd32_ogethostname) }, /* 87 = compat_43 netbsd32_ogethostname */
1.19      thorpej   283:        { 2, s(struct compat_43_netbsd32_osethostname_args), 0,
1.11      eeh       284:            compat_43(netbsd32_osethostname) }, /* 88 = compat_43 netbsd32_osethostname */
1.19      thorpej   285:        { 0, 0, 0,
1.1       mrg       286:            compat_43(sys_getdtablesize) },     /* 89 = compat_43 ogetdtablesize */
1.19      thorpej   287:        { 2, s(struct netbsd32_dup2_args), 0,
1.11      eeh       288:            netbsd32_dup2 },                    /* 90 = netbsd32_dup2 */
1.19      thorpej   289:        { 0, 0, 0,
1.1       mrg       290:            sys_nosys },                        /* 91 = unimplemented getdopt */
1.19      thorpej   291:        { 3, s(struct netbsd32_fcntl_args), 0,
1.11      eeh       292:            netbsd32_fcntl },                   /* 92 = netbsd32_fcntl */
1.19      thorpej   293:        { 5, s(struct netbsd32_select_args), 0,
1.11      eeh       294:            netbsd32_select },                  /* 93 = netbsd32_select */
1.19      thorpej   295:        { 0, 0, 0,
1.1       mrg       296:            sys_nosys },                        /* 94 = unimplemented setdopt */
1.19      thorpej   297:        { 1, s(struct netbsd32_fsync_args), 0,
1.11      eeh       298:            netbsd32_fsync },                   /* 95 = netbsd32_fsync */
1.19      thorpej   299:        { 3, s(struct netbsd32_setpriority_args), 0,
1.11      eeh       300:            netbsd32_setpriority },             /* 96 = netbsd32_setpriority */
1.19      thorpej   301:        { 3, s(struct netbsd32_socket_args), 0,
1.11      eeh       302:            netbsd32_socket },                  /* 97 = netbsd32_socket */
1.19      thorpej   303:        { 3, s(struct netbsd32_connect_args), 0,
1.11      eeh       304:            netbsd32_connect },                 /* 98 = netbsd32_connect */
1.19      thorpej   305:        { 3, s(struct compat_43_netbsd32_oaccept_args), 0,
1.11      eeh       306:            compat_43(netbsd32_oaccept) },      /* 99 = compat_43 netbsd32_oaccept */
1.19      thorpej   307:        { 2, s(struct netbsd32_getpriority_args), 0,
1.11      eeh       308:            netbsd32_getpriority },             /* 100 = netbsd32_getpriority */
1.19      thorpej   309:        { 4, s(struct compat_43_netbsd32_osend_args), 0,
1.11      eeh       310:            compat_43(netbsd32_osend) },        /* 101 = compat_43 netbsd32_osend */
1.19      thorpej   311:        { 4, s(struct compat_43_netbsd32_orecv_args), 0,
1.11      eeh       312:            compat_43(netbsd32_orecv) },        /* 102 = compat_43 netbsd32_orecv */
1.19      thorpej   313:        { 1, s(struct compat_13_netbsd32_sigreturn_args), 0,
1.12      eeh       314:            compat_13(netbsd32_sigreturn) },    /* 103 = compat_13 sigreturn13 */
1.19      thorpej   315:        { 3, s(struct netbsd32_bind_args), 0,
1.11      eeh       316:            netbsd32_bind },                    /* 104 = netbsd32_bind */
1.19      thorpej   317:        { 5, s(struct netbsd32_setsockopt_args), 0,
1.11      eeh       318:            netbsd32_setsockopt },              /* 105 = netbsd32_setsockopt */
1.19      thorpej   319:        { 2, s(struct netbsd32_listen_args), 0,
1.11      eeh       320:            netbsd32_listen },                  /* 106 = netbsd32_listen */
1.19      thorpej   321:        { 0, 0, 0,
1.1       mrg       322:            sys_nosys },                        /* 107 = obsolete vtimes */
1.19      thorpej   323:        { 3, s(struct compat_43_netbsd32_osigvec_args), 0,
1.11      eeh       324:            compat_43(netbsd32_osigvec) },      /* 108 = compat_43 netbsd32_osigvec */
1.31      chs       325: #if defined(COMPAT_43) || defined(COMPAT_SUNOS)
1.19      thorpej   326:        { 1, s(struct compat_43_netbsd32_sigblock_args), 0,
1.11      eeh       327:            compat_43(netbsd32_sigblock) },     /* 109 = compat_43 netbsd32_sigblock */
1.19      thorpej   328:        { 1, s(struct compat_43_netbsd32_sigsetmask_args), 0,
1.11      eeh       329:            compat_43(netbsd32_sigsetmask) },   /* 110 = compat_43 netbsd32_sigsetmask */
1.1       mrg       330: #else
1.19      thorpej   331:        { 0, 0, 0,
1.1       mrg       332:            sys_nosys },                        /* 109 = obsolete sigblock */
1.19      thorpej   333:        { 0, 0, 0,
1.1       mrg       334:            sys_nosys },                        /* 110 = obsolete sigsetmask */
                    335: #endif
1.19      thorpej   336:        { 1, s(struct compat_13_netbsd32_sigsuspend_args), 0,
1.11      eeh       337:            compat_13(netbsd32_sigsuspend) },   /* 111 = compat_13 sigsuspend13 */
1.19      thorpej   338:        { 2, s(struct compat_43_netbsd32_osigstack_args), 0,
1.11      eeh       339:            compat_43(netbsd32_osigstack) },    /* 112 = compat_43 netbsd32_osigstack */
1.19      thorpej   340:        { 3, s(struct compat_43_netbsd32_orecvmsg_args), 0,
1.11      eeh       341:            compat_43(netbsd32_orecvmsg) },     /* 113 = compat_43 netbsd32_orecvmsg */
1.19      thorpej   342:        { 3, s(struct compat_43_netbsd32_osendmsg_args), 0,
1.11      eeh       343:            compat_43(netbsd32_osendmsg) },     /* 114 = compat_43 netbsd32_osendmsg */
1.19      thorpej   344:        { 0, 0, 0,
1.1       mrg       345:            sys_nosys },                        /* 115 = obsolete vtrace */
1.19      thorpej   346:        { 2, s(struct netbsd32_gettimeofday_args), 0,
1.11      eeh       347:            netbsd32_gettimeofday },            /* 116 = netbsd32_gettimeofday */
1.19      thorpej   348:        { 2, s(struct netbsd32_getrusage_args), 0,
1.11      eeh       349:            netbsd32_getrusage },               /* 117 = netbsd32_getrusage */
1.19      thorpej   350:        { 5, s(struct netbsd32_getsockopt_args), 0,
1.11      eeh       351:            netbsd32_getsockopt },              /* 118 = netbsd32_getsockopt */
1.19      thorpej   352:        { 0, 0, 0,
1.1       mrg       353:            sys_nosys },                        /* 119 = obsolete resuba */
1.19      thorpej   354:        { 3, s(struct netbsd32_readv_args), 0,
1.11      eeh       355:            netbsd32_readv },                   /* 120 = netbsd32_readv */
1.19      thorpej   356:        { 3, s(struct netbsd32_writev_args), 0,
1.11      eeh       357:            netbsd32_writev },                  /* 121 = netbsd32_writev */
1.19      thorpej   358:        { 2, s(struct netbsd32_settimeofday_args), 0,
1.11      eeh       359:            netbsd32_settimeofday },            /* 122 = netbsd32_settimeofday */
1.19      thorpej   360:        { 3, s(struct netbsd32_fchown_args), 0,
1.11      eeh       361:            netbsd32_fchown },                  /* 123 = netbsd32_fchown */
1.19      thorpej   362:        { 2, s(struct netbsd32_fchmod_args), 0,
1.11      eeh       363:            netbsd32_fchmod },                  /* 124 = netbsd32_fchmod */
1.19      thorpej   364:        { 6, s(struct compat_43_netbsd32_orecvfrom_args), 0,
1.11      eeh       365:            compat_43(netbsd32_orecvfrom) },    /* 125 = compat_43 netbsd32_orecvfrom */
1.19      thorpej   366:        { 2, s(struct netbsd32_setreuid_args), 0,
1.11      eeh       367:            netbsd32_setreuid },                /* 126 = netbsd32_setreuid */
1.19      thorpej   368:        { 2, s(struct netbsd32_setregid_args), 0,
1.11      eeh       369:            netbsd32_setregid },                /* 127 = netbsd32_setregid */
1.19      thorpej   370:        { 2, s(struct netbsd32_rename_args), 0,
1.11      eeh       371:            netbsd32_rename },                  /* 128 = netbsd32_rename */
1.19      thorpej   372:        { 2, s(struct compat_43_netbsd32_otruncate_args), 0,
1.11      eeh       373:            compat_43(netbsd32_otruncate) },    /* 129 = compat_43 netbsd32_otruncate */
1.19      thorpej   374:        { 2, s(struct compat_43_netbsd32_oftruncate_args), 0,
1.11      eeh       375:            compat_43(netbsd32_oftruncate) },   /* 130 = compat_43 netbsd32_oftruncate */
1.19      thorpej   376:        { 2, s(struct netbsd32_flock_args), 0,
1.11      eeh       377:            netbsd32_flock },                   /* 131 = netbsd32_flock */
1.19      thorpej   378:        { 2, s(struct netbsd32_mkfifo_args), 0,
1.11      eeh       379:            netbsd32_mkfifo },                  /* 132 = netbsd32_mkfifo */
1.19      thorpej   380:        { 6, s(struct netbsd32_sendto_args), 0,
1.11      eeh       381:            netbsd32_sendto },                  /* 133 = netbsd32_sendto */
1.19      thorpej   382:        { 2, s(struct netbsd32_shutdown_args), 0,
1.11      eeh       383:            netbsd32_shutdown },                /* 134 = netbsd32_shutdown */
1.19      thorpej   384:        { 4, s(struct netbsd32_socketpair_args), 0,
1.11      eeh       385:            netbsd32_socketpair },              /* 135 = netbsd32_socketpair */
1.19      thorpej   386:        { 2, s(struct netbsd32_mkdir_args), 0,
1.11      eeh       387:            netbsd32_mkdir },                   /* 136 = netbsd32_mkdir */
1.19      thorpej   388:        { 1, s(struct netbsd32_rmdir_args), 0,
1.11      eeh       389:            netbsd32_rmdir },                   /* 137 = netbsd32_rmdir */
1.19      thorpej   390:        { 2, s(struct netbsd32_utimes_args), 0,
1.11      eeh       391:            netbsd32_utimes },                  /* 138 = netbsd32_utimes */
1.19      thorpej   392:        { 0, 0, 0,
1.1       mrg       393:            sys_nosys },                        /* 139 = obsolete 4.2 sigreturn */
1.19      thorpej   394:        { 2, s(struct netbsd32_adjtime_args), 0,
1.11      eeh       395:            netbsd32_adjtime },                 /* 140 = netbsd32_adjtime */
1.19      thorpej   396:        { 3, s(struct compat_43_netbsd32_ogetpeername_args), 0,
1.11      eeh       397:            compat_43(netbsd32_ogetpeername) }, /* 141 = compat_43 netbsd32_ogetpeername */
1.19      thorpej   398:        { 0, 0, 0,
1.1       mrg       399:            compat_43(sys_gethostid) },         /* 142 = compat_43 ogethostid */
1.31      chs       400: #if defined(COMPAT_43) || defined(COMPAT_SUNOS)
1.19      thorpej   401:        { 1, s(struct compat_43_netbsd32_sethostid_args), 0,
1.11      eeh       402:            compat_43(netbsd32_sethostid) },    /* 143 = compat_43 netbsd32_sethostid */
1.1       mrg       403: #else
1.19      thorpej   404:        { 0, 0, 0,
1.1       mrg       405:            sys_nosys },                        /* 143 = obsolete sethostid */
                    406: #endif
1.19      thorpej   407:        { 2, s(struct compat_43_netbsd32_ogetrlimit_args), 0,
1.11      eeh       408:            compat_43(netbsd32_ogetrlimit) },   /* 144 = compat_43 netbsd32_ogetrlimit */
1.19      thorpej   409:        { 2, s(struct compat_43_netbsd32_osetrlimit_args), 0,
1.11      eeh       410:            compat_43(netbsd32_osetrlimit) },   /* 145 = compat_43 netbsd32_osetrlimit */
1.31      chs       411: #if defined(COMPAT_43) || defined(COMPAT_SUNOS)
1.19      thorpej   412:        { 2, s(struct compat_43_netbsd32_killpg_args), 0,
1.11      eeh       413:            compat_43(netbsd32_killpg) },       /* 146 = compat_43 netbsd32_killpg */
1.1       mrg       414: #else
1.19      thorpej   415:        { 0, 0, 0,
1.1       mrg       416:            sys_nosys },                        /* 146 = obsolete killpg */
                    417: #endif
1.19      thorpej   418:        { 0, 0, 0,
1.1       mrg       419:            sys_setsid },                       /* 147 = setsid */
1.19      thorpej   420:        { 4, s(struct netbsd32_quotactl_args), 0,
1.11      eeh       421:            netbsd32_quotactl },                /* 148 = netbsd32_quotactl */
1.19      thorpej   422:        { 0, 0, 0,
1.1       mrg       423:            compat_43(sys_quota) },             /* 149 = compat_43 oquota */
1.19      thorpej   424:        { 3, s(struct compat_43_netbsd32_ogetsockname_args), 0,
1.11      eeh       425:            compat_43(netbsd32_ogetsockname) }, /* 150 = compat_43 netbsd32_ogetsockname */
1.19      thorpej   426:        { 0, 0, 0,
1.1       mrg       427:            sys_nosys },                        /* 151 = unimplemented */
1.19      thorpej   428:        { 0, 0, 0,
1.1       mrg       429:            sys_nosys },                        /* 152 = unimplemented */
1.19      thorpej   430:        { 0, 0, 0,
1.1       mrg       431:            sys_nosys },                        /* 153 = unimplemented */
1.19      thorpej   432:        { 0, 0, 0,
1.1       mrg       433:            sys_nosys },                        /* 154 = unimplemented */
1.10      christos  434: #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
1.19      thorpej   435:        { 2, s(struct netbsd32_nfssvc_args), 0,
1.11      eeh       436:            netbsd32_nfssvc },                  /* 155 = netbsd32_nfssvc */
1.1       mrg       437: #else
1.19      thorpej   438:        { 0, 0, 0,
1.11      eeh       439:            sys_nosys },                        /* 155 = excluded netbsd32_nfssvc */
1.1       mrg       440: #endif
1.19      thorpej   441:        { 4, s(struct compat_43_netbsd32_ogetdirentries_args), 0,
1.11      eeh       442:            compat_43(netbsd32_ogetdirentries) },/* 156 = compat_43 netbsd32_ogetdirentries */
1.32      cube      443:        { 2, s(struct compat_20_netbsd32_statfs_args), 0,
                    444:            compat_20(netbsd32_statfs) },       /* 157 = compat_20 netbsd32_statfs */
                    445:        { 2, s(struct compat_20_netbsd32_fstatfs_args), 0,
                    446:            compat_20(netbsd32_fstatfs) },      /* 158 = compat_20 netbsd32_fstatfs */
1.19      thorpej   447:        { 0, 0, 0,
1.1       mrg       448:            sys_nosys },                        /* 159 = unimplemented */
1.19      thorpej   449:        { 0, 0, 0,
1.1       mrg       450:            sys_nosys },                        /* 160 = unimplemented */
1.10      christos  451: #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
1.19      thorpej   452:        { 2, s(struct netbsd32_getfh_args), 0,
1.11      eeh       453:            netbsd32_getfh },                   /* 161 = netbsd32_getfh */
1.1       mrg       454: #else
1.19      thorpej   455:        { 0, 0, 0,
1.11      eeh       456:            sys_nosys },                        /* 161 = excluded netbsd32_getfh */
1.1       mrg       457: #endif
1.19      thorpej   458:        { 2, s(struct compat_09_netbsd32_ogetdomainname_args), 0,
1.11      eeh       459:            compat_09(netbsd32_ogetdomainname) },/* 162 = compat_09 netbsd32_ogetdomainname */
1.19      thorpej   460:        { 2, s(struct compat_09_netbsd32_osetdomainname_args), 0,
1.11      eeh       461:            compat_09(netbsd32_osetdomainname) },/* 163 = compat_09 netbsd32_osetdomainname */
1.19      thorpej   462:        { 1, s(struct compat_09_netbsd32_uname_args), 0,
1.11      eeh       463:            compat_09(netbsd32_uname) },        /* 164 = compat_09 netbsd32_uname */
1.19      thorpej   464:        { 2, s(struct netbsd32_sysarch_args), 0,
1.11      eeh       465:            netbsd32_sysarch },                 /* 165 = netbsd32_sysarch */
1.19      thorpej   466:        { 0, 0, 0,
1.1       mrg       467:            sys_nosys },                        /* 166 = unimplemented */
1.19      thorpej   468:        { 0, 0, 0,
1.1       mrg       469:            sys_nosys },                        /* 167 = unimplemented */
1.19      thorpej   470:        { 0, 0, 0,
1.1       mrg       471:            sys_nosys },                        /* 168 = unimplemented */
1.25      mrg       472: #if defined(SYSVSEM) || !defined(_KERNEL)
                    473:        { 5, s(struct compat_10_netbsd32_sys_semsys_args), 0,
                    474:            compat_10(netbsd32_sys_semsys) },   /* 169 = compat_10 osemsys */
1.1       mrg       475: #else
1.19      thorpej   476:        { 0, 0, 0,
1.25      mrg       477:            sys_nosys },                        /* 169 = excluded netbsd32_sys_semsys */
1.1       mrg       478: #endif
1.25      mrg       479: #if defined(SYSVMSG) || !defined(_KERNEL)
                    480:        { 6, s(struct compat_10_netbsd32_sys_msgsys_args), 0,
                    481:            compat_10(netbsd32_sys_msgsys) },   /* 170 = compat_10 omsgsys */
1.1       mrg       482: #else
1.19      thorpej   483:        { 0, 0, 0,
1.25      mrg       484:            sys_nosys },                        /* 170 = excluded netbsd32_sys_msgsys */
1.1       mrg       485: #endif
1.25      mrg       486: #if defined(SYSVSHM) || !defined(_KERNEL)
                    487:        { 4, s(struct compat_10_netbsd32_sys_shmsys_args), 0,
                    488:            compat_10(netbsd32_sys_shmsys) },   /* 171 = compat_10 oshmsys */
1.1       mrg       489: #else
1.19      thorpej   490:        { 0, 0, 0,
1.25      mrg       491:            sys_nosys },                        /* 171 = excluded netbsd32_sys_shmsys */
1.1       mrg       492: #endif
1.19      thorpej   493:        { 0, 0, 0,
1.1       mrg       494:            sys_nosys },                        /* 172 = unimplemented */
1.19      thorpej   495:        { 5, s(struct netbsd32_pread_args), 0,
1.11      eeh       496:            netbsd32_pread },                   /* 173 = netbsd32_pread */
1.19      thorpej   497:        { 5, s(struct netbsd32_pwrite_args), 0,
1.11      eeh       498:            netbsd32_pwrite },                  /* 174 = netbsd32_pwrite */
1.47.6.2! kardel    499:        { 1, s(struct compat_30_netbsd32_ntp_gettime_args), 0,
        !           500:            compat_30(netbsd32_ntp_gettime) },  /* 175 = compat_30 netbsd32_ntp_gettime */
1.19      thorpej   501:        { 1, s(struct netbsd32_ntp_adjtime_args), 0,
1.11      eeh       502:            netbsd32_ntp_adjtime },             /* 176 = netbsd32_ntp_adjtime */
1.19      thorpej   503:        { 0, 0, 0,
1.1       mrg       504:            sys_nosys },                        /* 177 = unimplemented */
1.19      thorpej   505:        { 0, 0, 0,
1.1       mrg       506:            sys_nosys },                        /* 178 = unimplemented */
1.19      thorpej   507:        { 0, 0, 0,
1.1       mrg       508:            sys_nosys },                        /* 179 = unimplemented */
1.19      thorpej   509:        { 0, 0, 0,
1.1       mrg       510:            sys_nosys },                        /* 180 = unimplemented */
1.19      thorpej   511:        { 1, s(struct netbsd32_setgid_args), 0,
1.11      eeh       512:            netbsd32_setgid },                  /* 181 = netbsd32_setgid */
1.19      thorpej   513:        { 1, s(struct netbsd32_setegid_args), 0,
1.11      eeh       514:            netbsd32_setegid },                 /* 182 = netbsd32_setegid */
1.19      thorpej   515:        { 1, s(struct netbsd32_seteuid_args), 0,
1.11      eeh       516:            netbsd32_seteuid },                 /* 183 = netbsd32_seteuid */
1.10      christos  517: #if defined(LFS) || !defined(_KERNEL)
1.19      thorpej   518:        { 3, s(struct netbsd32_sys_lfs_bmapv_args), 0,
1.11      eeh       519:            netbsd32_sys_lfs_bmapv },           /* 184 = lfs_bmapv */
1.19      thorpej   520:        { 3, s(struct netbsd32_sys_lfs_markv_args), 0,
1.11      eeh       521:            netbsd32_sys_lfs_markv },           /* 185 = lfs_markv */
1.19      thorpej   522:        { 2, s(struct netbsd32_sys_lfs_segclean_args), 0,
1.11      eeh       523:            netbsd32_sys_lfs_segclean },        /* 186 = lfs_segclean */
1.19      thorpej   524:        { 2, s(struct netbsd32_sys_lfs_segwait_args), 0,
1.11      eeh       525:            netbsd32_sys_lfs_segwait },         /* 187 = lfs_segwait */
                    526: #else
1.19      thorpej   527:        { 0, 0, 0,
1.11      eeh       528:            sys_nosys },                        /* 184 = excluded netbsd32_sys_lfs_bmapv */
1.19      thorpej   529:        { 0, 0, 0,
1.11      eeh       530:            sys_nosys },                        /* 185 = excluded netbsd32_sys_lfs_markv */
1.19      thorpej   531:        { 0, 0, 0,
1.11      eeh       532:            sys_nosys },                        /* 186 = excluded netbsd32_sys_lfs_segclean */
1.19      thorpej   533:        { 0, 0, 0,
1.11      eeh       534:            sys_nosys },                        /* 187 = excluded netbsd32_sys_lfs_segwait */
                    535: #endif
1.19      thorpej   536:        { 2, s(struct compat_12_netbsd32_stat12_args), 0,
1.11      eeh       537:            compat_12(netbsd32_stat12) },       /* 188 = compat_12 netbsd32_stat12 */
1.19      thorpej   538:        { 2, s(struct compat_12_netbsd32_fstat12_args), 0,
1.11      eeh       539:            compat_12(netbsd32_fstat12) },      /* 189 = compat_12 netbsd32_fstat12 */
1.19      thorpej   540:        { 2, s(struct compat_12_netbsd32_lstat12_args), 0,
1.11      eeh       541:            compat_12(netbsd32_lstat12) },      /* 190 = compat_12 netbsd32_lstat12 */
1.19      thorpej   542:        { 2, s(struct netbsd32_pathconf_args), 0,
1.11      eeh       543:            netbsd32_pathconf },                /* 191 = netbsd32_pathconf */
1.19      thorpej   544:        { 2, s(struct netbsd32_fpathconf_args), 0,
1.11      eeh       545:            netbsd32_fpathconf },               /* 192 = netbsd32_fpathconf */
1.19      thorpej   546:        { 0, 0, 0,
1.1       mrg       547:            sys_nosys },                        /* 193 = unimplemented */
1.19      thorpej   548:        { 2, s(struct netbsd32_getrlimit_args), 0,
1.11      eeh       549:            netbsd32_getrlimit },               /* 194 = netbsd32_getrlimit */
1.19      thorpej   550:        { 2, s(struct netbsd32_setrlimit_args), 0,
1.11      eeh       551:            netbsd32_setrlimit },               /* 195 = netbsd32_setrlimit */
1.19      thorpej   552:        { 4, s(struct compat_12_netbsd32_getdirentries_args), 0,
1.11      eeh       553:            compat_12(netbsd32_getdirentries) },/* 196 = compat_12 netbsd32_getdirentries */
1.19      thorpej   554:        { 7, s(struct netbsd32_mmap_args), 0,
1.11      eeh       555:            netbsd32_mmap },                    /* 197 = netbsd32_mmap */
1.19      thorpej   556:        { 0, 0, 0,
1.1       mrg       557:            sys_nosys },                        /* 198 = __syscall (indir) */
1.19      thorpej   558:        { 4, s(struct netbsd32_lseek_args), 0,
1.11      eeh       559:            netbsd32_lseek },                   /* 199 = netbsd32_lseek */
1.19      thorpej   560:        { 3, s(struct netbsd32_truncate_args), 0,
1.11      eeh       561:            netbsd32_truncate },                /* 200 = netbsd32_truncate */
1.19      thorpej   562:        { 3, s(struct netbsd32_ftruncate_args), 0,
1.11      eeh       563:            netbsd32_ftruncate },               /* 201 = netbsd32_ftruncate */
1.19      thorpej   564:        { 6, s(struct netbsd32___sysctl_args), 0,
1.11      eeh       565:            netbsd32___sysctl },                /* 202 = netbsd32___sysctl */
1.19      thorpej   566:        { 2, s(struct netbsd32_mlock_args), 0,
1.11      eeh       567:            netbsd32_mlock },                   /* 203 = netbsd32_mlock */
1.19      thorpej   568:        { 2, s(struct netbsd32_munlock_args), 0,
1.11      eeh       569:            netbsd32_munlock },                 /* 204 = netbsd32_munlock */
1.19      thorpej   570:        { 1, s(struct netbsd32_undelete_args), 0,
1.11      eeh       571:            netbsd32_undelete },                /* 205 = netbsd32_undelete */
1.19      thorpej   572:        { 2, s(struct netbsd32_futimes_args), 0,
1.11      eeh       573:            netbsd32_futimes },                 /* 206 = netbsd32_futimes */
1.19      thorpej   574:        { 1, s(struct netbsd32_getpgid_args), 0,
1.11      eeh       575:            netbsd32_getpgid },                 /* 207 = netbsd32_getpgid */
1.19      thorpej   576:        { 2, s(struct netbsd32_reboot_args), 0,
1.11      eeh       577:            netbsd32_reboot },                  /* 208 = netbsd32_reboot */
1.19      thorpej   578:        { 3, s(struct netbsd32_poll_args), 0,
1.11      eeh       579:            netbsd32_poll },                    /* 209 = netbsd32_poll */
1.10      christos  580: #if defined(LKM) || !defined(_KERNEL)
1.19      thorpej   581:        { 0, 0, 0,
1.1       mrg       582:            sys_lkmnosys },                     /* 210 = lkmnosys */
1.19      thorpej   583:        { 0, 0, 0,
1.1       mrg       584:            sys_lkmnosys },                     /* 211 = lkmnosys */
1.19      thorpej   585:        { 0, 0, 0,
1.1       mrg       586:            sys_lkmnosys },                     /* 212 = lkmnosys */
1.19      thorpej   587:        { 0, 0, 0,
1.1       mrg       588:            sys_lkmnosys },                     /* 213 = lkmnosys */
1.19      thorpej   589:        { 0, 0, 0,
1.1       mrg       590:            sys_lkmnosys },                     /* 214 = lkmnosys */
1.19      thorpej   591:        { 0, 0, 0,
1.1       mrg       592:            sys_lkmnosys },                     /* 215 = lkmnosys */
1.19      thorpej   593:        { 0, 0, 0,
1.1       mrg       594:            sys_lkmnosys },                     /* 216 = lkmnosys */
1.19      thorpej   595:        { 0, 0, 0,
1.1       mrg       596:            sys_lkmnosys },                     /* 217 = lkmnosys */
1.19      thorpej   597:        { 0, 0, 0,
1.1       mrg       598:            sys_lkmnosys },                     /* 218 = lkmnosys */
1.19      thorpej   599:        { 0, 0, 0,
1.1       mrg       600:            sys_lkmnosys },                     /* 219 = lkmnosys */
1.10      christos  601: #else  /* !LKM || !_KERNEL */
1.19      thorpej   602:        { 0, 0, 0,
1.10      christos  603:            sys_nosys },                        /* 210 = excluded lkmnosys */
1.19      thorpej   604:        { 0, 0, 0,
1.10      christos  605:            sys_nosys },                        /* 211 = excluded lkmnosys */
1.19      thorpej   606:        { 0, 0, 0,
1.10      christos  607:            sys_nosys },                        /* 212 = excluded lkmnosys */
1.19      thorpej   608:        { 0, 0, 0,
1.10      christos  609:            sys_nosys },                        /* 213 = excluded lkmnosys */
1.19      thorpej   610:        { 0, 0, 0,
1.10      christos  611:            sys_nosys },                        /* 214 = excluded lkmnosys */
1.19      thorpej   612:        { 0, 0, 0,
1.10      christos  613:            sys_nosys },                        /* 215 = excluded lkmnosys */
1.19      thorpej   614:        { 0, 0, 0,
1.10      christos  615:            sys_nosys },                        /* 216 = excluded lkmnosys */
1.19      thorpej   616:        { 0, 0, 0,
1.10      christos  617:            sys_nosys },                        /* 217 = excluded lkmnosys */
1.19      thorpej   618:        { 0, 0, 0,
1.10      christos  619:            sys_nosys },                        /* 218 = excluded lkmnosys */
1.19      thorpej   620:        { 0, 0, 0,
1.10      christos  621:            sys_nosys },                        /* 219 = excluded lkmnosys */
                    622: #endif /* !LKM || !_KERNEL */
                    623: #if defined(SYSVSEM) || !defined(_KERNEL)
1.19      thorpej   624:        { 4, s(struct compat_14_netbsd32___semctl_args), 0,
1.11      eeh       625:            compat_14(netbsd32___semctl) },     /* 220 = compat_14 netbsd32___semctl */
1.19      thorpej   626:        { 3, s(struct netbsd32_semget_args), 0,
1.11      eeh       627:            netbsd32_semget },                  /* 221 = netbsd32_semget */
1.19      thorpej   628:        { 3, s(struct netbsd32_semop_args), 0,
1.11      eeh       629:            netbsd32_semop },                   /* 222 = netbsd32_semop */
1.19      thorpej   630:        { 1, s(struct netbsd32_semconfig_args), 0,
1.11      eeh       631:            netbsd32_semconfig },               /* 223 = netbsd32_semconfig */
1.1       mrg       632: #else
1.19      thorpej   633:        { 0, 0, 0,
1.12      eeh       634:            sys_nosys },                        /* 220 = excluded compat_14_netbsd32_semctl */
1.19      thorpej   635:        { 0, 0, 0,
1.11      eeh       636:            sys_nosys },                        /* 221 = excluded netbsd32_semget */
1.19      thorpej   637:        { 0, 0, 0,
1.11      eeh       638:            sys_nosys },                        /* 222 = excluded netbsd32_semop */
1.19      thorpej   639:        { 0, 0, 0,
1.11      eeh       640:            sys_nosys },                        /* 223 = excluded netbsd32_semconfig */
1.1       mrg       641: #endif
1.10      christos  642: #if defined(SYSVMSG) || !defined(_KERNEL)
1.19      thorpej   643:        { 3, s(struct compat_14_netbsd32_msgctl_args), 0,
1.11      eeh       644:            compat_14(netbsd32_msgctl) },       /* 224 = compat_14 netbsd32_msgctl */
1.19      thorpej   645:        { 2, s(struct netbsd32_msgget_args), 0,
1.11      eeh       646:            netbsd32_msgget },                  /* 225 = netbsd32_msgget */
1.19      thorpej   647:        { 4, s(struct netbsd32_msgsnd_args), 0,
1.11      eeh       648:            netbsd32_msgsnd },                  /* 226 = netbsd32_msgsnd */
1.19      thorpej   649:        { 5, s(struct netbsd32_msgrcv_args), 0,
1.11      eeh       650:            netbsd32_msgrcv },                  /* 227 = netbsd32_msgrcv */
1.1       mrg       651: #else
1.19      thorpej   652:        { 0, 0, 0,
1.12      eeh       653:            sys_nosys },                        /* 224 = excluded compat_14_netbsd32_msgctl */
1.19      thorpej   654:        { 0, 0, 0,
1.11      eeh       655:            sys_nosys },                        /* 225 = excluded netbsd32_msgget */
1.19      thorpej   656:        { 0, 0, 0,
1.11      eeh       657:            sys_nosys },                        /* 226 = excluded netbsd32_msgsnd */
1.19      thorpej   658:        { 0, 0, 0,
1.11      eeh       659:            sys_nosys },                        /* 227 = excluded netbsd32_msgrcv */
1.1       mrg       660: #endif
1.10      christos  661: #if defined(SYSVSHM) || !defined(_KERNEL)
1.19      thorpej   662:        { 3, s(struct netbsd32_shmat_args), 0,
1.11      eeh       663:            netbsd32_shmat },                   /* 228 = netbsd32_shmat */
1.19      thorpej   664:        { 3, s(struct compat_14_netbsd32_shmctl_args), 0,
1.11      eeh       665:            compat_14(netbsd32_shmctl) },       /* 229 = compat_14 netbsd32_shmctl */
1.19      thorpej   666:        { 1, s(struct netbsd32_shmdt_args), 0,
1.11      eeh       667:            netbsd32_shmdt },                   /* 230 = netbsd32_shmdt */
1.19      thorpej   668:        { 3, s(struct netbsd32_shmget_args), 0,
1.11      eeh       669:            netbsd32_shmget },                  /* 231 = netbsd32_shmget */
                    670: #else
1.19      thorpej   671:        { 0, 0, 0,
1.11      eeh       672:            sys_nosys },                        /* 228 = excluded netbsd32_shmat */
1.19      thorpej   673:        { 0, 0, 0,
1.12      eeh       674:            sys_nosys },                        /* 229 = excluded compat_14_netbsd32_shmctl */
1.19      thorpej   675:        { 0, 0, 0,
1.11      eeh       676:            sys_nosys },                        /* 230 = excluded netbsd32_shmdt */
1.19      thorpej   677:        { 0, 0, 0,
1.11      eeh       678:            sys_nosys },                        /* 231 = excluded netbsd32_shmget */
                    679: #endif
1.19      thorpej   680:        { 2, s(struct netbsd32_clock_gettime_args), 0,
1.11      eeh       681:            netbsd32_clock_gettime },           /* 232 = netbsd32_clock_gettime */
1.19      thorpej   682:        { 2, s(struct netbsd32_clock_settime_args), 0,
1.11      eeh       683:            netbsd32_clock_settime },           /* 233 = netbsd32_clock_settime */
1.19      thorpej   684:        { 2, s(struct netbsd32_clock_getres_args), 0,
1.11      eeh       685:            netbsd32_clock_getres },            /* 234 = netbsd32_clock_getres */
1.43      cube      686:        { 3, s(struct netbsd32_timer_create_args), 0,
                    687:            netbsd32_timer_create },            /* 235 = netbsd32_timer_create */
                    688:        { 1, s(struct netbsd32_timer_delete_args), 0,
                    689:            netbsd32_timer_delete },            /* 236 = netbsd32_timer_delete */
                    690:        { 4, s(struct netbsd32_timer_settime_args), 0,
                    691:            netbsd32_timer_settime },           /* 237 = netbsd32_timer_settime */
                    692:        { 2, s(struct netbsd32_timer_gettime_args), 0,
                    693:            netbsd32_timer_gettime },           /* 238 = netbsd32_timer_gettime */
                    694:        { 1, s(struct netbsd32_timer_getoverrun_args), 0,
                    695:            netbsd32_timer_getoverrun },        /* 239 = netbsd32_timer_getoverrun */
1.19      thorpej   696:        { 2, s(struct netbsd32_nanosleep_args), 0,
1.11      eeh       697:            netbsd32_nanosleep },               /* 240 = netbsd32_nanosleep */
1.19      thorpej   698:        { 1, s(struct netbsd32_fdatasync_args), 0,
1.11      eeh       699:            netbsd32_fdatasync },               /* 241 = netbsd32_fdatasync */
1.37      cube      700:        { 1, s(struct netbsd32_mlockall_args), 0,
                    701:            netbsd32_mlockall },                /* 242 = netbsd32_mlockall */
1.19      thorpej   702:        { 0, 0, 0,
1.37      cube      703:            sys_munlockall },                   /* 243 = munlockall */
1.44      cube      704:        { 3, s(struct netbsd32___sigtimedwait_args), 0,
                    705:            netbsd32___sigtimedwait },          /* 244 = netbsd32___sigtimedwait */
1.19      thorpej   706:        { 0, 0, 0,
1.1       mrg       707:            sys_nosys },                        /* 245 = unimplemented */
1.19      thorpej   708:        { 0, 0, 0,
1.1       mrg       709:            sys_nosys },                        /* 246 = unimplemented */
1.47.6.1  simonb    710: #if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL) && defined(_LIBC))
                    711:        { 2, s(struct netbsd32__ksem_init_args), 0,
                    712:            netbsd32__ksem_init },              /* 247 = netbsd32__ksem_init */
                    713:        { 5, s(struct netbsd32__ksem_open_args), 0,
                    714:            netbsd32__ksem_open },              /* 248 = netbsd32__ksem_open */
                    715:        { 1, s(struct netbsd32__ksem_unlink_args), 0,
                    716:            netbsd32__ksem_unlink },            /* 249 = netbsd32__ksem_unlink */
                    717:        { 1, s(struct netbsd32__ksem_close_args), 0,
                    718:            netbsd32__ksem_close },             /* 250 = netbsd32__ksem_close */
                    719:        { 1, s(struct netbsd32__ksem_post_args), 0,
                    720:            netbsd32__ksem_post },              /* 251 = netbsd32__ksem_post */
                    721:        { 1, s(struct netbsd32__ksem_wait_args), 0,
                    722:            netbsd32__ksem_wait },              /* 252 = netbsd32__ksem_wait */
                    723:        { 1, s(struct netbsd32__ksem_trywait_args), 0,
                    724:            netbsd32__ksem_trywait },           /* 253 = netbsd32__ksem_trywait */
                    725:        { 2, s(struct netbsd32__ksem_getvalue_args), 0,
                    726:            netbsd32__ksem_getvalue },          /* 254 = netbsd32__ksem_getvalue */
                    727:        { 1, s(struct netbsd32__ksem_destroy_args), 0,
                    728:            netbsd32__ksem_destroy },           /* 255 = netbsd32__ksem_destroy */
1.19      thorpej   729:        { 0, 0, 0,
1.47.6.1  simonb    730:            sys_nosys },                        /* 256 = unimplemented sys__ksem_timedwait */
                    731: #else
                    732:        { 0, 0, 0,
                    733:            sys_nosys },                        /* 247 = excluded sys__ksem_init */
1.19      thorpej   734:        { 0, 0, 0,
1.47.6.1  simonb    735:            sys_nosys },                        /* 248 = excluded sys__ksem_open */
1.19      thorpej   736:        { 0, 0, 0,
1.47.6.1  simonb    737:            sys_nosys },                        /* 249 = excluded sys__ksem_unlink */
1.19      thorpej   738:        { 0, 0, 0,
1.47.6.1  simonb    739:            sys_nosys },                        /* 250 = excluded sys__ksem_close */
1.19      thorpej   740:        { 0, 0, 0,
1.47.6.1  simonb    741:            sys_nosys },                        /* 251 = excluded sys__ksem_post */
1.19      thorpej   742:        { 0, 0, 0,
1.47.6.1  simonb    743:            sys_nosys },                        /* 252 = excluded sys__ksem_wait */
1.19      thorpej   744:        { 0, 0, 0,
1.47.6.1  simonb    745:            sys_nosys },                        /* 253 = excluded sys__ksem_trywait */
1.19      thorpej   746:        { 0, 0, 0,
1.47.6.1  simonb    747:            sys_nosys },                        /* 254 = excluded sys__ksem_getvalue */
1.19      thorpej   748:        { 0, 0, 0,
1.47.6.1  simonb    749:            sys_nosys },                        /* 255 = excluded sys__ksem_destroy */
1.19      thorpej   750:        { 0, 0, 0,
1.47.6.1  simonb    751:            sys_nosys },                        /* 256 = unimplemented sys__ksem_timedwait */
                    752: #endif
1.19      thorpej   753:        { 0, 0, 0,
1.1       mrg       754:            sys_nosys },                        /* 257 = unimplemented */
1.19      thorpej   755:        { 0, 0, 0,
1.1       mrg       756:            sys_nosys },                        /* 258 = unimplemented */
1.19      thorpej   757:        { 0, 0, 0,
1.1       mrg       758:            sys_nosys },                        /* 259 = unimplemented */
1.19      thorpej   759:        { 0, 0, 0,
1.1       mrg       760:            sys_nosys },                        /* 260 = unimplemented */
1.19      thorpej   761:        { 0, 0, 0,
1.1       mrg       762:            sys_nosys },                        /* 261 = unimplemented */
1.19      thorpej   763:        { 0, 0, 0,
1.1       mrg       764:            sys_nosys },                        /* 262 = unimplemented */
1.19      thorpej   765:        { 0, 0, 0,
1.1       mrg       766:            sys_nosys },                        /* 263 = unimplemented */
1.19      thorpej   767:        { 0, 0, 0,
1.1       mrg       768:            sys_nosys },                        /* 264 = unimplemented */
1.19      thorpej   769:        { 0, 0, 0,
1.1       mrg       770:            sys_nosys },                        /* 265 = unimplemented */
1.19      thorpej   771:        { 0, 0, 0,
1.1       mrg       772:            sys_nosys },                        /* 266 = unimplemented */
1.19      thorpej   773:        { 0, 0, 0,
1.1       mrg       774:            sys_nosys },                        /* 267 = unimplemented */
1.19      thorpej   775:        { 0, 0, 0,
1.1       mrg       776:            sys_nosys },                        /* 268 = unimplemented */
1.19      thorpej   777:        { 0, 0, 0,
1.1       mrg       778:            sys_nosys },                        /* 269 = unimplemented */
1.19      thorpej   779:        { 2, s(struct netbsd32___posix_rename_args), 0,
1.11      eeh       780:            netbsd32___posix_rename },          /* 270 = netbsd32___posix_rename */
1.19      thorpej   781:        { 3, s(struct netbsd32_swapctl_args), 0,
1.11      eeh       782:            netbsd32_swapctl },                 /* 271 = netbsd32_swapctl */
1.19      thorpej   783:        { 3, s(struct netbsd32_getdents_args), 0,
1.11      eeh       784:            netbsd32_getdents },                /* 272 = netbsd32_getdents */
1.19      thorpej   785:        { 3, s(struct netbsd32_minherit_args), 0,
1.11      eeh       786:            netbsd32_minherit },                /* 273 = netbsd32_minherit */
1.19      thorpej   787:        { 2, s(struct netbsd32_lchmod_args), 0,
1.11      eeh       788:            netbsd32_lchmod },                  /* 274 = netbsd32_lchmod */
1.19      thorpej   789:        { 3, s(struct netbsd32_lchown_args), 0,
1.11      eeh       790:            netbsd32_lchown },                  /* 275 = netbsd32_lchown */
1.19      thorpej   791:        { 2, s(struct netbsd32_lutimes_args), 0,
1.11      eeh       792:            netbsd32_lutimes },                 /* 276 = netbsd32_lutimes */
1.19      thorpej   793:        { 3, s(struct netbsd32___msync13_args), 0,
1.11      eeh       794:            netbsd32___msync13 },               /* 277 = netbsd32___msync13 */
1.19      thorpej   795:        { 2, s(struct netbsd32___stat13_args), 0,
1.11      eeh       796:            netbsd32___stat13 },                /* 278 = netbsd32___stat13 */
1.19      thorpej   797:        { 2, s(struct netbsd32___fstat13_args), 0,
1.11      eeh       798:            netbsd32___fstat13 },               /* 279 = netbsd32___fstat13 */
1.19      thorpej   799:        { 2, s(struct netbsd32___lstat13_args), 0,
1.11      eeh       800:            netbsd32___lstat13 },               /* 280 = netbsd32___lstat13 */
1.19      thorpej   801:        { 2, s(struct netbsd32___sigaltstack14_args), 0,
1.11      eeh       802:            netbsd32___sigaltstack14 },         /* 281 = netbsd32___sigaltstack14 */
1.19      thorpej   803:        { 0, 0, 0,
1.1       mrg       804:            sys___vfork14 },                    /* 282 = __vfork14 */
1.19      thorpej   805:        { 3, s(struct netbsd32___posix_chown_args), 0,
1.11      eeh       806:            netbsd32___posix_chown },           /* 283 = netbsd32___posix_chown */
1.19      thorpej   807:        { 3, s(struct netbsd32___posix_fchown_args), 0,
1.11      eeh       808:            netbsd32___posix_fchown },          /* 284 = netbsd32___posix_fchown */
1.19      thorpej   809:        { 3, s(struct netbsd32___posix_lchown_args), 0,
1.11      eeh       810:            netbsd32___posix_lchown },          /* 285 = netbsd32___posix_lchown */
1.19      thorpej   811:        { 1, s(struct netbsd32_getsid_args), 0,
1.11      eeh       812:            netbsd32_getsid },                  /* 286 = netbsd32_getsid */
1.39      cube      813:        { 2, s(struct netbsd32___clone_args), 0,
                    814:            netbsd32___clone },                 /* 287 = netbsd32___clone */
1.10      christos  815: #if defined(KTRACE) || !defined(_KERNEL)
1.19      thorpej   816:        { 4, s(struct netbsd32_fktrace_args), 0,
1.11      eeh       817:            netbsd32_fktrace },                 /* 288 = netbsd32_fktrace */
1.1       mrg       818: #else
1.19      thorpej   819:        { 0, 0, 0,
1.11      eeh       820:            sys_nosys },                        /* 288 = excluded netbsd32_fktrace */
1.1       mrg       821: #endif
1.19      thorpej   822:        { 5, s(struct netbsd32_preadv_args), 0,
1.11      eeh       823:            netbsd32_preadv },                  /* 289 = netbsd32_preadv */
1.19      thorpej   824:        { 5, s(struct netbsd32_pwritev_args), 0,
1.11      eeh       825:            netbsd32_pwritev },                 /* 290 = netbsd32_pwritev */
1.19      thorpej   826:        { 3, s(struct netbsd32___sigaction14_args), 0,
1.12      eeh       827:            netbsd32___sigaction14 },           /* 291 = netbsd32___sigaction14 */
1.19      thorpej   828:        { 1, s(struct netbsd32___sigpending14_args), 0,
1.12      eeh       829:            netbsd32___sigpending14 },          /* 292 = netbsd32___sigpending14 */
1.19      thorpej   830:        { 3, s(struct netbsd32___sigprocmask14_args), 0,
1.12      eeh       831:            netbsd32___sigprocmask14 },         /* 293 = netbsd32___sigprocmask14 */
1.19      thorpej   832:        { 1, s(struct netbsd32___sigsuspend14_args), 0,
1.12      eeh       833:            netbsd32___sigsuspend14 },          /* 294 = netbsd32___sigsuspend14 */
1.30      fvdl      834:        { 1, s(struct compat_16_netbsd32___sigreturn14_args), 0,
                    835:            compat_16(netbsd32___sigreturn14) },/* 295 = compat_16 netbsd32___sigreturn14 */
1.19      thorpej   836:        { 2, s(struct netbsd32___getcwd_args), 0,
1.12      eeh       837:            netbsd32___getcwd },                /* 296 = netbsd32___getcwd */
1.19      thorpej   838:        { 1, s(struct netbsd32_fchroot_args), 0,
1.12      eeh       839:            netbsd32_fchroot },                 /* 297 = netbsd32_fchroot */
1.19      thorpej   840:        { 2, s(struct netbsd32_fhopen_args), 0,
1.12      eeh       841:            netbsd32_fhopen },                  /* 298 = netbsd32_fhopen */
1.47.6.2! kardel    842:        { 2, s(struct compat_30_netbsd32_fhstat_args), 0,
        !           843:            compat_30(netbsd32_fhstat) },       /* 299 = compat_30 netbsd32_fhstat */
1.32      cube      844:        { 2, s(struct compat_20_netbsd32_fhstatfs_args), 0,
                    845:            compat_20(netbsd32_fhstatfs) },     /* 300 = compat_20 netbsd32_fhstatfs */
1.12      eeh       846: #if defined(SYSVSEM) || !defined(_KERNEL)
1.19      thorpej   847:        { 4, s(struct netbsd32___semctl14_args), 0,
1.13      christos  848:            netbsd32___semctl14 },              /* 301 = netbsd32___semctl14 */
1.12      eeh       849: #else
1.19      thorpej   850:        { 0, 0, 0,
1.13      christos  851:            sys_nosys },                        /* 301 = excluded __semctl14 */
1.12      eeh       852: #endif
                    853: #if defined(SYSVMSG) || !defined(_KERNEL)
1.19      thorpej   854:        { 3, s(struct netbsd32___msgctl13_args), 0,
1.12      eeh       855:            netbsd32___msgctl13 },              /* 302 = netbsd32___msgctl13 */
                    856: #else
1.19      thorpej   857:        { 0, 0, 0,
1.12      eeh       858:            sys_nosys },                        /* 302 = excluded __msgctl13 */
                    859: #endif
                    860: #if defined(SYSVSHM) || !defined(_KERNEL)
1.19      thorpej   861:        { 3, s(struct netbsd32___shmctl13_args), 0,
1.12      eeh       862:            netbsd32___shmctl13 },              /* 303 = netbsd32___shmctl13 */
                    863: #else
1.19      thorpej   864:        { 0, 0, 0,
1.12      eeh       865:            sys_nosys },                        /* 303 = excluded __shmctl13 */
                    866: #endif
1.21      mrg       867:        { 2, s(struct netbsd32_lchflags_args), 0,
                    868:            netbsd32_lchflags },                /* 304 = netbsd32_lchflags */
                    869:        { 0, 0, 0,
                    870:            sys_issetugid },                    /* 305 = issetugid */
                    871:        { 3, s(struct netbsd32_utrace_args), 0,
                    872:            netbsd32_utrace },                  /* 306 = netbsd32_utrace */
1.30      fvdl      873:        { 1, s(struct netbsd32_getcontext_args), 0,
                    874:            netbsd32_getcontext },              /* 307 = netbsd32_getcontext */
                    875:        { 3, s(struct netbsd32_setcontext_args), 0,
                    876:            netbsd32_setcontext },              /* 308 = netbsd32_setcontext */
1.47.6.1  simonb    877:        { 3, s(struct netbsd32__lwp_create_args), 0,
                    878:            netbsd32__lwp_create },             /* 309 = netbsd32__lwp_create */
1.21      mrg       879:        { 0, 0, 0,
1.47.6.1  simonb    880:            sys__lwp_exit },                    /* 310 = _lwp_exit */
1.21      mrg       881:        { 0, 0, 0,
1.47.6.1  simonb    882:            sys__lwp_self },                    /* 311 = _lwp_self */
                    883:        { 2, s(struct netbsd32__lwp_wait_args), 0,
                    884:            netbsd32__lwp_wait },               /* 312 = netbsd32__lwp_wait */
                    885:        { 1, s(struct netbsd32__lwp_suspend_args), 0,
                    886:            netbsd32__lwp_suspend },            /* 313 = netbsd32__lwp_suspend */
                    887:        { 1, s(struct netbsd32__lwp_continue_args), 0,
                    888:            netbsd32__lwp_continue },           /* 314 = netbsd32__lwp_continue */
                    889:        { 1, s(struct netbsd32__lwp_wakeup_args), 0,
                    890:            netbsd32__lwp_wakeup },             /* 315 = netbsd32__lwp_wakeup */
                    891:        { 0, 0, 0,
                    892:            sys__lwp_getprivate },              /* 316 = _lwp_getprivate */
                    893:        { 1, s(struct netbsd32__lwp_setprivate_args), 0,
                    894:            netbsd32__lwp_setprivate },         /* 317 = netbsd32__lwp_setprivate */
1.21      mrg       895:        { 0, 0, 0,
                    896:            sys_nosys },                        /* 318 = unimplemented */
                    897:        { 0, 0, 0,
                    898:            sys_nosys },                        /* 319 = unimplemented */
                    899:        { 0, 0, 0,
                    900:            sys_nosys },                        /* 320 = unimplemented */
                    901:        { 0, 0, 0,
                    902:            sys_nosys },                        /* 321 = unimplemented */
                    903:        { 0, 0, 0,
                    904:            sys_nosys },                        /* 322 = unimplemented */
                    905:        { 0, 0, 0,
                    906:            sys_nosys },                        /* 323 = unimplemented */
                    907:        { 0, 0, 0,
                    908:            sys_nosys },                        /* 324 = unimplemented */
                    909:        { 0, 0, 0,
                    910:            sys_nosys },                        /* 325 = unimplemented */
                    911:        { 0, 0, 0,
                    912:            sys_nosys },                        /* 326 = unimplemented */
                    913:        { 0, 0, 0,
                    914:            sys_nosys },                        /* 327 = unimplemented */
                    915:        { 0, 0, 0,
                    916:            sys_nosys },                        /* 328 = unimplemented */
                    917:        { 0, 0, 0,
                    918:            sys_nosys },                        /* 329 = unimplemented */
1.47.6.1  simonb    919:        { 4, s(struct netbsd32_sa_register_args), 0,
                    920:            netbsd32_sa_register },             /* 330 = netbsd32_sa_register */
                    921:        { 2, s(struct netbsd32_sa_stacks_args), 0,
                    922:            netbsd32_sa_stacks },               /* 331 = netbsd32_sa_stacks */
                    923:        { 0, 0, 0,
                    924:            sys_sa_enable },                    /* 332 = sa_enable */
                    925:        { 1, s(struct netbsd32_sa_setconcurrency_args), 0,
                    926:            netbsd32_sa_setconcurrency },       /* 333 = netbsd32_sa_setconcurrency */
                    927:        { 0, 0, 0,
                    928:            sys_sa_yield },                     /* 334 = sa_yield */
                    929:        { 1, s(struct netbsd32_sa_preempt_args), 0,
                    930:            netbsd32_sa_preempt },              /* 335 = netbsd32_sa_preempt */
1.21      mrg       931:        { 0, 0, 0,
1.47.6.1  simonb    932:            sys_nosys },                        /* 336 = obsolete sys_sa_unblockyield */
1.21      mrg       933:        { 0, 0, 0,
                    934:            sys_nosys },                        /* 337 = unimplemented */
                    935:        { 0, 0, 0,
                    936:            sys_nosys },                        /* 338 = unimplemented */
                    937:        { 0, 0, 0,
                    938:            sys_nosys },                        /* 339 = unimplemented */
1.26      scw       939:        { 5, s(struct netbsd32___sigaction_sigtramp_args), 0,
                    940:            netbsd32___sigaction_sigtramp },    /* 340 = netbsd32___sigaction_sigtramp */
1.27      jdolecek  941:        { 0, 0, 0,
1.32      cube      942:            sys_nosys },                        /* 341 = unimplemented */
1.27      jdolecek  943:        { 0, 0, 0,
1.32      cube      944:            sys_nosys },                        /* 342 = unimplemented */
1.41      cube      945:        { 3, s(struct netbsd32_rasctl_args), 0,
                    946:            netbsd32_rasctl },                  /* 343 = netbsd32_rasctl */
1.27      jdolecek  947:        { 0, 0, 0,
1.46      cube      948:            sys_kqueue },                       /* 344 = kqueue */
                    949:        { 6, s(struct netbsd32_kevent_args), 0,
                    950:            netbsd32_kevent },                  /* 345 = netbsd32_kevent */
1.27      jdolecek  951:        { 0, 0, 0,
1.32      cube      952:            sys_nosys },                        /* 346 = unimplemented */
1.27      jdolecek  953:        { 0, 0, 0,
1.32      cube      954:            sys_nosys },                        /* 347 = unimplemented */
1.27      jdolecek  955:        { 0, 0, 0,
1.32      cube      956:            sys_nosys },                        /* 348 = unimplemented */
1.27      jdolecek  957:        { 0, 0, 0,
1.32      cube      958:            sys_nosys },                        /* 349 = unimplemented */
1.27      jdolecek  959:        { 0, 0, 0,
1.32      cube      960:            sys_nosys },                        /* 350 = unimplemented */
1.27      jdolecek  961:        { 0, 0, 0,
1.32      cube      962:            sys_nosys },                        /* 351 = unimplemented */
1.27      jdolecek  963:        { 0, 0, 0,
1.32      cube      964:            sys_nosys },                        /* 352 = unimplemented */
1.27      jdolecek  965:        { 0, 0, 0,
1.32      cube      966:            sys_nosys },                        /* 353 = unimplemented */
1.40      cube      967:        { 4, s(struct netbsd32_fsync_range_args), 0,
                    968:            netbsd32_fsync_range },             /* 354 = netbsd32_fsync_range */
1.35      cube      969:        { 2, s(struct netbsd32_uuidgen_args), 0,
                    970:            netbsd32_uuidgen },                 /* 355 = netbsd32_uuidgen */
1.32      cube      971:        { 3, s(struct netbsd32_getvfsstat_args), 0,
                    972:            netbsd32_getvfsstat },              /* 356 = netbsd32_getvfsstat */
                    973:        { 3, s(struct netbsd32_statvfs1_args), 0,
                    974:            netbsd32_statvfs1 },                /* 357 = netbsd32_statvfs1 */
                    975:        { 3, s(struct netbsd32_fstatvfs1_args), 0,
                    976:            netbsd32_fstatvfs1 },               /* 358 = netbsd32_fstatvfs1 */
                    977:        { 3, s(struct netbsd32_fhstatvfs1_args), 0,
                    978:            netbsd32_fhstatvfs1 },              /* 359 = netbsd32_fhstatvfs1 */
1.36      cube      979:        { 5, s(struct netbsd32_extattrctl_args), 0,
                    980:            netbsd32_extattrctl },              /* 360 = netbsd32_extattrctl */
                    981:        { 5, s(struct netbsd32_extattr_set_file_args), 0,
                    982:            netbsd32_extattr_set_file },        /* 361 = netbsd32_extattr_set_file */
                    983:        { 5, s(struct netbsd32_extattr_get_file_args), 0,
                    984:            netbsd32_extattr_get_file },        /* 362 = netbsd32_extattr_get_file */
                    985:        { 3, s(struct netbsd32_extattr_delete_file_args), 0,
                    986:            netbsd32_extattr_delete_file },     /* 363 = netbsd32_extattr_delete_file */
                    987:        { 5, s(struct netbsd32_extattr_set_fd_args), 0,
                    988:            netbsd32_extattr_set_fd },          /* 364 = netbsd32_extattr_set_fd */
                    989:        { 5, s(struct netbsd32_extattr_get_fd_args), 0,
                    990:            netbsd32_extattr_get_fd },          /* 365 = netbsd32_extattr_get_fd */
                    991:        { 3, s(struct netbsd32_extattr_delete_fd_args), 0,
                    992:            netbsd32_extattr_delete_fd },       /* 366 = netbsd32_extattr_delete_fd */
                    993:        { 5, s(struct netbsd32_extattr_set_link_args), 0,
                    994:            netbsd32_extattr_set_link },        /* 367 = netbsd32_extattr_set_link */
                    995:        { 5, s(struct netbsd32_extattr_get_link_args), 0,
                    996:            netbsd32_extattr_get_link },        /* 368 = netbsd32_extattr_get_link */
                    997:        { 3, s(struct netbsd32_extattr_delete_link_args), 0,
                    998:            netbsd32_extattr_delete_link },     /* 369 = netbsd32_extattr_delete_link */
                    999:        { 4, s(struct netbsd32_extattr_list_fd_args), 0,
                   1000:            netbsd32_extattr_list_fd },         /* 370 = netbsd32_extattr_list_fd */
                   1001:        { 4, s(struct netbsd32_extattr_list_file_args), 0,
                   1002:            netbsd32_extattr_list_file },       /* 371 = netbsd32_extattr_list_file */
                   1003:        { 4, s(struct netbsd32_extattr_list_link_args), 0,
                   1004:            netbsd32_extattr_list_link },       /* 372 = netbsd32_extattr_list_link */
1.38      cube     1005:        { 6, s(struct netbsd32_pselect_args), 0,
                   1006:            netbsd32_pselect },                 /* 373 = netbsd32_pselect */
                   1007:        { 4, s(struct netbsd32_pollts_args), 0,
                   1008:            netbsd32_pollts },                  /* 374 = netbsd32_pollts */
1.42      cube     1009:        { 5, s(struct netbsd32_setxattr_args), 0,
                   1010:            netbsd32_setxattr },                /* 375 = netbsd32_setxattr */
                   1011:        { 5, s(struct netbsd32_lsetxattr_args), 0,
                   1012:            netbsd32_lsetxattr },               /* 376 = netbsd32_lsetxattr */
                   1013:        { 5, s(struct netbsd32_fsetxattr_args), 0,
                   1014:            netbsd32_fsetxattr },               /* 377 = netbsd32_fsetxattr */
                   1015:        { 4, s(struct netbsd32_getxattr_args), 0,
                   1016:            netbsd32_getxattr },                /* 378 = netbsd32_getxattr */
                   1017:        { 4, s(struct netbsd32_lgetxattr_args), 0,
                   1018:            netbsd32_lgetxattr },               /* 379 = netbsd32_lgetxattr */
                   1019:        { 4, s(struct netbsd32_fgetxattr_args), 0,
                   1020:            netbsd32_fgetxattr },               /* 380 = netbsd32_fgetxattr */
                   1021:        { 3, s(struct netbsd32_listxattr_args), 0,
                   1022:            netbsd32_listxattr },               /* 381 = netbsd32_listxattr */
                   1023:        { 3, s(struct netbsd32_llistxattr_args), 0,
                   1024:            netbsd32_llistxattr },              /* 382 = netbsd32_llistxattr */
                   1025:        { 3, s(struct netbsd32_flistxattr_args), 0,
                   1026:            netbsd32_flistxattr },              /* 383 = netbsd32_flistxattr */
                   1027:        { 2, s(struct netbsd32_removexattr_args), 0,
                   1028:            netbsd32_removexattr },             /* 384 = netbsd32_removexattr */
                   1029:        { 2, s(struct netbsd32_lremovexattr_args), 0,
                   1030:            netbsd32_lremovexattr },            /* 385 = netbsd32_lremovexattr */
                   1031:        { 2, s(struct netbsd32_fremovexattr_args), 0,
                   1032:            netbsd32_fremovexattr },            /* 386 = netbsd32_fremovexattr */
1.45      christos 1033:        { 2, s(struct netbsd32_sys___stat30_args), 0,
                   1034:            netbsd32_sys___stat30 },            /* 387 = __stat30 */
                   1035:        { 2, s(struct netbsd32_sys___fstat30_args), 0,
                   1036:            netbsd32_sys___fstat30 },           /* 388 = __fstat30 */
                   1037:        { 2, s(struct netbsd32_sys___lstat30_args), 0,
                   1038:            netbsd32_sys___lstat30 },           /* 389 = __lstat30 */
                   1039:        { 3, s(struct netbsd32_sys___getdents30_args), 0,
                   1040:            netbsd32_sys___getdents30 },        /* 390 = __getdents30 */
1.47.6.2! kardel   1041:        { 4, s(struct sys_posix_fadvise_args), 0,
        !          1042:            sys_posix_fadvise },                /* 391 = posix_fadvise */
        !          1043:        { 2, s(struct netbsd32_sys___fhstat30_args), 0,
        !          1044:            netbsd32_sys___fhstat30 },          /* 392 = __fhstat30 */
        !          1045:        { 1, s(struct netbsd32_ntp_gettime_args), 0,
        !          1046:            netbsd32_ntp_gettime },             /* 393 = netbsd32_ntp_gettime */
1.27      jdolecek 1047:        { 0, 0, 0,
                   1048:            sys_nosys },                        /* 394 = filler */
                   1049:        { 0, 0, 0,
                   1050:            sys_nosys },                        /* 395 = filler */
                   1051:        { 0, 0, 0,
                   1052:            sys_nosys },                        /* 396 = filler */
                   1053:        { 0, 0, 0,
                   1054:            sys_nosys },                        /* 397 = filler */
                   1055:        { 0, 0, 0,
                   1056:            sys_nosys },                        /* 398 = filler */
                   1057:        { 0, 0, 0,
                   1058:            sys_nosys },                        /* 399 = filler */
                   1059:        { 0, 0, 0,
                   1060:            sys_nosys },                        /* 400 = filler */
                   1061:        { 0, 0, 0,
                   1062:            sys_nosys },                        /* 401 = filler */
                   1063:        { 0, 0, 0,
                   1064:            sys_nosys },                        /* 402 = filler */
                   1065:        { 0, 0, 0,
                   1066:            sys_nosys },                        /* 403 = filler */
                   1067:        { 0, 0, 0,
                   1068:            sys_nosys },                        /* 404 = filler */
                   1069:        { 0, 0, 0,
                   1070:            sys_nosys },                        /* 405 = filler */
                   1071:        { 0, 0, 0,
                   1072:            sys_nosys },                        /* 406 = filler */
                   1073:        { 0, 0, 0,
                   1074:            sys_nosys },                        /* 407 = filler */
                   1075:        { 0, 0, 0,
                   1076:            sys_nosys },                        /* 408 = filler */
                   1077:        { 0, 0, 0,
                   1078:            sys_nosys },                        /* 409 = filler */
                   1079:        { 0, 0, 0,
                   1080:            sys_nosys },                        /* 410 = filler */
                   1081:        { 0, 0, 0,
                   1082:            sys_nosys },                        /* 411 = filler */
                   1083:        { 0, 0, 0,
                   1084:            sys_nosys },                        /* 412 = filler */
                   1085:        { 0, 0, 0,
                   1086:            sys_nosys },                        /* 413 = filler */
                   1087:        { 0, 0, 0,
                   1088:            sys_nosys },                        /* 414 = filler */
                   1089:        { 0, 0, 0,
                   1090:            sys_nosys },                        /* 415 = filler */
                   1091:        { 0, 0, 0,
                   1092:            sys_nosys },                        /* 416 = filler */
                   1093:        { 0, 0, 0,
                   1094:            sys_nosys },                        /* 417 = filler */
                   1095:        { 0, 0, 0,
                   1096:            sys_nosys },                        /* 418 = filler */
                   1097:        { 0, 0, 0,
                   1098:            sys_nosys },                        /* 419 = filler */
                   1099:        { 0, 0, 0,
                   1100:            sys_nosys },                        /* 420 = filler */
                   1101:        { 0, 0, 0,
                   1102:            sys_nosys },                        /* 421 = filler */
                   1103:        { 0, 0, 0,
                   1104:            sys_nosys },                        /* 422 = filler */
                   1105:        { 0, 0, 0,
                   1106:            sys_nosys },                        /* 423 = filler */
                   1107:        { 0, 0, 0,
                   1108:            sys_nosys },                        /* 424 = filler */
                   1109:        { 0, 0, 0,
                   1110:            sys_nosys },                        /* 425 = filler */
                   1111:        { 0, 0, 0,
                   1112:            sys_nosys },                        /* 426 = filler */
                   1113:        { 0, 0, 0,
                   1114:            sys_nosys },                        /* 427 = filler */
                   1115:        { 0, 0, 0,
                   1116:            sys_nosys },                        /* 428 = filler */
                   1117:        { 0, 0, 0,
                   1118:            sys_nosys },                        /* 429 = filler */
                   1119:        { 0, 0, 0,
                   1120:            sys_nosys },                        /* 430 = filler */
                   1121:        { 0, 0, 0,
                   1122:            sys_nosys },                        /* 431 = filler */
                   1123:        { 0, 0, 0,
                   1124:            sys_nosys },                        /* 432 = filler */
                   1125:        { 0, 0, 0,
                   1126:            sys_nosys },                        /* 433 = filler */
                   1127:        { 0, 0, 0,
                   1128:            sys_nosys },                        /* 434 = filler */
                   1129:        { 0, 0, 0,
                   1130:            sys_nosys },                        /* 435 = filler */
                   1131:        { 0, 0, 0,
                   1132:            sys_nosys },                        /* 436 = filler */
                   1133:        { 0, 0, 0,
                   1134:            sys_nosys },                        /* 437 = filler */
                   1135:        { 0, 0, 0,
                   1136:            sys_nosys },                        /* 438 = filler */
                   1137:        { 0, 0, 0,
                   1138:            sys_nosys },                        /* 439 = filler */
                   1139:        { 0, 0, 0,
                   1140:            sys_nosys },                        /* 440 = filler */
                   1141:        { 0, 0, 0,
                   1142:            sys_nosys },                        /* 441 = filler */
                   1143:        { 0, 0, 0,
                   1144:            sys_nosys },                        /* 442 = filler */
                   1145:        { 0, 0, 0,
                   1146:            sys_nosys },                        /* 443 = filler */
                   1147:        { 0, 0, 0,
                   1148:            sys_nosys },                        /* 444 = filler */
                   1149:        { 0, 0, 0,
                   1150:            sys_nosys },                        /* 445 = filler */
                   1151:        { 0, 0, 0,
                   1152:            sys_nosys },                        /* 446 = filler */
                   1153:        { 0, 0, 0,
                   1154:            sys_nosys },                        /* 447 = filler */
                   1155:        { 0, 0, 0,
                   1156:            sys_nosys },                        /* 448 = filler */
                   1157:        { 0, 0, 0,
                   1158:            sys_nosys },                        /* 449 = filler */
                   1159:        { 0, 0, 0,
                   1160:            sys_nosys },                        /* 450 = filler */
                   1161:        { 0, 0, 0,
                   1162:            sys_nosys },                        /* 451 = filler */
                   1163:        { 0, 0, 0,
                   1164:            sys_nosys },                        /* 452 = filler */
                   1165:        { 0, 0, 0,
                   1166:            sys_nosys },                        /* 453 = filler */
                   1167:        { 0, 0, 0,
                   1168:            sys_nosys },                        /* 454 = filler */
                   1169:        { 0, 0, 0,
                   1170:            sys_nosys },                        /* 455 = filler */
                   1171:        { 0, 0, 0,
                   1172:            sys_nosys },                        /* 456 = filler */
                   1173:        { 0, 0, 0,
                   1174:            sys_nosys },                        /* 457 = filler */
                   1175:        { 0, 0, 0,
                   1176:            sys_nosys },                        /* 458 = filler */
                   1177:        { 0, 0, 0,
                   1178:            sys_nosys },                        /* 459 = filler */
                   1179:        { 0, 0, 0,
                   1180:            sys_nosys },                        /* 460 = filler */
                   1181:        { 0, 0, 0,
                   1182:            sys_nosys },                        /* 461 = filler */
                   1183:        { 0, 0, 0,
                   1184:            sys_nosys },                        /* 462 = filler */
                   1185:        { 0, 0, 0,
                   1186:            sys_nosys },                        /* 463 = filler */
                   1187:        { 0, 0, 0,
                   1188:            sys_nosys },                        /* 464 = filler */
                   1189:        { 0, 0, 0,
                   1190:            sys_nosys },                        /* 465 = filler */
                   1191:        { 0, 0, 0,
                   1192:            sys_nosys },                        /* 466 = filler */
                   1193:        { 0, 0, 0,
                   1194:            sys_nosys },                        /* 467 = filler */
                   1195:        { 0, 0, 0,
                   1196:            sys_nosys },                        /* 468 = filler */
                   1197:        { 0, 0, 0,
                   1198:            sys_nosys },                        /* 469 = filler */
                   1199:        { 0, 0, 0,
                   1200:            sys_nosys },                        /* 470 = filler */
                   1201:        { 0, 0, 0,
                   1202:            sys_nosys },                        /* 471 = filler */
                   1203:        { 0, 0, 0,
                   1204:            sys_nosys },                        /* 472 = filler */
                   1205:        { 0, 0, 0,
                   1206:            sys_nosys },                        /* 473 = filler */
                   1207:        { 0, 0, 0,
                   1208:            sys_nosys },                        /* 474 = filler */
                   1209:        { 0, 0, 0,
                   1210:            sys_nosys },                        /* 475 = filler */
                   1211:        { 0, 0, 0,
                   1212:            sys_nosys },                        /* 476 = filler */
                   1213:        { 0, 0, 0,
                   1214:            sys_nosys },                        /* 477 = filler */
                   1215:        { 0, 0, 0,
                   1216:            sys_nosys },                        /* 478 = filler */
                   1217:        { 0, 0, 0,
                   1218:            sys_nosys },                        /* 479 = filler */
                   1219:        { 0, 0, 0,
                   1220:            sys_nosys },                        /* 480 = filler */
                   1221:        { 0, 0, 0,
                   1222:            sys_nosys },                        /* 481 = filler */
                   1223:        { 0, 0, 0,
                   1224:            sys_nosys },                        /* 482 = filler */
                   1225:        { 0, 0, 0,
                   1226:            sys_nosys },                        /* 483 = filler */
                   1227:        { 0, 0, 0,
                   1228:            sys_nosys },                        /* 484 = filler */
                   1229:        { 0, 0, 0,
                   1230:            sys_nosys },                        /* 485 = filler */
                   1231:        { 0, 0, 0,
                   1232:            sys_nosys },                        /* 486 = filler */
                   1233:        { 0, 0, 0,
                   1234:            sys_nosys },                        /* 487 = filler */
                   1235:        { 0, 0, 0,
                   1236:            sys_nosys },                        /* 488 = filler */
                   1237:        { 0, 0, 0,
                   1238:            sys_nosys },                        /* 489 = filler */
                   1239:        { 0, 0, 0,
                   1240:            sys_nosys },                        /* 490 = filler */
                   1241:        { 0, 0, 0,
                   1242:            sys_nosys },                        /* 491 = filler */
                   1243:        { 0, 0, 0,
                   1244:            sys_nosys },                        /* 492 = filler */
                   1245:        { 0, 0, 0,
                   1246:            sys_nosys },                        /* 493 = filler */
                   1247:        { 0, 0, 0,
                   1248:            sys_nosys },                        /* 494 = filler */
                   1249:        { 0, 0, 0,
                   1250:            sys_nosys },                        /* 495 = filler */
                   1251:        { 0, 0, 0,
                   1252:            sys_nosys },                        /* 496 = filler */
                   1253:        { 0, 0, 0,
                   1254:            sys_nosys },                        /* 497 = filler */
                   1255:        { 0, 0, 0,
                   1256:            sys_nosys },                        /* 498 = filler */
                   1257:        { 0, 0, 0,
                   1258:            sys_nosys },                        /* 499 = filler */
                   1259:        { 0, 0, 0,
                   1260:            sys_nosys },                        /* 500 = filler */
                   1261:        { 0, 0, 0,
                   1262:            sys_nosys },                        /* 501 = filler */
                   1263:        { 0, 0, 0,
                   1264:            sys_nosys },                        /* 502 = filler */
                   1265:        { 0, 0, 0,
                   1266:            sys_nosys },                        /* 503 = filler */
                   1267:        { 0, 0, 0,
                   1268:            sys_nosys },                        /* 504 = filler */
                   1269:        { 0, 0, 0,
                   1270:            sys_nosys },                        /* 505 = filler */
                   1271:        { 0, 0, 0,
                   1272:            sys_nosys },                        /* 506 = filler */
                   1273:        { 0, 0, 0,
                   1274:            sys_nosys },                        /* 507 = filler */
                   1275:        { 0, 0, 0,
                   1276:            sys_nosys },                        /* 508 = filler */
                   1277:        { 0, 0, 0,
                   1278:            sys_nosys },                        /* 509 = filler */
                   1279:        { 0, 0, 0,
                   1280:            sys_nosys },                        /* 510 = filler */
                   1281:        { 0, 0, 0,
                   1282:            sys_nosys },                        /* 511 = filler */
1.1       mrg      1283: };
                   1284:

CVSweb <webmaster@jp.NetBSD.org>