Home | History | Annotate | Line # | Download | only in freebsd
freebsd_syscallargs.h revision 1.70.2.1
      1  1.70.2.1        ad /* $NetBSD: freebsd_syscallargs.h,v 1.70.2.1 2007/07/15 13:27:04 ad Exp $ */
      2      1.16   thorpej 
      3       1.1   mycroft /*
      4       1.1   mycroft  * System call argument lists.
      5       1.1   mycroft  *
      6       1.1   mycroft  * DO NOT EDIT-- this file is automatically generated.
      7  1.70.2.1        ad  * created from	NetBSD: syscalls.master,v 1.58 2007/07/13 20:48:39 dsl Exp
      8       1.1   mycroft  */
      9      1.26      tron 
     10      1.64  christos #ifndef _FREEBSD_SYS_SYSCALLARGS_H_
     11      1.64  christos #define	_FREEBSD_SYS_SYSCALLARGS_H_
     12      1.28  christos 
     13      1.26      tron #ifdef	syscallarg
     14      1.26      tron #undef	syscallarg
     15      1.26      tron #endif
     16       1.1   mycroft 
     17      1.31   thorpej #define	syscallarg(x)							\
     18      1.31   thorpej 	union {								\
     19      1.31   thorpej 		register_t pad;						\
     20      1.31   thorpej 		struct { x datum; } le;					\
     21      1.47     lukem 		struct { /* LINTED zero array dimension */		\
     22      1.47     lukem 			int8_t pad[  /* CONSTCOND */			\
     23      1.47     lukem 				(sizeof (register_t) < sizeof (x))	\
     24      1.31   thorpej 				? 0					\
     25      1.31   thorpej 				: sizeof (register_t) - sizeof (x)];	\
     26      1.31   thorpej 			x datum;					\
     27      1.31   thorpej 		} be;							\
     28      1.31   thorpej 	}
     29       1.1   mycroft 
     30       1.1   mycroft struct freebsd_sys_mount_args {
     31       1.1   mycroft 	syscallarg(int) type;
     32      1.28  christos 	syscallarg(const char *) path;
     33       1.1   mycroft 	syscallarg(int) flags;
     34      1.70  christos 	syscallarg(void *) data;
     35       1.1   mycroft };
     36       1.1   mycroft 
     37       1.1   mycroft struct freebsd_sys_ptrace_args {
     38       1.1   mycroft 	syscallarg(int) req;
     39       1.1   mycroft 	syscallarg(pid_t) pid;
     40      1.70  christos 	syscallarg(void *) addr;
     41       1.1   mycroft 	syscallarg(int) data;
     42       1.1   mycroft };
     43      1.53     pooka #ifdef KTRACE
     44      1.53     pooka #else
     45      1.53     pooka #endif
     46       1.1   mycroft 
     47       1.1   mycroft struct freebsd_sys_ioctl_args {
     48       1.1   mycroft 	syscallarg(int) fd;
     49       1.1   mycroft 	syscallarg(u_long) com;
     50      1.70  christos 	syscallarg(void *) data;
     51       1.1   mycroft };
     52       1.1   mycroft 
     53       1.1   mycroft struct freebsd_sys_msync_args {
     54      1.70  christos 	syscallarg(void *) addr;
     55       1.1   mycroft 	syscallarg(size_t) len;
     56       1.1   mycroft 	syscallarg(int) flags;
     57       1.1   mycroft };
     58       1.1   mycroft 
     59       1.1   mycroft struct freebsd_sys_sigreturn_args {
     60       1.1   mycroft 	syscallarg(struct freebsd_sigcontext *) scp;
     61       1.1   mycroft };
     62      1.53     pooka #ifdef TRACE
     63      1.53     pooka #else
     64      1.53     pooka #endif
     65      1.53     pooka #if defined(NFS) || defined(NFSSERVER)
     66      1.53     pooka #else
     67      1.53     pooka #endif
     68      1.53     pooka #ifdef NFS
     69      1.53     pooka #else
     70      1.53     pooka #endif
     71       1.1   mycroft 
     72       1.1   mycroft struct freebsd_sys_rtprio_args {
     73       1.1   mycroft 	syscallarg(int) function;
     74       1.1   mycroft 	syscallarg(pid_t) pid;
     75       1.1   mycroft 	syscallarg(struct freebsd_rtprio *) rtp;
     76       1.1   mycroft };
     77      1.53     pooka #if defined(SYSVSEM) && !defined(_LP64)
     78       1.1   mycroft 
     79      1.17   mycroft struct freebsd_sys_semsys_args {
     80      1.17   mycroft 	syscallarg(int) which;
     81      1.17   mycroft 	syscallarg(int) a2;
     82      1.17   mycroft 	syscallarg(int) a3;
     83      1.17   mycroft 	syscallarg(int) a4;
     84      1.17   mycroft 	syscallarg(int) a5;
     85      1.17   mycroft };
     86      1.53     pooka #else
     87      1.53     pooka #endif
     88      1.53     pooka #if defined(SYSVMSG) && !defined(_LP64)
     89      1.17   mycroft 
     90      1.17   mycroft struct freebsd_sys_msgsys_args {
     91      1.17   mycroft 	syscallarg(int) which;
     92      1.17   mycroft 	syscallarg(int) a2;
     93      1.17   mycroft 	syscallarg(int) a3;
     94      1.17   mycroft 	syscallarg(int) a4;
     95      1.17   mycroft 	syscallarg(int) a5;
     96      1.17   mycroft 	syscallarg(int) a6;
     97      1.17   mycroft };
     98      1.53     pooka #else
     99      1.53     pooka #endif
    100      1.53     pooka #if defined(SYSVSHM) && !defined(_LP64)
    101      1.17   mycroft 
    102      1.17   mycroft struct freebsd_sys_shmsys_args {
    103      1.17   mycroft 	syscallarg(int) which;
    104      1.17   mycroft 	syscallarg(int) a2;
    105      1.17   mycroft 	syscallarg(int) a3;
    106      1.17   mycroft 	syscallarg(int) a4;
    107      1.17   mycroft };
    108      1.53     pooka #else
    109      1.53     pooka #endif
    110      1.53     pooka #ifdef NTP
    111      1.17   mycroft 
    112       1.1   mycroft struct freebsd_ntp_adjtime_args {
    113       1.1   mycroft 	syscallarg(struct freebsd_timex *) tp;
    114       1.1   mycroft };
    115      1.53     pooka #else
    116      1.53     pooka #endif
    117      1.53     pooka #ifdef LFS
    118      1.53     pooka #else
    119      1.53     pooka #endif
    120       1.1   mycroft 
    121      1.53     pooka struct freebsd_sys_mmap_args {
    122      1.70  christos 	syscallarg(void *) addr;
    123      1.53     pooka 	syscallarg(size_t) len;
    124      1.53     pooka 	syscallarg(int) prot;
    125      1.53     pooka 	syscallarg(int) flags;
    126      1.53     pooka 	syscallarg(int) fd;
    127      1.53     pooka 	syscallarg(long) pad;
    128      1.53     pooka 	syscallarg(off_t) pos;
    129      1.53     pooka };
    130      1.53     pooka 
    131      1.59      heas struct freebsd_sys_sysctl_args {
    132      1.59      heas 	syscallarg(int *) name;
    133      1.59      heas 	syscallarg(u_int) namelen;
    134      1.59      heas 	syscallarg(void *) old;
    135      1.59      heas 	syscallarg(size_t *) oldlenp;
    136      1.59      heas 	syscallarg(void *) new;
    137      1.59      heas 	syscallarg(size_t) newlen;
    138      1.59      heas };
    139      1.53     pooka #ifdef FREEBSD_BASED_ON_44LITE_R2
    140       1.1   mycroft 
    141       1.1   mycroft struct freebsd_sys_undelete_args {
    142       1.1   mycroft 	syscallarg(char *) path;
    143       1.1   mycroft };
    144      1.53     pooka #else
    145      1.53     pooka #endif
    146      1.53     pooka #if 0
    147      1.53     pooka #else
    148      1.53     pooka #endif
    149      1.53     pooka #ifdef SYSVSEM
    150      1.53     pooka #else
    151      1.53     pooka #endif
    152      1.53     pooka #ifdef SYSVMSG
    153      1.53     pooka #else
    154      1.53     pooka #endif
    155      1.53     pooka #ifdef SYSVSHM
    156      1.53     pooka #else
    157      1.53     pooka #endif
    158       1.1   mycroft 
    159      1.49     pooka struct freebsd_sys_rfork_args {
    160      1.49     pooka 	syscallarg(int) flags;
    161      1.49     pooka };
    162      1.49     pooka 
    163      1.50  gmcgarry struct freebsd_sys_sched_setparam_args {
    164      1.50  gmcgarry 	syscallarg(pid_t) pid;
    165      1.50  gmcgarry 	syscallarg(const struct freebsd_sched_param *) sp;
    166      1.50  gmcgarry };
    167      1.50  gmcgarry 
    168      1.50  gmcgarry struct freebsd_sys_sched_getparam_args {
    169      1.50  gmcgarry 	syscallarg(pid_t) pid;
    170      1.50  gmcgarry 	syscallarg(struct freebsd_sched_param *) sp;
    171      1.50  gmcgarry };
    172      1.50  gmcgarry 
    173      1.50  gmcgarry struct freebsd_sys_sched_setscheduler_args {
    174      1.50  gmcgarry 	syscallarg(pid_t) pid;
    175      1.50  gmcgarry 	syscallarg(int) policy;
    176      1.50  gmcgarry 	syscallarg(const struct sched_param *) sp;
    177      1.50  gmcgarry };
    178      1.50  gmcgarry 
    179      1.50  gmcgarry struct freebsd_sys_sched_getscheduler_args {
    180      1.50  gmcgarry 	syscallarg(pid_t) pid;
    181      1.50  gmcgarry };
    182      1.50  gmcgarry 
    183      1.50  gmcgarry struct freebsd_sys_sched_get_priority_max_args {
    184      1.50  gmcgarry 	syscallarg(int) policy;
    185      1.50  gmcgarry };
    186      1.50  gmcgarry 
    187      1.50  gmcgarry struct freebsd_sys_sched_get_priority_min_args {
    188      1.50  gmcgarry 	syscallarg(int) policy;
    189      1.50  gmcgarry };
    190      1.50  gmcgarry 
    191      1.43  jdolecek struct freebsd_sys_utrace_args {
    192      1.43  jdolecek 	syscallarg(void *) addr;
    193      1.43  jdolecek 	syscallarg(size_t) len;
    194      1.43  jdolecek };
    195      1.43  jdolecek 
    196      1.34      onoe struct freebsd_sys_sigaction4_args {
    197      1.34      onoe 	syscallarg(int) signum;
    198      1.34      onoe 	syscallarg(const struct freebsd_sigaction4 *) nsa;
    199      1.34      onoe 	syscallarg(struct freebsd_sigaction4 *) osa;
    200      1.34      onoe };
    201      1.54  jdolecek #if defined(P1003_1B_SEMAPHORE) || !defined(_KERNEL)
    202      1.54  jdolecek #else
    203      1.54  jdolecek #endif
    204      1.34      onoe 
    205       1.1   mycroft /*
    206       1.1   mycroft  * System call prototypes.
    207       1.1   mycroft  */
    208       1.1   mycroft 
    209      1.51   thorpej int	sys_nosys(struct lwp *, void *, register_t *);
    210      1.54  jdolecek 
    211      1.51   thorpej int	sys_exit(struct lwp *, void *, register_t *);
    212      1.54  jdolecek 
    213      1.51   thorpej int	sys_fork(struct lwp *, void *, register_t *);
    214      1.54  jdolecek 
    215      1.51   thorpej int	sys_read(struct lwp *, void *, register_t *);
    216      1.54  jdolecek 
    217      1.51   thorpej int	sys_write(struct lwp *, void *, register_t *);
    218      1.54  jdolecek 
    219  1.70.2.1        ad int	sys_open(struct lwp *, void *, register_t *);
    220      1.54  jdolecek 
    221      1.51   thorpej int	sys_close(struct lwp *, void *, register_t *);
    222      1.54  jdolecek 
    223      1.51   thorpej int	sys_wait4(struct lwp *, void *, register_t *);
    224      1.54  jdolecek 
    225  1.70.2.1        ad int	compat_43_sys_creat(struct lwp *, void *, register_t *);
    226      1.54  jdolecek 
    227  1.70.2.1        ad int	sys_link(struct lwp *, void *, register_t *);
    228      1.54  jdolecek 
    229  1.70.2.1        ad int	sys_unlink(struct lwp *, void *, register_t *);
    230      1.54  jdolecek 
    231  1.70.2.1        ad int	sys_chdir(struct lwp *, void *, register_t *);
    232      1.54  jdolecek 
    233      1.51   thorpej int	sys_fchdir(struct lwp *, void *, register_t *);
    234      1.54  jdolecek 
    235  1.70.2.1        ad int	sys_mknod(struct lwp *, void *, register_t *);
    236      1.54  jdolecek 
    237  1.70.2.1        ad int	sys_chmod(struct lwp *, void *, register_t *);
    238      1.54  jdolecek 
    239  1.70.2.1        ad int	sys_chown(struct lwp *, void *, register_t *);
    240      1.54  jdolecek 
    241      1.51   thorpej int	sys_obreak(struct lwp *, void *, register_t *);
    242      1.54  jdolecek 
    243      1.56  christos int	compat_20_sys_getfsstat(struct lwp *, void *, register_t *);
    244      1.54  jdolecek 
    245      1.51   thorpej int	compat_43_sys_lseek(struct lwp *, void *, register_t *);
    246      1.54  jdolecek 
    247      1.51   thorpej int	sys_getpid_with_ppid(struct lwp *, void *, register_t *);
    248      1.54  jdolecek 
    249      1.51   thorpej int	freebsd_sys_mount(struct lwp *, void *, register_t *);
    250      1.54  jdolecek 
    251  1.70.2.1        ad int	sys_unmount(struct lwp *, void *, register_t *);
    252      1.54  jdolecek 
    253      1.51   thorpej int	sys_setuid(struct lwp *, void *, register_t *);
    254      1.54  jdolecek 
    255      1.51   thorpej int	sys_getuid_with_euid(struct lwp *, void *, register_t *);
    256      1.54  jdolecek 
    257      1.51   thorpej int	sys_geteuid(struct lwp *, void *, register_t *);
    258      1.54  jdolecek 
    259      1.51   thorpej int	freebsd_sys_ptrace(struct lwp *, void *, register_t *);
    260      1.54  jdolecek 
    261      1.51   thorpej int	sys_recvmsg(struct lwp *, void *, register_t *);
    262      1.54  jdolecek 
    263      1.51   thorpej int	sys_sendmsg(struct lwp *, void *, register_t *);
    264      1.54  jdolecek 
    265      1.51   thorpej int	sys_recvfrom(struct lwp *, void *, register_t *);
    266      1.54  jdolecek 
    267      1.51   thorpej int	sys_accept(struct lwp *, void *, register_t *);
    268      1.54  jdolecek 
    269      1.51   thorpej int	sys_getpeername(struct lwp *, void *, register_t *);
    270      1.54  jdolecek 
    271      1.51   thorpej int	sys_getsockname(struct lwp *, void *, register_t *);
    272      1.54  jdolecek 
    273  1.70.2.1        ad int	sys_access(struct lwp *, void *, register_t *);
    274      1.54  jdolecek 
    275  1.70.2.1        ad int	sys_chflags(struct lwp *, void *, register_t *);
    276      1.54  jdolecek 
    277      1.51   thorpej int	sys_fchflags(struct lwp *, void *, register_t *);
    278      1.54  jdolecek 
    279      1.51   thorpej int	sys_sync(struct lwp *, void *, register_t *);
    280      1.54  jdolecek 
    281      1.51   thorpej int	sys_kill(struct lwp *, void *, register_t *);
    282      1.54  jdolecek 
    283  1.70.2.1        ad int	compat_43_sys_stat(struct lwp *, void *, register_t *);
    284      1.54  jdolecek 
    285      1.51   thorpej int	sys_getppid(struct lwp *, void *, register_t *);
    286      1.54  jdolecek 
    287  1.70.2.1        ad int	compat_43_sys_lstat(struct lwp *, void *, register_t *);
    288      1.54  jdolecek 
    289      1.51   thorpej int	sys_dup(struct lwp *, void *, register_t *);
    290      1.54  jdolecek 
    291      1.51   thorpej int	sys_pipe(struct lwp *, void *, register_t *);
    292      1.54  jdolecek 
    293      1.51   thorpej int	sys_getegid(struct lwp *, void *, register_t *);
    294      1.54  jdolecek 
    295      1.51   thorpej int	sys_profil(struct lwp *, void *, register_t *);
    296      1.54  jdolecek 
    297       1.1   mycroft #ifdef KTRACE
    298      1.51   thorpej int	sys_ktrace(struct lwp *, void *, register_t *);
    299      1.54  jdolecek 
    300       1.1   mycroft #else
    301       1.1   mycroft #endif
    302      1.51   thorpej int	compat_13_sys_sigaction(struct lwp *, void *, register_t *);
    303      1.54  jdolecek 
    304      1.51   thorpej int	sys_getgid_with_egid(struct lwp *, void *, register_t *);
    305      1.54  jdolecek 
    306      1.51   thorpej int	compat_13_sys_sigprocmask(struct lwp *, void *, register_t *);
    307      1.54  jdolecek 
    308      1.51   thorpej int	sys___getlogin(struct lwp *, void *, register_t *);
    309      1.54  jdolecek 
    310      1.51   thorpej int	sys___setlogin(struct lwp *, void *, register_t *);
    311      1.54  jdolecek 
    312      1.51   thorpej int	sys_acct(struct lwp *, void *, register_t *);
    313      1.54  jdolecek 
    314      1.51   thorpej int	compat_13_sys_sigpending(struct lwp *, void *, register_t *);
    315      1.54  jdolecek 
    316      1.51   thorpej int	compat_13_sys_sigaltstack(struct lwp *, void *, register_t *);
    317      1.54  jdolecek 
    318      1.51   thorpej int	freebsd_sys_ioctl(struct lwp *, void *, register_t *);
    319      1.54  jdolecek 
    320      1.51   thorpej int	sys_reboot(struct lwp *, void *, register_t *);
    321      1.54  jdolecek 
    322  1.70.2.1        ad int	sys_revoke(struct lwp *, void *, register_t *);
    323      1.54  jdolecek 
    324  1.70.2.1        ad int	sys_symlink(struct lwp *, void *, register_t *);
    325      1.54  jdolecek 
    326  1.70.2.1        ad int	sys_readlink(struct lwp *, void *, register_t *);
    327      1.54  jdolecek 
    328  1.70.2.1        ad int	sys_execve(struct lwp *, void *, register_t *);
    329      1.54  jdolecek 
    330      1.51   thorpej int	sys_umask(struct lwp *, void *, register_t *);
    331      1.54  jdolecek 
    332  1.70.2.1        ad int	sys_chroot(struct lwp *, void *, register_t *);
    333      1.54  jdolecek 
    334      1.51   thorpej int	compat_43_sys_fstat(struct lwp *, void *, register_t *);
    335      1.54  jdolecek 
    336      1.51   thorpej int	compat_43_sys_getkerninfo(struct lwp *, void *, register_t *);
    337      1.54  jdolecek 
    338      1.51   thorpej int	compat_43_sys_getpagesize(struct lwp *, void *, register_t *);
    339      1.54  jdolecek 
    340      1.51   thorpej int	freebsd_sys_msync(struct lwp *, void *, register_t *);
    341      1.54  jdolecek 
    342      1.51   thorpej int	sys_vfork(struct lwp *, void *, register_t *);
    343      1.54  jdolecek 
    344      1.51   thorpej int	sys_sbrk(struct lwp *, void *, register_t *);
    345      1.54  jdolecek 
    346      1.51   thorpej int	sys_sstk(struct lwp *, void *, register_t *);
    347      1.54  jdolecek 
    348      1.51   thorpej int	compat_43_sys_mmap(struct lwp *, void *, register_t *);
    349      1.54  jdolecek 
    350      1.51   thorpej int	sys_ovadvise(struct lwp *, void *, register_t *);
    351      1.54  jdolecek 
    352      1.51   thorpej int	sys_munmap(struct lwp *, void *, register_t *);
    353      1.54  jdolecek 
    354      1.51   thorpej int	sys_mprotect(struct lwp *, void *, register_t *);
    355      1.54  jdolecek 
    356      1.51   thorpej int	sys_madvise(struct lwp *, void *, register_t *);
    357      1.54  jdolecek 
    358      1.51   thorpej int	sys_mincore(struct lwp *, void *, register_t *);
    359      1.54  jdolecek 
    360      1.51   thorpej int	sys_getgroups(struct lwp *, void *, register_t *);
    361      1.54  jdolecek 
    362      1.51   thorpej int	sys_setgroups(struct lwp *, void *, register_t *);
    363      1.54  jdolecek 
    364      1.51   thorpej int	sys_getpgrp(struct lwp *, void *, register_t *);
    365      1.54  jdolecek 
    366      1.51   thorpej int	sys_setpgid(struct lwp *, void *, register_t *);
    367      1.54  jdolecek 
    368      1.51   thorpej int	sys_setitimer(struct lwp *, void *, register_t *);
    369      1.54  jdolecek 
    370      1.51   thorpej int	compat_43_sys_wait(struct lwp *, void *, register_t *);
    371      1.54  jdolecek 
    372      1.51   thorpej int	compat_12_sys_swapon(struct lwp *, void *, register_t *);
    373      1.54  jdolecek 
    374      1.51   thorpej int	sys_getitimer(struct lwp *, void *, register_t *);
    375      1.54  jdolecek 
    376      1.51   thorpej int	compat_43_sys_gethostname(struct lwp *, void *, register_t *);
    377      1.54  jdolecek 
    378      1.51   thorpej int	compat_43_sys_sethostname(struct lwp *, void *, register_t *);
    379      1.54  jdolecek 
    380      1.51   thorpej int	compat_43_sys_getdtablesize(struct lwp *, void *, register_t *);
    381      1.54  jdolecek 
    382      1.51   thorpej int	sys_dup2(struct lwp *, void *, register_t *);
    383      1.54  jdolecek 
    384      1.51   thorpej int	sys_fcntl(struct lwp *, void *, register_t *);
    385      1.54  jdolecek 
    386      1.51   thorpej int	sys_select(struct lwp *, void *, register_t *);
    387      1.54  jdolecek 
    388      1.51   thorpej int	sys_fsync(struct lwp *, void *, register_t *);
    389      1.54  jdolecek 
    390      1.51   thorpej int	sys_setpriority(struct lwp *, void *, register_t *);
    391      1.54  jdolecek 
    392      1.66       mrg int	compat_30_sys_socket(struct lwp *, void *, register_t *);
    393      1.54  jdolecek 
    394      1.51   thorpej int	sys_connect(struct lwp *, void *, register_t *);
    395      1.54  jdolecek 
    396      1.51   thorpej int	compat_43_sys_accept(struct lwp *, void *, register_t *);
    397      1.54  jdolecek 
    398      1.51   thorpej int	sys_getpriority(struct lwp *, void *, register_t *);
    399      1.54  jdolecek 
    400      1.51   thorpej int	compat_43_sys_send(struct lwp *, void *, register_t *);
    401      1.54  jdolecek 
    402      1.51   thorpej int	compat_43_sys_recv(struct lwp *, void *, register_t *);
    403      1.54  jdolecek 
    404      1.51   thorpej int	freebsd_sys_sigreturn(struct lwp *, void *, register_t *);
    405      1.54  jdolecek 
    406      1.51   thorpej int	sys_bind(struct lwp *, void *, register_t *);
    407      1.54  jdolecek 
    408      1.51   thorpej int	sys_setsockopt(struct lwp *, void *, register_t *);
    409      1.54  jdolecek 
    410      1.51   thorpej int	sys_listen(struct lwp *, void *, register_t *);
    411      1.54  jdolecek 
    412      1.51   thorpej int	compat_43_sys_sigvec(struct lwp *, void *, register_t *);
    413      1.54  jdolecek 
    414      1.51   thorpej int	compat_43_sys_sigblock(struct lwp *, void *, register_t *);
    415      1.54  jdolecek 
    416      1.51   thorpej int	compat_43_sys_sigsetmask(struct lwp *, void *, register_t *);
    417      1.54  jdolecek 
    418      1.51   thorpej int	compat_13_sys_sigsuspend(struct lwp *, void *, register_t *);
    419      1.54  jdolecek 
    420      1.51   thorpej int	compat_43_sys_sigstack(struct lwp *, void *, register_t *);
    421      1.54  jdolecek 
    422      1.51   thorpej int	compat_43_sys_recvmsg(struct lwp *, void *, register_t *);
    423      1.54  jdolecek 
    424      1.51   thorpej int	compat_43_sys_sendmsg(struct lwp *, void *, register_t *);
    425      1.54  jdolecek 
    426       1.1   mycroft #ifdef TRACE
    427      1.51   thorpej int	sys_vtrace(struct lwp *, void *, register_t *);
    428      1.54  jdolecek 
    429       1.1   mycroft #else
    430       1.1   mycroft #endif
    431      1.51   thorpej int	sys_gettimeofday(struct lwp *, void *, register_t *);
    432      1.54  jdolecek 
    433      1.51   thorpej int	sys_getrusage(struct lwp *, void *, register_t *);
    434      1.54  jdolecek 
    435      1.51   thorpej int	sys_getsockopt(struct lwp *, void *, register_t *);
    436      1.54  jdolecek 
    437      1.51   thorpej int	sys_readv(struct lwp *, void *, register_t *);
    438      1.54  jdolecek 
    439      1.51   thorpej int	sys_writev(struct lwp *, void *, register_t *);
    440      1.54  jdolecek 
    441      1.51   thorpej int	sys_settimeofday(struct lwp *, void *, register_t *);
    442      1.54  jdolecek 
    443      1.51   thorpej int	sys_fchown(struct lwp *, void *, register_t *);
    444      1.54  jdolecek 
    445      1.51   thorpej int	sys_fchmod(struct lwp *, void *, register_t *);
    446      1.54  jdolecek 
    447      1.51   thorpej int	compat_43_sys_recvfrom(struct lwp *, void *, register_t *);
    448      1.54  jdolecek 
    449      1.51   thorpej int	sys_setreuid(struct lwp *, void *, register_t *);
    450      1.54  jdolecek 
    451      1.51   thorpej int	sys_setregid(struct lwp *, void *, register_t *);
    452      1.54  jdolecek 
    453  1.70.2.1        ad int	sys_rename(struct lwp *, void *, register_t *);
    454      1.54  jdolecek 
    455  1.70.2.1        ad int	compat_43_sys_truncate(struct lwp *, void *, register_t *);
    456      1.54  jdolecek 
    457      1.51   thorpej int	compat_43_sys_ftruncate(struct lwp *, void *, register_t *);
    458      1.54  jdolecek 
    459      1.51   thorpej int	sys_flock(struct lwp *, void *, register_t *);
    460      1.54  jdolecek 
    461  1.70.2.1        ad int	sys_mkfifo(struct lwp *, void *, register_t *);
    462      1.54  jdolecek 
    463      1.51   thorpej int	sys_sendto(struct lwp *, void *, register_t *);
    464      1.54  jdolecek 
    465      1.51   thorpej int	sys_shutdown(struct lwp *, void *, register_t *);
    466      1.54  jdolecek 
    467      1.51   thorpej int	sys_socketpair(struct lwp *, void *, register_t *);
    468      1.54  jdolecek 
    469  1.70.2.1        ad int	sys_mkdir(struct lwp *, void *, register_t *);
    470      1.54  jdolecek 
    471  1.70.2.1        ad int	sys_rmdir(struct lwp *, void *, register_t *);
    472      1.54  jdolecek 
    473      1.51   thorpej int	sys_utimes(struct lwp *, void *, register_t *);
    474      1.54  jdolecek 
    475      1.51   thorpej int	sys_adjtime(struct lwp *, void *, register_t *);
    476      1.54  jdolecek 
    477      1.51   thorpej int	compat_43_sys_getpeername(struct lwp *, void *, register_t *);
    478      1.54  jdolecek 
    479      1.51   thorpej int	compat_43_sys_gethostid(struct lwp *, void *, register_t *);
    480      1.54  jdolecek 
    481      1.51   thorpej int	compat_43_sys_sethostid(struct lwp *, void *, register_t *);
    482      1.54  jdolecek 
    483      1.51   thorpej int	compat_43_sys_getrlimit(struct lwp *, void *, register_t *);
    484      1.54  jdolecek 
    485      1.51   thorpej int	compat_43_sys_setrlimit(struct lwp *, void *, register_t *);
    486      1.54  jdolecek 
    487      1.51   thorpej int	compat_43_sys_killpg(struct lwp *, void *, register_t *);
    488      1.54  jdolecek 
    489      1.51   thorpej int	sys_setsid(struct lwp *, void *, register_t *);
    490      1.54  jdolecek 
    491      1.51   thorpej int	sys_quotactl(struct lwp *, void *, register_t *);
    492      1.54  jdolecek 
    493      1.51   thorpej int	compat_43_sys_quota(struct lwp *, void *, register_t *);
    494      1.54  jdolecek 
    495      1.51   thorpej int	compat_43_sys_getsockname(struct lwp *, void *, register_t *);
    496      1.54  jdolecek 
    497       1.6   thorpej #if defined(NFS) || defined(NFSSERVER)
    498      1.51   thorpej int	sys_nfssvc(struct lwp *, void *, register_t *);
    499      1.54  jdolecek 
    500       1.1   mycroft #else
    501       1.1   mycroft #endif
    502      1.51   thorpej int	compat_43_sys_getdirentries(struct lwp *, void *, register_t *);
    503      1.54  jdolecek 
    504  1.70.2.1        ad int	compat_20_sys_statfs(struct lwp *, void *, register_t *);
    505      1.54  jdolecek 
    506      1.56  christos int	compat_20_sys_fstatfs(struct lwp *, void *, register_t *);
    507      1.54  jdolecek 
    508       1.6   thorpej #ifdef NFS
    509  1.70.2.1        ad int	compat_30_sys_getfh(struct lwp *, void *, register_t *);
    510      1.54  jdolecek 
    511       1.1   mycroft #else
    512       1.1   mycroft #endif
    513      1.51   thorpej int	compat_09_sys_getdomainname(struct lwp *, void *, register_t *);
    514      1.54  jdolecek 
    515      1.51   thorpej int	compat_09_sys_setdomainname(struct lwp *, void *, register_t *);
    516      1.54  jdolecek 
    517      1.51   thorpej int	compat_09_sys_uname(struct lwp *, void *, register_t *);
    518      1.54  jdolecek 
    519      1.51   thorpej int	sys_sysarch(struct lwp *, void *, register_t *);
    520      1.54  jdolecek 
    521      1.51   thorpej int	freebsd_sys_rtprio(struct lwp *, void *, register_t *);
    522      1.54  jdolecek 
    523      1.48       eeh #if defined(SYSVSEM) && !defined(_LP64)
    524      1.51   thorpej int	freebsd_sys_semsys(struct lwp *, void *, register_t *);
    525      1.54  jdolecek 
    526       1.1   mycroft #else
    527       1.1   mycroft #endif
    528      1.48       eeh #if defined(SYSVMSG) && !defined(_LP64)
    529      1.51   thorpej int	freebsd_sys_msgsys(struct lwp *, void *, register_t *);
    530      1.54  jdolecek 
    531       1.1   mycroft #else
    532       1.1   mycroft #endif
    533      1.48       eeh #if defined(SYSVSHM) && !defined(_LP64)
    534      1.51   thorpej int	freebsd_sys_shmsys(struct lwp *, void *, register_t *);
    535      1.54  jdolecek 
    536       1.1   mycroft #else
    537       1.1   mycroft #endif
    538      1.51   thorpej int	sys_pread(struct lwp *, void *, register_t *);
    539      1.54  jdolecek 
    540      1.51   thorpej int	sys_pwrite(struct lwp *, void *, register_t *);
    541      1.54  jdolecek 
    542      1.36    itojun #ifdef NTP
    543      1.51   thorpej int	freebsd_ntp_adjtime(struct lwp *, void *, register_t *);
    544      1.54  jdolecek 
    545      1.35     bjh21 #else
    546      1.35     bjh21 #endif
    547      1.51   thorpej int	sys_setgid(struct lwp *, void *, register_t *);
    548      1.54  jdolecek 
    549      1.51   thorpej int	sys_setegid(struct lwp *, void *, register_t *);
    550      1.54  jdolecek 
    551      1.51   thorpej int	sys_seteuid(struct lwp *, void *, register_t *);
    552      1.54  jdolecek 
    553       1.1   mycroft #ifdef LFS
    554      1.51   thorpej int	sys_lfs_bmapv(struct lwp *, void *, register_t *);
    555      1.54  jdolecek 
    556      1.51   thorpej int	sys_lfs_markv(struct lwp *, void *, register_t *);
    557      1.54  jdolecek 
    558      1.51   thorpej int	sys_lfs_segclean(struct lwp *, void *, register_t *);
    559      1.54  jdolecek 
    560      1.51   thorpej int	sys_lfs_segwait(struct lwp *, void *, register_t *);
    561      1.54  jdolecek 
    562      1.51   thorpej #else
    563      1.51   thorpej #endif
    564  1.70.2.1        ad int	compat_12_sys_stat(struct lwp *, void *, register_t *);
    565      1.54  jdolecek 
    566      1.51   thorpej int	compat_12_sys_fstat(struct lwp *, void *, register_t *);
    567      1.54  jdolecek 
    568  1.70.2.1        ad int	compat_12_sys_lstat(struct lwp *, void *, register_t *);
    569      1.54  jdolecek 
    570  1.70.2.1        ad int	sys_pathconf(struct lwp *, void *, register_t *);
    571      1.54  jdolecek 
    572      1.51   thorpej int	sys_fpathconf(struct lwp *, void *, register_t *);
    573      1.54  jdolecek 
    574      1.51   thorpej int	sys_getrlimit(struct lwp *, void *, register_t *);
    575      1.54  jdolecek 
    576      1.51   thorpej int	sys_setrlimit(struct lwp *, void *, register_t *);
    577      1.54  jdolecek 
    578      1.51   thorpej int	compat_12_sys_getdirentries(struct lwp *, void *, register_t *);
    579      1.54  jdolecek 
    580      1.53     pooka int	freebsd_sys_mmap(struct lwp *, void *, register_t *);
    581      1.54  jdolecek 
    582      1.51   thorpej int	sys_lseek(struct lwp *, void *, register_t *);
    583      1.54  jdolecek 
    584  1.70.2.1        ad int	sys_truncate(struct lwp *, void *, register_t *);
    585      1.54  jdolecek 
    586      1.51   thorpej int	sys_ftruncate(struct lwp *, void *, register_t *);
    587      1.54  jdolecek 
    588      1.59      heas int	freebsd_sys_sysctl(struct lwp *, void *, register_t *);
    589      1.54  jdolecek 
    590      1.51   thorpej int	sys_mlock(struct lwp *, void *, register_t *);
    591      1.54  jdolecek 
    592      1.51   thorpej int	sys_munlock(struct lwp *, void *, register_t *);
    593      1.54  jdolecek 
    594       1.1   mycroft #ifdef FREEBSD_BASED_ON_44LITE_R2
    595      1.51   thorpej int	freebsd_sys_undelete(struct lwp *, void *, register_t *);
    596      1.54  jdolecek 
    597       1.1   mycroft #else
    598       1.1   mycroft #endif
    599      1.51   thorpej int	sys_futimes(struct lwp *, void *, register_t *);
    600      1.54  jdolecek 
    601      1.51   thorpej int	sys_getpgid(struct lwp *, void *, register_t *);
    602      1.54  jdolecek 
    603      1.28  christos #if 0
    604      1.28  christos #else
    605      1.28  christos #endif
    606      1.51   thorpej int	sys_poll(struct lwp *, void *, register_t *);
    607      1.54  jdolecek 
    608      1.28  christos #ifdef SYSVSEM
    609      1.51   thorpej int	compat_14_sys___semctl(struct lwp *, void *, register_t *);
    610      1.54  jdolecek 
    611      1.51   thorpej int	sys_semget(struct lwp *, void *, register_t *);
    612      1.54  jdolecek 
    613      1.51   thorpej int	sys_semop(struct lwp *, void *, register_t *);
    614      1.54  jdolecek 
    615      1.51   thorpej int	sys_semconfig(struct lwp *, void *, register_t *);
    616      1.54  jdolecek 
    617      1.28  christos #else
    618      1.28  christos #endif
    619      1.28  christos #ifdef SYSVMSG
    620      1.51   thorpej int	compat_14_sys_msgctl(struct lwp *, void *, register_t *);
    621      1.54  jdolecek 
    622      1.51   thorpej int	sys_msgget(struct lwp *, void *, register_t *);
    623      1.54  jdolecek 
    624      1.51   thorpej int	sys_msgsnd(struct lwp *, void *, register_t *);
    625      1.54  jdolecek 
    626      1.51   thorpej int	sys_msgrcv(struct lwp *, void *, register_t *);
    627      1.54  jdolecek 
    628      1.28  christos #else
    629      1.28  christos #endif
    630      1.28  christos #ifdef SYSVSHM
    631      1.51   thorpej int	sys_shmat(struct lwp *, void *, register_t *);
    632      1.54  jdolecek 
    633      1.51   thorpej int	compat_14_sys_shmctl(struct lwp *, void *, register_t *);
    634      1.54  jdolecek 
    635      1.51   thorpej int	sys_shmdt(struct lwp *, void *, register_t *);
    636      1.54  jdolecek 
    637      1.51   thorpej int	sys_shmget(struct lwp *, void *, register_t *);
    638      1.54  jdolecek 
    639      1.51   thorpej #else
    640      1.51   thorpej #endif
    641      1.51   thorpej int	sys_clock_gettime(struct lwp *, void *, register_t *);
    642      1.54  jdolecek 
    643      1.51   thorpej int	sys_clock_settime(struct lwp *, void *, register_t *);
    644      1.54  jdolecek 
    645      1.51   thorpej int	sys_clock_getres(struct lwp *, void *, register_t *);
    646      1.54  jdolecek 
    647      1.51   thorpej int	sys_nanosleep(struct lwp *, void *, register_t *);
    648      1.54  jdolecek 
    649      1.51   thorpej int	sys_minherit(struct lwp *, void *, register_t *);
    650      1.54  jdolecek 
    651      1.51   thorpej int	freebsd_sys_rfork(struct lwp *, void *, register_t *);
    652      1.54  jdolecek 
    653      1.51   thorpej int	sys_issetugid(struct lwp *, void *, register_t *);
    654      1.54  jdolecek 
    655  1.70.2.1        ad int	sys_lchown(struct lwp *, void *, register_t *);
    656      1.54  jdolecek 
    657      1.61  christos int	compat_30_sys_getdents(struct lwp *, void *, register_t *);
    658      1.54  jdolecek 
    659      1.51   thorpej int	sys_lchmod(struct lwp *, void *, register_t *);
    660      1.54  jdolecek 
    661      1.51   thorpej int	sys_lutimes(struct lwp *, void *, register_t *);
    662      1.54  jdolecek 
    663      1.51   thorpej int	sys___msync13(struct lwp *, void *, register_t *);
    664      1.54  jdolecek 
    665      1.61  christos int	compat_30_sys___stat13(struct lwp *, void *, register_t *);
    666      1.54  jdolecek 
    667      1.61  christos int	compat_30_sys___fstat13(struct lwp *, void *, register_t *);
    668      1.54  jdolecek 
    669      1.61  christos int	compat_30_sys___lstat13(struct lwp *, void *, register_t *);
    670      1.54  jdolecek 
    671      1.56  christos int	compat_20_sys_fhstatfs(struct lwp *, void *, register_t *);
    672      1.54  jdolecek 
    673      1.67    martin int	compat_30_sys_fhopen(struct lwp *, void *, register_t *);
    674      1.54  jdolecek 
    675      1.64  christos int	compat_30_sys_fhstat(struct lwp *, void *, register_t *);
    676      1.54  jdolecek 
    677      1.51   thorpej int	sys_getsid(struct lwp *, void *, register_t *);
    678      1.54  jdolecek 
    679      1.51   thorpej int	freebsd_sys_yield(struct lwp *, void *, register_t *);
    680      1.54  jdolecek 
    681      1.51   thorpej int	sys_mlockall(struct lwp *, void *, register_t *);
    682      1.54  jdolecek 
    683      1.51   thorpej int	sys_munlockall(struct lwp *, void *, register_t *);
    684      1.54  jdolecek 
    685      1.51   thorpej int	sys___getcwd(struct lwp *, void *, register_t *);
    686      1.54  jdolecek 
    687      1.51   thorpej int	freebsd_sys_sched_setparam(struct lwp *, void *, register_t *);
    688      1.54  jdolecek 
    689      1.51   thorpej int	freebsd_sys_sched_getparam(struct lwp *, void *, register_t *);
    690      1.54  jdolecek 
    691      1.51   thorpej int	freebsd_sys_sched_setscheduler(struct lwp *, void *, register_t *);
    692      1.54  jdolecek 
    693      1.51   thorpej int	freebsd_sys_sched_getscheduler(struct lwp *, void *, register_t *);
    694      1.54  jdolecek 
    695      1.51   thorpej int	freebsd_sys_sched_yield(struct lwp *, void *, register_t *);
    696      1.54  jdolecek 
    697      1.51   thorpej int	freebsd_sys_sched_get_priority_max(struct lwp *, void *, register_t *);
    698      1.54  jdolecek 
    699      1.51   thorpej int	freebsd_sys_sched_get_priority_min(struct lwp *, void *, register_t *);
    700      1.54  jdolecek 
    701      1.51   thorpej int	freebsd_sys_utrace(struct lwp *, void *, register_t *);
    702      1.54  jdolecek 
    703      1.51   thorpej int	sys___sigprocmask14(struct lwp *, void *, register_t *);
    704      1.54  jdolecek 
    705      1.51   thorpej int	sys___sigsuspend14(struct lwp *, void *, register_t *);
    706      1.54  jdolecek 
    707      1.51   thorpej int	freebsd_sys_sigaction4(struct lwp *, void *, register_t *);
    708      1.54  jdolecek 
    709      1.51   thorpej int	sys___sigpending14(struct lwp *, void *, register_t *);
    710      1.54  jdolecek 
    711      1.54  jdolecek int	sys_lchflags(struct lwp *, void *, register_t *);
    712      1.54  jdolecek 
    713      1.55    tsarna int	sys_uuidgen(struct lwp *, void *, register_t *);
    714      1.55    tsarna 
    715      1.54  jdolecek #if defined(P1003_1B_SEMAPHORE) || !defined(_KERNEL)
    716      1.54  jdolecek int	sys__ksem_close(struct lwp *, void *, register_t *);
    717      1.54  jdolecek 
    718      1.54  jdolecek int	sys__ksem_post(struct lwp *, void *, register_t *);
    719      1.54  jdolecek 
    720      1.54  jdolecek int	sys__ksem_wait(struct lwp *, void *, register_t *);
    721      1.54  jdolecek 
    722      1.54  jdolecek int	sys__ksem_trywait(struct lwp *, void *, register_t *);
    723      1.54  jdolecek 
    724      1.54  jdolecek int	sys__ksem_unlink(struct lwp *, void *, register_t *);
    725      1.54  jdolecek 
    726      1.54  jdolecek int	sys__ksem_getvalue(struct lwp *, void *, register_t *);
    727      1.54  jdolecek 
    728      1.54  jdolecek int	sys__ksem_destroy(struct lwp *, void *, register_t *);
    729      1.54  jdolecek 
    730      1.54  jdolecek #else
    731      1.54  jdolecek #endif
    732      1.64  christos #endif /* _FREEBSD_SYS_SYSCALLARGS_H_ */
    733