Home | History | Annotate | Line # | Download | only in aoutm68k
aoutm68k_syscallargs.h revision 1.15
      1 /* $NetBSD: aoutm68k_syscallargs.h,v 1.15 2004/09/14 17:40:59 jdolecek 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.12 2004/09/14 17:39:18 jdolecek 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 #ifdef COMPAT_43
     30 #else
     31 #endif
     32 #ifdef COMPAT_20
     33 #else
     34 #endif
     35 #ifdef COMPAT_43
     36 #else
     37 #endif
     38 #ifdef COMPAT_43
     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 #ifdef COMPAT_43
     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 #ifdef COMPAT_13
     58 #else
     59 #endif
     60 #ifdef COMPAT_13
     61 #else
     62 #endif
     63 #ifdef COMPAT_13
     64 #else
     65 #endif
     66 #ifdef COMPAT_12
     67 #else
     68 #endif
     69 #ifdef COMPAT_43
     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 #ifdef COMPAT_12
     78 #else
     79 #endif
     80 #ifdef COMPAT_43
     81 #else
     82 #endif
     83 #ifdef COMPAT_43
     84 #else
     85 #endif
     86 #ifdef COMPAT_12
     87 #else
     88 #endif
     89 #ifdef COMPAT_43
     90 #else
     91 #endif
     92 #ifdef COMPAT_43
     93 #else
     94 #endif
     95 #ifdef COMPAT_43
     96 #else
     97 #endif
     98 #ifdef COMPAT_13
     99 #else
    100 #endif
    101 #ifdef COMPAT_43
    102 #else
    103 #endif
    104 #ifdef COMPAT_13
    105 #else
    106 #endif
    107 #ifdef COMPAT_43
    108 #else
    109 #endif
    110 #ifdef COMPAT_43
    111 #else
    112 #endif
    113 #ifdef COMPAT_43
    114 #else
    115 #endif
    116 #ifdef COMPAT_43
    117 #else
    118 #endif
    119 #ifdef COMPAT_43
    120 #else
    121 #endif
    122 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
    123 #else
    124 #endif
    125 #ifdef COMPAT_43
    126 #else
    127 #endif
    128 #ifdef COMPAT_20
    129 #else
    130 #endif
    131 #ifdef COMPAT_20
    132 #else
    133 #endif
    134 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
    135 #else
    136 #endif
    137 #ifdef COMPAT_09
    138 #else
    139 #endif
    140 #if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
    141 #else
    142 #endif
    143 #if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
    144 #else
    145 #endif
    146 #if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
    147 #else
    148 #endif
    149 #if defined(NTP) || !defined(_KERNEL)
    150 #else
    151 #endif
    152 #if defined(LFS) || !defined(_KERNEL)
    153 #else
    154 #endif
    155 #ifdef COMPAT_12
    156 
    157 struct aoutm68k_compat_12_sys_stat_args {
    158 	syscallarg(const char *) path;
    159 	syscallarg(struct aoutm68k_stat12 *) ub;
    160 };
    161 
    162 struct aoutm68k_compat_12_sys_fstat_args {
    163 	syscallarg(int) fd;
    164 	syscallarg(struct aoutm68k_stat12 *) sb;
    165 };
    166 
    167 struct aoutm68k_compat_12_sys_lstat_args {
    168 	syscallarg(const char *) path;
    169 	syscallarg(struct aoutm68k_stat12 *) ub;
    170 };
    171 #else
    172 #endif
    173 #ifdef COMPAT_12
    174 #else
    175 #endif
    176 #if defined(LKM) || !defined(_KERNEL)
    177 #else	/* !LKM */
    178 #endif	/* !LKM */
    179 #if defined(SYSVSEM) || !defined(_KERNEL)
    180 #ifdef COMPAT_14
    181 #else
    182 #endif
    183 #else
    184 #endif
    185 #if defined(SYSVMSG) || !defined(_KERNEL)
    186 #ifdef COMPAT_14
    187 #else
    188 #endif
    189 #else
    190 #endif
    191 #if defined(SYSVSHM) || !defined(_KERNEL)
    192 #ifdef COMPAT_14
    193 #else
    194 #endif
    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 #ifdef COMPAT_16
    216 #else
    217 #endif
    218 #ifdef COMPAT_16
    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 #ifdef COMPAT_20
    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 #ifdef COMPAT_43
    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 #ifdef COMPAT_20
    279 int	compat_20_sys_getfsstat(struct lwp *, void *, register_t *);
    280 
    281 #else
    282 #endif
    283 #ifdef COMPAT_43
    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 #ifdef COMPAT_43
    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 #ifdef COMPAT_43
    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 #ifdef COMPAT_13
    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 #ifdef COMPAT_13
    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 #ifdef COMPAT_13
    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 #ifdef COMPAT_12
    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 #ifdef COMPAT_43
    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 #ifdef COMPAT_12
    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 #ifdef COMPAT_43
    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 #ifdef COMPAT_43
    439 int	compat_43_sys_wait(struct lwp *, void *, register_t *);
    440 
    441 #else
    442 #endif
    443 #ifdef COMPAT_12
    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 #ifdef COMPAT_43
    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	sys_socket(struct lwp *, void *, register_t *);
    470 
    471 int	sys_connect(struct lwp *, void *, register_t *);
    472 
    473 #ifdef COMPAT_43
    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 #ifdef COMPAT_43
    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 #ifdef COMPAT_13
    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 #ifdef COMPAT_43
    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 #ifdef COMPAT_13
    508 int	compat_13_sys_sigsuspend(struct lwp *, void *, register_t *);
    509 
    510 #else
    511 #endif
    512 #ifdef COMPAT_43
    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 #ifdef COMPAT_43
    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 #ifdef COMPAT_43
    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 #ifdef COMPAT_43
    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 #ifdef COMPAT_43
    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 #ifdef COMPAT_43
    605 int	compat_43_sys_getdirentries(struct lwp *, void *, register_t *);
    606 
    607 #else
    608 #endif
    609 #ifdef COMPAT_20
    610 int	compat_20_sys_statfs(struct lwp *, void *, register_t *);
    611 
    612 #else
    613 #endif
    614 #ifdef COMPAT_20
    615 int	compat_20_sys_fstatfs(struct lwp *, void *, register_t *);
    616 
    617 #else
    618 #endif
    619 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
    620 int	sys_getfh(struct lwp *, void *, register_t *);
    621 
    622 #else
    623 #endif
    624 #ifdef COMPAT_09
    625 int	compat_09_sys_getdomainname(struct lwp *, void *, register_t *);
    626 
    627 int	compat_09_sys_setdomainname(struct lwp *, void *, register_t *);
    628 
    629 int	compat_09_sys_uname(struct lwp *, void *, register_t *);
    630 
    631 #else
    632 #endif
    633 int	sys_sysarch(struct lwp *, void *, register_t *);
    634 
    635 #if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
    636 int	compat_10_sys_semsys(struct lwp *, void *, register_t *);
    637 
    638 #else
    639 #endif
    640 #if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
    641 int	compat_10_sys_msgsys(struct lwp *, void *, register_t *);
    642 
    643 #else
    644 #endif
    645 #if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10)
    646 int	compat_10_sys_shmsys(struct lwp *, void *, register_t *);
    647 
    648 #else
    649 #endif
    650 int	sys_pread(struct lwp *, void *, register_t *);
    651 
    652 int	sys_pwrite(struct lwp *, void *, register_t *);
    653 
    654 int	sys_ntp_gettime(struct lwp *, void *, register_t *);
    655 
    656 #if defined(NTP) || !defined(_KERNEL)
    657 int	sys_ntp_adjtime(struct lwp *, void *, register_t *);
    658 
    659 #else
    660 #endif
    661 int	sys_setgid(struct lwp *, void *, register_t *);
    662 
    663 int	sys_setegid(struct lwp *, void *, register_t *);
    664 
    665 int	sys_seteuid(struct lwp *, void *, register_t *);
    666 
    667 #if defined(LFS) || !defined(_KERNEL)
    668 int	sys_lfs_bmapv(struct lwp *, void *, register_t *);
    669 
    670 int	sys_lfs_markv(struct lwp *, void *, register_t *);
    671 
    672 int	sys_lfs_segclean(struct lwp *, void *, register_t *);
    673 
    674 int	sys_lfs_segwait(struct lwp *, void *, register_t *);
    675 
    676 #else
    677 #endif
    678 #ifdef COMPAT_12
    679 int	aoutm68k_compat_12_sys_stat(struct lwp *, void *, register_t *);
    680 
    681 int	aoutm68k_compat_12_sys_fstat(struct lwp *, void *, register_t *);
    682 
    683 int	aoutm68k_compat_12_sys_lstat(struct lwp *, void *, register_t *);
    684 
    685 #else
    686 #endif
    687 int	sys_pathconf(struct lwp *, void *, register_t *);
    688 
    689 int	sys_fpathconf(struct lwp *, void *, register_t *);
    690 
    691 int	sys_getrlimit(struct lwp *, void *, register_t *);
    692 
    693 int	sys_setrlimit(struct lwp *, void *, register_t *);
    694 
    695 #ifdef COMPAT_12
    696 int	compat_12_sys_getdirentries(struct lwp *, void *, register_t *);
    697 
    698 #else
    699 #endif
    700 int	sys_mmap(struct lwp *, void *, register_t *);
    701 
    702 int	sys_lseek(struct lwp *, void *, register_t *);
    703 
    704 int	sys_truncate(struct lwp *, void *, register_t *);
    705 
    706 int	sys_ftruncate(struct lwp *, void *, register_t *);
    707 
    708 int	sys___sysctl(struct lwp *, void *, register_t *);
    709 
    710 int	sys_mlock(struct lwp *, void *, register_t *);
    711 
    712 int	sys_munlock(struct lwp *, void *, register_t *);
    713 
    714 int	sys_undelete(struct lwp *, void *, register_t *);
    715 
    716 int	sys_futimes(struct lwp *, void *, register_t *);
    717 
    718 int	sys_getpgid(struct lwp *, void *, register_t *);
    719 
    720 int	sys_reboot(struct lwp *, void *, register_t *);
    721 
    722 int	sys_poll(struct lwp *, void *, register_t *);
    723 
    724 #if defined(LKM) || !defined(_KERNEL)
    725 int	sys_lkmnosys(struct lwp *, void *, register_t *);
    726 
    727 #else	/* !LKM */
    728 #endif	/* !LKM */
    729 #if defined(SYSVSEM) || !defined(_KERNEL)
    730 #ifdef COMPAT_14
    731 int	compat_14_sys___semctl(struct lwp *, void *, register_t *);
    732 
    733 #else
    734 #endif
    735 int	sys_semget(struct lwp *, void *, register_t *);
    736 
    737 int	sys_semop(struct lwp *, void *, register_t *);
    738 
    739 int	sys_semconfig(struct lwp *, void *, register_t *);
    740 
    741 #else
    742 #endif
    743 #if defined(SYSVMSG) || !defined(_KERNEL)
    744 #ifdef COMPAT_14
    745 int	compat_14_sys_msgctl(struct lwp *, void *, register_t *);
    746 
    747 #else
    748 #endif
    749 int	sys_msgget(struct lwp *, void *, register_t *);
    750 
    751 int	sys_msgsnd(struct lwp *, void *, register_t *);
    752 
    753 int	sys_msgrcv(struct lwp *, void *, register_t *);
    754 
    755 #else
    756 #endif
    757 #if defined(SYSVSHM) || !defined(_KERNEL)
    758 int	sys_shmat(struct lwp *, void *, register_t *);
    759 
    760 #ifdef COMPAT_14
    761 int	compat_14_sys_shmctl(struct lwp *, void *, register_t *);
    762 
    763 #else
    764 #endif
    765 int	sys_shmdt(struct lwp *, void *, register_t *);
    766 
    767 int	sys_shmget(struct lwp *, void *, register_t *);
    768 
    769 #else
    770 #endif
    771 int	sys_clock_gettime(struct lwp *, void *, register_t *);
    772 
    773 int	sys_clock_settime(struct lwp *, void *, register_t *);
    774 
    775 int	sys_clock_getres(struct lwp *, void *, register_t *);
    776 
    777 int	sys_nanosleep(struct lwp *, void *, register_t *);
    778 
    779 int	sys_fdatasync(struct lwp *, void *, register_t *);
    780 
    781 int	sys_mlockall(struct lwp *, void *, register_t *);
    782 
    783 int	sys_munlockall(struct lwp *, void *, register_t *);
    784 
    785 int	sys___posix_rename(struct lwp *, void *, register_t *);
    786 
    787 int	sys_swapctl(struct lwp *, void *, register_t *);
    788 
    789 int	sys_getdents(struct lwp *, void *, register_t *);
    790 
    791 int	sys_minherit(struct lwp *, void *, register_t *);
    792 
    793 int	sys_lchmod(struct lwp *, void *, register_t *);
    794 
    795 int	sys_lchown(struct lwp *, void *, register_t *);
    796 
    797 int	sys_lutimes(struct lwp *, void *, register_t *);
    798 
    799 int	sys___msync13(struct lwp *, void *, register_t *);
    800 
    801 int	aoutm68k_sys___stat13(struct lwp *, void *, register_t *);
    802 
    803 int	aoutm68k_sys___fstat13(struct lwp *, void *, register_t *);
    804 
    805 int	aoutm68k_sys___lstat13(struct lwp *, void *, register_t *);
    806 
    807 int	sys___sigaltstack14(struct lwp *, void *, register_t *);
    808 
    809 int	sys___vfork14(struct lwp *, void *, register_t *);
    810 
    811 int	sys___posix_chown(struct lwp *, void *, register_t *);
    812 
    813 int	sys___posix_fchown(struct lwp *, void *, register_t *);
    814 
    815 int	sys___posix_lchown(struct lwp *, void *, register_t *);
    816 
    817 int	sys_getsid(struct lwp *, void *, register_t *);
    818 
    819 #if defined(KTRACE) || !defined(_KERNEL)
    820 int	sys_fktrace(struct lwp *, void *, register_t *);
    821 
    822 #else
    823 #endif
    824 int	sys_preadv(struct lwp *, void *, register_t *);
    825 
    826 int	sys_pwritev(struct lwp *, void *, register_t *);
    827 
    828 #ifdef COMPAT_16
    829 int	compat_16_sys___sigaction14(struct lwp *, void *, register_t *);
    830 
    831 #else
    832 #endif
    833 int	sys___sigpending14(struct lwp *, void *, register_t *);
    834 
    835 int	sys___sigprocmask14(struct lwp *, void *, register_t *);
    836 
    837 int	sys___sigsuspend14(struct lwp *, void *, register_t *);
    838 
    839 #ifdef COMPAT_16
    840 int	compat_16_sys___sigreturn14(struct lwp *, void *, register_t *);
    841 
    842 #else
    843 #endif
    844 int	sys___getcwd(struct lwp *, void *, register_t *);
    845 
    846 int	sys_fchroot(struct lwp *, void *, register_t *);
    847 
    848 int	sys_fhopen(struct lwp *, void *, register_t *);
    849 
    850 int	aoutm68k_sys_fhstat(struct lwp *, void *, register_t *);
    851 
    852 #ifdef COMPAT_20
    853 int	compat_20_sys_fhstatfs(struct lwp *, void *, register_t *);
    854 
    855 #else
    856 #endif
    857 #if defined(SYSVSEM) || !defined(_KERNEL)
    858 int	sys_____semctl13(struct lwp *, void *, register_t *);
    859 
    860 #else
    861 #endif
    862 #if defined(SYSVMSG) || !defined(_KERNEL)
    863 int	sys___msgctl13(struct lwp *, void *, register_t *);
    864 
    865 #else
    866 #endif
    867 #if defined(SYSVSHM) || !defined(_KERNEL)
    868 int	sys___shmctl13(struct lwp *, void *, register_t *);
    869 
    870 #else
    871 #endif
    872 int	sys_lchflags(struct lwp *, void *, register_t *);
    873 
    874 int	sys_issetugid(struct lwp *, void *, register_t *);
    875 
    876 int	sys_getcontext(struct lwp *, void *, register_t *);
    877 
    878 int	sys_setcontext(struct lwp *, void *, register_t *);
    879 
    880 #endif /* _AOUTM68K_SYS__SYSCALLARGS_H_ */
    881