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