No empty .Rs/.Re
[netbsd-mini2440.git] / sys / compat / irix / irix_sysent.c
blob85d6b26a524a72833633013b22f5f5127109422e
1 /* $NetBSD$ */
3 /*
4 * System call switch table.
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.54 2009/01/13 22:27:43 pooka Exp
8 */
10 #include <sys/cdefs.h>
11 __KERNEL_RCSID(0, "$NetBSD$");
13 #if defined(_KERNEL_OPT)
14 #include "opt_ntp.h"
15 #include "opt_sysv.h"
16 #include "opt_compat_43.h"
17 #endif
18 #include <sys/param.h>
19 #include <sys/systm.h>
20 #include <sys/signal.h>
21 #include <sys/mount.h>
22 #include <sys/poll.h>
23 #include <sys/ioctl_compat.h>
24 #include <sys/syscallargs.h>
25 #include <compat/svr4/svr4_types.h>
26 #include <compat/svr4/svr4_signal.h>
27 #include <compat/svr4/svr4_ucontext.h>
28 #include <compat/svr4/svr4_lwp.h>
29 #include <compat/svr4/svr4_statvfs.h>
30 #include <compat/svr4/svr4_syscallargs.h>
31 #include <compat/irix/irix_types.h>
32 #include <compat/irix/irix_signal.h>
33 #include <compat/irix/irix_syscallargs.h>
35 #define s(type) sizeof(type)
36 #define n(type) (sizeof(type)/sizeof (register_t))
37 #define ns(type) n(type), s(type)
39 struct sysent irix_sysent[] = {
40 { 0, 0, 0,
41 (sy_call_t *)sys_nosys }, /* 0 = syscall */
42 { ns(struct sys_exit_args), 0,
43 (sy_call_t *)sys_exit }, /* 1 = exit */
44 { 0, 0, 0,
45 (sy_call_t *)sys_fork }, /* 2 = fork */
46 { ns(struct sys_read_args), 0,
47 (sy_call_t *)sys_read }, /* 3 = read */
48 { ns(struct sys_write_args), 0,
49 (sy_call_t *)sys_write }, /* 4 = write */
50 { ns(struct irix_sys_open_args), 0,
51 (sy_call_t *)irix_sys_open }, /* 5 = open */
52 { ns(struct sys_close_args), 0,
53 (sy_call_t *)sys_close }, /* 6 = close */
54 { 0, 0, 0,
55 sys_nosys }, /* 7 = obsolete wait */
56 { ns(struct svr4_sys_creat_args), 0,
57 (sy_call_t *)svr4_sys_creat }, /* 8 = creat */
58 { ns(struct sys_link_args), 0,
59 (sy_call_t *)sys_link }, /* 9 = link */
60 { ns(struct sys_unlink_args), 0,
61 (sy_call_t *)sys_unlink }, /* 10 = unlink */
62 { ns(struct svr4_sys_execv_args), 0,
63 (sy_call_t *)svr4_sys_execv }, /* 11 = execv */
64 { ns(struct sys_chdir_args), 0,
65 (sy_call_t *)sys_chdir }, /* 12 = chdir */
66 { ns(struct svr4_sys_time_args), 0,
67 (sy_call_t *)svr4_sys_time }, /* 13 = time */
68 { 0, 0, 0,
69 sys_nosys }, /* 14 = obsolete mknod */
70 { ns(struct sys_chmod_args), 0,
71 (sy_call_t *)sys_chmod }, /* 15 = chmod */
72 { ns(struct sys___posix_chown_args), 0,
73 (sy_call_t *)sys___posix_chown }, /* 16 = chown */
74 { ns(struct irix_sys_break_args), 0,
75 (sy_call_t *)irix_sys_break }, /* 17 = break */
76 { 0, 0, 0,
77 sys_nosys }, /* 18 = obsolete stat */
78 { ns(struct compat_43_sys_lseek_args), 0,
79 (sy_call_t *)compat_43_sys_lseek }, /* 19 = lseek */
80 { 0, 0, 0,
81 (sy_call_t *)sys_getpid }, /* 20 = getpid */
82 { 0, 0, 0,
83 sys_nosys }, /* 21 = unimplemented old_mount */
84 { 0, 0, 0,
85 sys_nosys }, /* 22 = unimplemented System V umount */
86 { ns(struct sys_setuid_args), 0,
87 (sy_call_t *)sys_setuid }, /* 23 = setuid */
88 { 0, 0, 0,
89 (sy_call_t *)sys_getuid_with_euid },/* 24 = getuid_with_euid */
90 { 0, 0, 0,
91 sys_nosys }, /* 25 = unimplemented stime */
92 { 0, 0, 0,
93 sys_nosys }, /* 26 = unimplemented ptrace */
94 { ns(struct svr4_sys_alarm_args), 0,
95 (sy_call_t *)svr4_sys_alarm }, /* 27 = alarm */
96 { ns(struct svr4_sys_fstat_args), 0,
97 (sy_call_t *)svr4_sys_fstat }, /* 28 = fstat */
98 { 0, 0, 0,
99 (sy_call_t *)svr4_sys_pause }, /* 29 = pause */
100 { ns(struct svr4_sys_utime_args), 0,
101 (sy_call_t *)svr4_sys_utime }, /* 30 = utime */
102 { 0, 0, 0,
103 sys_nosys }, /* 31 = unimplemented was stty */
104 { 0, 0, 0,
105 sys_nosys }, /* 32 = unimplemented was gtty */
106 { ns(struct svr4_sys_access_args), 0,
107 (sy_call_t *)svr4_sys_access }, /* 33 = access */
108 { ns(struct svr4_sys_nice_args), 0,
109 (sy_call_t *)svr4_sys_nice }, /* 34 = nice */
110 { 0, 0, 0,
111 sys_nosys }, /* 35 = unimplemented statfs */
112 { 0, 0, 0,
113 (sy_call_t *)sys_sync }, /* 36 = sync */
114 { ns(struct svr4_sys_kill_args), 0,
115 (sy_call_t *)svr4_sys_kill }, /* 37 = kill */
116 { 0, 0, 0,
117 sys_nosys }, /* 38 = unimplemented fstatfs */
118 { ns(struct svr4_sys_pgrpsys_args), 0,
119 (sy_call_t *)svr4_sys_pgrpsys }, /* 39 = pgrpsys */
120 { ns(struct irix_sys_syssgi_args), 0,
121 (sy_call_t *)irix_sys_syssgi }, /* 40 = syssgi */
122 { ns(struct sys_dup_args), 0,
123 (sy_call_t *)sys_dup }, /* 41 = dup */
124 { 0, 0, 0,
125 (sy_call_t *)sys_pipe }, /* 42 = pipe */
126 { ns(struct svr4_sys_times_args), 0,
127 (sy_call_t *)svr4_sys_times }, /* 43 = times */
128 { 0, 0, 0,
129 sys_nosys }, /* 44 = unimplemented profil */
130 { 0, 0, 0,
131 sys_nosys }, /* 45 = unimplemented plock */
132 { ns(struct sys_setgid_args), 0,
133 (sy_call_t *)sys_setgid }, /* 46 = setgid */
134 { 0, 0, 0,
135 (sy_call_t *)sys_getgid_with_egid },/* 47 = getgid_with_egid */
136 { 0, 0, 0,
137 sys_nosys }, /* 48 = obsolete ssig */
138 #ifdef SYSVMSG
139 { ns(struct svr4_sys_msgsys_args), 0,
140 (sy_call_t *)svr4_sys_msgsys }, /* 49 = msgsys */
141 #else
142 { 0, 0, 0,
143 sys_nosys }, /* 49 = unimplemented msgsys */
144 #endif
145 { 0, 0, 0,
146 sys_nosys }, /* 50 = unimplemented sysmips */
147 { 0, 0, 0,
148 sys_nosys }, /* 51 = unimplemented acct */
149 #ifdef SYSVSHM
150 { ns(struct irix_sys_shmsys_args), 0,
151 (sy_call_t *)irix_sys_shmsys }, /* 52 = shmsys */
152 #else
153 { 0, 0, 0,
154 sys_nosys }, /* 52 = unimplemented shmsys */
155 #endif
156 #ifdef SYSVSEM
157 { ns(struct svr4_sys_semsys_args), 0,
158 (sy_call_t *)svr4_sys_semsys }, /* 53 = semsys */
159 #else
160 { 0, 0, 0,
161 sys_nosys }, /* 53 = unimplemented semsys */
162 #endif
163 { ns(struct irix_sys_ioctl_args), 0,
164 (sy_call_t *)irix_sys_ioctl }, /* 54 = ioctl */
165 { 0, 0, 0,
166 sys_nosys }, /* 55 = unimplemented uadmin */
167 { ns(struct irix_sys_sysmp_args), 0,
168 (sy_call_t *)irix_sys_sysmp }, /* 56 = sysmp */
169 { ns(struct irix_sys_utssys_args), 0,
170 (sy_call_t *)irix_sys_utssys }, /* 57 = utssys */
171 { 0, 0, 0,
172 sys_nosys }, /* 58 = unimplemented */
173 { ns(struct svr4_sys_execve_args), 0,
174 (sy_call_t *)svr4_sys_execve }, /* 59 = execve */
175 { ns(struct sys_umask_args), 0,
176 (sy_call_t *)sys_umask }, /* 60 = umask */
177 { ns(struct sys_chroot_args), 0,
178 (sy_call_t *)sys_chroot }, /* 61 = chroot */
179 { ns(struct irix_sys_fcntl_args), 0,
180 (sy_call_t *)irix_sys_fcntl }, /* 62 = fcntl */
181 { ns(struct svr4_sys_ulimit_args), 0,
182 (sy_call_t *)svr4_sys_ulimit }, /* 63 = ulimit */
183 { 0, 0, 0,
184 sys_nosys }, /* 64 = unimplemented reserved for unix/pc */
185 { 0, 0, 0,
186 sys_nosys }, /* 65 = unimplemented reserved for unix/pc */
187 { 0, 0, 0,
188 sys_nosys }, /* 66 = unimplemented reserved for unix/pc */
189 { 0, 0, 0,
190 sys_nosys }, /* 67 = unimplemented reserved for unix/pc */
191 { 0, 0, 0,
192 sys_nosys }, /* 68 = unimplemented reserved for unix/pc */
193 { 0, 0, 0,
194 sys_nosys }, /* 69 = unimplemented reserved for unix/pc */
195 { 0, 0, 0,
196 sys_nosys }, /* 70 = obsolete advfs */
197 { 0, 0, 0,
198 sys_nosys }, /* 71 = obsolete unadvfs */
199 { 0, 0, 0,
200 sys_nosys }, /* 72 = obsolete rmount */
201 { 0, 0, 0,
202 sys_nosys }, /* 73 = obsolete rumount */
203 { 0, 0, 0,
204 sys_nosys }, /* 74 = obsolete rfstart */
205 { ns(struct irix_sys_getrlimit64_args), 0,
206 (sy_call_t *)irix_sys_getrlimit64 },/* 75 = getrlimit64 */
207 { ns(struct irix_sys_setrlimit64_args), 0,
208 (sy_call_t *)irix_sys_setrlimit64 },/* 76 = setrlimit64 */
209 { ns(struct compat_50_sys_nanosleep_args), 0,
210 (sy_call_t *)compat_50_sys_nanosleep },/* 77 = nanosleep */
211 { ns(struct irix_sys_lseek64_args), 0,
212 (sy_call_t *)irix_sys_lseek64 }, /* 78 = lseek64 */
213 { ns(struct sys_rmdir_args), 0,
214 (sy_call_t *)sys_rmdir }, /* 79 = rmdir */
215 { ns(struct sys_mkdir_args), 0,
216 (sy_call_t *)sys_mkdir }, /* 80 = mkdir */
217 { ns(struct irix_sys_getdents_args), 0,
218 (sy_call_t *)irix_sys_getdents }, /* 81 = getdents */
219 { ns(struct irix_sys_sginap_args), 0,
220 (sy_call_t *)irix_sys_sginap }, /* 82 = sginap */
221 { 0, 0, 0,
222 sys_nosys }, /* 83 = unimplemented sgikopt */
223 { 0, 0, 0,
224 sys_nosys }, /* 84 = unimplemented sysfs */
225 { ns(struct svr4_sys_getmsg_args), 0,
226 (sy_call_t *)svr4_sys_getmsg }, /* 85 = getmsg */
227 { ns(struct svr4_sys_putmsg_args), 0,
228 (sy_call_t *)svr4_sys_putmsg }, /* 86 = putmsg */
229 { ns(struct sys_poll_args), 0,
230 (sy_call_t *)sys_poll }, /* 87 = poll */
231 { ns(struct irix_sys_sigreturn_args), 0,
232 (sy_call_t *)irix_sys_sigreturn }, /* 88 = sigreturn */
233 { ns(struct compat_43_sys_accept_args), 0,
234 (sy_call_t *)compat_43_sys_accept },/* 89 = accept */
235 { ns(struct sys_bind_args), 0,
236 (sy_call_t *)sys_bind }, /* 90 = bind */
237 { ns(struct sys_connect_args), 0,
238 (sy_call_t *)sys_connect }, /* 91 = connect */
239 { 0, 0, 0,
240 (sy_call_t *)compat_43_sys_gethostid },/* 92 = gethostid */
241 { ns(struct compat_43_sys_getpeername_args), 0,
242 (sy_call_t *)compat_43_sys_getpeername },/* 93 = getpeername */
243 { ns(struct compat_43_sys_getsockname_args), 0,
244 (sy_call_t *)compat_43_sys_getsockname },/* 94 = getsockname */
245 { ns(struct sys_getsockopt_args), 0,
246 (sy_call_t *)sys_getsockopt }, /* 95 = getsockopt */
247 { ns(struct sys_listen_args), 0,
248 (sy_call_t *)sys_listen }, /* 96 = listen */
249 { ns(struct compat_43_sys_recv_args), 0,
250 (sy_call_t *)compat_43_sys_recv }, /* 97 = recv */
251 { ns(struct compat_43_sys_recvfrom_args), 0,
252 (sy_call_t *)compat_43_sys_recvfrom },/* 98 = recvfrom */
253 { ns(struct compat_43_sys_recvmsg_args), 0,
254 (sy_call_t *)compat_43_sys_recvmsg },/* 99 = recvmsg */
255 { ns(struct compat_50_sys_select_args), 0,
256 (sy_call_t *)compat_50_sys_select },/* 100 = select */
257 { ns(struct compat_43_sys_send_args), 0,
258 (sy_call_t *)compat_43_sys_send }, /* 101 = send */
259 { ns(struct compat_43_sys_sendmsg_args), 0,
260 (sy_call_t *)compat_43_sys_sendmsg },/* 102 = sendmsg */
261 { ns(struct sys_sendto_args), 0,
262 (sy_call_t *)sys_sendto }, /* 103 = sendto */
263 { ns(struct compat_43_sys_sethostid_args), 0,
264 (sy_call_t *)compat_43_sys_sethostid },/* 104 = sethostid */
265 { ns(struct sys_setsockopt_args), 0,
266 (sy_call_t *)sys_setsockopt }, /* 105 = setsockopt */
267 { ns(struct sys_shutdown_args), 0,
268 (sy_call_t *)sys_shutdown }, /* 106 = shutdown */
269 { ns(struct svr4_sys_socket_args), 0,
270 (sy_call_t *)svr4_sys_socket }, /* 107 = socket */
271 { ns(struct compat_43_sys_gethostname_args), 0,
272 (sy_call_t *)compat_43_sys_gethostname },/* 108 = gethostname */
273 { ns(struct compat_43_sys_sethostname_args), 0,
274 (sy_call_t *)compat_43_sys_sethostname },/* 109 = sethostname */
275 { ns(struct compat_09_sys_getdomainname_args), 0,
276 (sy_call_t *)compat_09_sys_getdomainname },/* 110 = getdomainname */
277 { ns(struct compat_09_sys_setdomainname_args), 0,
278 (sy_call_t *)compat_09_sys_setdomainname },/* 111 = setdomainname */
279 { ns(struct sys_truncate_args), 0,
280 (sy_call_t *)sys_truncate }, /* 112 = truncate */
281 { ns(struct sys_ftruncate_args), 0,
282 (sy_call_t *)sys_ftruncate }, /* 113 = ftruncate */
283 { ns(struct sys_rename_args), 0,
284 (sy_call_t *)sys_rename }, /* 114 = rename */
285 { ns(struct sys_symlink_args), 0,
286 (sy_call_t *)sys_symlink }, /* 115 = symlink */
287 { ns(struct sys_readlink_args), 0,
288 (sy_call_t *)sys_readlink }, /* 116 = readlink */
289 { 0, 0, 0,
290 sys_nosys }, /* 117 = unimplemented lstat */
291 { 0, 0, 0,
292 sys_nosys }, /* 118 = unimplemented */
293 { 0, 0, 0,
294 sys_nosys }, /* 119 = unimplemented nfs_svc */
295 { 0, 0, 0,
296 sys_nosys }, /* 120 = unimplemented nfs_getfh */
297 { 0, 0, 0,
298 sys_nosys }, /* 121 = unimplemented async_daemon */
299 { 0, 0, 0,
300 sys_nosys }, /* 122 = unimplemented exportfs */
301 { ns(struct sys_setregid_args), 0,
302 (sy_call_t *)sys_setregid }, /* 123 = setregid */
303 { ns(struct sys_setreuid_args), 0,
304 (sy_call_t *)sys_setreuid }, /* 124 = setreuid */
305 { ns(struct compat_50_sys_getitimer_args), 0,
306 (sy_call_t *)compat_50_sys_getitimer },/* 125 = getitimer */
307 { ns(struct compat_50_sys_setitimer_args), 0,
308 (sy_call_t *)compat_50_sys_setitimer },/* 126 = setitimer */
309 { ns(struct compat_50_sys_adjtime_args), 0,
310 (sy_call_t *)compat_50_sys_adjtime },/* 127 = adjtime */
311 { ns(struct svr4_sys_gettimeofday_args), 0,
312 (sy_call_t *)svr4_sys_gettimeofday },/* 128 = gettimeofday */
313 { ns(struct irix_sys_sproc_args), 0,
314 (sy_call_t *)irix_sys_sproc }, /* 129 = sproc */
315 { ns(struct irix_sys_prctl_args), 0,
316 (sy_call_t *)irix_sys_prctl }, /* 130 = prctl */
317 { ns(struct irix_sys_procblk_args), 0,
318 (sy_call_t *)irix_sys_procblk }, /* 131 = procblk */
319 { ns(struct irix_sys_sprocsp_args), 0,
320 (sy_call_t *)irix_sys_sprocsp }, /* 132 = sprocsp */
321 { 0, 0, 0,
322 sys_nosys }, /* 133 = unimplemented sgigsc */
323 { ns(struct irix_sys_mmap_args), 0,
324 (sy_call_t *)irix_sys_mmap }, /* 134 = mmap */
325 { ns(struct irix_sys_munmap_args), 0,
326 (sy_call_t *)irix_sys_munmap }, /* 135 = munmap */
327 { ns(struct irix_sys_mprotect_args), 0,
328 (sy_call_t *)irix_sys_mprotect }, /* 136 = mprotect */
329 { ns(struct sys___msync13_args), 0,
330 (sy_call_t *)sys___msync13 }, /* 137 = __msync13 */
331 { 0, 0, 0,
332 sys_nosys }, /* 138 = unimplemented madvise */
333 { 0, 0, 0,
334 sys_nosys }, /* 139 = unimplemented pagelock */
335 { 0, 0, 0,
336 sys_nosys }, /* 140 = unimplemented getpagesize */
337 { 0, 0, 0,
338 sys_nosys }, /* 141 = unimplemented quotactl */
339 { 0, 0, 0,
340 sys_nosys }, /* 142 = unimplemented */
341 { 0, 0, 0,
342 (sy_call_t *)sys_getpgrp }, /* 143 = getpgrp */
343 { ns(struct irix_sys_setpgrp_args), 0,
344 (sy_call_t *)irix_sys_setpgrp }, /* 144 = setpgrp */
345 { 0, 0, 0,
346 sys_nosys }, /* 145 = unimplemented vhangup */
347 { ns(struct sys_fsync_args), 0,
348 (sy_call_t *)sys_fsync }, /* 146 = fsync */
349 { ns(struct sys_fchdir_args), 0,
350 (sy_call_t *)sys_fchdir }, /* 147 = fchdir */
351 { ns(struct irix_sys_getrlimit_args), 0,
352 (sy_call_t *)irix_sys_getrlimit }, /* 148 = getrlimit */
353 { ns(struct irix_sys_setrlimit_args), 0,
354 (sy_call_t *)irix_sys_setrlimit }, /* 149 = setrlimit */
355 { 0, 0, 0,
356 sys_nosys }, /* 150 = unimplemented cacheflush */
357 { 0, 0, 0,
358 sys_nosys }, /* 151 = unimplemented cachectl */
359 { ns(struct sys___posix_fchown_args), 0,
360 (sy_call_t *)sys___posix_fchown }, /* 152 = fchown */
361 { ns(struct sys_fchmod_args), 0,
362 (sy_call_t *)sys_fchmod }, /* 153 = fchmod */
363 { 0, 0, 0,
364 sys_nosys }, /* 154 = unimplemented wait3 */
365 { 0, 0, 0,
366 sys_nosys }, /* 155 = unimplemented socketpair */
367 { ns(struct irix_sys_systeminfo_args), 0,
368 (sy_call_t *)irix_sys_systeminfo }, /* 156 = systeminfo */
369 { ns(struct irix_sys_uname_args), 0,
370 (sy_call_t *)irix_sys_uname }, /* 157 = uname */
371 { ns(struct irix_sys_xstat_args), 0,
372 (sy_call_t *)irix_sys_xstat }, /* 158 = xstat */
373 { ns(struct irix_sys_lxstat_args), 0,
374 (sy_call_t *)irix_sys_lxstat }, /* 159 = lxstat */
375 { ns(struct irix_sys_fxstat_args), 0,
376 (sy_call_t *)irix_sys_fxstat }, /* 160 = fxstat */
377 { 0, 0, 0,
378 sys_nosys }, /* 161 = unimplemented xmknod */
379 { ns(struct irix_sys_sigaction_args), 0,
380 (sy_call_t *)irix_sys_sigaction }, /* 162 = sigaction */
381 { ns(struct svr4_sys_sigpending_args), 0,
382 (sy_call_t *)svr4_sys_sigpending }, /* 163 = sigpending */
383 { ns(struct irix_sys_sigprocmask_args), 0,
384 (sy_call_t *)irix_sys_sigprocmask },/* 164 = sigprocmask */
385 { ns(struct svr4_sys_sigsuspend_args), 0,
386 (sy_call_t *)svr4_sys_sigsuspend }, /* 165 = sigsuspend */
387 { 0, 0, 0,
388 sys_nosys }, /* 166 = unimplemented sigpoll_sys */
389 { ns(struct irix_sys_swapctl_args), 0,
390 (sy_call_t *)irix_sys_swapctl }, /* 167 = swapctl */
391 { ns(struct irix_sys_getcontext_args), 0,
392 (sy_call_t *)irix_sys_getcontext }, /* 168 = getcontext */
393 { ns(struct irix_sys_setcontext_args), 0,
394 (sy_call_t *)irix_sys_setcontext }, /* 169 = setcontext */
395 { ns(struct irix_sys_waitsys_args), 0,
396 (sy_call_t *)irix_sys_waitsys }, /* 170 = waitsys */
397 { 0, 0, 0,
398 sys_nosys }, /* 171 = unimplemented sigstack */
399 { 0, 0, 0,
400 sys_nosys }, /* 172 = unimplemented sigaltstack */
401 { 0, 0, 0,
402 sys_nosys }, /* 173 = unimplemented sigsendset */
403 { ns(struct svr4_sys_statvfs_args), 0,
404 (sy_call_t *)svr4_sys_statvfs }, /* 174 = statvfs */
405 { ns(struct svr4_sys_fstatvfs_args), 0,
406 (sy_call_t *)svr4_sys_fstatvfs }, /* 175 = fstatvfs */
407 { 0, 0, 0,
408 sys_nosys }, /* 176 = unimplemented getpmsg */
409 { 0, 0, 0,
410 sys_nosys }, /* 177 = unimplemented putpmsg */
411 { 0, 0, 0,
412 sys_nosys }, /* 178 = unimplemented lchown */
413 { 0, 0, 0,
414 sys_nosys }, /* 179 = unimplemented priocntl */
415 { 0, 0, 0,
416 sys_nosys }, /* 180 = unimplemented sigqueue */
417 { ns(struct sys_readv_args), 0,
418 (sy_call_t *)sys_readv }, /* 181 = readv */
419 { ns(struct sys_writev_args), 0,
420 (sy_call_t *)sys_writev }, /* 182 = writev */
421 { ns(struct sys_truncate_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64,
422 (sy_call_t *)sys_truncate }, /* 183 = truncate64 */
423 { ns(struct sys_ftruncate_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64,
424 (sy_call_t *)sys_ftruncate }, /* 184 = ftruncate64 */
425 { ns(struct irix_sys_mmap64_args), 0,
426 (sy_call_t *)irix_sys_mmap64 }, /* 185 = mmap64 */
427 { 0, 0, 0,
428 sys_nosys }, /* 186 = unimplemented dmi */
429 { ns(struct svr4_sys_pread_args), 0,
430 (sy_call_t *)svr4_sys_pread }, /* 187 = pread */
431 { ns(struct svr4_sys_pwrite_args), 0,
432 (sy_call_t *)svr4_sys_pwrite }, /* 188 = pwrite */
433 { 0, 0, 0,
434 sys_nosys }, /* 189 = unimplemented fdatasync */
435 { 0, 0, 0,
436 sys_nosys }, /* 190 = unimplemented sgifastpath */
437 { 0, 0, 0,
438 sys_nosys }, /* 191 = unimplemented attr_get */
439 { 0, 0, 0,
440 sys_nosys }, /* 192 = unimplemented attr_getf */
441 { 0, 0, 0,
442 sys_nosys }, /* 193 = unimplemented attr_set */
443 { 0, 0, 0,
444 sys_nosys }, /* 194 = unimplemented attr_setf */
445 { 0, 0, 0,
446 sys_nosys }, /* 195 = unimplemented attr_remove */
447 { 0, 0, 0,
448 sys_nosys }, /* 196 = unimplemented attr_removef */
449 { 0, 0, 0,
450 sys_nosys }, /* 197 = unimplemented attr_list */
451 { 0, 0, 0,
452 sys_nosys }, /* 198 = unimplemented attr_listf */
453 { 0, 0, 0,
454 sys_nosys }, /* 199 = unimplemented attr_multi */
455 { 0, 0, 0,
456 sys_nosys }, /* 200 = unimplemented attr_multif */
457 { 0, 0, 0,
458 sys_nosys }, /* 201 = unimplemented statvfs64 */
459 { 0, 0, 0,
460 sys_nosys }, /* 202 = unimplemented fstatvfs64 */
461 { ns(struct irix_sys_getmountid_args), 0,
462 (sy_call_t *)irix_sys_getmountid }, /* 203 = getmountid */
463 { 0, 0, 0,
464 sys_nosys }, /* 204 = unimplemented nsproc */
465 { ns(struct irix_sys_getdents64_args), 0,
466 (sy_call_t *)irix_sys_getdents64 }, /* 205 = getdents64 */
467 { 0, 0, 0,
468 sys_nosys }, /* 206 = unimplemented afs_syscall */
469 { ns(struct irix_sys_ngetdents_args), 0,
470 (sy_call_t *)irix_sys_ngetdents }, /* 207 = ngetdents */
471 { ns(struct irix_sys_ngetdents64_args), 0,
472 (sy_call_t *)irix_sys_ngetdents64 },/* 208 = ngetdents64 */
473 { 0, 0, 0,
474 sys_nosys }, /* 209 = unimplemented sgi_sesmgr */
475 { ns(struct irix_sys_pidsprocsp_args), 0,
476 (sy_call_t *)irix_sys_pidsprocsp }, /* 210 = pidsprocsp */
477 { 0, 0, 0,
478 sys_nosys }, /* 211 = unimplemented rexec */
479 { 0, 0, 0,
480 sys_nosys }, /* 212 = unimplemented timer_create */
481 { 0, 0, 0,
482 sys_nosys }, /* 213 = unimplemented timer_delete */
483 { 0, 0, 0,
484 sys_nosys }, /* 214 = unimplemented timer_settime */
485 { 0, 0, 0,
486 sys_nosys }, /* 215 = unimplemented timer_gettime */
487 { 0, 0, 0,
488 sys_nosys }, /* 216 = unimplemented timer_setoverrun */
489 { 0, 0, 0,
490 sys_nosys }, /* 217 = unimplemented sched_rr_get_interval */
491 { 0, 0, 0,
492 sys_nosys }, /* 218 = unimplemented sched_yield */
493 { 0, 0, 0,
494 sys_nosys }, /* 219 = unimplemented sched_getscheduler */
495 { 0, 0, 0,
496 sys_nosys }, /* 220 = unimplemented sched_setscheduler */
497 { 0, 0, 0,
498 sys_nosys }, /* 221 = unimplemented sched_getparam */
499 { 0, 0, 0,
500 sys_nosys }, /* 222 = unimplemented sched_setparam */
501 { ns(struct irix_sys_usync_cntl_args), 0,
502 (sy_call_t *)irix_sys_usync_cntl }, /* 223 = usync_cntl */
503 { 0, 0, 0,
504 sys_nosys }, /* 224 = unimplemented psema_cntl */
505 { 0, 0, 0,
506 sys_nosys }, /* 225 = unimplemented restartreturn */
507 { 0, 0, 0,
508 sys_nosys }, /* 226 = unimplemented sysget */
509 { 0, 0, 0,
510 sys_nosys }, /* 227 = unimplemented xpg4_recvmsg */
511 { 0, 0, 0,
512 sys_nosys }, /* 228 = unimplemented umfscall */
513 { 0, 0, 0,
514 sys_nosys }, /* 229 = unimplemented nsproctid */
515 { 0, 0, 0,
516 sys_nosys }, /* 230 = unimplemented rexec_complete */
517 { 0, 0, 0,
518 sys_nosys }, /* 231 = unimplemented xpg4_sigaltstack */
519 { 0, 0, 0,
520 sys_nosys }, /* 232 = unimplemented xpg4_sigaltstack */
521 { 0, 0, 0,
522 sys_nosys }, /* 233 = unimplemented xpg4_setregid */
523 { 0, 0, 0,
524 sys_nosys }, /* 234 = unimplemented linkfollow */
525 { 0, 0, 0,
526 sys_nosys }, /* 235 = unimplemented utimets */
527 { 0, 0, 0,
528 sys_nosys }, /* 236 = filler */
529 { 0, 0, 0,
530 sys_nosys }, /* 237 = filler */
531 { 0, 0, 0,
532 sys_nosys }, /* 238 = filler */
533 { 0, 0, 0,
534 sys_nosys }, /* 239 = filler */
535 { 0, 0, 0,
536 sys_nosys }, /* 240 = filler */
537 { 0, 0, 0,
538 sys_nosys }, /* 241 = filler */
539 { 0, 0, 0,
540 sys_nosys }, /* 242 = filler */
541 { 0, 0, 0,
542 sys_nosys }, /* 243 = filler */
543 { 0, 0, 0,
544 sys_nosys }, /* 244 = filler */
545 { 0, 0, 0,
546 sys_nosys }, /* 245 = filler */
547 { 0, 0, 0,
548 sys_nosys }, /* 246 = filler */
549 { 0, 0, 0,
550 sys_nosys }, /* 247 = filler */
551 { 0, 0, 0,
552 sys_nosys }, /* 248 = filler */
553 { 0, 0, 0,
554 sys_nosys }, /* 249 = filler */
555 { 0, 0, 0,
556 sys_nosys }, /* 250 = filler */
557 { 0, 0, 0,
558 sys_nosys }, /* 251 = filler */
559 { 0, 0, 0,
560 sys_nosys }, /* 252 = filler */
561 { 0, 0, 0,
562 sys_nosys }, /* 253 = filler */
563 { 0, 0, 0,
564 sys_nosys }, /* 254 = filler */
565 { 0, 0, 0,
566 sys_nosys }, /* 255 = filler */