ultrix_sysent.c revision 1.44 1 1.38 cgd /* $NetBSD: ultrix_sysent.c,v 1.44 2001/11/13 02:09:35 lukem Exp $ */
2 1.25 thorpej
3 1.1 glass /*
4 1.1 glass * System call switch table.
5 1.1 glass *
6 1.1 glass * DO NOT EDIT-- this file is automatically generated.
7 1.44 lukem * created from NetBSD: syscalls.master,v 1.37 2001/05/30 11:37:33 mrg Exp
8 1.1 glass */
9 1.44 lukem
10 1.44 lukem #include <sys/cdefs.h>
11 1.44 lukem __KERNEL_RCSID(0, "$NetBSD: ultrix_sysent.c,v 1.44 2001/11/13 02:09:35 lukem Exp $");
12 1.1 glass
13 1.43 mrg #if defined(_KERNEL_OPT)
14 1.30 thorpej #include "opt_nfsserver.h"
15 1.28 thorpej #include "fs_nfs.h"
16 1.39 jdolecek #endif
17 1.1 glass #include <sys/param.h>
18 1.1 glass #include <sys/systm.h>
19 1.6 dean #include <sys/signal.h>
20 1.6 dean #include <sys/mount.h>
21 1.6 dean #include <sys/syscallargs.h>
22 1.6 dean #include <compat/ultrix/ultrix_syscallargs.h>
23 1.12 mycroft
24 1.6 dean #define s(type) sizeof(type)
25 1.1 glass
26 1.1 glass struct sysent ultrix_sysent[] = {
27 1.41 thorpej { 0, 0, 0,
28 1.12 mycroft sys_nosys }, /* 0 = syscall */
29 1.41 thorpej { 1, s(struct sys_exit_args), 0,
30 1.12 mycroft sys_exit }, /* 1 = exit */
31 1.41 thorpej { 0, 0, 0,
32 1.12 mycroft sys_fork }, /* 2 = fork */
33 1.41 thorpej { 3, s(struct sys_read_args), 0,
34 1.12 mycroft sys_read }, /* 3 = read */
35 1.41 thorpej { 3, s(struct sys_write_args), 0,
36 1.12 mycroft sys_write }, /* 4 = write */
37 1.41 thorpej { 3, s(struct ultrix_sys_open_args), 0,
38 1.12 mycroft ultrix_sys_open }, /* 5 = open */
39 1.41 thorpej { 1, s(struct sys_close_args), 0,
40 1.12 mycroft sys_close }, /* 6 = close */
41 1.41 thorpej { 0, 0, 0,
42 1.14 jonathan compat_43_sys_wait }, /* 7 = owait */
43 1.41 thorpej { 2, s(struct ultrix_sys_creat_args), 0,
44 1.15 jonathan ultrix_sys_creat }, /* 8 = creat */
45 1.41 thorpej { 2, s(struct sys_link_args), 0,
46 1.12 mycroft sys_link }, /* 9 = link */
47 1.41 thorpej { 1, s(struct sys_unlink_args), 0,
48 1.12 mycroft sys_unlink }, /* 10 = unlink */
49 1.41 thorpej { 2, s(struct ultrix_sys_execv_args), 0,
50 1.12 mycroft ultrix_sys_execv }, /* 11 = execv */
51 1.41 thorpej { 1, s(struct sys_chdir_args), 0,
52 1.12 mycroft sys_chdir }, /* 12 = chdir */
53 1.41 thorpej { 0, 0, 0,
54 1.12 mycroft sys_nosys }, /* 13 = obsolete time */
55 1.41 thorpej { 3, s(struct ultrix_sys_mknod_args), 0,
56 1.12 mycroft ultrix_sys_mknod }, /* 14 = mknod */
57 1.41 thorpej { 2, s(struct sys_chmod_args), 0,
58 1.12 mycroft sys_chmod }, /* 15 = chmod */
59 1.41 thorpej { 3, s(struct sys___posix_chown_args), 0,
60 1.27 kleink sys___posix_chown }, /* 16 = __posix_chown */
61 1.41 thorpej { 1, s(struct sys_obreak_args), 0,
62 1.12 mycroft sys_obreak }, /* 17 = break */
63 1.41 thorpej { 0, 0, 0,
64 1.12 mycroft sys_nosys }, /* 18 = obsolete stat */
65 1.41 thorpej { 3, s(struct compat_43_sys_lseek_args), 0,
66 1.12 mycroft compat_43_sys_lseek }, /* 19 = lseek */
67 1.42 thorpej { 0, 0, SYCALL_MPSAFE | 0,
68 1.12 mycroft sys_getpid }, /* 20 = getpid */
69 1.41 thorpej { 5, s(struct ultrix_sys_mount_args), 0,
70 1.14 jonathan ultrix_sys_mount }, /* 21 = mount */
71 1.41 thorpej { 0, 0, 0,
72 1.12 mycroft sys_nosys }, /* 22 = obsolete sysV_unmount */
73 1.41 thorpej { 1, s(struct sys_setuid_args), 0,
74 1.12 mycroft sys_setuid }, /* 23 = setuid */
75 1.41 thorpej { 0, 0, 0,
76 1.12 mycroft sys_getuid }, /* 24 = getuid */
77 1.41 thorpej { 0, 0, 0,
78 1.12 mycroft sys_nosys }, /* 25 = obsolete v7 stime */
79 1.41 thorpej { 0, 0, 0,
80 1.12 mycroft sys_nosys }, /* 26 = obsolete v7 ptrace */
81 1.41 thorpej { 0, 0, 0,
82 1.12 mycroft sys_nosys }, /* 27 = obsolete v7 alarm */
83 1.41 thorpej { 0, 0, 0,
84 1.12 mycroft sys_nosys }, /* 28 = obsolete v7 fstat */
85 1.41 thorpej { 0, 0, 0,
86 1.12 mycroft sys_nosys }, /* 29 = obsolete v7 pause */
87 1.41 thorpej { 0, 0, 0,
88 1.12 mycroft sys_nosys }, /* 30 = obsolete v7 utime */
89 1.41 thorpej { 0, 0, 0,
90 1.12 mycroft sys_nosys }, /* 31 = obsolete v7 stty */
91 1.41 thorpej { 0, 0, 0,
92 1.12 mycroft sys_nosys }, /* 32 = obsolete v7 gtty */
93 1.41 thorpej { 2, s(struct ultrix_sys_access_args), 0,
94 1.15 jonathan ultrix_sys_access }, /* 33 = access */
95 1.41 thorpej { 0, 0, 0,
96 1.12 mycroft sys_nosys }, /* 34 = obsolete v7 nice */
97 1.41 thorpej { 0, 0, 0,
98 1.12 mycroft sys_nosys }, /* 35 = obsolete v7 ftime */
99 1.41 thorpej { 0, 0, 0,
100 1.12 mycroft sys_sync }, /* 36 = sync */
101 1.41 thorpej { 2, s(struct sys_kill_args), 0,
102 1.12 mycroft sys_kill }, /* 37 = kill */
103 1.41 thorpej { 2, s(struct ultrix_sys_stat_args), 0,
104 1.22 christos ultrix_sys_stat }, /* 38 = stat43 */
105 1.41 thorpej { 0, 0, 0,
106 1.12 mycroft sys_nosys }, /* 39 = obsolete v7 setpgrp */
107 1.41 thorpej { 2, s(struct ultrix_sys_lstat_args), 0,
108 1.22 christos ultrix_sys_lstat }, /* 40 = lstat43 */
109 1.41 thorpej { 1, s(struct sys_dup_args), 0,
110 1.12 mycroft sys_dup }, /* 41 = dup */
111 1.41 thorpej { 0, 0, 0,
112 1.12 mycroft sys_pipe }, /* 42 = pipe */
113 1.41 thorpej { 0, 0, 0,
114 1.12 mycroft sys_nosys }, /* 43 = obsolete v7 times */
115 1.41 thorpej { 4, s(struct sys_profil_args), 0,
116 1.12 mycroft sys_profil }, /* 44 = profil */
117 1.41 thorpej { 0, 0, 0,
118 1.12 mycroft sys_nosys }, /* 45 = unimplemented */
119 1.41 thorpej { 0, 0, 0,
120 1.12 mycroft sys_nosys }, /* 46 = obsolete v7 setgid */
121 1.41 thorpej { 0, 0, 0,
122 1.12 mycroft sys_getgid }, /* 47 = getgid */
123 1.41 thorpej { 0, 0, 0,
124 1.12 mycroft sys_nosys }, /* 48 = unimplemented ssig */
125 1.41 thorpej { 0, 0, 0,
126 1.12 mycroft sys_nosys }, /* 49 = unimplemented reserved for USG */
127 1.41 thorpej { 0, 0, 0,
128 1.12 mycroft sys_nosys }, /* 50 = unimplemented reserved for USG */
129 1.41 thorpej { 1, s(struct sys_acct_args), 0,
130 1.12 mycroft sys_acct }, /* 51 = acct */
131 1.41 thorpej { 0, 0, 0,
132 1.12 mycroft sys_nosys }, /* 52 = unimplemented */
133 1.41 thorpej { 0, 0, 0,
134 1.12 mycroft sys_nosys }, /* 53 = unimplemented syslock */
135 1.41 thorpej { 3, s(struct ultrix_sys_ioctl_args), 0,
136 1.13 jonathan ultrix_sys_ioctl }, /* 54 = ioctl */
137 1.41 thorpej { 1, s(struct sys_reboot_args), 0,
138 1.12 mycroft sys_reboot }, /* 55 = reboot */
139 1.41 thorpej { 0, 0, 0,
140 1.12 mycroft sys_nosys }, /* 56 = unimplemented v7 mpxchan */
141 1.41 thorpej { 2, s(struct sys_symlink_args), 0,
142 1.12 mycroft sys_symlink }, /* 57 = symlink */
143 1.41 thorpej { 3, s(struct sys_readlink_args), 0,
144 1.12 mycroft sys_readlink }, /* 58 = readlink */
145 1.41 thorpej { 3, s(struct ultrix_sys_execve_args), 0,
146 1.17 mycroft ultrix_sys_execve }, /* 59 = execve */
147 1.41 thorpej { 1, s(struct sys_umask_args), 0,
148 1.12 mycroft sys_umask }, /* 60 = umask */
149 1.41 thorpej { 1, s(struct sys_chroot_args), 0,
150 1.12 mycroft sys_chroot }, /* 61 = chroot */
151 1.41 thorpej { 2, s(struct compat_43_sys_fstat_args), 0,
152 1.12 mycroft compat_43_sys_fstat }, /* 62 = fstat */
153 1.41 thorpej { 0, 0, 0,
154 1.12 mycroft sys_nosys }, /* 63 = unimplemented */
155 1.41 thorpej { 0, 0, 0,
156 1.12 mycroft compat_43_sys_getpagesize }, /* 64 = getpagesize */
157 1.41 thorpej { 0, 0, 0,
158 1.12 mycroft sys_nosys }, /* 65 = unimplemented mremap */
159 1.41 thorpej { 0, 0, 0,
160 1.12 mycroft sys_vfork }, /* 66 = vfork */
161 1.41 thorpej { 0, 0, 0,
162 1.12 mycroft sys_nosys }, /* 67 = obsolete vread */
163 1.41 thorpej { 0, 0, 0,
164 1.12 mycroft sys_nosys }, /* 68 = obsolete vwrite */
165 1.41 thorpej { 1, s(struct sys_sbrk_args), 0,
166 1.12 mycroft sys_sbrk }, /* 69 = sbrk */
167 1.41 thorpej { 1, s(struct sys_sstk_args), 0,
168 1.12 mycroft sys_sstk }, /* 70 = sstk */
169 1.41 thorpej { 6, s(struct ultrix_sys_mmap_args), 0,
170 1.12 mycroft ultrix_sys_mmap }, /* 71 = mmap */
171 1.41 thorpej { 1, s(struct sys_ovadvise_args), 0,
172 1.12 mycroft sys_ovadvise }, /* 72 = vadvise */
173 1.41 thorpej { 2, s(struct sys_munmap_args), 0,
174 1.12 mycroft sys_munmap }, /* 73 = munmap */
175 1.41 thorpej { 3, s(struct sys_mprotect_args), 0,
176 1.12 mycroft sys_mprotect }, /* 74 = mprotect */
177 1.41 thorpej { 3, s(struct sys_madvise_args), 0,
178 1.12 mycroft sys_madvise }, /* 75 = madvise */
179 1.41 thorpej { 0, 0, 0,
180 1.12 mycroft ultrix_sys_vhangup }, /* 76 = vhangup */
181 1.41 thorpej { 0, 0, 0,
182 1.12 mycroft sys_nosys }, /* 77 = unimplemented old vlimit */
183 1.41 thorpej { 3, s(struct sys_mincore_args), 0,
184 1.12 mycroft sys_mincore }, /* 78 = mincore */
185 1.41 thorpej { 2, s(struct sys_getgroups_args), 0,
186 1.12 mycroft sys_getgroups }, /* 79 = getgroups */
187 1.41 thorpej { 2, s(struct sys_setgroups_args), 0,
188 1.12 mycroft sys_setgroups }, /* 80 = setgroups */
189 1.41 thorpej { 0, 0, 0,
190 1.12 mycroft sys_getpgrp }, /* 81 = getpgrp */
191 1.41 thorpej { 2, s(struct ultrix_sys_setpgrp_args), 0,
192 1.12 mycroft ultrix_sys_setpgrp }, /* 82 = setpgrp */
193 1.41 thorpej { 3, s(struct sys_setitimer_args), 0,
194 1.12 mycroft sys_setitimer }, /* 83 = setitimer */
195 1.41 thorpej { 3, s(struct ultrix_sys_wait3_args), 0,
196 1.12 mycroft ultrix_sys_wait3 }, /* 84 = wait3 */
197 1.41 thorpej { 1, s(struct compat_12_sys_swapon_args), 0,
198 1.21 thorpej compat_12_sys_swapon }, /* 85 = swapon */
199 1.41 thorpej { 2, s(struct sys_getitimer_args), 0,
200 1.12 mycroft sys_getitimer }, /* 86 = getitimer */
201 1.41 thorpej { 2, s(struct compat_43_sys_gethostname_args), 0,
202 1.12 mycroft compat_43_sys_gethostname }, /* 87 = gethostname */
203 1.41 thorpej { 2, s(struct compat_43_sys_sethostname_args), 0,
204 1.12 mycroft compat_43_sys_sethostname }, /* 88 = sethostname */
205 1.41 thorpej { 0, 0, 0,
206 1.12 mycroft compat_43_sys_getdtablesize }, /* 89 = getdtablesize */
207 1.41 thorpej { 2, s(struct sys_dup2_args), 0,
208 1.12 mycroft sys_dup2 }, /* 90 = dup2 */
209 1.41 thorpej { 0, 0, 0,
210 1.12 mycroft sys_nosys }, /* 91 = unimplemented getdopt */
211 1.41 thorpej { 3, s(struct ultrix_sys_fcntl_args), 0,
212 1.37 drochner ultrix_sys_fcntl }, /* 92 = fcntl */
213 1.41 thorpej { 5, s(struct ultrix_sys_select_args), 0,
214 1.13 jonathan ultrix_sys_select }, /* 93 = select */
215 1.41 thorpej { 0, 0, 0,
216 1.12 mycroft sys_nosys }, /* 94 = unimplemented setdopt */
217 1.41 thorpej { 1, s(struct sys_fsync_args), 0,
218 1.12 mycroft sys_fsync }, /* 95 = fsync */
219 1.41 thorpej { 3, s(struct sys_setpriority_args), 0,
220 1.12 mycroft sys_setpriority }, /* 96 = setpriority */
221 1.41 thorpej { 3, s(struct sys_socket_args), 0,
222 1.12 mycroft sys_socket }, /* 97 = socket */
223 1.41 thorpej { 3, s(struct sys_connect_args), 0,
224 1.12 mycroft sys_connect }, /* 98 = connect */
225 1.41 thorpej { 3, s(struct compat_43_sys_accept_args), 0,
226 1.12 mycroft compat_43_sys_accept }, /* 99 = accept */
227 1.41 thorpej { 2, s(struct sys_getpriority_args), 0,
228 1.12 mycroft sys_getpriority }, /* 100 = getpriority */
229 1.41 thorpej { 4, s(struct compat_43_sys_send_args), 0,
230 1.12 mycroft compat_43_sys_send }, /* 101 = send */
231 1.41 thorpej { 4, s(struct compat_43_sys_recv_args), 0,
232 1.12 mycroft compat_43_sys_recv }, /* 102 = recv */
233 1.41 thorpej { 1, s(struct ultrix_sys_sigreturn_args), 0,
234 1.31 drochner ultrix_sys_sigreturn }, /* 103 = sigreturn */
235 1.41 thorpej { 3, s(struct sys_bind_args), 0,
236 1.12 mycroft sys_bind }, /* 104 = bind */
237 1.41 thorpej { 5, s(struct ultrix_sys_setsockopt_args), 0,
238 1.12 mycroft ultrix_sys_setsockopt }, /* 105 = setsockopt */
239 1.41 thorpej { 2, s(struct sys_listen_args), 0,
240 1.12 mycroft sys_listen }, /* 106 = listen */
241 1.41 thorpej { 0, 0, 0,
242 1.12 mycroft sys_nosys }, /* 107 = unimplemented vtimes */
243 1.41 thorpej { 3, s(struct ultrix_sys_sigvec_args), 0,
244 1.32 drochner ultrix_sys_sigvec }, /* 108 = sigvec */
245 1.41 thorpej { 1, s(struct compat_43_sys_sigblock_args), 0,
246 1.12 mycroft compat_43_sys_sigblock }, /* 109 = sigblock */
247 1.41 thorpej { 1, s(struct compat_43_sys_sigsetmask_args), 0,
248 1.12 mycroft compat_43_sys_sigsetmask }, /* 110 = sigsetmask */
249 1.41 thorpej { 1, s(struct ultrix_sys_sigsuspend_args), 0,
250 1.31 drochner ultrix_sys_sigsuspend }, /* 111 = sigsuspend */
251 1.41 thorpej { 2, s(struct compat_43_sys_sigstack_args), 0,
252 1.12 mycroft compat_43_sys_sigstack }, /* 112 = sigstack */
253 1.41 thorpej { 3, s(struct compat_43_sys_recvmsg_args), 0,
254 1.12 mycroft compat_43_sys_recvmsg }, /* 113 = recvmsg */
255 1.41 thorpej { 3, s(struct compat_43_sys_sendmsg_args), 0,
256 1.12 mycroft compat_43_sys_sendmsg }, /* 114 = sendmsg */
257 1.41 thorpej { 0, 0, 0,
258 1.12 mycroft sys_nosys }, /* 115 = obsolete vtrace */
259 1.41 thorpej { 2, s(struct sys_gettimeofday_args), 0,
260 1.12 mycroft sys_gettimeofday }, /* 116 = gettimeofday */
261 1.41 thorpej { 2, s(struct sys_getrusage_args), 0,
262 1.12 mycroft sys_getrusage }, /* 117 = getrusage */
263 1.41 thorpej { 5, s(struct sys_getsockopt_args), 0,
264 1.12 mycroft sys_getsockopt }, /* 118 = getsockopt */
265 1.41 thorpej { 0, 0, 0,
266 1.12 mycroft sys_nosys }, /* 119 = unimplemented resuba */
267 1.41 thorpej { 3, s(struct sys_readv_args), 0,
268 1.12 mycroft sys_readv }, /* 120 = readv */
269 1.41 thorpej { 3, s(struct sys_writev_args), 0,
270 1.12 mycroft sys_writev }, /* 121 = writev */
271 1.41 thorpej { 2, s(struct sys_settimeofday_args), 0,
272 1.12 mycroft sys_settimeofday }, /* 122 = settimeofday */
273 1.41 thorpej { 3, s(struct sys___posix_fchown_args), 0,
274 1.27 kleink sys___posix_fchown }, /* 123 = __posix_fchown */
275 1.41 thorpej { 2, s(struct sys_fchmod_args), 0,
276 1.12 mycroft sys_fchmod }, /* 124 = fchmod */
277 1.41 thorpej { 6, s(struct compat_43_sys_recvfrom_args), 0,
278 1.12 mycroft compat_43_sys_recvfrom }, /* 125 = recvfrom */
279 1.41 thorpej { 2, s(struct sys_setreuid_args), 0,
280 1.16 mycroft sys_setreuid }, /* 126 = setreuid */
281 1.41 thorpej { 2, s(struct sys_setregid_args), 0,
282 1.16 mycroft sys_setregid }, /* 127 = setregid */
283 1.41 thorpej { 2, s(struct sys_rename_args), 0,
284 1.12 mycroft sys_rename }, /* 128 = rename */
285 1.41 thorpej { 2, s(struct compat_43_sys_truncate_args), 0,
286 1.12 mycroft compat_43_sys_truncate }, /* 129 = truncate */
287 1.41 thorpej { 2, s(struct compat_43_sys_ftruncate_args), 0,
288 1.12 mycroft compat_43_sys_ftruncate }, /* 130 = ftruncate */
289 1.41 thorpej { 2, s(struct sys_flock_args), 0,
290 1.12 mycroft sys_flock }, /* 131 = flock */
291 1.41 thorpej { 0, 0, 0,
292 1.12 mycroft sys_nosys }, /* 132 = unimplemented */
293 1.41 thorpej { 6, s(struct sys_sendto_args), 0,
294 1.12 mycroft sys_sendto }, /* 133 = sendto */
295 1.41 thorpej { 2, s(struct sys_shutdown_args), 0,
296 1.12 mycroft sys_shutdown }, /* 134 = shutdown */
297 1.41 thorpej { 4, s(struct sys_socketpair_args), 0,
298 1.12 mycroft sys_socketpair }, /* 135 = socketpair */
299 1.41 thorpej { 2, s(struct sys_mkdir_args), 0,
300 1.12 mycroft sys_mkdir }, /* 136 = mkdir */
301 1.41 thorpej { 1, s(struct sys_rmdir_args), 0,
302 1.12 mycroft sys_rmdir }, /* 137 = rmdir */
303 1.41 thorpej { 2, s(struct sys_utimes_args), 0,
304 1.12 mycroft sys_utimes }, /* 138 = utimes */
305 1.41 thorpej { 1, s(struct ultrix_sys_sigcleanup_args), 0,
306 1.12 mycroft ultrix_sys_sigcleanup }, /* 139 = sigcleanup */
307 1.41 thorpej { 2, s(struct sys_adjtime_args), 0,
308 1.12 mycroft sys_adjtime }, /* 140 = adjtime */
309 1.41 thorpej { 3, s(struct compat_43_sys_getpeername_args), 0,
310 1.12 mycroft compat_43_sys_getpeername }, /* 141 = getpeername */
311 1.41 thorpej { 0, 0, 0,
312 1.12 mycroft compat_43_sys_gethostid }, /* 142 = gethostid */
313 1.41 thorpej { 0, 0, 0,
314 1.12 mycroft sys_nosys }, /* 143 = unimplemented old sethostid */
315 1.41 thorpej { 2, s(struct compat_43_sys_getrlimit_args), 0,
316 1.12 mycroft compat_43_sys_getrlimit }, /* 144 = getrlimit */
317 1.41 thorpej { 2, s(struct compat_43_sys_setrlimit_args), 0,
318 1.12 mycroft compat_43_sys_setrlimit }, /* 145 = setrlimit */
319 1.41 thorpej { 2, s(struct compat_43_sys_killpg_args), 0,
320 1.12 mycroft compat_43_sys_killpg }, /* 146 = killpg */
321 1.41 thorpej { 0, 0, 0,
322 1.12 mycroft sys_nosys }, /* 147 = unimplemented */
323 1.41 thorpej { 0, 0, 0,
324 1.12 mycroft sys_nosys }, /* 148 = unimplemented setquota */
325 1.41 thorpej { 0, 0, 0,
326 1.12 mycroft sys_nosys }, /* 149 = unimplemented quota / * needs to be nullop to boot on Ultrix root partition * / */
327 1.41 thorpej { 3, s(struct compat_43_sys_getsockname_args), 0,
328 1.12 mycroft compat_43_sys_getsockname }, /* 150 = getsockname */
329 1.41 thorpej { 0, 0, 0,
330 1.12 mycroft sys_nosys }, /* 151 = unimplemented sysmips / * 4 args * / */
331 1.20 jonathan #ifdef __mips
332 1.41 thorpej { 3, s(struct ultrix_sys_cacheflush_args), 0,
333 1.20 jonathan ultrix_sys_cacheflush }, /* 152 = cacheflush */
334 1.41 thorpej { 3, s(struct ultrix_sys_cachectl_args), 0,
335 1.20 jonathan ultrix_sys_cachectl }, /* 153 = cachectl */
336 1.20 jonathan #else /* !mips */
337 1.41 thorpej { 0, 0, 0,
338 1.20 jonathan sys_nosys }, /* 152 = unimplemented */
339 1.41 thorpej { 0, 0, 0,
340 1.20 jonathan sys_nosys }, /* 153 = unimplemented */
341 1.20 jonathan #endif /* !mips */
342 1.41 thorpej { 0, 0, 0,
343 1.12 mycroft sys_nosys }, /* 154 = unimplemented */
344 1.41 thorpej { 0, 0, 0,
345 1.12 mycroft sys_nosys }, /* 155 = unimplemented atomic_op */
346 1.41 thorpej { 0, 0, 0,
347 1.12 mycroft sys_nosys }, /* 156 = unimplemented */
348 1.41 thorpej { 0, 0, 0,
349 1.12 mycroft sys_nosys }, /* 157 = unimplemented */
350 1.6 dean #ifdef NFSSERVER
351 1.41 thorpej { 1, s(struct ultrix_sys_nfssvc_args), 0,
352 1.12 mycroft ultrix_sys_nfssvc }, /* 158 = nfssvc */
353 1.6 dean #else
354 1.41 thorpej { 0, 0, 0,
355 1.12 mycroft sys_nosys }, /* 158 = unimplemented */
356 1.6 dean #endif
357 1.41 thorpej { 4, s(struct compat_43_sys_getdirentries_args), 0,
358 1.12 mycroft compat_43_sys_getdirentries }, /* 159 = getdirentries */
359 1.41 thorpej { 2, s(struct ultrix_sys_statfs_args), 0,
360 1.12 mycroft ultrix_sys_statfs }, /* 160 = statfs */
361 1.41 thorpej { 2, s(struct ultrix_sys_fstatfs_args), 0,
362 1.12 mycroft ultrix_sys_fstatfs }, /* 161 = fstatfs */
363 1.41 thorpej { 0, 0, 0,
364 1.12 mycroft sys_nosys }, /* 162 = unimplemented umount */
365 1.18 thorpej #ifdef NFS
366 1.41 thorpej { 0, 0, 0,
367 1.6 dean async_daemon }, /* 163 = async_daemon */
368 1.41 thorpej { 2, s(struct sys_getfh_args), 0,
369 1.12 mycroft sys_getfh }, /* 164 = getfh */
370 1.6 dean #else
371 1.41 thorpej { 0, 0, 0,
372 1.12 mycroft sys_nosys }, /* 163 = unimplemented async_daemon */
373 1.41 thorpej { 0, 0, 0,
374 1.12 mycroft sys_nosys }, /* 164 = unimplemented getfh */
375 1.6 dean #endif
376 1.41 thorpej { 2, s(struct compat_09_sys_getdomainname_args), 0,
377 1.12 mycroft compat_09_sys_getdomainname }, /* 165 = getdomainname */
378 1.41 thorpej { 2, s(struct compat_09_sys_setdomainname_args), 0,
379 1.12 mycroft compat_09_sys_setdomainname }, /* 166 = setdomainname */
380 1.41 thorpej { 0, 0, 0,
381 1.12 mycroft sys_nosys }, /* 167 = unimplemented */
382 1.41 thorpej { 4, s(struct ultrix_sys_quotactl_args), 0,
383 1.12 mycroft ultrix_sys_quotactl }, /* 168 = quotactl */
384 1.41 thorpej { 2, s(struct ultrix_sys_exportfs_args), 0,
385 1.12 mycroft ultrix_sys_exportfs }, /* 169 = exportfs */
386 1.41 thorpej { 0, 0, 0,
387 1.14 jonathan sys_nosys }, /* 170 = unimplemented { int ultrix_sys_mount ( char * special , char * dir , int rdonly , int type , caddr_t data ) ; } */
388 1.41 thorpej { 0, 0, 0,
389 1.12 mycroft sys_nosys }, /* 171 = unimplemented 4 hdwconf */
390 1.41 thorpej { 0, 0, 0,
391 1.12 mycroft sys_nosys }, /* 172 = unimplemented msgctl */
392 1.41 thorpej { 0, 0, 0,
393 1.12 mycroft sys_nosys }, /* 173 = unimplemented msgget */
394 1.41 thorpej { 0, 0, 0,
395 1.12 mycroft sys_nosys }, /* 174 = unimplemented msgrcv */
396 1.41 thorpej { 0, 0, 0,
397 1.12 mycroft sys_nosys }, /* 175 = unimplemented msgsnd */
398 1.41 thorpej { 0, 0, 0,
399 1.12 mycroft sys_nosys }, /* 176 = unimplemented semctl */
400 1.41 thorpej { 0, 0, 0,
401 1.12 mycroft sys_nosys }, /* 177 = unimplemented semget */
402 1.41 thorpej { 0, 0, 0,
403 1.12 mycroft sys_nosys }, /* 178 = unimplemented semop */
404 1.41 thorpej { 1, s(struct ultrix_sys_uname_args), 0,
405 1.12 mycroft ultrix_sys_uname }, /* 179 = uname */
406 1.41 thorpej { 4, s(struct ultrix_sys_shmsys_args), 0,
407 1.19 jonathan ultrix_sys_shmsys }, /* 180 = shmsys */
408 1.41 thorpej { 0, 0, 0,
409 1.12 mycroft sys_nosys }, /* 181 = unimplemented 0 plock */
410 1.41 thorpej { 0, 0, 0,
411 1.12 mycroft sys_nosys }, /* 182 = unimplemented 0 lockf */
412 1.41 thorpej { 2, s(struct ultrix_sys_ustat_args), 0,
413 1.12 mycroft ultrix_sys_ustat }, /* 183 = ustat */
414 1.41 thorpej { 5, s(struct ultrix_sys_getmnt_args), 0,
415 1.13 jonathan ultrix_sys_getmnt }, /* 184 = getmnt */
416 1.41 thorpej { 0, 0, 0,
417 1.12 mycroft sys_nosys }, /* 185 = unimplemented notdef */
418 1.41 thorpej { 0, 0, 0,
419 1.12 mycroft sys_nosys }, /* 186 = unimplemented notdef */
420 1.41 thorpej { 1, s(struct ultrix_sys_sigpending_args), 0,
421 1.12 mycroft ultrix_sys_sigpending }, /* 187 = sigpending */
422 1.41 thorpej { 0, 0, 0,
423 1.12 mycroft sys_setsid }, /* 188 = setsid */
424 1.41 thorpej { 3, s(struct ultrix_sys_waitpid_args), 0,
425 1.12 mycroft ultrix_sys_waitpid }, /* 189 = waitpid */
426 1.41 thorpej { 0, 0, 0,
427 1.12 mycroft sys_nosys }, /* 190 = unimplemented */
428 1.41 thorpej { 0, 0, 0,
429 1.12 mycroft sys_nosys }, /* 191 = unimplemented */
430 1.41 thorpej { 0, 0, 0,
431 1.12 mycroft sys_nosys }, /* 192 = unimplemented */
432 1.41 thorpej { 0, 0, 0,
433 1.12 mycroft sys_nosys }, /* 193 = unimplemented */
434 1.41 thorpej { 0, 0, 0,
435 1.12 mycroft sys_nosys }, /* 194 = unimplemented */
436 1.41 thorpej { 0, 0, 0,
437 1.12 mycroft sys_nosys }, /* 195 = unimplemented */
438 1.41 thorpej { 0, 0, 0,
439 1.12 mycroft sys_nosys }, /* 196 = unimplemented */
440 1.41 thorpej { 0, 0, 0,
441 1.12 mycroft sys_nosys }, /* 197 = unimplemented */
442 1.41 thorpej { 0, 0, 0,
443 1.12 mycroft sys_nosys }, /* 198 = unimplemented */
444 1.41 thorpej { 0, 0, 0,
445 1.12 mycroft sys_nosys }, /* 199 = unimplemented */
446 1.41 thorpej { 0, 0, 0,
447 1.12 mycroft sys_nosys }, /* 200 = unimplemented */
448 1.41 thorpej { 0, 0, 0,
449 1.12 mycroft sys_nosys }, /* 201 = unimplemented */
450 1.41 thorpej { 0, 0, 0,
451 1.12 mycroft sys_nosys }, /* 202 = unimplemented */
452 1.41 thorpej { 0, 0, 0,
453 1.12 mycroft sys_nosys }, /* 203 = unimplemented */
454 1.41 thorpej { 0, 0, 0,
455 1.12 mycroft sys_nosys }, /* 204 = unimplemented */
456 1.41 thorpej { 0, 0, 0,
457 1.12 mycroft sys_nosys }, /* 205 = unimplemented */
458 1.41 thorpej { 0, 0, 0,
459 1.12 mycroft sys_nosys }, /* 206 = unimplemented */
460 1.41 thorpej { 0, 0, 0,
461 1.12 mycroft sys_nosys }, /* 207 = unimplemented */
462 1.41 thorpej { 0, 0, 0,
463 1.12 mycroft sys_nosys }, /* 208 = unimplemented */
464 1.41 thorpej { 0, 0, 0,
465 1.12 mycroft sys_nosys }, /* 209 = unimplemented */
466 1.41 thorpej { 0, 0, 0,
467 1.12 mycroft sys_nosys }, /* 210 = unimplemented */
468 1.41 thorpej { 0, 0, 0,
469 1.12 mycroft sys_nosys }, /* 211 = unimplemented */
470 1.41 thorpej { 0, 0, 0,
471 1.12 mycroft sys_nosys }, /* 212 = unimplemented */
472 1.41 thorpej { 0, 0, 0,
473 1.12 mycroft sys_nosys }, /* 213 = unimplemented */
474 1.41 thorpej { 0, 0, 0,
475 1.12 mycroft sys_nosys }, /* 214 = unimplemented */
476 1.41 thorpej { 0, 0, 0,
477 1.12 mycroft sys_nosys }, /* 215 = unimplemented */
478 1.41 thorpej { 0, 0, 0,
479 1.12 mycroft sys_nosys }, /* 216 = unimplemented */
480 1.41 thorpej { 0, 0, 0,
481 1.12 mycroft sys_nosys }, /* 217 = unimplemented */
482 1.41 thorpej { 0, 0, 0,
483 1.12 mycroft sys_nosys }, /* 218 = unimplemented */
484 1.41 thorpej { 0, 0, 0,
485 1.12 mycroft sys_nosys }, /* 219 = unimplemented */
486 1.41 thorpej { 0, 0, 0,
487 1.12 mycroft sys_nosys }, /* 220 = unimplemented */
488 1.41 thorpej { 0, 0, 0,
489 1.12 mycroft sys_nosys }, /* 221 = unimplemented */
490 1.41 thorpej { 0, 0, 0,
491 1.12 mycroft sys_nosys }, /* 222 = unimplemented */
492 1.41 thorpej { 0, 0, 0,
493 1.12 mycroft sys_nosys }, /* 223 = unimplemented */
494 1.41 thorpej { 0, 0, 0,
495 1.12 mycroft sys_nosys }, /* 224 = unimplemented */
496 1.41 thorpej { 0, 0, 0,
497 1.12 mycroft sys_nosys }, /* 225 = unimplemented */
498 1.41 thorpej { 0, 0, 0,
499 1.12 mycroft sys_nosys }, /* 226 = unimplemented */
500 1.41 thorpej { 0, 0, 0,
501 1.12 mycroft sys_nosys }, /* 227 = unimplemented */
502 1.41 thorpej { 0, 0, 0,
503 1.12 mycroft sys_nosys }, /* 228 = unimplemented */
504 1.41 thorpej { 0, 0, 0,
505 1.12 mycroft sys_nosys }, /* 229 = unimplemented */
506 1.41 thorpej { 0, 0, 0,
507 1.12 mycroft sys_nosys }, /* 230 = unimplemented */
508 1.41 thorpej { 0, 0, 0,
509 1.12 mycroft sys_nosys }, /* 231 = unimplemented */
510 1.41 thorpej { 0, 0, 0,
511 1.12 mycroft sys_nosys }, /* 232 = unimplemented */
512 1.41 thorpej { 0, 0, 0,
513 1.12 mycroft sys_nosys }, /* 233 = unimplemented 1 utc_gettime */
514 1.41 thorpej { 0, 0, 0,
515 1.12 mycroft sys_nosys }, /* 234 = unimplemented 2 utc_adjtime */
516 1.41 thorpej { 0, 0, 0,
517 1.12 mycroft sys_nosys }, /* 235 = unimplemented */
518 1.41 thorpej { 0, 0, 0,
519 1.12 mycroft sys_nosys }, /* 236 = unimplemented */
520 1.41 thorpej { 0, 0, 0,
521 1.12 mycroft sys_nosys }, /* 237 = unimplemented */
522 1.41 thorpej { 0, 0, 0,
523 1.12 mycroft sys_nosys }, /* 238 = unimplemented */
524 1.41 thorpej { 0, 0, 0,
525 1.12 mycroft sys_nosys }, /* 239 = unimplemented */
526 1.41 thorpej { 0, 0, 0,
527 1.12 mycroft sys_nosys }, /* 240 = unimplemented */
528 1.41 thorpej { 0, 0, 0,
529 1.12 mycroft sys_nosys }, /* 241 = unimplemented */
530 1.41 thorpej { 0, 0, 0,
531 1.12 mycroft sys_nosys }, /* 242 = unimplemented */
532 1.41 thorpej { 0, 0, 0,
533 1.12 mycroft sys_nosys }, /* 243 = unimplemented */
534 1.41 thorpej { 0, 0, 0,
535 1.12 mycroft sys_nosys }, /* 244 = unimplemented */
536 1.41 thorpej { 0, 0, 0,
537 1.12 mycroft sys_nosys }, /* 245 = unimplemented */
538 1.41 thorpej { 0, 0, 0,
539 1.12 mycroft sys_nosys }, /* 246 = unimplemented */
540 1.41 thorpej { 0, 0, 0,
541 1.12 mycroft sys_nosys }, /* 247 = unimplemented */
542 1.41 thorpej { 0, 0, 0,
543 1.12 mycroft sys_nosys }, /* 248 = unimplemented */
544 1.41 thorpej { 0, 0, 0,
545 1.12 mycroft sys_nosys }, /* 249 = unimplemented */
546 1.41 thorpej { 0, 0, 0,
547 1.12 mycroft sys_nosys }, /* 250 = unimplemented */
548 1.41 thorpej { 0, 0, 0,
549 1.12 mycroft sys_nosys }, /* 251 = unimplemented */
550 1.41 thorpej { 0, 0, 0,
551 1.12 mycroft sys_nosys }, /* 252 = unimplemented audctl / * Make no-op for installation on Ultrix rootpartition? * / */
552 1.41 thorpej { 0, 0, 0,
553 1.12 mycroft sys_nosys }, /* 253 = unimplemented audgen / * Make no-op for installation on Ultrix rootpartition? * / */
554 1.41 thorpej { 0, 0, 0,
555 1.12 mycroft sys_nosys }, /* 254 = unimplemented startcpu */
556 1.41 thorpej { 0, 0, 0,
557 1.12 mycroft sys_nosys }, /* 255 = unimplemented stopcpu */
558 1.41 thorpej { 5, s(struct ultrix_sys_getsysinfo_args), 0,
559 1.12 mycroft ultrix_sys_getsysinfo }, /* 256 = getsysinfo */
560 1.41 thorpej { 5, s(struct ultrix_sys_setsysinfo_args), 0,
561 1.12 mycroft ultrix_sys_setsysinfo }, /* 257 = setsysinfo */
562 1.1 glass };
563 1.1 glass
564