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