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