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