Home | History | Annotate | Line # | Download | only in aoutm68k
aoutm68k_syscallargs.h revision 1.3.2.3
      1 /* $NetBSD: aoutm68k_syscallargs.h,v 1.3.2.3 2001/02/11 19:13:21 bouyer 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.4 2001/01/27 07:51:22 thorpej 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 int	aoutm68k_sys_open(struct proc *, void *, register_t *);
    230 int	sys_close(struct proc *, void *, register_t *);
    231 int	sys_wait4(struct proc *, void *, register_t *);
    232 #ifdef COMPAT_43
    233 int	compat_43_sys_creat(struct proc *, void *, register_t *);
    234 #else
    235 #endif
    236 int	aoutm68k_sys_link(struct proc *, void *, register_t *);
    237 int	aoutm68k_sys_unlink(struct proc *, void *, register_t *);
    238 int	aoutm68k_sys_chdir(struct proc *, void *, register_t *);
    239 int	sys_fchdir(struct proc *, void *, register_t *);
    240 int	sys_mknod(struct proc *, void *, register_t *);
    241 int	aoutm68k_sys_chmod(struct proc *, void *, register_t *);
    242 int	aoutm68k_sys_chown(struct proc *, void *, register_t *);
    243 int	sys_obreak(struct proc *, void *, register_t *);
    244 int	sys_getfsstat(struct proc *, void *, register_t *);
    245 #ifdef COMPAT_43
    246 int	compat_43_sys_lseek(struct proc *, void *, register_t *);
    247 #else
    248 #endif
    249 int	sys_getpid(struct proc *, void *, register_t *);
    250 int	sys_mount(struct proc *, void *, register_t *);
    251 int	sys_unmount(struct proc *, void *, register_t *);
    252 int	sys_setuid(struct proc *, void *, register_t *);
    253 int	sys_getuid(struct proc *, void *, register_t *);
    254 int	sys_geteuid(struct proc *, void *, register_t *);
    255 int	sys_ptrace(struct proc *, void *, register_t *);
    256 int	sys_recvmsg(struct proc *, void *, register_t *);
    257 int	sys_sendmsg(struct proc *, void *, register_t *);
    258 int	sys_recvfrom(struct proc *, void *, register_t *);
    259 int	sys_accept(struct proc *, void *, register_t *);
    260 int	sys_getpeername(struct proc *, void *, register_t *);
    261 int	sys_getsockname(struct proc *, void *, register_t *);
    262 int	aoutm68k_sys_access(struct proc *, void *, register_t *);
    263 int	aoutm68k_sys_chflags(struct proc *, void *, register_t *);
    264 int	sys_fchflags(struct proc *, void *, register_t *);
    265 int	sys_sync(struct proc *, void *, register_t *);
    266 int	sys_kill(struct proc *, void *, register_t *);
    267 #ifdef COMPAT_43
    268 int	aoutm68k_compat_43_sys_stat(struct proc *, void *, register_t *);
    269 #else
    270 #endif
    271 int	sys_getppid(struct proc *, void *, register_t *);
    272 #ifdef COMPAT_43
    273 int	aoutm68k_compat_43_sys_lstat(struct proc *, void *, register_t *);
    274 #else
    275 #endif
    276 int	sys_dup(struct proc *, void *, register_t *);
    277 int	sys_pipe(struct proc *, void *, register_t *);
    278 int	sys_getegid(struct proc *, void *, register_t *);
    279 int	sys_profil(struct proc *, void *, register_t *);
    280 #if defined(KTRACE) || !defined(_KERNEL)
    281 int	sys_ktrace(struct proc *, void *, register_t *);
    282 #else
    283 #endif
    284 #ifdef COMPAT_13
    285 int	compat_13_sys_sigaction(struct proc *, void *, register_t *);
    286 #else
    287 #endif
    288 int	sys_getgid(struct proc *, void *, register_t *);
    289 #ifdef COMPAT_13
    290 int	compat_13_sys_sigprocmask(struct proc *, void *, register_t *);
    291 #else
    292 #endif
    293 int	sys___getlogin(struct proc *, void *, register_t *);
    294 int	sys_setlogin(struct proc *, void *, register_t *);
    295 int	sys_acct(struct proc *, void *, register_t *);
    296 #ifdef COMPAT_13
    297 int	compat_13_sys_sigpending(struct proc *, void *, register_t *);
    298 int	compat_13_sys_sigaltstack(struct proc *, void *, register_t *);
    299 #else
    300 #endif
    301 int	aoutm68k_sys_ioctl(struct proc *, void *, register_t *);
    302 #ifdef COMPAT_12
    303 int	compat_12_sys_reboot(struct proc *, void *, register_t *);
    304 #else
    305 #endif
    306 int	aoutm68k_sys_revoke(struct proc *, void *, register_t *);
    307 int	aoutm68k_sys_symlink(struct proc *, void *, register_t *);
    308 int	aoutm68k_sys_readlink(struct proc *, void *, register_t *);
    309 int	aoutm68k_sys_execve(struct proc *, void *, register_t *);
    310 int	sys_umask(struct proc *, void *, register_t *);
    311 int	aoutm68k_sys_chroot(struct proc *, void *, register_t *);
    312 #ifdef COMPAT_43
    313 int	aoutm68k_compat_43_sys_fstat(struct proc *, void *, register_t *);
    314 int	compat_43_sys_getkerninfo(struct proc *, void *, register_t *);
    315 int	compat_43_sys_getpagesize(struct proc *, void *, register_t *);
    316 #else
    317 #endif
    318 #ifdef COMPAT_12
    319 int	compat_12_sys_msync(struct proc *, void *, register_t *);
    320 #else
    321 #endif
    322 int	sys_vfork(struct proc *, void *, register_t *);
    323 int	sys_sbrk(struct proc *, void *, register_t *);
    324 int	sys_sstk(struct proc *, void *, register_t *);
    325 #ifdef COMPAT_43
    326 int	compat_43_sys_mmap(struct proc *, void *, register_t *);
    327 #else
    328 #endif
    329 int	sys_ovadvise(struct proc *, void *, register_t *);
    330 int	sys_munmap(struct proc *, void *, register_t *);
    331 int	sys_mprotect(struct proc *, void *, register_t *);
    332 int	sys_madvise(struct proc *, void *, register_t *);
    333 int	sys_mincore(struct proc *, void *, register_t *);
    334 int	sys_getgroups(struct proc *, void *, register_t *);
    335 int	sys_setgroups(struct proc *, void *, register_t *);
    336 int	sys_getpgrp(struct proc *, void *, register_t *);
    337 int	sys_setpgid(struct proc *, void *, register_t *);
    338 int	sys_setitimer(struct proc *, void *, register_t *);
    339 #ifdef COMPAT_43
    340 int	compat_43_sys_wait(struct proc *, void *, register_t *);
    341 #else
    342 #endif
    343 #ifdef COMPAT_12
    344 int	compat_12_sys_swapon(struct proc *, void *, register_t *);
    345 #else
    346 #endif
    347 int	sys_getitimer(struct proc *, void *, register_t *);
    348 #ifdef COMPAT_43
    349 int	compat_43_sys_gethostname(struct proc *, void *, register_t *);
    350 int	compat_43_sys_sethostname(struct proc *, void *, register_t *);
    351 int	compat_43_sys_getdtablesize(struct proc *, void *, register_t *);
    352 #else
    353 #endif
    354 int	sys_dup2(struct proc *, void *, register_t *);
    355 int	sys_fcntl(struct proc *, void *, register_t *);
    356 int	sys_select(struct proc *, void *, register_t *);
    357 int	sys_fsync(struct proc *, void *, register_t *);
    358 int	sys_setpriority(struct proc *, void *, register_t *);
    359 int	sys_socket(struct proc *, void *, register_t *);
    360 int	sys_connect(struct proc *, void *, register_t *);
    361 #ifdef COMPAT_43
    362 int	compat_43_sys_accept(struct proc *, void *, register_t *);
    363 #else
    364 #endif
    365 int	sys_getpriority(struct proc *, void *, register_t *);
    366 #ifdef COMPAT_43
    367 int	compat_43_sys_send(struct proc *, void *, register_t *);
    368 int	compat_43_sys_recv(struct proc *, void *, register_t *);
    369 #else
    370 #endif
    371 #ifdef COMPAT_13
    372 int	compat_13_sys_sigreturn(struct proc *, void *, register_t *);
    373 #else
    374 #endif
    375 int	sys_bind(struct proc *, void *, register_t *);
    376 int	sys_setsockopt(struct proc *, void *, register_t *);
    377 int	sys_listen(struct proc *, void *, register_t *);
    378 #ifdef COMPAT_43
    379 int	compat_43_sys_sigvec(struct proc *, void *, register_t *);
    380 int	compat_43_sys_sigblock(struct proc *, void *, register_t *);
    381 int	compat_43_sys_sigsetmask(struct proc *, void *, register_t *);
    382 #else
    383 #endif
    384 #ifdef COMPAT_13
    385 int	compat_13_sys_sigsuspend(struct proc *, void *, register_t *);
    386 #else
    387 #endif
    388 #ifdef COMPAT_43
    389 int	compat_43_sys_sigstack(struct proc *, void *, register_t *);
    390 int	compat_43_sys_recvmsg(struct proc *, void *, register_t *);
    391 int	compat_43_sys_sendmsg(struct proc *, void *, register_t *);
    392 #else
    393 #endif
    394 int	sys_gettimeofday(struct proc *, void *, register_t *);
    395 int	sys_getrusage(struct proc *, void *, register_t *);
    396 int	sys_getsockopt(struct proc *, void *, register_t *);
    397 int	sys_readv(struct proc *, void *, register_t *);
    398 int	sys_writev(struct proc *, void *, register_t *);
    399 int	sys_settimeofday(struct proc *, void *, register_t *);
    400 int	sys_fchown(struct proc *, void *, register_t *);
    401 int	sys_fchmod(struct proc *, void *, register_t *);
    402 #ifdef COMPAT_43
    403 int	compat_43_sys_recvfrom(struct proc *, void *, register_t *);
    404 #else
    405 #endif
    406 int	sys_setreuid(struct proc *, void *, register_t *);
    407 int	sys_setregid(struct proc *, void *, register_t *);
    408 int	aoutm68k_sys_rename(struct proc *, void *, register_t *);
    409 #ifdef COMPAT_43
    410 int	aoutm68k_compat_43_sys_truncate(struct proc *, void *, register_t *);
    411 int	compat_43_sys_ftruncate(struct proc *, void *, register_t *);
    412 #else
    413 #endif
    414 int	sys_flock(struct proc *, void *, register_t *);
    415 int	sys_mkfifo(struct proc *, void *, register_t *);
    416 int	sys_sendto(struct proc *, void *, register_t *);
    417 int	sys_shutdown(struct proc *, void *, register_t *);
    418 int	sys_socketpair(struct proc *, void *, register_t *);
    419 int	sys_mkdir(struct proc *, void *, register_t *);
    420 int	aoutm68k_sys_rmdir(struct proc *, void *, register_t *);
    421 int	aoutm68k_sys_utimes(struct proc *, void *, register_t *);
    422 int	sys_adjtime(struct proc *, void *, register_t *);
    423 #ifdef COMPAT_43
    424 int	compat_43_sys_getpeername(struct proc *, void *, register_t *);
    425 int	compat_43_sys_gethostid(struct proc *, void *, register_t *);
    426 int	compat_43_sys_sethostid(struct proc *, void *, register_t *);
    427 int	compat_43_sys_getrlimit(struct proc *, void *, register_t *);
    428 int	compat_43_sys_setrlimit(struct proc *, void *, register_t *);
    429 int	compat_43_sys_killpg(struct proc *, void *, register_t *);
    430 #else
    431 #endif
    432 int	sys_setsid(struct proc *, void *, register_t *);
    433 int	sys_quotactl(struct proc *, void *, register_t *);
    434 #ifdef COMPAT_43
    435 int	compat_43_sys_quota(struct proc *, void *, register_t *);
    436 int	compat_43_sys_getsockname(struct proc *, void *, register_t *);
    437 #else
    438 #endif
    439 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
    440 int	sys_nfssvc(struct proc *, void *, register_t *);
    441 #else
    442 #endif
    443 #ifdef COMPAT_43
    444 int	compat_43_sys_getdirentries(struct proc *, void *, register_t *);
    445 #else
    446 #endif
    447 int	aoutm68k_sys_statfs(struct proc *, void *, register_t *);
    448 int	sys_fstatfs(struct proc *, void *, register_t *);
    449 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
    450 int	aoutm68k_sys_getfh(struct proc *, void *, register_t *);
    451 #else
    452 #endif
    453 #ifdef COMPAT_09
    454 int	compat_09_sys_getdomainname(struct proc *, void *, register_t *);
    455 int	compat_09_sys_setdomainname(struct proc *, void *, register_t *);
    456 int	compat_09_sys_uname(struct proc *, void *, register_t *);
    457 #else
    458 #endif
    459 int	sys_sysarch(struct proc *, void *, register_t *);
    460 #if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(alpha) && defined(COMPAT_10)
    461 int	compat_10_sys_semsys(struct proc *, void *, register_t *);
    462 #else
    463 #endif
    464 #if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(alpha) && defined(COMPAT_10)
    465 int	compat_10_sys_msgsys(struct proc *, void *, register_t *);
    466 #else
    467 #endif
    468 #if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(alpha) && defined(COMPAT_10)
    469 int	compat_10_sys_shmsys(struct proc *, void *, register_t *);
    470 #else
    471 #endif
    472 int	sys_pread(struct proc *, void *, register_t *);
    473 int	sys_pwrite(struct proc *, void *, register_t *);
    474 int	sys_ntp_gettime(struct proc *, void *, register_t *);
    475 #if defined(NTP) || !defined(_KERNEL)
    476 int	sys_ntp_adjtime(struct proc *, void *, register_t *);
    477 #else
    478 #endif
    479 int	sys_setgid(struct proc *, void *, register_t *);
    480 int	sys_setegid(struct proc *, void *, register_t *);
    481 int	sys_seteuid(struct proc *, void *, register_t *);
    482 #if defined(LFS) || !defined(_KERNEL)
    483 int	sys_lfs_bmapv(struct proc *, void *, register_t *);
    484 int	sys_lfs_markv(struct proc *, void *, register_t *);
    485 int	sys_lfs_segclean(struct proc *, void *, register_t *);
    486 int	sys_lfs_segwait(struct proc *, void *, register_t *);
    487 #else
    488 #endif
    489 #ifdef COMPAT_12
    490 int	aoutm68k_compat_12_sys_stat(struct proc *, void *, register_t *);
    491 int	aoutm68k_compat_12_sys_fstat(struct proc *, void *, register_t *);
    492 int	aoutm68k_compat_12_sys_lstat(struct proc *, void *, register_t *);
    493 #else
    494 #endif
    495 int	aoutm68k_sys_pathconf(struct proc *, void *, register_t *);
    496 int	sys_fpathconf(struct proc *, void *, register_t *);
    497 int	sys_getrlimit(struct proc *, void *, register_t *);
    498 int	sys_setrlimit(struct proc *, void *, register_t *);
    499 #ifdef COMPAT_12
    500 int	compat_12_sys_getdirentries(struct proc *, void *, register_t *);
    501 #else
    502 #endif
    503 int	sys_mmap(struct proc *, void *, register_t *);
    504 int	sys_lseek(struct proc *, void *, register_t *);
    505 int	aoutm68k_sys_truncate(struct proc *, void *, register_t *);
    506 int	sys_ftruncate(struct proc *, void *, register_t *);
    507 int	sys___sysctl(struct proc *, void *, register_t *);
    508 int	sys_mlock(struct proc *, void *, register_t *);
    509 int	sys_munlock(struct proc *, void *, register_t *);
    510 int	aoutm68k_sys_undelete(struct proc *, void *, register_t *);
    511 int	sys_futimes(struct proc *, void *, register_t *);
    512 int	sys_getpgid(struct proc *, void *, register_t *);
    513 int	sys_reboot(struct proc *, void *, register_t *);
    514 int	sys_poll(struct proc *, void *, register_t *);
    515 #if defined(LKM) || !defined(_KERNEL)
    516 int	sys_lkmnosys(struct proc *, void *, register_t *);
    517 int	sys_lkmnosys(struct proc *, void *, register_t *);
    518 int	sys_lkmnosys(struct proc *, void *, register_t *);
    519 int	sys_lkmnosys(struct proc *, void *, register_t *);
    520 int	sys_lkmnosys(struct proc *, void *, register_t *);
    521 int	sys_lkmnosys(struct proc *, void *, register_t *);
    522 int	sys_lkmnosys(struct proc *, void *, register_t *);
    523 int	sys_lkmnosys(struct proc *, void *, register_t *);
    524 int	sys_lkmnosys(struct proc *, void *, register_t *);
    525 int	sys_lkmnosys(struct proc *, void *, register_t *);
    526 #else	/* !LKM */
    527 #endif	/* !LKM */
    528 #if defined(SYSVSEM) || !defined(_KERNEL)
    529 #ifdef COMPAT_14
    530 int	compat_14_sys___semctl(struct proc *, void *, register_t *);
    531 #else
    532 #endif
    533 int	sys_semget(struct proc *, void *, register_t *);
    534 int	sys_semop(struct proc *, void *, register_t *);
    535 int	sys_semconfig(struct proc *, void *, register_t *);
    536 #else
    537 #endif
    538 #if defined(SYSVMSG) || !defined(_KERNEL)
    539 #ifdef COMPAT_14
    540 int	compat_14_sys_msgctl(struct proc *, void *, register_t *);
    541 #else
    542 #endif
    543 int	sys_msgget(struct proc *, void *, register_t *);
    544 int	sys_msgsnd(struct proc *, void *, register_t *);
    545 int	sys_msgrcv(struct proc *, void *, register_t *);
    546 #else
    547 #endif
    548 #if defined(SYSVSHM) || !defined(_KERNEL)
    549 int	sys_shmat(struct proc *, void *, register_t *);
    550 #ifdef COMPAT_14
    551 int	compat_14_sys_shmctl(struct proc *, void *, register_t *);
    552 #else
    553 #endif
    554 int	sys_shmdt(struct proc *, void *, register_t *);
    555 int	sys_shmget(struct proc *, void *, register_t *);
    556 #else
    557 #endif
    558 int	sys_clock_gettime(struct proc *, void *, register_t *);
    559 int	sys_clock_settime(struct proc *, void *, register_t *);
    560 int	sys_clock_getres(struct proc *, void *, register_t *);
    561 int	sys_nanosleep(struct proc *, void *, register_t *);
    562 int	sys_fdatasync(struct proc *, void *, register_t *);
    563 int	sys_mlockall(struct proc *, void *, register_t *);
    564 int	sys_munlockall(struct proc *, void *, register_t *);
    565 int	aoutm68k_sys___posix_rename(struct proc *, void *, register_t *);
    566 int	sys_swapctl(struct proc *, void *, register_t *);
    567 int	sys_getdents(struct proc *, void *, register_t *);
    568 int	sys_minherit(struct proc *, void *, register_t *);
    569 int	aoutm68k_sys_lchmod(struct proc *, void *, register_t *);
    570 int	aoutm68k_sys_lchown(struct proc *, void *, register_t *);
    571 int	aoutm68k_sys_lutimes(struct proc *, void *, register_t *);
    572 int	sys___msync13(struct proc *, void *, register_t *);
    573 int	aoutm68k_sys___stat13(struct proc *, void *, register_t *);
    574 int	aoutm68k_sys___fstat13(struct proc *, void *, register_t *);
    575 int	aoutm68k_sys___lstat13(struct proc *, void *, register_t *);
    576 int	sys___sigaltstack14(struct proc *, void *, register_t *);
    577 int	sys___vfork14(struct proc *, void *, register_t *);
    578 int	aoutm68k_sys___posix_chown(struct proc *, void *, register_t *);
    579 int	sys___posix_fchown(struct proc *, void *, register_t *);
    580 int	sys___posix_lchown(struct proc *, void *, register_t *);
    581 int	sys_getsid(struct proc *, void *, register_t *);
    582 #if defined(KTRACE) || !defined(_KERNEL)
    583 int	sys_fktrace(struct proc *, void *, register_t *);
    584 #else
    585 #endif
    586 int	sys_preadv(struct proc *, void *, register_t *);
    587 int	sys_pwritev(struct proc *, void *, register_t *);
    588 int	sys___sigaction14(struct proc *, void *, register_t *);
    589 int	sys___sigpending14(struct proc *, void *, register_t *);
    590 int	sys___sigprocmask14(struct proc *, void *, register_t *);
    591 int	sys___sigsuspend14(struct proc *, void *, register_t *);
    592 int	sys___sigreturn14(struct proc *, void *, register_t *);
    593 int	sys___getcwd(struct proc *, void *, register_t *);
    594 int	sys_fchroot(struct proc *, void *, register_t *);
    595 int	sys_fhopen(struct proc *, void *, register_t *);
    596 int	aoutm68k_sys_fhstat(struct proc *, void *, register_t *);
    597 int	sys_fhstatfs(struct proc *, void *, register_t *);
    598 #if defined(SYSVSEM) || !defined(_KERNEL)
    599 int	sys_____semctl13(struct proc *, void *, register_t *);
    600 #else
    601 #endif
    602 #if defined(SYSVMSG) || !defined(_KERNEL)
    603 int	sys___msgctl13(struct proc *, void *, register_t *);
    604 #else
    605 #endif
    606 #if defined(SYSVSHM) || !defined(_KERNEL)
    607 int	sys___shmctl13(struct proc *, void *, register_t *);
    608 #else
    609 #endif
    610 int	sys_lchflags(struct proc *, void *, register_t *);
    611 int	sys_issetugid(struct proc *, void *, register_t *);
    612 #endif /* _AOUTM68K_SYS__SYSCALLARGS_H_ */
    613