Home | History | Annotate | Line # | Download | only in freebsd
freebsd_syscallargs.h revision 1.55
      1 /* $NetBSD: freebsd_syscallargs.h,v 1.55 2004/01/29 02:00:02 tsarna 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.42 2003/11/26 19:22:57 jdolecek Exp
      8  */
      9 
     10 #ifndef _FREEBSD_SYS__SYSCALLARGS_H_
     11 #define	_FREEBSD_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 
     30 struct freebsd_sys_open_args {
     31 	syscallarg(const char *) path;
     32 	syscallarg(int) flags;
     33 	syscallarg(int) mode;
     34 };
     35 
     36 struct compat_43_freebsd_sys_creat_args {
     37 	syscallarg(const char *) path;
     38 	syscallarg(int) mode;
     39 };
     40 
     41 struct freebsd_sys_link_args {
     42 	syscallarg(const char *) path;
     43 	syscallarg(const char *) link;
     44 };
     45 
     46 struct freebsd_sys_unlink_args {
     47 	syscallarg(const char *) path;
     48 };
     49 
     50 struct freebsd_sys_chdir_args {
     51 	syscallarg(const char *) path;
     52 };
     53 
     54 struct freebsd_sys_mknod_args {
     55 	syscallarg(const char *) path;
     56 	syscallarg(int) mode;
     57 	syscallarg(int) dev;
     58 };
     59 
     60 struct freebsd_sys_chmod_args {
     61 	syscallarg(const char *) path;
     62 	syscallarg(int) mode;
     63 };
     64 
     65 struct freebsd_sys_chown_args {
     66 	syscallarg(const char *) path;
     67 	syscallarg(int) uid;
     68 	syscallarg(int) gid;
     69 };
     70 
     71 struct freebsd_sys_mount_args {
     72 	syscallarg(int) type;
     73 	syscallarg(const char *) path;
     74 	syscallarg(int) flags;
     75 	syscallarg(caddr_t) data;
     76 };
     77 
     78 struct freebsd_sys_unmount_args {
     79 	syscallarg(const char *) path;
     80 	syscallarg(int) flags;
     81 };
     82 
     83 struct freebsd_sys_ptrace_args {
     84 	syscallarg(int) req;
     85 	syscallarg(pid_t) pid;
     86 	syscallarg(caddr_t) addr;
     87 	syscallarg(int) data;
     88 };
     89 
     90 struct freebsd_sys_access_args {
     91 	syscallarg(const char *) path;
     92 	syscallarg(int) flags;
     93 };
     94 
     95 struct freebsd_sys_chflags_args {
     96 	syscallarg(const char *) path;
     97 	syscallarg(int) flags;
     98 };
     99 
    100 struct compat_43_freebsd_sys_stat_args {
    101 	syscallarg(const char *) path;
    102 	syscallarg(struct stat43 *) ub;
    103 };
    104 
    105 struct compat_43_freebsd_sys_lstat_args {
    106 	syscallarg(const char *) path;
    107 	syscallarg(struct stat43 *) ub;
    108 };
    109 #ifdef KTRACE
    110 #else
    111 #endif
    112 
    113 struct freebsd_sys_ioctl_args {
    114 	syscallarg(int) fd;
    115 	syscallarg(u_long) com;
    116 	syscallarg(caddr_t) data;
    117 };
    118 
    119 struct freebsd_sys_revoke_args {
    120 	syscallarg(const char *) path;
    121 };
    122 
    123 struct freebsd_sys_symlink_args {
    124 	syscallarg(const char *) path;
    125 	syscallarg(const char *) link;
    126 };
    127 
    128 struct freebsd_sys_readlink_args {
    129 	syscallarg(const char *) path;
    130 	syscallarg(char *) buf;
    131 	syscallarg(int) count;
    132 };
    133 
    134 struct freebsd_sys_execve_args {
    135 	syscallarg(const char *) path;
    136 	syscallarg(char **) argp;
    137 	syscallarg(char **) envp;
    138 };
    139 
    140 struct freebsd_sys_chroot_args {
    141 	syscallarg(const char *) path;
    142 };
    143 
    144 struct freebsd_sys_msync_args {
    145 	syscallarg(caddr_t) addr;
    146 	syscallarg(size_t) len;
    147 	syscallarg(int) flags;
    148 };
    149 
    150 struct freebsd_sys_sigreturn_args {
    151 	syscallarg(struct freebsd_sigcontext *) scp;
    152 };
    153 #ifdef TRACE
    154 #else
    155 #endif
    156 
    157 struct freebsd_sys_rename_args {
    158 	syscallarg(const char *) from;
    159 	syscallarg(const char *) to;
    160 };
    161 
    162 struct compat_43_freebsd_sys_truncate_args {
    163 	syscallarg(const char *) path;
    164 	syscallarg(long) length;
    165 };
    166 
    167 struct freebsd_sys_mkfifo_args {
    168 	syscallarg(const char *) path;
    169 	syscallarg(int) mode;
    170 };
    171 
    172 struct freebsd_sys_mkdir_args {
    173 	syscallarg(const char *) path;
    174 	syscallarg(int) mode;
    175 };
    176 
    177 struct freebsd_sys_rmdir_args {
    178 	syscallarg(const char *) path;
    179 };
    180 #if defined(NFS) || defined(NFSSERVER)
    181 #else
    182 #endif
    183 
    184 struct freebsd_sys_statfs_args {
    185 	syscallarg(const char *) path;
    186 	syscallarg(struct statfs *) buf;
    187 };
    188 #ifdef NFS
    189 
    190 struct freebsd_sys_getfh_args {
    191 	syscallarg(const char *) fname;
    192 	syscallarg(fhandle_t *) fhp;
    193 };
    194 #else
    195 #endif
    196 
    197 struct freebsd_sys_rtprio_args {
    198 	syscallarg(int) function;
    199 	syscallarg(pid_t) pid;
    200 	syscallarg(struct freebsd_rtprio *) rtp;
    201 };
    202 #if defined(SYSVSEM) && !defined(_LP64)
    203 
    204 struct freebsd_sys_semsys_args {
    205 	syscallarg(int) which;
    206 	syscallarg(int) a2;
    207 	syscallarg(int) a3;
    208 	syscallarg(int) a4;
    209 	syscallarg(int) a5;
    210 };
    211 #else
    212 #endif
    213 #if defined(SYSVMSG) && !defined(_LP64)
    214 
    215 struct freebsd_sys_msgsys_args {
    216 	syscallarg(int) which;
    217 	syscallarg(int) a2;
    218 	syscallarg(int) a3;
    219 	syscallarg(int) a4;
    220 	syscallarg(int) a5;
    221 	syscallarg(int) a6;
    222 };
    223 #else
    224 #endif
    225 #if defined(SYSVSHM) && !defined(_LP64)
    226 
    227 struct freebsd_sys_shmsys_args {
    228 	syscallarg(int) which;
    229 	syscallarg(int) a2;
    230 	syscallarg(int) a3;
    231 	syscallarg(int) a4;
    232 };
    233 #else
    234 #endif
    235 #ifdef NTP
    236 
    237 struct freebsd_ntp_adjtime_args {
    238 	syscallarg(struct freebsd_timex *) tp;
    239 };
    240 #else
    241 #endif
    242 #ifdef LFS
    243 #else
    244 #endif
    245 
    246 struct freebsd_sys_stat_args {
    247 	syscallarg(const char *) path;
    248 	syscallarg(struct stat12 *) ub;
    249 };
    250 
    251 struct freebsd_sys_lstat_args {
    252 	syscallarg(const char *) path;
    253 	syscallarg(struct stat12 *) ub;
    254 };
    255 
    256 struct freebsd_sys_pathconf_args {
    257 	syscallarg(const char *) path;
    258 	syscallarg(int) name;
    259 };
    260 
    261 struct freebsd_sys_mmap_args {
    262 	syscallarg(caddr_t) addr;
    263 	syscallarg(size_t) len;
    264 	syscallarg(int) prot;
    265 	syscallarg(int) flags;
    266 	syscallarg(int) fd;
    267 	syscallarg(long) pad;
    268 	syscallarg(off_t) pos;
    269 };
    270 
    271 struct freebsd_sys_truncate_args {
    272 	syscallarg(const char *) path;
    273 	syscallarg(int) pad;
    274 	syscallarg(off_t) length;
    275 };
    276 #ifdef FREEBSD_BASED_ON_44LITE_R2
    277 
    278 struct freebsd_sys_undelete_args {
    279 	syscallarg(char *) path;
    280 };
    281 #else
    282 #endif
    283 #if 0
    284 #else
    285 #endif
    286 #ifdef SYSVSEM
    287 #else
    288 #endif
    289 #ifdef SYSVMSG
    290 #else
    291 #endif
    292 #ifdef SYSVSHM
    293 #else
    294 #endif
    295 
    296 struct freebsd_sys_rfork_args {
    297 	syscallarg(int) flags;
    298 };
    299 
    300 struct freebsd_sys_lchown_args {
    301 	syscallarg(const char *) path;
    302 	syscallarg(int) uid;
    303 	syscallarg(int) gid;
    304 };
    305 
    306 struct freebsd_sys_sched_setparam_args {
    307 	syscallarg(pid_t) pid;
    308 	syscallarg(const struct freebsd_sched_param *) sp;
    309 };
    310 
    311 struct freebsd_sys_sched_getparam_args {
    312 	syscallarg(pid_t) pid;
    313 	syscallarg(struct freebsd_sched_param *) sp;
    314 };
    315 
    316 struct freebsd_sys_sched_setscheduler_args {
    317 	syscallarg(pid_t) pid;
    318 	syscallarg(int) policy;
    319 	syscallarg(const struct sched_param *) sp;
    320 };
    321 
    322 struct freebsd_sys_sched_getscheduler_args {
    323 	syscallarg(pid_t) pid;
    324 };
    325 
    326 struct freebsd_sys_sched_get_priority_max_args {
    327 	syscallarg(int) policy;
    328 };
    329 
    330 struct freebsd_sys_sched_get_priority_min_args {
    331 	syscallarg(int) policy;
    332 };
    333 
    334 struct freebsd_sys_utrace_args {
    335 	syscallarg(void *) addr;
    336 	syscallarg(size_t) len;
    337 };
    338 
    339 struct freebsd_sys_sigaction4_args {
    340 	syscallarg(int) signum;
    341 	syscallarg(const struct freebsd_sigaction4 *) nsa;
    342 	syscallarg(struct freebsd_sigaction4 *) osa;
    343 };
    344 #if defined(P1003_1B_SEMAPHORE) || !defined(_KERNEL)
    345 #else
    346 #endif
    347 
    348 /*
    349  * System call prototypes.
    350  */
    351 
    352 int	sys_nosys(struct lwp *, void *, register_t *);
    353 
    354 int	sys_exit(struct lwp *, void *, register_t *);
    355 
    356 int	sys_fork(struct lwp *, void *, register_t *);
    357 
    358 int	sys_read(struct lwp *, void *, register_t *);
    359 
    360 int	sys_write(struct lwp *, void *, register_t *);
    361 
    362 int	freebsd_sys_open(struct lwp *, void *, register_t *);
    363 
    364 int	sys_close(struct lwp *, void *, register_t *);
    365 
    366 int	sys_wait4(struct lwp *, void *, register_t *);
    367 
    368 int	compat_43_freebsd_sys_creat(struct lwp *, void *, register_t *);
    369 
    370 int	freebsd_sys_link(struct lwp *, void *, register_t *);
    371 
    372 int	freebsd_sys_unlink(struct lwp *, void *, register_t *);
    373 
    374 int	freebsd_sys_chdir(struct lwp *, void *, register_t *);
    375 
    376 int	sys_fchdir(struct lwp *, void *, register_t *);
    377 
    378 int	freebsd_sys_mknod(struct lwp *, void *, register_t *);
    379 
    380 int	freebsd_sys_chmod(struct lwp *, void *, register_t *);
    381 
    382 int	freebsd_sys_chown(struct lwp *, void *, register_t *);
    383 
    384 int	sys_obreak(struct lwp *, void *, register_t *);
    385 
    386 int	sys_getfsstat(struct lwp *, void *, register_t *);
    387 
    388 int	compat_43_sys_lseek(struct lwp *, void *, register_t *);
    389 
    390 int	sys_getpid_with_ppid(struct lwp *, void *, register_t *);
    391 
    392 int	freebsd_sys_mount(struct lwp *, void *, register_t *);
    393 
    394 int	freebsd_sys_unmount(struct lwp *, void *, register_t *);
    395 
    396 int	sys_setuid(struct lwp *, void *, register_t *);
    397 
    398 int	sys_getuid_with_euid(struct lwp *, void *, register_t *);
    399 
    400 int	sys_geteuid(struct lwp *, void *, register_t *);
    401 
    402 int	freebsd_sys_ptrace(struct lwp *, void *, register_t *);
    403 
    404 int	sys_recvmsg(struct lwp *, void *, register_t *);
    405 
    406 int	sys_sendmsg(struct lwp *, void *, register_t *);
    407 
    408 int	sys_recvfrom(struct lwp *, void *, register_t *);
    409 
    410 int	sys_accept(struct lwp *, void *, register_t *);
    411 
    412 int	sys_getpeername(struct lwp *, void *, register_t *);
    413 
    414 int	sys_getsockname(struct lwp *, void *, register_t *);
    415 
    416 int	freebsd_sys_access(struct lwp *, void *, register_t *);
    417 
    418 int	freebsd_sys_chflags(struct lwp *, void *, register_t *);
    419 
    420 int	sys_fchflags(struct lwp *, void *, register_t *);
    421 
    422 int	sys_sync(struct lwp *, void *, register_t *);
    423 
    424 int	sys_kill(struct lwp *, void *, register_t *);
    425 
    426 int	compat_43_freebsd_sys_stat(struct lwp *, void *, register_t *);
    427 
    428 int	sys_getppid(struct lwp *, void *, register_t *);
    429 
    430 int	compat_43_freebsd_sys_lstat(struct lwp *, void *, register_t *);
    431 
    432 int	sys_dup(struct lwp *, void *, register_t *);
    433 
    434 int	sys_pipe(struct lwp *, void *, register_t *);
    435 
    436 int	sys_getegid(struct lwp *, void *, register_t *);
    437 
    438 int	sys_profil(struct lwp *, void *, register_t *);
    439 
    440 #ifdef KTRACE
    441 int	sys_ktrace(struct lwp *, void *, register_t *);
    442 
    443 #else
    444 #endif
    445 int	compat_13_sys_sigaction(struct lwp *, void *, register_t *);
    446 
    447 int	sys_getgid_with_egid(struct lwp *, void *, register_t *);
    448 
    449 int	compat_13_sys_sigprocmask(struct lwp *, void *, register_t *);
    450 
    451 int	sys___getlogin(struct lwp *, void *, register_t *);
    452 
    453 int	sys___setlogin(struct lwp *, void *, register_t *);
    454 
    455 int	sys_acct(struct lwp *, void *, register_t *);
    456 
    457 int	compat_13_sys_sigpending(struct lwp *, void *, register_t *);
    458 
    459 int	compat_13_sys_sigaltstack(struct lwp *, void *, register_t *);
    460 
    461 int	freebsd_sys_ioctl(struct lwp *, void *, register_t *);
    462 
    463 int	sys_reboot(struct lwp *, void *, register_t *);
    464 
    465 int	freebsd_sys_revoke(struct lwp *, void *, register_t *);
    466 
    467 int	freebsd_sys_symlink(struct lwp *, void *, register_t *);
    468 
    469 int	freebsd_sys_readlink(struct lwp *, void *, register_t *);
    470 
    471 int	freebsd_sys_execve(struct lwp *, void *, register_t *);
    472 
    473 int	sys_umask(struct lwp *, void *, register_t *);
    474 
    475 int	freebsd_sys_chroot(struct lwp *, void *, register_t *);
    476 
    477 int	compat_43_sys_fstat(struct lwp *, void *, register_t *);
    478 
    479 int	compat_43_sys_getkerninfo(struct lwp *, void *, register_t *);
    480 
    481 int	compat_43_sys_getpagesize(struct lwp *, void *, register_t *);
    482 
    483 int	freebsd_sys_msync(struct lwp *, void *, register_t *);
    484 
    485 int	sys_vfork(struct lwp *, void *, register_t *);
    486 
    487 int	sys_sbrk(struct lwp *, void *, register_t *);
    488 
    489 int	sys_sstk(struct lwp *, void *, register_t *);
    490 
    491 int	compat_43_sys_mmap(struct lwp *, void *, register_t *);
    492 
    493 int	sys_ovadvise(struct lwp *, void *, register_t *);
    494 
    495 int	sys_munmap(struct lwp *, void *, register_t *);
    496 
    497 int	sys_mprotect(struct lwp *, void *, register_t *);
    498 
    499 int	sys_madvise(struct lwp *, void *, register_t *);
    500 
    501 int	sys_mincore(struct lwp *, void *, register_t *);
    502 
    503 int	sys_getgroups(struct lwp *, void *, register_t *);
    504 
    505 int	sys_setgroups(struct lwp *, void *, register_t *);
    506 
    507 int	sys_getpgrp(struct lwp *, void *, register_t *);
    508 
    509 int	sys_setpgid(struct lwp *, void *, register_t *);
    510 
    511 int	sys_setitimer(struct lwp *, void *, register_t *);
    512 
    513 int	compat_43_sys_wait(struct lwp *, void *, register_t *);
    514 
    515 int	compat_12_sys_swapon(struct lwp *, void *, register_t *);
    516 
    517 int	sys_getitimer(struct lwp *, void *, register_t *);
    518 
    519 int	compat_43_sys_gethostname(struct lwp *, void *, register_t *);
    520 
    521 int	compat_43_sys_sethostname(struct lwp *, void *, register_t *);
    522 
    523 int	compat_43_sys_getdtablesize(struct lwp *, void *, register_t *);
    524 
    525 int	sys_dup2(struct lwp *, void *, register_t *);
    526 
    527 int	sys_fcntl(struct lwp *, void *, register_t *);
    528 
    529 int	sys_select(struct lwp *, void *, register_t *);
    530 
    531 int	sys_fsync(struct lwp *, void *, register_t *);
    532 
    533 int	sys_setpriority(struct lwp *, void *, register_t *);
    534 
    535 int	sys_socket(struct lwp *, void *, register_t *);
    536 
    537 int	sys_connect(struct lwp *, void *, register_t *);
    538 
    539 int	compat_43_sys_accept(struct lwp *, void *, register_t *);
    540 
    541 int	sys_getpriority(struct lwp *, void *, register_t *);
    542 
    543 int	compat_43_sys_send(struct lwp *, void *, register_t *);
    544 
    545 int	compat_43_sys_recv(struct lwp *, void *, register_t *);
    546 
    547 int	freebsd_sys_sigreturn(struct lwp *, void *, register_t *);
    548 
    549 int	sys_bind(struct lwp *, void *, register_t *);
    550 
    551 int	sys_setsockopt(struct lwp *, void *, register_t *);
    552 
    553 int	sys_listen(struct lwp *, void *, register_t *);
    554 
    555 int	compat_43_sys_sigvec(struct lwp *, void *, register_t *);
    556 
    557 int	compat_43_sys_sigblock(struct lwp *, void *, register_t *);
    558 
    559 int	compat_43_sys_sigsetmask(struct lwp *, void *, register_t *);
    560 
    561 int	compat_13_sys_sigsuspend(struct lwp *, void *, register_t *);
    562 
    563 int	compat_43_sys_sigstack(struct lwp *, void *, register_t *);
    564 
    565 int	compat_43_sys_recvmsg(struct lwp *, void *, register_t *);
    566 
    567 int	compat_43_sys_sendmsg(struct lwp *, void *, register_t *);
    568 
    569 #ifdef TRACE
    570 int	sys_vtrace(struct lwp *, void *, register_t *);
    571 
    572 #else
    573 #endif
    574 int	sys_gettimeofday(struct lwp *, void *, register_t *);
    575 
    576 int	sys_getrusage(struct lwp *, void *, register_t *);
    577 
    578 int	sys_getsockopt(struct lwp *, void *, register_t *);
    579 
    580 int	sys_readv(struct lwp *, void *, register_t *);
    581 
    582 int	sys_writev(struct lwp *, void *, register_t *);
    583 
    584 int	sys_settimeofday(struct lwp *, void *, register_t *);
    585 
    586 int	sys_fchown(struct lwp *, void *, register_t *);
    587 
    588 int	sys_fchmod(struct lwp *, void *, register_t *);
    589 
    590 int	compat_43_sys_recvfrom(struct lwp *, void *, register_t *);
    591 
    592 int	sys_setreuid(struct lwp *, void *, register_t *);
    593 
    594 int	sys_setregid(struct lwp *, void *, register_t *);
    595 
    596 int	freebsd_sys_rename(struct lwp *, void *, register_t *);
    597 
    598 int	compat_43_freebsd_sys_truncate(struct lwp *, void *, register_t *);
    599 
    600 int	compat_43_sys_ftruncate(struct lwp *, void *, register_t *);
    601 
    602 int	sys_flock(struct lwp *, void *, register_t *);
    603 
    604 int	freebsd_sys_mkfifo(struct lwp *, void *, register_t *);
    605 
    606 int	sys_sendto(struct lwp *, void *, register_t *);
    607 
    608 int	sys_shutdown(struct lwp *, void *, register_t *);
    609 
    610 int	sys_socketpair(struct lwp *, void *, register_t *);
    611 
    612 int	freebsd_sys_mkdir(struct lwp *, void *, register_t *);
    613 
    614 int	freebsd_sys_rmdir(struct lwp *, void *, register_t *);
    615 
    616 int	sys_utimes(struct lwp *, void *, register_t *);
    617 
    618 int	sys_adjtime(struct lwp *, void *, register_t *);
    619 
    620 int	compat_43_sys_getpeername(struct lwp *, void *, register_t *);
    621 
    622 int	compat_43_sys_gethostid(struct lwp *, void *, register_t *);
    623 
    624 int	compat_43_sys_sethostid(struct lwp *, void *, register_t *);
    625 
    626 int	compat_43_sys_getrlimit(struct lwp *, void *, register_t *);
    627 
    628 int	compat_43_sys_setrlimit(struct lwp *, void *, register_t *);
    629 
    630 int	compat_43_sys_killpg(struct lwp *, void *, register_t *);
    631 
    632 int	sys_setsid(struct lwp *, void *, register_t *);
    633 
    634 int	sys_quotactl(struct lwp *, void *, register_t *);
    635 
    636 int	compat_43_sys_quota(struct lwp *, void *, register_t *);
    637 
    638 int	compat_43_sys_getsockname(struct lwp *, void *, register_t *);
    639 
    640 #if defined(NFS) || defined(NFSSERVER)
    641 int	sys_nfssvc(struct lwp *, void *, register_t *);
    642 
    643 #else
    644 #endif
    645 int	compat_43_sys_getdirentries(struct lwp *, void *, register_t *);
    646 
    647 int	freebsd_sys_statfs(struct lwp *, void *, register_t *);
    648 
    649 int	sys_fstatfs(struct lwp *, void *, register_t *);
    650 
    651 #ifdef NFS
    652 int	freebsd_sys_getfh(struct lwp *, void *, register_t *);
    653 
    654 #else
    655 #endif
    656 int	compat_09_sys_getdomainname(struct lwp *, void *, register_t *);
    657 
    658 int	compat_09_sys_setdomainname(struct lwp *, void *, register_t *);
    659 
    660 int	compat_09_sys_uname(struct lwp *, void *, register_t *);
    661 
    662 int	sys_sysarch(struct lwp *, void *, register_t *);
    663 
    664 int	freebsd_sys_rtprio(struct lwp *, void *, register_t *);
    665 
    666 #if defined(SYSVSEM) && !defined(_LP64)
    667 int	freebsd_sys_semsys(struct lwp *, void *, register_t *);
    668 
    669 #else
    670 #endif
    671 #if defined(SYSVMSG) && !defined(_LP64)
    672 int	freebsd_sys_msgsys(struct lwp *, void *, register_t *);
    673 
    674 #else
    675 #endif
    676 #if defined(SYSVSHM) && !defined(_LP64)
    677 int	freebsd_sys_shmsys(struct lwp *, void *, register_t *);
    678 
    679 #else
    680 #endif
    681 int	sys_pread(struct lwp *, void *, register_t *);
    682 
    683 int	sys_pwrite(struct lwp *, void *, register_t *);
    684 
    685 #ifdef NTP
    686 int	freebsd_ntp_adjtime(struct lwp *, void *, register_t *);
    687 
    688 #else
    689 #endif
    690 int	sys_setgid(struct lwp *, void *, register_t *);
    691 
    692 int	sys_setegid(struct lwp *, void *, register_t *);
    693 
    694 int	sys_seteuid(struct lwp *, void *, register_t *);
    695 
    696 #ifdef LFS
    697 int	sys_lfs_bmapv(struct lwp *, void *, register_t *);
    698 
    699 int	sys_lfs_markv(struct lwp *, void *, register_t *);
    700 
    701 int	sys_lfs_segclean(struct lwp *, void *, register_t *);
    702 
    703 int	sys_lfs_segwait(struct lwp *, void *, register_t *);
    704 
    705 #else
    706 #endif
    707 int	freebsd_sys_stat(struct lwp *, void *, register_t *);
    708 
    709 int	compat_12_sys_fstat(struct lwp *, void *, register_t *);
    710 
    711 int	freebsd_sys_lstat(struct lwp *, void *, register_t *);
    712 
    713 int	freebsd_sys_pathconf(struct lwp *, void *, register_t *);
    714 
    715 int	sys_fpathconf(struct lwp *, void *, register_t *);
    716 
    717 int	sys_getrlimit(struct lwp *, void *, register_t *);
    718 
    719 int	sys_setrlimit(struct lwp *, void *, register_t *);
    720 
    721 int	compat_12_sys_getdirentries(struct lwp *, void *, register_t *);
    722 
    723 int	freebsd_sys_mmap(struct lwp *, void *, register_t *);
    724 
    725 int	sys_lseek(struct lwp *, void *, register_t *);
    726 
    727 int	freebsd_sys_truncate(struct lwp *, void *, register_t *);
    728 
    729 int	sys_ftruncate(struct lwp *, void *, register_t *);
    730 
    731 int	sys___sysctl(struct lwp *, void *, register_t *);
    732 
    733 int	sys_mlock(struct lwp *, void *, register_t *);
    734 
    735 int	sys_munlock(struct lwp *, void *, register_t *);
    736 
    737 #ifdef FREEBSD_BASED_ON_44LITE_R2
    738 int	freebsd_sys_undelete(struct lwp *, void *, register_t *);
    739 
    740 #else
    741 #endif
    742 int	sys_futimes(struct lwp *, void *, register_t *);
    743 
    744 int	sys_getpgid(struct lwp *, void *, register_t *);
    745 
    746 #if 0
    747 #else
    748 #endif
    749 int	sys_poll(struct lwp *, void *, register_t *);
    750 
    751 #ifdef SYSVSEM
    752 int	compat_14_sys___semctl(struct lwp *, void *, register_t *);
    753 
    754 int	sys_semget(struct lwp *, void *, register_t *);
    755 
    756 int	sys_semop(struct lwp *, void *, register_t *);
    757 
    758 int	sys_semconfig(struct lwp *, void *, register_t *);
    759 
    760 #else
    761 #endif
    762 #ifdef SYSVMSG
    763 int	compat_14_sys_msgctl(struct lwp *, void *, register_t *);
    764 
    765 int	sys_msgget(struct lwp *, void *, register_t *);
    766 
    767 int	sys_msgsnd(struct lwp *, void *, register_t *);
    768 
    769 int	sys_msgrcv(struct lwp *, void *, register_t *);
    770 
    771 #else
    772 #endif
    773 #ifdef SYSVSHM
    774 int	sys_shmat(struct lwp *, void *, register_t *);
    775 
    776 int	compat_14_sys_shmctl(struct lwp *, void *, register_t *);
    777 
    778 int	sys_shmdt(struct lwp *, void *, register_t *);
    779 
    780 int	sys_shmget(struct lwp *, void *, register_t *);
    781 
    782 #else
    783 #endif
    784 int	sys_clock_gettime(struct lwp *, void *, register_t *);
    785 
    786 int	sys_clock_settime(struct lwp *, void *, register_t *);
    787 
    788 int	sys_clock_getres(struct lwp *, void *, register_t *);
    789 
    790 int	sys_nanosleep(struct lwp *, void *, register_t *);
    791 
    792 int	sys_minherit(struct lwp *, void *, register_t *);
    793 
    794 int	freebsd_sys_rfork(struct lwp *, void *, register_t *);
    795 
    796 int	sys_issetugid(struct lwp *, void *, register_t *);
    797 
    798 int	freebsd_sys_lchown(struct lwp *, void *, register_t *);
    799 
    800 int	sys_getdents(struct lwp *, void *, register_t *);
    801 
    802 int	sys_lchmod(struct lwp *, void *, register_t *);
    803 
    804 int	sys_lchown(struct lwp *, void *, register_t *);
    805 
    806 int	sys_lutimes(struct lwp *, void *, register_t *);
    807 
    808 int	sys___msync13(struct lwp *, void *, register_t *);
    809 
    810 int	sys___stat13(struct lwp *, void *, register_t *);
    811 
    812 int	sys___fstat13(struct lwp *, void *, register_t *);
    813 
    814 int	sys___lstat13(struct lwp *, void *, register_t *);
    815 
    816 int	sys_fhstatfs(struct lwp *, void *, register_t *);
    817 
    818 int	sys_fhopen(struct lwp *, void *, register_t *);
    819 
    820 int	sys_fhstat(struct lwp *, void *, register_t *);
    821 
    822 int	sys_getsid(struct lwp *, void *, register_t *);
    823 
    824 int	freebsd_sys_yield(struct lwp *, void *, register_t *);
    825 
    826 int	sys_mlockall(struct lwp *, void *, register_t *);
    827 
    828 int	sys_munlockall(struct lwp *, void *, register_t *);
    829 
    830 int	sys___getcwd(struct lwp *, void *, register_t *);
    831 
    832 int	freebsd_sys_sched_setparam(struct lwp *, void *, register_t *);
    833 
    834 int	freebsd_sys_sched_getparam(struct lwp *, void *, register_t *);
    835 
    836 int	freebsd_sys_sched_setscheduler(struct lwp *, void *, register_t *);
    837 
    838 int	freebsd_sys_sched_getscheduler(struct lwp *, void *, register_t *);
    839 
    840 int	freebsd_sys_sched_yield(struct lwp *, void *, register_t *);
    841 
    842 int	freebsd_sys_sched_get_priority_max(struct lwp *, void *, register_t *);
    843 
    844 int	freebsd_sys_sched_get_priority_min(struct lwp *, void *, register_t *);
    845 
    846 int	freebsd_sys_utrace(struct lwp *, void *, register_t *);
    847 
    848 int	sys___sigprocmask14(struct lwp *, void *, register_t *);
    849 
    850 int	sys___sigsuspend14(struct lwp *, void *, register_t *);
    851 
    852 int	freebsd_sys_sigaction4(struct lwp *, void *, register_t *);
    853 
    854 int	sys___sigpending14(struct lwp *, void *, register_t *);
    855 
    856 int	sys_lchflags(struct lwp *, void *, register_t *);
    857 
    858 int	sys_uuidgen(struct lwp *, void *, register_t *);
    859 
    860 #if defined(P1003_1B_SEMAPHORE) || !defined(_KERNEL)
    861 int	sys__ksem_close(struct lwp *, void *, register_t *);
    862 
    863 int	sys__ksem_post(struct lwp *, void *, register_t *);
    864 
    865 int	sys__ksem_wait(struct lwp *, void *, register_t *);
    866 
    867 int	sys__ksem_trywait(struct lwp *, void *, register_t *);
    868 
    869 int	sys__ksem_unlink(struct lwp *, void *, register_t *);
    870 
    871 int	sys__ksem_getvalue(struct lwp *, void *, register_t *);
    872 
    873 int	sys__ksem_destroy(struct lwp *, void *, register_t *);
    874 
    875 #else
    876 #endif
    877 #endif /* _FREEBSD_SYS__SYSCALLARGS_H_ */
    878