aoutm68k_syscallargs.h revision 1.18 1 1.18 christos /* $NetBSD: aoutm68k_syscallargs.h,v 1.18 2006/05/04 17:23:00 christos Exp $ */
2 1.1 scw
3 1.1 scw /*
4 1.1 scw * System call argument lists.
5 1.1 scw *
6 1.1 scw * DO NOT EDIT-- this file is automatically generated.
7 1.18 christos * created from NetBSD: syscalls.master,v 1.14 2006/05/04 17:22:43 christos Exp
8 1.1 scw */
9 1.1 scw
10 1.18 christos #ifndef _AOUTM68K_SYS_SYSCALLARGS_H_
11 1.18 christos #define _AOUTM68K_SYS_SYSCALLARGS_H_
12 1.1 scw
13 1.1 scw #ifdef syscallarg
14 1.1 scw #undef syscallarg
15 1.1 scw #endif
16 1.1 scw
17 1.1 scw #define syscallarg(x) \
18 1.1 scw union { \
19 1.1 scw register_t pad; \
20 1.1 scw struct { x datum; } le; \
21 1.8 lukem struct { /* LINTED zero array dimension */ \
22 1.8 lukem int8_t pad[ /* CONSTCOND */ \
23 1.8 lukem (sizeof (register_t) < sizeof (x)) \
24 1.1 scw ? 0 \
25 1.1 scw : sizeof (register_t) - sizeof (x)]; \
26 1.1 scw x datum; \
27 1.1 scw } be; \
28 1.1 scw }
29 1.12 cl #ifdef COMPAT_43
30 1.12 cl #else
31 1.12 cl #endif
32 1.14 matt #ifdef COMPAT_20
33 1.14 matt #else
34 1.14 matt #endif
35 1.12 cl #ifdef COMPAT_43
36 1.12 cl #else
37 1.12 cl #endif
38 1.12 cl #ifdef COMPAT_43
39 1.1 scw
40 1.1 scw struct aoutm68k_compat_43_sys_stat_args {
41 1.1 scw syscallarg(const char *) path;
42 1.1 scw syscallarg(struct aoutm68k_stat43 *) ub;
43 1.1 scw };
44 1.12 cl #else
45 1.12 cl #endif
46 1.12 cl #ifdef COMPAT_43
47 1.1 scw
48 1.1 scw struct aoutm68k_compat_43_sys_lstat_args {
49 1.1 scw syscallarg(const char *) path;
50 1.1 scw syscallarg(struct aoutm68k_stat43 *) ub;
51 1.1 scw };
52 1.12 cl #else
53 1.12 cl #endif
54 1.12 cl #if defined(KTRACE) || !defined(_KERNEL)
55 1.12 cl #else
56 1.12 cl #endif
57 1.12 cl #ifdef COMPAT_13
58 1.12 cl #else
59 1.12 cl #endif
60 1.12 cl #ifdef COMPAT_13
61 1.12 cl #else
62 1.12 cl #endif
63 1.12 cl #ifdef COMPAT_13
64 1.12 cl #else
65 1.12 cl #endif
66 1.12 cl #ifdef COMPAT_12
67 1.12 cl #else
68 1.12 cl #endif
69 1.12 cl #ifdef COMPAT_43
70 1.1 scw
71 1.1 scw struct aoutm68k_compat_43_sys_fstat_args {
72 1.1 scw syscallarg(int) fd;
73 1.1 scw syscallarg(struct aoutm68k_stat43 *) sb;
74 1.1 scw };
75 1.12 cl #else
76 1.12 cl #endif
77 1.12 cl #ifdef COMPAT_12
78 1.12 cl #else
79 1.12 cl #endif
80 1.12 cl #ifdef COMPAT_43
81 1.12 cl #else
82 1.12 cl #endif
83 1.12 cl #ifdef COMPAT_43
84 1.12 cl #else
85 1.12 cl #endif
86 1.12 cl #ifdef COMPAT_12
87 1.12 cl #else
88 1.12 cl #endif
89 1.12 cl #ifdef COMPAT_43
90 1.12 cl #else
91 1.12 cl #endif
92 1.12 cl #ifdef COMPAT_43
93 1.12 cl #else
94 1.12 cl #endif
95 1.12 cl #ifdef COMPAT_43
96 1.12 cl #else
97 1.12 cl #endif
98 1.12 cl #ifdef COMPAT_13
99 1.12 cl #else
100 1.12 cl #endif
101 1.12 cl #ifdef COMPAT_43
102 1.12 cl #else
103 1.12 cl #endif
104 1.12 cl #ifdef COMPAT_13
105 1.12 cl #else
106 1.12 cl #endif
107 1.12 cl #ifdef COMPAT_43
108 1.12 cl #else
109 1.12 cl #endif
110 1.12 cl #ifdef COMPAT_43
111 1.12 cl #else
112 1.12 cl #endif
113 1.12 cl #ifdef COMPAT_43
114 1.12 cl #else
115 1.12 cl #endif
116 1.12 cl #ifdef COMPAT_43
117 1.12 cl #else
118 1.12 cl #endif
119 1.12 cl #ifdef COMPAT_43
120 1.12 cl #else
121 1.12 cl #endif
122 1.12 cl #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
123 1.12 cl #else
124 1.12 cl #endif
125 1.12 cl #ifdef COMPAT_43
126 1.12 cl #else
127 1.12 cl #endif
128 1.14 matt #ifdef COMPAT_20
129 1.14 matt #else
130 1.14 matt #endif
131 1.14 matt #ifdef COMPAT_20
132 1.14 matt #else
133 1.12 cl #endif
134 1.12 cl #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
135 1.12 cl #else
136 1.12 cl #endif
137 1.12 cl #ifdef COMPAT_09
138 1.12 cl #else
139 1.12 cl #endif
140 1.12 cl #if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
141 1.12 cl #else
142 1.12 cl #endif
143 1.12 cl #if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
144 1.12 cl #else
145 1.12 cl #endif
146 1.12 cl #if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
147 1.12 cl #else
148 1.12 cl #endif
149 1.12 cl #if defined(NTP) || !defined(_KERNEL)
150 1.12 cl #else
151 1.12 cl #endif
152 1.12 cl #if defined(LFS) || !defined(_KERNEL)
153 1.12 cl #else
154 1.12 cl #endif
155 1.12 cl #ifdef COMPAT_12
156 1.1 scw
157 1.1 scw struct aoutm68k_compat_12_sys_stat_args {
158 1.1 scw syscallarg(const char *) path;
159 1.1 scw syscallarg(struct aoutm68k_stat12 *) ub;
160 1.1 scw };
161 1.1 scw
162 1.1 scw struct aoutm68k_compat_12_sys_fstat_args {
163 1.1 scw syscallarg(int) fd;
164 1.1 scw syscallarg(struct aoutm68k_stat12 *) sb;
165 1.1 scw };
166 1.1 scw
167 1.1 scw struct aoutm68k_compat_12_sys_lstat_args {
168 1.1 scw syscallarg(const char *) path;
169 1.1 scw syscallarg(struct aoutm68k_stat12 *) ub;
170 1.1 scw };
171 1.12 cl #else
172 1.12 cl #endif
173 1.12 cl #ifdef COMPAT_12
174 1.12 cl #else
175 1.12 cl #endif
176 1.12 cl #if defined(LKM) || !defined(_KERNEL)
177 1.12 cl #else /* !LKM */
178 1.12 cl #endif /* !LKM */
179 1.12 cl #if defined(SYSVSEM) || !defined(_KERNEL)
180 1.12 cl #ifdef COMPAT_14
181 1.12 cl #else
182 1.12 cl #endif
183 1.12 cl #else
184 1.12 cl #endif
185 1.12 cl #if defined(SYSVMSG) || !defined(_KERNEL)
186 1.12 cl #ifdef COMPAT_14
187 1.12 cl #else
188 1.12 cl #endif
189 1.12 cl #else
190 1.12 cl #endif
191 1.12 cl #if defined(SYSVSHM) || !defined(_KERNEL)
192 1.12 cl #ifdef COMPAT_14
193 1.12 cl #else
194 1.12 cl #endif
195 1.12 cl #else
196 1.12 cl #endif
197 1.18 christos #ifdef COMPAT_30
198 1.18 christos #else
199 1.18 christos #endif
200 1.1 scw
201 1.1 scw struct aoutm68k_sys___stat13_args {
202 1.1 scw syscallarg(const char *) path;
203 1.1 scw syscallarg(struct aoutm68k_stat *) ub;
204 1.1 scw };
205 1.1 scw
206 1.1 scw struct aoutm68k_sys___fstat13_args {
207 1.1 scw syscallarg(int) fd;
208 1.1 scw syscallarg(struct aoutm68k_stat *) sb;
209 1.1 scw };
210 1.1 scw
211 1.1 scw struct aoutm68k_sys___lstat13_args {
212 1.1 scw syscallarg(const char *) path;
213 1.1 scw syscallarg(struct aoutm68k_stat *) ub;
214 1.1 scw };
215 1.12 cl #if defined(KTRACE) || !defined(_KERNEL)
216 1.12 cl #else
217 1.12 cl #endif
218 1.12 cl #ifdef COMPAT_16
219 1.12 cl #else
220 1.12 cl #endif
221 1.13 cl #ifdef COMPAT_16
222 1.13 cl #else
223 1.13 cl #endif
224 1.1 scw
225 1.1 scw struct aoutm68k_sys_fhstat_args {
226 1.1 scw syscallarg(const fhandle_t *) fhp;
227 1.1 scw syscallarg(struct aoutm68k_stat *) sb;
228 1.1 scw };
229 1.14 matt #ifdef COMPAT_20
230 1.14 matt #else
231 1.14 matt #endif
232 1.12 cl #if defined(SYSVSEM) || !defined(_KERNEL)
233 1.12 cl #else
234 1.12 cl #endif
235 1.12 cl #if defined(SYSVMSG) || !defined(_KERNEL)
236 1.12 cl #else
237 1.12 cl #endif
238 1.12 cl #if defined(SYSVSHM) || !defined(_KERNEL)
239 1.12 cl #else
240 1.12 cl #endif
241 1.1 scw
242 1.1 scw /*
243 1.1 scw * System call prototypes.
244 1.1 scw */
245 1.1 scw
246 1.10 thorpej int sys_exit(struct lwp *, void *, register_t *);
247 1.14 matt
248 1.10 thorpej int sys_fork(struct lwp *, void *, register_t *);
249 1.14 matt
250 1.10 thorpej int sys_read(struct lwp *, void *, register_t *);
251 1.14 matt
252 1.10 thorpej int sys_write(struct lwp *, void *, register_t *);
253 1.14 matt
254 1.10 thorpej int sys_open(struct lwp *, void *, register_t *);
255 1.14 matt
256 1.10 thorpej int sys_close(struct lwp *, void *, register_t *);
257 1.14 matt
258 1.10 thorpej int sys_wait4(struct lwp *, void *, register_t *);
259 1.14 matt
260 1.1 scw #ifdef COMPAT_43
261 1.10 thorpej int compat_43_sys_creat(struct lwp *, void *, register_t *);
262 1.14 matt
263 1.1 scw #else
264 1.1 scw #endif
265 1.10 thorpej int sys_link(struct lwp *, void *, register_t *);
266 1.14 matt
267 1.10 thorpej int sys_unlink(struct lwp *, void *, register_t *);
268 1.14 matt
269 1.10 thorpej int sys_chdir(struct lwp *, void *, register_t *);
270 1.14 matt
271 1.10 thorpej int sys_fchdir(struct lwp *, void *, register_t *);
272 1.14 matt
273 1.10 thorpej int sys_mknod(struct lwp *, void *, register_t *);
274 1.14 matt
275 1.10 thorpej int sys_chmod(struct lwp *, void *, register_t *);
276 1.14 matt
277 1.10 thorpej int sys_chown(struct lwp *, void *, register_t *);
278 1.14 matt
279 1.10 thorpej int sys_obreak(struct lwp *, void *, register_t *);
280 1.14 matt
281 1.14 matt #ifdef COMPAT_20
282 1.14 matt int compat_20_sys_getfsstat(struct lwp *, void *, register_t *);
283 1.14 matt
284 1.14 matt #else
285 1.14 matt #endif
286 1.1 scw #ifdef COMPAT_43
287 1.10 thorpej int compat_43_sys_lseek(struct lwp *, void *, register_t *);
288 1.14 matt
289 1.1 scw #else
290 1.1 scw #endif
291 1.10 thorpej int sys_getpid(struct lwp *, void *, register_t *);
292 1.14 matt
293 1.10 thorpej int sys_mount(struct lwp *, void *, register_t *);
294 1.14 matt
295 1.10 thorpej int sys_unmount(struct lwp *, void *, register_t *);
296 1.14 matt
297 1.10 thorpej int sys_setuid(struct lwp *, void *, register_t *);
298 1.14 matt
299 1.10 thorpej int sys_getuid(struct lwp *, void *, register_t *);
300 1.14 matt
301 1.10 thorpej int sys_geteuid(struct lwp *, void *, register_t *);
302 1.14 matt
303 1.10 thorpej int sys_ptrace(struct lwp *, void *, register_t *);
304 1.14 matt
305 1.10 thorpej int sys_recvmsg(struct lwp *, void *, register_t *);
306 1.14 matt
307 1.10 thorpej int sys_sendmsg(struct lwp *, void *, register_t *);
308 1.14 matt
309 1.10 thorpej int sys_recvfrom(struct lwp *, void *, register_t *);
310 1.14 matt
311 1.10 thorpej int sys_accept(struct lwp *, void *, register_t *);
312 1.14 matt
313 1.10 thorpej int sys_getpeername(struct lwp *, void *, register_t *);
314 1.14 matt
315 1.10 thorpej int sys_getsockname(struct lwp *, void *, register_t *);
316 1.14 matt
317 1.10 thorpej int sys_access(struct lwp *, void *, register_t *);
318 1.14 matt
319 1.10 thorpej int sys_chflags(struct lwp *, void *, register_t *);
320 1.14 matt
321 1.10 thorpej int sys_fchflags(struct lwp *, void *, register_t *);
322 1.14 matt
323 1.10 thorpej int sys_sync(struct lwp *, void *, register_t *);
324 1.14 matt
325 1.10 thorpej int sys_kill(struct lwp *, void *, register_t *);
326 1.14 matt
327 1.1 scw #ifdef COMPAT_43
328 1.10 thorpej int aoutm68k_compat_43_sys_stat(struct lwp *, void *, register_t *);
329 1.14 matt
330 1.1 scw #else
331 1.1 scw #endif
332 1.10 thorpej int sys_getppid(struct lwp *, void *, register_t *);
333 1.14 matt
334 1.1 scw #ifdef COMPAT_43
335 1.10 thorpej int aoutm68k_compat_43_sys_lstat(struct lwp *, void *, register_t *);
336 1.14 matt
337 1.1 scw #else
338 1.1 scw #endif
339 1.10 thorpej int sys_dup(struct lwp *, void *, register_t *);
340 1.14 matt
341 1.10 thorpej int sys_pipe(struct lwp *, void *, register_t *);
342 1.14 matt
343 1.10 thorpej int sys_getegid(struct lwp *, void *, register_t *);
344 1.14 matt
345 1.10 thorpej int sys_profil(struct lwp *, void *, register_t *);
346 1.14 matt
347 1.1 scw #if defined(KTRACE) || !defined(_KERNEL)
348 1.10 thorpej int sys_ktrace(struct lwp *, void *, register_t *);
349 1.14 matt
350 1.1 scw #else
351 1.1 scw #endif
352 1.1 scw #ifdef COMPAT_13
353 1.10 thorpej int compat_13_sys_sigaction(struct lwp *, void *, register_t *);
354 1.14 matt
355 1.1 scw #else
356 1.1 scw #endif
357 1.10 thorpej int sys_getgid(struct lwp *, void *, register_t *);
358 1.14 matt
359 1.1 scw #ifdef COMPAT_13
360 1.10 thorpej int compat_13_sys_sigprocmask(struct lwp *, void *, register_t *);
361 1.14 matt
362 1.1 scw #else
363 1.1 scw #endif
364 1.10 thorpej int sys___getlogin(struct lwp *, void *, register_t *);
365 1.14 matt
366 1.10 thorpej int sys___setlogin(struct lwp *, void *, register_t *);
367 1.14 matt
368 1.10 thorpej int sys_acct(struct lwp *, void *, register_t *);
369 1.14 matt
370 1.1 scw #ifdef COMPAT_13
371 1.10 thorpej int compat_13_sys_sigpending(struct lwp *, void *, register_t *);
372 1.14 matt
373 1.10 thorpej int compat_13_sys_sigaltstack(struct lwp *, void *, register_t *);
374 1.14 matt
375 1.1 scw #else
376 1.1 scw #endif
377 1.15 jdolecek int sys_ioctl(struct lwp *, void *, register_t *);
378 1.14 matt
379 1.1 scw #ifdef COMPAT_12
380 1.10 thorpej int compat_12_sys_reboot(struct lwp *, void *, register_t *);
381 1.14 matt
382 1.1 scw #else
383 1.1 scw #endif
384 1.10 thorpej int sys_revoke(struct lwp *, void *, register_t *);
385 1.14 matt
386 1.10 thorpej int sys_symlink(struct lwp *, void *, register_t *);
387 1.14 matt
388 1.10 thorpej int sys_readlink(struct lwp *, void *, register_t *);
389 1.14 matt
390 1.10 thorpej int sys_execve(struct lwp *, void *, register_t *);
391 1.14 matt
392 1.10 thorpej int sys_umask(struct lwp *, void *, register_t *);
393 1.14 matt
394 1.10 thorpej int sys_chroot(struct lwp *, void *, register_t *);
395 1.14 matt
396 1.1 scw #ifdef COMPAT_43
397 1.10 thorpej int aoutm68k_compat_43_sys_fstat(struct lwp *, void *, register_t *);
398 1.14 matt
399 1.10 thorpej int compat_43_sys_getkerninfo(struct lwp *, void *, register_t *);
400 1.14 matt
401 1.10 thorpej int compat_43_sys_getpagesize(struct lwp *, void *, register_t *);
402 1.14 matt
403 1.1 scw #else
404 1.1 scw #endif
405 1.1 scw #ifdef COMPAT_12
406 1.10 thorpej int compat_12_sys_msync(struct lwp *, void *, register_t *);
407 1.14 matt
408 1.1 scw #else
409 1.1 scw #endif
410 1.10 thorpej int sys_vfork(struct lwp *, void *, register_t *);
411 1.14 matt
412 1.10 thorpej int sys_sbrk(struct lwp *, void *, register_t *);
413 1.14 matt
414 1.10 thorpej int sys_sstk(struct lwp *, void *, register_t *);
415 1.14 matt
416 1.1 scw #ifdef COMPAT_43
417 1.10 thorpej int compat_43_sys_mmap(struct lwp *, void *, register_t *);
418 1.14 matt
419 1.1 scw #else
420 1.1 scw #endif
421 1.10 thorpej int sys_ovadvise(struct lwp *, void *, register_t *);
422 1.14 matt
423 1.10 thorpej int sys_munmap(struct lwp *, void *, register_t *);
424 1.14 matt
425 1.10 thorpej int sys_mprotect(struct lwp *, void *, register_t *);
426 1.14 matt
427 1.10 thorpej int sys_madvise(struct lwp *, void *, register_t *);
428 1.14 matt
429 1.10 thorpej int sys_mincore(struct lwp *, void *, register_t *);
430 1.14 matt
431 1.10 thorpej int sys_getgroups(struct lwp *, void *, register_t *);
432 1.14 matt
433 1.10 thorpej int sys_setgroups(struct lwp *, void *, register_t *);
434 1.14 matt
435 1.10 thorpej int sys_getpgrp(struct lwp *, void *, register_t *);
436 1.14 matt
437 1.10 thorpej int sys_setpgid(struct lwp *, void *, register_t *);
438 1.14 matt
439 1.10 thorpej int sys_setitimer(struct lwp *, void *, register_t *);
440 1.14 matt
441 1.1 scw #ifdef COMPAT_43
442 1.10 thorpej int compat_43_sys_wait(struct lwp *, void *, register_t *);
443 1.14 matt
444 1.1 scw #else
445 1.1 scw #endif
446 1.1 scw #ifdef COMPAT_12
447 1.10 thorpej int compat_12_sys_swapon(struct lwp *, void *, register_t *);
448 1.14 matt
449 1.1 scw #else
450 1.1 scw #endif
451 1.10 thorpej int sys_getitimer(struct lwp *, void *, register_t *);
452 1.14 matt
453 1.1 scw #ifdef COMPAT_43
454 1.10 thorpej int compat_43_sys_gethostname(struct lwp *, void *, register_t *);
455 1.14 matt
456 1.10 thorpej int compat_43_sys_sethostname(struct lwp *, void *, register_t *);
457 1.14 matt
458 1.10 thorpej int compat_43_sys_getdtablesize(struct lwp *, void *, register_t *);
459 1.14 matt
460 1.1 scw #else
461 1.1 scw #endif
462 1.10 thorpej int sys_dup2(struct lwp *, void *, register_t *);
463 1.14 matt
464 1.10 thorpej int sys_fcntl(struct lwp *, void *, register_t *);
465 1.14 matt
466 1.10 thorpej int sys_select(struct lwp *, void *, register_t *);
467 1.14 matt
468 1.10 thorpej int sys_fsync(struct lwp *, void *, register_t *);
469 1.14 matt
470 1.10 thorpej int sys_setpriority(struct lwp *, void *, register_t *);
471 1.14 matt
472 1.10 thorpej int sys_socket(struct lwp *, void *, register_t *);
473 1.14 matt
474 1.10 thorpej int sys_connect(struct lwp *, void *, register_t *);
475 1.14 matt
476 1.1 scw #ifdef COMPAT_43
477 1.10 thorpej int compat_43_sys_accept(struct lwp *, void *, register_t *);
478 1.14 matt
479 1.1 scw #else
480 1.1 scw #endif
481 1.10 thorpej int sys_getpriority(struct lwp *, void *, register_t *);
482 1.14 matt
483 1.1 scw #ifdef COMPAT_43
484 1.10 thorpej int compat_43_sys_send(struct lwp *, void *, register_t *);
485 1.14 matt
486 1.10 thorpej int compat_43_sys_recv(struct lwp *, void *, register_t *);
487 1.14 matt
488 1.1 scw #else
489 1.1 scw #endif
490 1.1 scw #ifdef COMPAT_13
491 1.10 thorpej int compat_13_sys_sigreturn(struct lwp *, void *, register_t *);
492 1.14 matt
493 1.1 scw #else
494 1.1 scw #endif
495 1.10 thorpej int sys_bind(struct lwp *, void *, register_t *);
496 1.14 matt
497 1.10 thorpej int sys_setsockopt(struct lwp *, void *, register_t *);
498 1.14 matt
499 1.10 thorpej int sys_listen(struct lwp *, void *, register_t *);
500 1.14 matt
501 1.1 scw #ifdef COMPAT_43
502 1.10 thorpej int compat_43_sys_sigvec(struct lwp *, void *, register_t *);
503 1.14 matt
504 1.10 thorpej int compat_43_sys_sigblock(struct lwp *, void *, register_t *);
505 1.14 matt
506 1.10 thorpej int compat_43_sys_sigsetmask(struct lwp *, void *, register_t *);
507 1.14 matt
508 1.1 scw #else
509 1.1 scw #endif
510 1.1 scw #ifdef COMPAT_13
511 1.10 thorpej int compat_13_sys_sigsuspend(struct lwp *, void *, register_t *);
512 1.14 matt
513 1.1 scw #else
514 1.1 scw #endif
515 1.1 scw #ifdef COMPAT_43
516 1.10 thorpej int compat_43_sys_sigstack(struct lwp *, void *, register_t *);
517 1.14 matt
518 1.10 thorpej int compat_43_sys_recvmsg(struct lwp *, void *, register_t *);
519 1.14 matt
520 1.10 thorpej int compat_43_sys_sendmsg(struct lwp *, void *, register_t *);
521 1.14 matt
522 1.1 scw #else
523 1.1 scw #endif
524 1.10 thorpej int sys_gettimeofday(struct lwp *, void *, register_t *);
525 1.14 matt
526 1.10 thorpej int sys_getrusage(struct lwp *, void *, register_t *);
527 1.14 matt
528 1.10 thorpej int sys_getsockopt(struct lwp *, void *, register_t *);
529 1.14 matt
530 1.10 thorpej int sys_readv(struct lwp *, void *, register_t *);
531 1.14 matt
532 1.10 thorpej int sys_writev(struct lwp *, void *, register_t *);
533 1.14 matt
534 1.10 thorpej int sys_settimeofday(struct lwp *, void *, register_t *);
535 1.14 matt
536 1.10 thorpej int sys_fchown(struct lwp *, void *, register_t *);
537 1.14 matt
538 1.10 thorpej int sys_fchmod(struct lwp *, void *, register_t *);
539 1.14 matt
540 1.1 scw #ifdef COMPAT_43
541 1.10 thorpej int compat_43_sys_recvfrom(struct lwp *, void *, register_t *);
542 1.14 matt
543 1.1 scw #else
544 1.1 scw #endif
545 1.10 thorpej int sys_setreuid(struct lwp *, void *, register_t *);
546 1.14 matt
547 1.10 thorpej int sys_setregid(struct lwp *, void *, register_t *);
548 1.14 matt
549 1.10 thorpej int sys_rename(struct lwp *, void *, register_t *);
550 1.14 matt
551 1.1 scw #ifdef COMPAT_43
552 1.10 thorpej int compat_43_sys_truncate(struct lwp *, void *, register_t *);
553 1.14 matt
554 1.10 thorpej int compat_43_sys_ftruncate(struct lwp *, void *, register_t *);
555 1.14 matt
556 1.1 scw #else
557 1.1 scw #endif
558 1.10 thorpej int sys_flock(struct lwp *, void *, register_t *);
559 1.14 matt
560 1.10 thorpej int sys_mkfifo(struct lwp *, void *, register_t *);
561 1.14 matt
562 1.10 thorpej int sys_sendto(struct lwp *, void *, register_t *);
563 1.14 matt
564 1.10 thorpej int sys_shutdown(struct lwp *, void *, register_t *);
565 1.14 matt
566 1.10 thorpej int sys_socketpair(struct lwp *, void *, register_t *);
567 1.14 matt
568 1.10 thorpej int sys_mkdir(struct lwp *, void *, register_t *);
569 1.14 matt
570 1.10 thorpej int sys_rmdir(struct lwp *, void *, register_t *);
571 1.14 matt
572 1.10 thorpej int sys_utimes(struct lwp *, void *, register_t *);
573 1.14 matt
574 1.10 thorpej int sys_adjtime(struct lwp *, void *, register_t *);
575 1.14 matt
576 1.1 scw #ifdef COMPAT_43
577 1.10 thorpej int compat_43_sys_getpeername(struct lwp *, void *, register_t *);
578 1.14 matt
579 1.10 thorpej int compat_43_sys_gethostid(struct lwp *, void *, register_t *);
580 1.14 matt
581 1.10 thorpej int compat_43_sys_sethostid(struct lwp *, void *, register_t *);
582 1.14 matt
583 1.10 thorpej int compat_43_sys_getrlimit(struct lwp *, void *, register_t *);
584 1.14 matt
585 1.10 thorpej int compat_43_sys_setrlimit(struct lwp *, void *, register_t *);
586 1.14 matt
587 1.10 thorpej int compat_43_sys_killpg(struct lwp *, void *, register_t *);
588 1.14 matt
589 1.1 scw #else
590 1.1 scw #endif
591 1.10 thorpej int sys_setsid(struct lwp *, void *, register_t *);
592 1.14 matt
593 1.10 thorpej int sys_quotactl(struct lwp *, void *, register_t *);
594 1.14 matt
595 1.1 scw #ifdef COMPAT_43
596 1.10 thorpej int compat_43_sys_quota(struct lwp *, void *, register_t *);
597 1.14 matt
598 1.10 thorpej int compat_43_sys_getsockname(struct lwp *, void *, register_t *);
599 1.14 matt
600 1.1 scw #else
601 1.1 scw #endif
602 1.1 scw #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
603 1.10 thorpej int sys_nfssvc(struct lwp *, void *, register_t *);
604 1.14 matt
605 1.1 scw #else
606 1.1 scw #endif
607 1.1 scw #ifdef COMPAT_43
608 1.10 thorpej int compat_43_sys_getdirentries(struct lwp *, void *, register_t *);
609 1.14 matt
610 1.1 scw #else
611 1.1 scw #endif
612 1.14 matt #ifdef COMPAT_20
613 1.14 matt int compat_20_sys_statfs(struct lwp *, void *, register_t *);
614 1.14 matt
615 1.14 matt #else
616 1.14 matt #endif
617 1.14 matt #ifdef COMPAT_20
618 1.14 matt int compat_20_sys_fstatfs(struct lwp *, void *, register_t *);
619 1.14 matt
620 1.6 tsutsui #else
621 1.6 tsutsui #endif
622 1.1 scw #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
623 1.10 thorpej int sys_getfh(struct lwp *, void *, register_t *);
624 1.14 matt
625 1.6 tsutsui #else
626 1.1 scw #endif
627 1.1 scw #ifdef COMPAT_09
628 1.10 thorpej int compat_09_sys_getdomainname(struct lwp *, void *, register_t *);
629 1.14 matt
630 1.10 thorpej int compat_09_sys_setdomainname(struct lwp *, void *, register_t *);
631 1.14 matt
632 1.10 thorpej int compat_09_sys_uname(struct lwp *, void *, register_t *);
633 1.14 matt
634 1.1 scw #else
635 1.1 scw #endif
636 1.10 thorpej int sys_sysarch(struct lwp *, void *, register_t *);
637 1.14 matt
638 1.9 eeh #if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
639 1.10 thorpej int compat_10_sys_semsys(struct lwp *, void *, register_t *);
640 1.14 matt
641 1.1 scw #else
642 1.1 scw #endif
643 1.9 eeh #if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
644 1.10 thorpej int compat_10_sys_msgsys(struct lwp *, void *, register_t *);
645 1.14 matt
646 1.1 scw #else
647 1.1 scw #endif
648 1.9 eeh #if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
649 1.10 thorpej int compat_10_sys_shmsys(struct lwp *, void *, register_t *);
650 1.14 matt
651 1.1 scw #else
652 1.1 scw #endif
653 1.10 thorpej int sys_pread(struct lwp *, void *, register_t *);
654 1.14 matt
655 1.10 thorpej int sys_pwrite(struct lwp *, void *, register_t *);
656 1.14 matt
657 1.10 thorpej int sys_ntp_gettime(struct lwp *, void *, register_t *);
658 1.14 matt
659 1.1 scw #if defined(NTP) || !defined(_KERNEL)
660 1.10 thorpej int sys_ntp_adjtime(struct lwp *, void *, register_t *);
661 1.14 matt
662 1.1 scw #else
663 1.1 scw #endif
664 1.10 thorpej int sys_setgid(struct lwp *, void *, register_t *);
665 1.14 matt
666 1.10 thorpej int sys_setegid(struct lwp *, void *, register_t *);
667 1.14 matt
668 1.10 thorpej int sys_seteuid(struct lwp *, void *, register_t *);
669 1.14 matt
670 1.1 scw #if defined(LFS) || !defined(_KERNEL)
671 1.10 thorpej int sys_lfs_bmapv(struct lwp *, void *, register_t *);
672 1.14 matt
673 1.10 thorpej int sys_lfs_markv(struct lwp *, void *, register_t *);
674 1.14 matt
675 1.10 thorpej int sys_lfs_segclean(struct lwp *, void *, register_t *);
676 1.14 matt
677 1.10 thorpej int sys_lfs_segwait(struct lwp *, void *, register_t *);
678 1.14 matt
679 1.1 scw #else
680 1.1 scw #endif
681 1.1 scw #ifdef COMPAT_12
682 1.10 thorpej int aoutm68k_compat_12_sys_stat(struct lwp *, void *, register_t *);
683 1.14 matt
684 1.10 thorpej int aoutm68k_compat_12_sys_fstat(struct lwp *, void *, register_t *);
685 1.14 matt
686 1.10 thorpej int aoutm68k_compat_12_sys_lstat(struct lwp *, void *, register_t *);
687 1.14 matt
688 1.1 scw #else
689 1.1 scw #endif
690 1.10 thorpej int sys_pathconf(struct lwp *, void *, register_t *);
691 1.14 matt
692 1.10 thorpej int sys_fpathconf(struct lwp *, void *, register_t *);
693 1.14 matt
694 1.10 thorpej int sys_getrlimit(struct lwp *, void *, register_t *);
695 1.14 matt
696 1.10 thorpej int sys_setrlimit(struct lwp *, void *, register_t *);
697 1.14 matt
698 1.1 scw #ifdef COMPAT_12
699 1.10 thorpej int compat_12_sys_getdirentries(struct lwp *, void *, register_t *);
700 1.14 matt
701 1.1 scw #else
702 1.1 scw #endif
703 1.10 thorpej int sys_mmap(struct lwp *, void *, register_t *);
704 1.14 matt
705 1.10 thorpej int sys_lseek(struct lwp *, void *, register_t *);
706 1.14 matt
707 1.10 thorpej int sys_truncate(struct lwp *, void *, register_t *);
708 1.14 matt
709 1.10 thorpej int sys_ftruncate(struct lwp *, void *, register_t *);
710 1.14 matt
711 1.10 thorpej int sys___sysctl(struct lwp *, void *, register_t *);
712 1.14 matt
713 1.10 thorpej int sys_mlock(struct lwp *, void *, register_t *);
714 1.14 matt
715 1.10 thorpej int sys_munlock(struct lwp *, void *, register_t *);
716 1.14 matt
717 1.10 thorpej int sys_undelete(struct lwp *, void *, register_t *);
718 1.14 matt
719 1.10 thorpej int sys_futimes(struct lwp *, void *, register_t *);
720 1.14 matt
721 1.10 thorpej int sys_getpgid(struct lwp *, void *, register_t *);
722 1.14 matt
723 1.10 thorpej int sys_reboot(struct lwp *, void *, register_t *);
724 1.14 matt
725 1.10 thorpej int sys_poll(struct lwp *, void *, register_t *);
726 1.14 matt
727 1.1 scw #if defined(LKM) || !defined(_KERNEL)
728 1.10 thorpej int sys_lkmnosys(struct lwp *, void *, register_t *);
729 1.14 matt
730 1.1 scw #else /* !LKM */
731 1.1 scw #endif /* !LKM */
732 1.1 scw #if defined(SYSVSEM) || !defined(_KERNEL)
733 1.1 scw #ifdef COMPAT_14
734 1.10 thorpej int compat_14_sys___semctl(struct lwp *, void *, register_t *);
735 1.14 matt
736 1.1 scw #else
737 1.1 scw #endif
738 1.10 thorpej int sys_semget(struct lwp *, void *, register_t *);
739 1.14 matt
740 1.10 thorpej int sys_semop(struct lwp *, void *, register_t *);
741 1.14 matt
742 1.10 thorpej int sys_semconfig(struct lwp *, void *, register_t *);
743 1.14 matt
744 1.1 scw #else
745 1.1 scw #endif
746 1.1 scw #if defined(SYSVMSG) || !defined(_KERNEL)
747 1.1 scw #ifdef COMPAT_14
748 1.10 thorpej int compat_14_sys_msgctl(struct lwp *, void *, register_t *);
749 1.14 matt
750 1.1 scw #else
751 1.1 scw #endif
752 1.10 thorpej int sys_msgget(struct lwp *, void *, register_t *);
753 1.14 matt
754 1.10 thorpej int sys_msgsnd(struct lwp *, void *, register_t *);
755 1.14 matt
756 1.10 thorpej int sys_msgrcv(struct lwp *, void *, register_t *);
757 1.14 matt
758 1.1 scw #else
759 1.1 scw #endif
760 1.1 scw #if defined(SYSVSHM) || !defined(_KERNEL)
761 1.10 thorpej int sys_shmat(struct lwp *, void *, register_t *);
762 1.14 matt
763 1.1 scw #ifdef COMPAT_14
764 1.10 thorpej int compat_14_sys_shmctl(struct lwp *, void *, register_t *);
765 1.14 matt
766 1.1 scw #else
767 1.1 scw #endif
768 1.10 thorpej int sys_shmdt(struct lwp *, void *, register_t *);
769 1.14 matt
770 1.10 thorpej int sys_shmget(struct lwp *, void *, register_t *);
771 1.14 matt
772 1.1 scw #else
773 1.1 scw #endif
774 1.10 thorpej int sys_clock_gettime(struct lwp *, void *, register_t *);
775 1.14 matt
776 1.10 thorpej int sys_clock_settime(struct lwp *, void *, register_t *);
777 1.14 matt
778 1.10 thorpej int sys_clock_getres(struct lwp *, void *, register_t *);
779 1.14 matt
780 1.10 thorpej int sys_nanosleep(struct lwp *, void *, register_t *);
781 1.14 matt
782 1.10 thorpej int sys_fdatasync(struct lwp *, void *, register_t *);
783 1.14 matt
784 1.10 thorpej int sys_mlockall(struct lwp *, void *, register_t *);
785 1.14 matt
786 1.10 thorpej int sys_munlockall(struct lwp *, void *, register_t *);
787 1.14 matt
788 1.10 thorpej int sys___posix_rename(struct lwp *, void *, register_t *);
789 1.14 matt
790 1.10 thorpej int sys_swapctl(struct lwp *, void *, register_t *);
791 1.14 matt
792 1.18 christos #ifdef COMPAT_30
793 1.18 christos int compat_30_sys_getdents(struct lwp *, void *, register_t *);
794 1.14 matt
795 1.18 christos #else
796 1.18 christos #endif
797 1.10 thorpej int sys_minherit(struct lwp *, void *, register_t *);
798 1.14 matt
799 1.10 thorpej int sys_lchmod(struct lwp *, void *, register_t *);
800 1.14 matt
801 1.10 thorpej int sys_lchown(struct lwp *, void *, register_t *);
802 1.14 matt
803 1.10 thorpej int sys_lutimes(struct lwp *, void *, register_t *);
804 1.14 matt
805 1.10 thorpej int sys___msync13(struct lwp *, void *, register_t *);
806 1.14 matt
807 1.10 thorpej int aoutm68k_sys___stat13(struct lwp *, void *, register_t *);
808 1.14 matt
809 1.10 thorpej int aoutm68k_sys___fstat13(struct lwp *, void *, register_t *);
810 1.14 matt
811 1.10 thorpej int aoutm68k_sys___lstat13(struct lwp *, void *, register_t *);
812 1.14 matt
813 1.10 thorpej int sys___sigaltstack14(struct lwp *, void *, register_t *);
814 1.14 matt
815 1.10 thorpej int sys___vfork14(struct lwp *, void *, register_t *);
816 1.14 matt
817 1.10 thorpej int sys___posix_chown(struct lwp *, void *, register_t *);
818 1.14 matt
819 1.10 thorpej int sys___posix_fchown(struct lwp *, void *, register_t *);
820 1.14 matt
821 1.10 thorpej int sys___posix_lchown(struct lwp *, void *, register_t *);
822 1.14 matt
823 1.10 thorpej int sys_getsid(struct lwp *, void *, register_t *);
824 1.14 matt
825 1.1 scw #if defined(KTRACE) || !defined(_KERNEL)
826 1.10 thorpej int sys_fktrace(struct lwp *, void *, register_t *);
827 1.14 matt
828 1.1 scw #else
829 1.1 scw #endif
830 1.10 thorpej int sys_preadv(struct lwp *, void *, register_t *);
831 1.14 matt
832 1.10 thorpej int sys_pwritev(struct lwp *, void *, register_t *);
833 1.14 matt
834 1.13 cl #ifdef COMPAT_16
835 1.13 cl int compat_16_sys___sigaction14(struct lwp *, void *, register_t *);
836 1.14 matt
837 1.13 cl #else
838 1.13 cl #endif
839 1.10 thorpej int sys___sigpending14(struct lwp *, void *, register_t *);
840 1.14 matt
841 1.10 thorpej int sys___sigprocmask14(struct lwp *, void *, register_t *);
842 1.14 matt
843 1.10 thorpej int sys___sigsuspend14(struct lwp *, void *, register_t *);
844 1.14 matt
845 1.12 cl #ifdef COMPAT_16
846 1.12 cl int compat_16_sys___sigreturn14(struct lwp *, void *, register_t *);
847 1.14 matt
848 1.12 cl #else
849 1.12 cl #endif
850 1.10 thorpej int sys___getcwd(struct lwp *, void *, register_t *);
851 1.14 matt
852 1.10 thorpej int sys_fchroot(struct lwp *, void *, register_t *);
853 1.14 matt
854 1.10 thorpej int sys_fhopen(struct lwp *, void *, register_t *);
855 1.14 matt
856 1.10 thorpej int aoutm68k_sys_fhstat(struct lwp *, void *, register_t *);
857 1.14 matt
858 1.14 matt #ifdef COMPAT_20
859 1.14 matt int compat_20_sys_fhstatfs(struct lwp *, void *, register_t *);
860 1.14 matt
861 1.14 matt #else
862 1.14 matt #endif
863 1.1 scw #if defined(SYSVSEM) || !defined(_KERNEL)
864 1.10 thorpej int sys_____semctl13(struct lwp *, void *, register_t *);
865 1.14 matt
866 1.1 scw #else
867 1.1 scw #endif
868 1.1 scw #if defined(SYSVMSG) || !defined(_KERNEL)
869 1.10 thorpej int sys___msgctl13(struct lwp *, void *, register_t *);
870 1.14 matt
871 1.1 scw #else
872 1.1 scw #endif
873 1.1 scw #if defined(SYSVSHM) || !defined(_KERNEL)
874 1.10 thorpej int sys___shmctl13(struct lwp *, void *, register_t *);
875 1.14 matt
876 1.1 scw #else
877 1.1 scw #endif
878 1.10 thorpej int sys_lchflags(struct lwp *, void *, register_t *);
879 1.14 matt
880 1.10 thorpej int sys_issetugid(struct lwp *, void *, register_t *);
881 1.14 matt
882 1.10 thorpej int sys_getcontext(struct lwp *, void *, register_t *);
883 1.14 matt
884 1.10 thorpej int sys_setcontext(struct lwp *, void *, register_t *);
885 1.14 matt
886 1.18 christos #endif /* _AOUTM68K_SYS_SYSCALLARGS_H_ */
887