Home | History | Annotate | Line # | Download | only in aoutm68k
aoutm68k_syscallargs.h revision 1.7
      1 /* $NetBSD: aoutm68k_syscallargs.h,v 1.7 2001/05/30 11:37:22 mrg 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.5 2001/04/07 12:25:15 tsutsui 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 {						\
     22 			int8_t pad[ (sizeof (register_t) < sizeof (x))	\
     23 				? 0					\
     24 				: sizeof (register_t) - sizeof (x)];	\
     25 			x datum;					\
     26 		} be;							\
     27 	}
     28 
     29 struct aoutm68k_sys_open_args {
     30 	syscallarg(const char *) path;
     31 	syscallarg(int) flags;
     32 	syscallarg(mode_t) mode;
     33 };
     34 
     35 struct aoutm68k_sys_link_args {
     36 	syscallarg(const char *) path;
     37 	syscallarg(const char *) link;
     38 };
     39 
     40 struct aoutm68k_sys_unlink_args {
     41 	syscallarg(const char *) path;
     42 };
     43 
     44 struct aoutm68k_sys_chdir_args {
     45 	syscallarg(const char *) path;
     46 };
     47 
     48 struct aoutm68k_sys_chmod_args {
     49 	syscallarg(const char *) path;
     50 	syscallarg(mode_t) mode;
     51 };
     52 
     53 struct aoutm68k_sys_chown_args {
     54 	syscallarg(const char *) path;
     55 	syscallarg(uid_t) uid;
     56 	syscallarg(gid_t) gid;
     57 };
     58 
     59 struct aoutm68k_sys_access_args {
     60 	syscallarg(const char *) path;
     61 	syscallarg(int) flags;
     62 };
     63 
     64 struct aoutm68k_sys_chflags_args {
     65 	syscallarg(const char *) path;
     66 	syscallarg(u_long) flags;
     67 };
     68 
     69 struct aoutm68k_compat_43_sys_stat_args {
     70 	syscallarg(const char *) path;
     71 	syscallarg(struct aoutm68k_stat43 *) ub;
     72 };
     73 
     74 struct aoutm68k_compat_43_sys_lstat_args {
     75 	syscallarg(const char *) path;
     76 	syscallarg(struct aoutm68k_stat43 *) ub;
     77 };
     78 
     79 struct aoutm68k_sys_ioctl_args {
     80 	syscallarg(int) fd;
     81 	syscallarg(u_long) com;
     82 	syscallarg(void *) data;
     83 };
     84 
     85 struct aoutm68k_sys_revoke_args {
     86 	syscallarg(const char *) path;
     87 };
     88 
     89 struct aoutm68k_sys_symlink_args {
     90 	syscallarg(const char *) path;
     91 	syscallarg(const char *) link;
     92 };
     93 
     94 struct aoutm68k_sys_readlink_args {
     95 	syscallarg(const char *) path;
     96 	syscallarg(char *) buf;
     97 	syscallarg(size_t) count;
     98 };
     99 
    100 struct aoutm68k_sys_execve_args {
    101 	syscallarg(const char *) path;
    102 	syscallarg(char *const *) argp;
    103 	syscallarg(char *const *) envp;
    104 };
    105 
    106 struct aoutm68k_sys_chroot_args {
    107 	syscallarg(const char *) path;
    108 };
    109 
    110 struct aoutm68k_compat_43_sys_fstat_args {
    111 	syscallarg(int) fd;
    112 	syscallarg(struct aoutm68k_stat43 *) sb;
    113 };
    114 
    115 struct aoutm68k_sys_rename_args {
    116 	syscallarg(const char *) from;
    117 	syscallarg(const char *) to;
    118 };
    119 
    120 struct aoutm68k_compat_43_sys_truncate_args {
    121 	syscallarg(const char *) path;
    122 	syscallarg(long) length;
    123 };
    124 
    125 struct aoutm68k_sys_rmdir_args {
    126 	syscallarg(const char *) path;
    127 };
    128 
    129 struct aoutm68k_sys_utimes_args {
    130 	syscallarg(const char *) path;
    131 	syscallarg(const struct timeval *) tptr;
    132 };
    133 
    134 struct aoutm68k_sys_statfs_args {
    135 	syscallarg(const char *) path;
    136 	syscallarg(struct statfs *) buf;
    137 };
    138 
    139 struct aoutm68k_sys_getfh_args {
    140 	syscallarg(const char *) fname;
    141 	syscallarg(fhandle_t *) fhp;
    142 };
    143 
    144 struct aoutm68k_compat_12_sys_stat_args {
    145 	syscallarg(const char *) path;
    146 	syscallarg(struct aoutm68k_stat12 *) ub;
    147 };
    148 
    149 struct aoutm68k_compat_12_sys_fstat_args {
    150 	syscallarg(int) fd;
    151 	syscallarg(struct aoutm68k_stat12 *) sb;
    152 };
    153 
    154 struct aoutm68k_compat_12_sys_lstat_args {
    155 	syscallarg(const char *) path;
    156 	syscallarg(struct aoutm68k_stat12 *) ub;
    157 };
    158 
    159 struct aoutm68k_sys_pathconf_args {
    160 	syscallarg(const char *) path;
    161 	syscallarg(int) name;
    162 };
    163 
    164 struct aoutm68k_sys_truncate_args {
    165 	syscallarg(const char *) path;
    166 	syscallarg(int) pad;
    167 	syscallarg(off_t) length;
    168 };
    169 
    170 struct aoutm68k_sys_undelete_args {
    171 	syscallarg(const char *) path;
    172 };
    173 
    174 struct aoutm68k_sys___posix_rename_args {
    175 	syscallarg(const char *) from;
    176 	syscallarg(const char *) to;
    177 };
    178 
    179 struct aoutm68k_sys_lchmod_args {
    180 	syscallarg(const char *) path;
    181 	syscallarg(mode_t) mode;
    182 };
    183 
    184 struct aoutm68k_sys_lchown_args {
    185 	syscallarg(const char *) path;
    186 	syscallarg(uid_t) uid;
    187 	syscallarg(gid_t) gid;
    188 };
    189 
    190 struct aoutm68k_sys_lutimes_args {
    191 	syscallarg(const char *) path;
    192 	syscallarg(const struct timeval *) tptr;
    193 };
    194 
    195 struct aoutm68k_sys___stat13_args {
    196 	syscallarg(const char *) path;
    197 	syscallarg(struct aoutm68k_stat *) ub;
    198 };
    199 
    200 struct aoutm68k_sys___fstat13_args {
    201 	syscallarg(int) fd;
    202 	syscallarg(struct aoutm68k_stat *) sb;
    203 };
    204 
    205 struct aoutm68k_sys___lstat13_args {
    206 	syscallarg(const char *) path;
    207 	syscallarg(struct aoutm68k_stat *) ub;
    208 };
    209 
    210 struct aoutm68k_sys___posix_chown_args {
    211 	syscallarg(const char *) path;
    212 	syscallarg(uid_t) uid;
    213 	syscallarg(gid_t) gid;
    214 };
    215 
    216 struct aoutm68k_sys_fhstat_args {
    217 	syscallarg(const fhandle_t *) fhp;
    218 	syscallarg(struct aoutm68k_stat *) sb;
    219 };
    220 
    221 /*
    222  * System call prototypes.
    223  */
    224 
    225 int	sys_exit(struct proc *, void *, register_t *);
    226 int	sys_fork(struct proc *, void *, register_t *);
    227 int	sys_read(struct proc *, void *, register_t *);
    228 int	sys_write(struct proc *, void *, register_t *);
    229 #ifdef COMPAT_AOUT_ALTPATH
    230 int	aoutm68k_sys_open(struct proc *, void *, register_t *);
    231 #else
    232 int	sys_open(struct proc *, void *, register_t *);
    233 #endif
    234 int	sys_close(struct proc *, void *, register_t *);
    235 int	sys_wait4(struct proc *, void *, register_t *);
    236 #ifdef COMPAT_43
    237 int	compat_43_sys_creat(struct proc *, void *, register_t *);
    238 #else
    239 #endif
    240 #ifdef COMPAT_AOUT_ALTPATH
    241 int	aoutm68k_sys_link(struct proc *, void *, register_t *);
    242 int	aoutm68k_sys_unlink(struct proc *, void *, register_t *);
    243 #else
    244 int	sys_link(struct proc *, void *, register_t *);
    245 int	sys_unlink(struct proc *, void *, register_t *);
    246 #endif
    247 #ifdef COMPAT_AOUT_ALTPATH
    248 int	aoutm68k_sys_chdir(struct proc *, void *, register_t *);
    249 #else
    250 int	sys_chdir(struct proc *, void *, register_t *);
    251 #endif
    252 int	sys_fchdir(struct proc *, void *, register_t *);
    253 int	sys_mknod(struct proc *, void *, register_t *);
    254 #ifdef COMPAT_AOUT_ALTPATH
    255 int	aoutm68k_sys_chmod(struct proc *, void *, register_t *);
    256 int	aoutm68k_sys_chown(struct proc *, void *, register_t *);
    257 #else
    258 int	sys_chmod(struct proc *, void *, register_t *);
    259 int	sys_chown(struct proc *, void *, register_t *);
    260 #endif
    261 int	sys_obreak(struct proc *, void *, register_t *);
    262 int	sys_getfsstat(struct proc *, void *, register_t *);
    263 #ifdef COMPAT_43
    264 int	compat_43_sys_lseek(struct proc *, void *, register_t *);
    265 #else
    266 #endif
    267 int	sys_getpid(struct proc *, void *, register_t *);
    268 int	sys_mount(struct proc *, void *, register_t *);
    269 int	sys_unmount(struct proc *, void *, register_t *);
    270 int	sys_setuid(struct proc *, void *, register_t *);
    271 int	sys_getuid(struct proc *, void *, register_t *);
    272 int	sys_geteuid(struct proc *, void *, register_t *);
    273 int	sys_ptrace(struct proc *, void *, register_t *);
    274 int	sys_recvmsg(struct proc *, void *, register_t *);
    275 int	sys_sendmsg(struct proc *, void *, register_t *);
    276 int	sys_recvfrom(struct proc *, void *, register_t *);
    277 int	sys_accept(struct proc *, void *, register_t *);
    278 int	sys_getpeername(struct proc *, void *, register_t *);
    279 int	sys_getsockname(struct proc *, void *, register_t *);
    280 #ifdef COMPAT_AOUT_ALTPATH
    281 int	aoutm68k_sys_access(struct proc *, void *, register_t *);
    282 int	aoutm68k_sys_chflags(struct proc *, void *, register_t *);
    283 #else
    284 int	sys_access(struct proc *, void *, register_t *);
    285 int	sys_chflags(struct proc *, void *, register_t *);
    286 #endif
    287 int	sys_fchflags(struct proc *, void *, register_t *);
    288 int	sys_sync(struct proc *, void *, register_t *);
    289 int	sys_kill(struct proc *, void *, register_t *);
    290 #ifdef COMPAT_43
    291 int	aoutm68k_compat_43_sys_stat(struct proc *, void *, register_t *);
    292 #else
    293 #endif
    294 int	sys_getppid(struct proc *, void *, register_t *);
    295 #ifdef COMPAT_43
    296 int	aoutm68k_compat_43_sys_lstat(struct proc *, void *, register_t *);
    297 #else
    298 #endif
    299 int	sys_dup(struct proc *, void *, register_t *);
    300 int	sys_pipe(struct proc *, void *, register_t *);
    301 int	sys_getegid(struct proc *, void *, register_t *);
    302 int	sys_profil(struct proc *, void *, register_t *);
    303 #if defined(KTRACE) || !defined(_KERNEL)
    304 int	sys_ktrace(struct proc *, void *, register_t *);
    305 #else
    306 #endif
    307 #ifdef COMPAT_13
    308 int	compat_13_sys_sigaction(struct proc *, void *, register_t *);
    309 #else
    310 #endif
    311 int	sys_getgid(struct proc *, void *, register_t *);
    312 #ifdef COMPAT_13
    313 int	compat_13_sys_sigprocmask(struct proc *, void *, register_t *);
    314 #else
    315 #endif
    316 int	sys___getlogin(struct proc *, void *, register_t *);
    317 int	sys_setlogin(struct proc *, void *, register_t *);
    318 int	sys_acct(struct proc *, void *, register_t *);
    319 #ifdef COMPAT_13
    320 int	compat_13_sys_sigpending(struct proc *, void *, register_t *);
    321 int	compat_13_sys_sigaltstack(struct proc *, void *, register_t *);
    322 #else
    323 #endif
    324 int	aoutm68k_sys_ioctl(struct proc *, void *, register_t *);
    325 #ifdef COMPAT_12
    326 int	compat_12_sys_reboot(struct proc *, void *, register_t *);
    327 #else
    328 #endif
    329 #ifdef COMPAT_AOUT_ALTPATH
    330 int	aoutm68k_sys_revoke(struct proc *, void *, register_t *);
    331 int	aoutm68k_sys_symlink(struct proc *, void *, register_t *);
    332 int	aoutm68k_sys_readlink(struct proc *, void *, register_t *);
    333 int	aoutm68k_sys_execve(struct proc *, void *, register_t *);
    334 #else
    335 int	sys_revoke(struct proc *, void *, register_t *);
    336 int	sys_symlink(struct proc *, void *, register_t *);
    337 int	sys_readlink(struct proc *, void *, register_t *);
    338 int	sys_execve(struct proc *, void *, register_t *);
    339 #endif
    340 int	sys_umask(struct proc *, void *, register_t *);
    341 #ifdef COMPAT_AOUT_ALTPATH
    342 int	aoutm68k_sys_chroot(struct proc *, void *, register_t *);
    343 #else
    344 int	sys_chroot(struct proc *, void *, register_t *);
    345 #endif
    346 #ifdef COMPAT_43
    347 int	aoutm68k_compat_43_sys_fstat(struct proc *, void *, register_t *);
    348 int	compat_43_sys_getkerninfo(struct proc *, void *, register_t *);
    349 int	compat_43_sys_getpagesize(struct proc *, void *, register_t *);
    350 #else
    351 #endif
    352 #ifdef COMPAT_12
    353 int	compat_12_sys_msync(struct proc *, void *, register_t *);
    354 #else
    355 #endif
    356 int	sys_vfork(struct proc *, void *, register_t *);
    357 int	sys_sbrk(struct proc *, void *, register_t *);
    358 int	sys_sstk(struct proc *, void *, register_t *);
    359 #ifdef COMPAT_43
    360 int	compat_43_sys_mmap(struct proc *, void *, register_t *);
    361 #else
    362 #endif
    363 int	sys_ovadvise(struct proc *, void *, register_t *);
    364 int	sys_munmap(struct proc *, void *, register_t *);
    365 int	sys_mprotect(struct proc *, void *, register_t *);
    366 int	sys_madvise(struct proc *, void *, register_t *);
    367 int	sys_mincore(struct proc *, void *, register_t *);
    368 int	sys_getgroups(struct proc *, void *, register_t *);
    369 int	sys_setgroups(struct proc *, void *, register_t *);
    370 int	sys_getpgrp(struct proc *, void *, register_t *);
    371 int	sys_setpgid(struct proc *, void *, register_t *);
    372 int	sys_setitimer(struct proc *, void *, register_t *);
    373 #ifdef COMPAT_43
    374 int	compat_43_sys_wait(struct proc *, void *, register_t *);
    375 #else
    376 #endif
    377 #ifdef COMPAT_12
    378 int	compat_12_sys_swapon(struct proc *, void *, register_t *);
    379 #else
    380 #endif
    381 int	sys_getitimer(struct proc *, void *, register_t *);
    382 #ifdef COMPAT_43
    383 int	compat_43_sys_gethostname(struct proc *, void *, register_t *);
    384 int	compat_43_sys_sethostname(struct proc *, void *, register_t *);
    385 int	compat_43_sys_getdtablesize(struct proc *, void *, register_t *);
    386 #else
    387 #endif
    388 int	sys_dup2(struct proc *, void *, register_t *);
    389 int	sys_fcntl(struct proc *, void *, register_t *);
    390 int	sys_select(struct proc *, void *, register_t *);
    391 int	sys_fsync(struct proc *, void *, register_t *);
    392 int	sys_setpriority(struct proc *, void *, register_t *);
    393 int	sys_socket(struct proc *, void *, register_t *);
    394 int	sys_connect(struct proc *, void *, register_t *);
    395 #ifdef COMPAT_43
    396 int	compat_43_sys_accept(struct proc *, void *, register_t *);
    397 #else
    398 #endif
    399 int	sys_getpriority(struct proc *, void *, register_t *);
    400 #ifdef COMPAT_43
    401 int	compat_43_sys_send(struct proc *, void *, register_t *);
    402 int	compat_43_sys_recv(struct proc *, void *, register_t *);
    403 #else
    404 #endif
    405 #ifdef COMPAT_13
    406 int	compat_13_sys_sigreturn(struct proc *, void *, register_t *);
    407 #else
    408 #endif
    409 int	sys_bind(struct proc *, void *, register_t *);
    410 int	sys_setsockopt(struct proc *, void *, register_t *);
    411 int	sys_listen(struct proc *, void *, register_t *);
    412 #ifdef COMPAT_43
    413 int	compat_43_sys_sigvec(struct proc *, void *, register_t *);
    414 int	compat_43_sys_sigblock(struct proc *, void *, register_t *);
    415 int	compat_43_sys_sigsetmask(struct proc *, void *, register_t *);
    416 #else
    417 #endif
    418 #ifdef COMPAT_13
    419 int	compat_13_sys_sigsuspend(struct proc *, void *, register_t *);
    420 #else
    421 #endif
    422 #ifdef COMPAT_43
    423 int	compat_43_sys_sigstack(struct proc *, void *, register_t *);
    424 int	compat_43_sys_recvmsg(struct proc *, void *, register_t *);
    425 int	compat_43_sys_sendmsg(struct proc *, void *, register_t *);
    426 #else
    427 #endif
    428 int	sys_gettimeofday(struct proc *, void *, register_t *);
    429 int	sys_getrusage(struct proc *, void *, register_t *);
    430 int	sys_getsockopt(struct proc *, void *, register_t *);
    431 int	sys_readv(struct proc *, void *, register_t *);
    432 int	sys_writev(struct proc *, void *, register_t *);
    433 int	sys_settimeofday(struct proc *, void *, register_t *);
    434 int	sys_fchown(struct proc *, void *, register_t *);
    435 int	sys_fchmod(struct proc *, void *, register_t *);
    436 #ifdef COMPAT_43
    437 int	compat_43_sys_recvfrom(struct proc *, void *, register_t *);
    438 #else
    439 #endif
    440 int	sys_setreuid(struct proc *, void *, register_t *);
    441 int	sys_setregid(struct proc *, void *, register_t *);
    442 #ifdef COMPAT_AOUT_ALTPATH
    443 int	aoutm68k_sys_rename(struct proc *, void *, register_t *);
    444 #else
    445 int	sys_rename(struct proc *, void *, register_t *);
    446 #endif
    447 #ifdef COMPAT_43
    448 #ifdef COMPAT_AOUT_ALTPATH
    449 int	aoutm68k_compat_43_sys_truncate(struct proc *, void *, register_t *);
    450 #else
    451 int	compat_43_sys_truncate(struct proc *, void *, register_t *);
    452 #endif
    453 int	compat_43_sys_ftruncate(struct proc *, void *, register_t *);
    454 #else
    455 #ifdef COMPAT_AOUT_ALTPATH
    456 #else
    457 #endif
    458 #endif
    459 int	sys_flock(struct proc *, void *, register_t *);
    460 int	sys_mkfifo(struct proc *, void *, register_t *);
    461 int	sys_sendto(struct proc *, void *, register_t *);
    462 int	sys_shutdown(struct proc *, void *, register_t *);
    463 int	sys_socketpair(struct proc *, void *, register_t *);
    464 int	sys_mkdir(struct proc *, void *, register_t *);
    465 #ifdef COMPAT_AOUT_ALTPATH
    466 int	aoutm68k_sys_rmdir(struct proc *, void *, register_t *);
    467 int	aoutm68k_sys_utimes(struct proc *, void *, register_t *);
    468 #else
    469 int	sys_rmdir(struct proc *, void *, register_t *);
    470 int	sys_utimes(struct proc *, void *, register_t *);
    471 #endif
    472 int	sys_adjtime(struct proc *, void *, register_t *);
    473 #ifdef COMPAT_43
    474 int	compat_43_sys_getpeername(struct proc *, void *, register_t *);
    475 int	compat_43_sys_gethostid(struct proc *, void *, register_t *);
    476 int	compat_43_sys_sethostid(struct proc *, void *, register_t *);
    477 int	compat_43_sys_getrlimit(struct proc *, void *, register_t *);
    478 int	compat_43_sys_setrlimit(struct proc *, void *, register_t *);
    479 int	compat_43_sys_killpg(struct proc *, void *, register_t *);
    480 #else
    481 #endif
    482 int	sys_setsid(struct proc *, void *, register_t *);
    483 int	sys_quotactl(struct proc *, void *, register_t *);
    484 #ifdef COMPAT_43
    485 int	compat_43_sys_quota(struct proc *, void *, register_t *);
    486 int	compat_43_sys_getsockname(struct proc *, void *, register_t *);
    487 #else
    488 #endif
    489 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
    490 int	sys_nfssvc(struct proc *, void *, register_t *);
    491 #else
    492 #endif
    493 #ifdef COMPAT_43
    494 int	compat_43_sys_getdirentries(struct proc *, void *, register_t *);
    495 #else
    496 #endif
    497 #ifdef COMPAT_AOUT_ALTPATH
    498 int	aoutm68k_sys_statfs(struct proc *, void *, register_t *);
    499 #else
    500 int	sys_statfs(struct proc *, void *, register_t *);
    501 #endif
    502 int	sys_fstatfs(struct proc *, void *, register_t *);
    503 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
    504 #ifdef COMPAT_AOUT_ALTPATH
    505 int	aoutm68k_sys_getfh(struct proc *, void *, register_t *);
    506 #else
    507 int	sys_getfh(struct proc *, void *, register_t *);
    508 #endif
    509 #else
    510 #endif
    511 #ifdef COMPAT_09
    512 int	compat_09_sys_getdomainname(struct proc *, void *, register_t *);
    513 int	compat_09_sys_setdomainname(struct proc *, void *, register_t *);
    514 int	compat_09_sys_uname(struct proc *, void *, register_t *);
    515 #else
    516 #endif
    517 int	sys_sysarch(struct proc *, void *, register_t *);
    518 #if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(alpha) && defined(COMPAT_10)
    519 int	compat_10_sys_semsys(struct proc *, void *, register_t *);
    520 #else
    521 #endif
    522 #if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(alpha) && defined(COMPAT_10)
    523 int	compat_10_sys_msgsys(struct proc *, void *, register_t *);
    524 #else
    525 #endif
    526 #if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(alpha) && defined(COMPAT_10)
    527 int	compat_10_sys_shmsys(struct proc *, void *, register_t *);
    528 #else
    529 #endif
    530 int	sys_pread(struct proc *, void *, register_t *);
    531 int	sys_pwrite(struct proc *, void *, register_t *);
    532 int	sys_ntp_gettime(struct proc *, void *, register_t *);
    533 #if defined(NTP) || !defined(_KERNEL)
    534 int	sys_ntp_adjtime(struct proc *, void *, register_t *);
    535 #else
    536 #endif
    537 int	sys_setgid(struct proc *, void *, register_t *);
    538 int	sys_setegid(struct proc *, void *, register_t *);
    539 int	sys_seteuid(struct proc *, void *, register_t *);
    540 #if defined(LFS) || !defined(_KERNEL)
    541 int	sys_lfs_bmapv(struct proc *, void *, register_t *);
    542 int	sys_lfs_markv(struct proc *, void *, register_t *);
    543 int	sys_lfs_segclean(struct proc *, void *, register_t *);
    544 int	sys_lfs_segwait(struct proc *, void *, register_t *);
    545 #else
    546 #endif
    547 #ifdef COMPAT_12
    548 int	aoutm68k_compat_12_sys_stat(struct proc *, void *, register_t *);
    549 int	aoutm68k_compat_12_sys_fstat(struct proc *, void *, register_t *);
    550 int	aoutm68k_compat_12_sys_lstat(struct proc *, void *, register_t *);
    551 #else
    552 #endif
    553 #ifdef COMPAT_AOUT_ALTPATH
    554 int	aoutm68k_sys_pathconf(struct proc *, void *, register_t *);
    555 #else
    556 int	sys_pathconf(struct proc *, void *, register_t *);
    557 #endif
    558 int	sys_fpathconf(struct proc *, void *, register_t *);
    559 int	sys_getrlimit(struct proc *, void *, register_t *);
    560 int	sys_setrlimit(struct proc *, void *, register_t *);
    561 #ifdef COMPAT_12
    562 int	compat_12_sys_getdirentries(struct proc *, void *, register_t *);
    563 #else
    564 #endif
    565 int	sys_mmap(struct proc *, void *, register_t *);
    566 int	sys_lseek(struct proc *, void *, register_t *);
    567 #ifdef COMPAT_AOUT_ALTPATH
    568 int	aoutm68k_sys_truncate(struct proc *, void *, register_t *);
    569 #else
    570 int	sys_truncate(struct proc *, void *, register_t *);
    571 #endif
    572 int	sys_ftruncate(struct proc *, void *, register_t *);
    573 int	sys___sysctl(struct proc *, void *, register_t *);
    574 int	sys_mlock(struct proc *, void *, register_t *);
    575 int	sys_munlock(struct proc *, void *, register_t *);
    576 #ifdef COMPAT_AOUT_ALTPATH
    577 int	aoutm68k_sys_undelete(struct proc *, void *, register_t *);
    578 #else
    579 int	sys_undelete(struct proc *, void *, register_t *);
    580 #endif
    581 int	sys_futimes(struct proc *, void *, register_t *);
    582 int	sys_getpgid(struct proc *, void *, register_t *);
    583 int	sys_reboot(struct proc *, void *, register_t *);
    584 int	sys_poll(struct proc *, void *, register_t *);
    585 #if defined(LKM) || !defined(_KERNEL)
    586 int	sys_lkmnosys(struct proc *, void *, register_t *);
    587 int	sys_lkmnosys(struct proc *, void *, register_t *);
    588 int	sys_lkmnosys(struct proc *, void *, register_t *);
    589 int	sys_lkmnosys(struct proc *, void *, register_t *);
    590 int	sys_lkmnosys(struct proc *, void *, register_t *);
    591 int	sys_lkmnosys(struct proc *, void *, register_t *);
    592 int	sys_lkmnosys(struct proc *, void *, register_t *);
    593 int	sys_lkmnosys(struct proc *, void *, register_t *);
    594 int	sys_lkmnosys(struct proc *, void *, register_t *);
    595 int	sys_lkmnosys(struct proc *, void *, register_t *);
    596 #else	/* !LKM */
    597 #endif	/* !LKM */
    598 #if defined(SYSVSEM) || !defined(_KERNEL)
    599 #ifdef COMPAT_14
    600 int	compat_14_sys___semctl(struct proc *, void *, register_t *);
    601 #else
    602 #endif
    603 int	sys_semget(struct proc *, void *, register_t *);
    604 int	sys_semop(struct proc *, void *, register_t *);
    605 int	sys_semconfig(struct proc *, void *, register_t *);
    606 #else
    607 #endif
    608 #if defined(SYSVMSG) || !defined(_KERNEL)
    609 #ifdef COMPAT_14
    610 int	compat_14_sys_msgctl(struct proc *, void *, register_t *);
    611 #else
    612 #endif
    613 int	sys_msgget(struct proc *, void *, register_t *);
    614 int	sys_msgsnd(struct proc *, void *, register_t *);
    615 int	sys_msgrcv(struct proc *, void *, register_t *);
    616 #else
    617 #endif
    618 #if defined(SYSVSHM) || !defined(_KERNEL)
    619 int	sys_shmat(struct proc *, void *, register_t *);
    620 #ifdef COMPAT_14
    621 int	compat_14_sys_shmctl(struct proc *, void *, register_t *);
    622 #else
    623 #endif
    624 int	sys_shmdt(struct proc *, void *, register_t *);
    625 int	sys_shmget(struct proc *, void *, register_t *);
    626 #else
    627 #endif
    628 int	sys_clock_gettime(struct proc *, void *, register_t *);
    629 int	sys_clock_settime(struct proc *, void *, register_t *);
    630 int	sys_clock_getres(struct proc *, void *, register_t *);
    631 int	sys_nanosleep(struct proc *, void *, register_t *);
    632 int	sys_fdatasync(struct proc *, void *, register_t *);
    633 int	sys_mlockall(struct proc *, void *, register_t *);
    634 int	sys_munlockall(struct proc *, void *, register_t *);
    635 #ifdef COMPAT_AOUT_ALTPATH
    636 int	aoutm68k_sys___posix_rename(struct proc *, void *, register_t *);
    637 #else
    638 int	sys___posix_rename(struct proc *, void *, register_t *);
    639 #endif
    640 int	sys_swapctl(struct proc *, void *, register_t *);
    641 int	sys_getdents(struct proc *, void *, register_t *);
    642 int	sys_minherit(struct proc *, void *, register_t *);
    643 #ifdef COMPAT_AOUT_ALTPATH
    644 int	aoutm68k_sys_lchmod(struct proc *, void *, register_t *);
    645 int	aoutm68k_sys_lchown(struct proc *, void *, register_t *);
    646 int	aoutm68k_sys_lutimes(struct proc *, void *, register_t *);
    647 #else
    648 int	sys_lchmod(struct proc *, void *, register_t *);
    649 int	sys_lchown(struct proc *, void *, register_t *);
    650 int	sys_lutimes(struct proc *, void *, register_t *);
    651 #endif
    652 int	sys___msync13(struct proc *, void *, register_t *);
    653 int	aoutm68k_sys___stat13(struct proc *, void *, register_t *);
    654 int	aoutm68k_sys___fstat13(struct proc *, void *, register_t *);
    655 int	aoutm68k_sys___lstat13(struct proc *, void *, register_t *);
    656 int	sys___sigaltstack14(struct proc *, void *, register_t *);
    657 int	sys___vfork14(struct proc *, void *, register_t *);
    658 #ifdef COMPAT_AOUT_ALTPATH
    659 int	aoutm68k_sys___posix_chown(struct proc *, void *, register_t *);
    660 #else
    661 int	sys___posix_chown(struct proc *, void *, register_t *);
    662 #endif
    663 int	sys___posix_fchown(struct proc *, void *, register_t *);
    664 int	sys___posix_lchown(struct proc *, void *, register_t *);
    665 int	sys_getsid(struct proc *, void *, register_t *);
    666 #if defined(KTRACE) || !defined(_KERNEL)
    667 int	sys_fktrace(struct proc *, void *, register_t *);
    668 #else
    669 #endif
    670 int	sys_preadv(struct proc *, void *, register_t *);
    671 int	sys_pwritev(struct proc *, void *, register_t *);
    672 int	sys___sigaction14(struct proc *, void *, register_t *);
    673 int	sys___sigpending14(struct proc *, void *, register_t *);
    674 int	sys___sigprocmask14(struct proc *, void *, register_t *);
    675 int	sys___sigsuspend14(struct proc *, void *, register_t *);
    676 int	sys___sigreturn14(struct proc *, void *, register_t *);
    677 int	sys___getcwd(struct proc *, void *, register_t *);
    678 int	sys_fchroot(struct proc *, void *, register_t *);
    679 int	sys_fhopen(struct proc *, void *, register_t *);
    680 int	aoutm68k_sys_fhstat(struct proc *, void *, register_t *);
    681 int	sys_fhstatfs(struct proc *, void *, register_t *);
    682 #if defined(SYSVSEM) || !defined(_KERNEL)
    683 int	sys_____semctl13(struct proc *, void *, register_t *);
    684 #else
    685 #endif
    686 #if defined(SYSVMSG) || !defined(_KERNEL)
    687 int	sys___msgctl13(struct proc *, void *, register_t *);
    688 #else
    689 #endif
    690 #if defined(SYSVSHM) || !defined(_KERNEL)
    691 int	sys___shmctl13(struct proc *, void *, register_t *);
    692 #else
    693 #endif
    694 int	sys_lchflags(struct proc *, void *, register_t *);
    695 int	sys_issetugid(struct proc *, void *, register_t *);
    696 #endif /* _AOUTM68K_SYS__SYSCALLARGS_H_ */
    697