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