2002-04-10 19:34:51 +00:00
|
|
|
/*
|
|
|
|
* System call prototypes.
|
|
|
|
*
|
|
|
|
* DO NOT EDIT-- this file is automatically generated.
|
|
|
|
* $FreeBSD$
|
2011-11-19 06:36:11 +00:00
|
|
|
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 227691 2011-11-19 06:35:15Z ed
|
2002-04-10 19:34:51 +00:00
|
|
|
*/
|
|
|
|
|
2003-08-22 22:52:04 +00:00
|
|
|
#ifndef _FREEBSD32_SYSPROTO_H_
|
|
|
|
#define _FREEBSD32_SYSPROTO_H_
|
2002-04-10 19:34:51 +00:00
|
|
|
|
|
|
|
#include <sys/signal.h>
|
|
|
|
#include <sys/acl.h>
|
2008-03-25 19:35:34 +00:00
|
|
|
#include <sys/cpuset.h>
|
2011-11-21 01:26:10 +00:00
|
|
|
#include <sys/_ffcounter.h>
|
2006-11-11 21:49:08 +00:00
|
|
|
#include <sys/_semaphore.h>
|
2003-04-24 20:50:57 +00:00
|
|
|
#include <sys/ucontext.h>
|
|
|
|
|
2006-08-15 17:37:01 +00:00
|
|
|
#include <bsm/audit_kevents.h>
|
|
|
|
|
2002-04-10 19:34:51 +00:00
|
|
|
struct proc;
|
|
|
|
|
|
|
|
struct thread;
|
|
|
|
|
|
|
|
#define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
|
|
|
|
0 : sizeof(register_t) - sizeof(t))
|
|
|
|
|
|
|
|
#if BYTE_ORDER == LITTLE_ENDIAN
|
|
|
|
#define PADL_(t) 0
|
|
|
|
#define PADR_(t) PAD_(t)
|
|
|
|
#else
|
|
|
|
#define PADL_(t) PAD_(t)
|
|
|
|
#define PADR_(t) 0
|
|
|
|
#endif
|
|
|
|
|
2010-03-11 14:49:06 +00:00
|
|
|
#if !defined(PAD64_REQUIRED) && defined(__powerpc__)
|
|
|
|
#define PAD64_REQUIRED
|
|
|
|
#endif
|
2003-08-22 22:52:04 +00:00
|
|
|
struct freebsd32_wait4_args {
|
2002-04-10 19:34:51 +00:00
|
|
|
char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)];
|
|
|
|
char status_l_[PADL_(int *)]; int * status; char status_r_[PADR_(int *)];
|
|
|
|
char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)];
|
2002-07-20 02:56:34 +00:00
|
|
|
char rusage_l_[PADL_(struct rusage32 *)]; struct rusage32 * rusage; char rusage_r_[PADR_(struct rusage32 *)];
|
2002-04-10 19:34:51 +00:00
|
|
|
};
|
2005-10-15 05:57:34 +00:00
|
|
|
struct freebsd32_recvmsg_args {
|
|
|
|
char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
|
|
|
|
char msg_l_[PADL_(struct msghdr32 *)]; struct msghdr32 * msg; char msg_r_[PADR_(struct msghdr32 *)];
|
|
|
|
char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
|
|
|
|
};
|
|
|
|
struct freebsd32_sendmsg_args {
|
|
|
|
char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
|
|
|
|
char msg_l_[PADL_(struct msghdr32 *)]; struct msghdr32 * msg; char msg_r_[PADR_(struct msghdr32 *)];
|
|
|
|
char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
|
|
|
|
};
|
|
|
|
struct freebsd32_recvfrom_args {
|
|
|
|
char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
|
|
|
|
char buf_l_[PADL_(u_int32_t)]; u_int32_t buf; char buf_r_[PADR_(u_int32_t)];
|
|
|
|
char len_l_[PADL_(u_int32_t)]; u_int32_t len; char len_r_[PADR_(u_int32_t)];
|
|
|
|
char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
|
|
|
|
char from_l_[PADL_(u_int32_t)]; u_int32_t from; char from_r_[PADR_(u_int32_t)];
|
|
|
|
char fromlenaddr_l_[PADL_(u_int32_t)]; u_int32_t fromlenaddr; char fromlenaddr_r_[PADR_(u_int32_t)];
|
|
|
|
};
|
2005-10-26 22:21:03 +00:00
|
|
|
struct ofreebsd32_sigpending_args {
|
2005-10-23 10:43:39 +00:00
|
|
|
register_t dummy;
|
|
|
|
};
|
2003-08-22 22:52:04 +00:00
|
|
|
struct freebsd32_sigaltstack_args {
|
2002-07-20 02:56:34 +00:00
|
|
|
char ss_l_[PADL_(struct sigaltstack32 *)]; struct sigaltstack32 * ss; char ss_r_[PADR_(struct sigaltstack32 *)];
|
|
|
|
char oss_l_[PADL_(struct sigaltstack32 *)]; struct sigaltstack32 * oss; char oss_r_[PADR_(struct sigaltstack32 *)];
|
2002-04-10 19:34:51 +00:00
|
|
|
};
|
2008-09-22 16:09:43 +00:00
|
|
|
struct freebsd32_ioctl_args {
|
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
|
|
|
char com_l_[PADL_(uint32_t)]; uint32_t com; char com_r_[PADR_(uint32_t)];
|
|
|
|
char data_l_[PADL_(struct md_ioctl32 *)]; struct md_ioctl32 * data; char data_r_[PADR_(struct md_ioctl32 *)];
|
|
|
|
};
|
2003-08-22 22:52:04 +00:00
|
|
|
struct freebsd32_execve_args {
|
2002-04-10 19:34:51 +00:00
|
|
|
char fname_l_[PADL_(char *)]; char * fname; char fname_r_[PADR_(char *)];
|
2002-07-20 02:56:34 +00:00
|
|
|
char argv_l_[PADL_(u_int32_t *)]; u_int32_t * argv; char argv_r_[PADR_(u_int32_t *)];
|
|
|
|
char envv_l_[PADL_(u_int32_t *)]; u_int32_t * envv; char envv_r_[PADR_(u_int32_t *)];
|
2002-04-10 19:34:51 +00:00
|
|
|
};
|
2011-10-13 18:25:10 +00:00
|
|
|
struct freebsd32_mprotect_args {
|
|
|
|
char addr_l_[PADL_(const void *)]; const void * addr; char addr_r_[PADR_(const void *)];
|
|
|
|
char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
|
|
|
|
char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)];
|
|
|
|
};
|
2003-08-22 22:52:04 +00:00
|
|
|
struct freebsd32_setitimer_args {
|
2002-04-10 19:34:51 +00:00
|
|
|
char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)];
|
2002-07-20 02:56:34 +00:00
|
|
|
char itv_l_[PADL_(struct itimerval32 *)]; struct itimerval32 * itv; char itv_r_[PADR_(struct itimerval32 *)];
|
|
|
|
char oitv_l_[PADL_(struct itimerval32 *)]; struct itimerval32 * oitv; char oitv_r_[PADR_(struct itimerval32 *)];
|
2002-04-10 19:34:51 +00:00
|
|
|
};
|
2004-01-28 23:45:48 +00:00
|
|
|
struct freebsd32_getitimer_args {
|
|
|
|
char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)];
|
|
|
|
char itv_l_[PADL_(struct itimerval32 *)]; struct itimerval32 * itv; char itv_r_[PADR_(struct itimerval32 *)];
|
|
|
|
};
|
2003-08-22 22:52:04 +00:00
|
|
|
struct freebsd32_select_args {
|
2002-04-10 19:34:51 +00:00
|
|
|
char nd_l_[PADL_(int)]; int nd; char nd_r_[PADR_(int)];
|
|
|
|
char in_l_[PADL_(fd_set *)]; fd_set * in; char in_r_[PADR_(fd_set *)];
|
|
|
|
char ou_l_[PADL_(fd_set *)]; fd_set * ou; char ou_r_[PADR_(fd_set *)];
|
|
|
|
char ex_l_[PADL_(fd_set *)]; fd_set * ex; char ex_r_[PADR_(fd_set *)];
|
2002-07-20 02:56:34 +00:00
|
|
|
char tv_l_[PADL_(struct timeval32 *)]; struct timeval32 * tv; char tv_r_[PADR_(struct timeval32 *)];
|
2002-04-10 19:34:51 +00:00
|
|
|
};
|
2003-08-22 22:52:04 +00:00
|
|
|
struct freebsd32_gettimeofday_args {
|
2002-07-20 02:56:34 +00:00
|
|
|
char tp_l_[PADL_(struct timeval32 *)]; struct timeval32 * tp; char tp_r_[PADR_(struct timeval32 *)];
|
2002-04-10 19:34:51 +00:00
|
|
|
char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)];
|
|
|
|
};
|
2003-08-22 22:52:04 +00:00
|
|
|
struct freebsd32_getrusage_args {
|
2002-04-10 19:34:51 +00:00
|
|
|
char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)];
|
2002-07-20 02:56:34 +00:00
|
|
|
char rusage_l_[PADL_(struct rusage32 *)]; struct rusage32 * rusage; char rusage_r_[PADR_(struct rusage32 *)];
|
2002-04-10 19:34:51 +00:00
|
|
|
};
|
2003-08-22 22:52:04 +00:00
|
|
|
struct freebsd32_readv_args {
|
2002-04-10 19:34:51 +00:00
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
2002-07-20 02:56:34 +00:00
|
|
|
char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
|
2002-04-10 19:34:51 +00:00
|
|
|
char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
|
|
|
|
};
|
2003-08-22 22:52:04 +00:00
|
|
|
struct freebsd32_writev_args {
|
2002-04-10 19:34:51 +00:00
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
2002-07-20 02:56:34 +00:00
|
|
|
char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
|
2002-04-10 19:34:51 +00:00
|
|
|
char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
|
|
|
|
};
|
2003-08-22 22:52:04 +00:00
|
|
|
struct freebsd32_settimeofday_args {
|
2002-07-20 02:56:34 +00:00
|
|
|
char tv_l_[PADL_(struct timeval32 *)]; struct timeval32 * tv; char tv_r_[PADR_(struct timeval32 *)];
|
2002-04-10 19:34:51 +00:00
|
|
|
char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)];
|
|
|
|
};
|
2003-08-22 22:52:04 +00:00
|
|
|
struct freebsd32_utimes_args {
|
2002-04-10 19:34:51 +00:00
|
|
|
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
2002-07-20 02:56:34 +00:00
|
|
|
char tptr_l_[PADL_(struct timeval32 *)]; struct timeval32 * tptr; char tptr_r_[PADR_(struct timeval32 *)];
|
2002-04-10 19:34:51 +00:00
|
|
|
};
|
2003-08-22 22:52:04 +00:00
|
|
|
struct freebsd32_adjtime_args {
|
2002-07-20 02:56:34 +00:00
|
|
|
char delta_l_[PADL_(struct timeval32 *)]; struct timeval32 * delta; char delta_r_[PADR_(struct timeval32 *)];
|
|
|
|
char olddelta_l_[PADL_(struct timeval32 *)]; struct timeval32 * olddelta; char olddelta_r_[PADR_(struct timeval32 *)];
|
2002-04-10 19:34:51 +00:00
|
|
|
};
|
2009-04-01 13:12:40 +00:00
|
|
|
struct freebsd32_sysarch_args {
|
|
|
|
char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)];
|
|
|
|
char parms_l_[PADL_(char *)]; char * parms; char parms_r_[PADR_(char *)];
|
|
|
|
};
|
2003-08-22 22:52:04 +00:00
|
|
|
struct freebsd32_semsys_args {
|
2002-04-10 19:34:51 +00:00
|
|
|
char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
|
|
|
|
char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)];
|
|
|
|
char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)];
|
|
|
|
char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)];
|
|
|
|
char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)];
|
|
|
|
};
|
2003-08-22 22:52:04 +00:00
|
|
|
struct freebsd32_msgsys_args {
|
2002-04-10 19:34:51 +00:00
|
|
|
char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)];
|
|
|
|
char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)];
|
|
|
|
char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)];
|
|
|
|
char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)];
|
|
|
|
char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)];
|
|
|
|
char a6_l_[PADL_(int)]; int a6; char a6_r_[PADR_(int)];
|
|
|
|
};
|
2003-08-22 22:52:04 +00:00
|
|
|
struct freebsd32_shmsys_args {
|
2006-03-30 07:43:01 +00:00
|
|
|
char which_l_[PADL_(uint32_t)]; uint32_t which; char which_r_[PADR_(uint32_t)];
|
|
|
|
char a2_l_[PADL_(uint32_t)]; uint32_t a2; char a2_r_[PADR_(uint32_t)];
|
|
|
|
char a3_l_[PADL_(uint32_t)]; uint32_t a3; char a3_r_[PADR_(uint32_t)];
|
|
|
|
char a4_l_[PADL_(uint32_t)]; uint32_t a4; char a4_r_[PADR_(uint32_t)];
|
2002-04-10 19:34:51 +00:00
|
|
|
};
|
2003-08-22 22:52:04 +00:00
|
|
|
struct freebsd32_stat_args {
|
2002-04-10 19:34:51 +00:00
|
|
|
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
2002-07-20 02:56:34 +00:00
|
|
|
char ub_l_[PADL_(struct stat32 *)]; struct stat32 * ub; char ub_r_[PADR_(struct stat32 *)];
|
2002-04-10 19:34:51 +00:00
|
|
|
};
|
2003-08-22 22:52:04 +00:00
|
|
|
struct freebsd32_fstat_args {
|
2002-04-10 19:34:51 +00:00
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
2002-07-20 02:56:34 +00:00
|
|
|
char ub_l_[PADL_(struct stat32 *)]; struct stat32 * ub; char ub_r_[PADR_(struct stat32 *)];
|
2002-04-10 19:34:51 +00:00
|
|
|
};
|
2003-08-22 22:52:04 +00:00
|
|
|
struct freebsd32_lstat_args {
|
2002-04-10 19:34:51 +00:00
|
|
|
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
2002-07-20 02:56:34 +00:00
|
|
|
char ub_l_[PADL_(struct stat32 *)]; struct stat32 * ub; char ub_r_[PADR_(struct stat32 *)];
|
2002-04-10 19:34:51 +00:00
|
|
|
};
|
2008-10-22 21:56:44 +00:00
|
|
|
struct freebsd32_getdirentries_args {
|
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
|
|
|
char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
|
|
|
|
char count_l_[PADL_(u_int)]; u_int count; char count_r_[PADR_(u_int)];
|
|
|
|
char basep_l_[PADL_(int32_t *)]; int32_t * basep; char basep_r_[PADR_(int32_t *)];
|
|
|
|
};
|
2003-08-22 22:52:04 +00:00
|
|
|
struct freebsd32_sysctl_args {
|
2002-04-10 19:34:51 +00:00
|
|
|
char name_l_[PADL_(int *)]; int * name; char name_r_[PADR_(int *)];
|
|
|
|
char namelen_l_[PADL_(u_int)]; u_int namelen; char namelen_r_[PADR_(u_int)];
|
|
|
|
char old_l_[PADL_(void *)]; void * old; char old_r_[PADR_(void *)];
|
2002-07-20 02:56:34 +00:00
|
|
|
char oldlenp_l_[PADL_(u_int32_t *)]; u_int32_t * oldlenp; char oldlenp_r_[PADR_(u_int32_t *)];
|
2002-04-10 19:34:51 +00:00
|
|
|
char new_l_[PADL_(void *)]; void * new; char new_r_[PADR_(void *)];
|
2002-07-20 02:56:34 +00:00
|
|
|
char newlen_l_[PADL_(u_int32_t)]; u_int32_t newlen; char newlen_r_[PADR_(u_int32_t)];
|
2002-04-10 19:34:51 +00:00
|
|
|
};
|
2006-01-20 20:51:27 +00:00
|
|
|
struct freebsd32_futimes_args {
|
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
|
|
|
char tptr_l_[PADL_(struct timeval32 *)]; struct timeval32 * tptr; char tptr_r_[PADR_(struct timeval32 *)];
|
|
|
|
};
|
2006-12-20 19:39:10 +00:00
|
|
|
struct freebsd32_msgsnd_args {
|
|
|
|
char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)];
|
|
|
|
char msgp_l_[PADL_(void *)]; void * msgp; char msgp_r_[PADR_(void *)];
|
|
|
|
char msgsz_l_[PADL_(size_t)]; size_t msgsz; char msgsz_r_[PADR_(size_t)];
|
|
|
|
char msgflg_l_[PADL_(int)]; int msgflg; char msgflg_r_[PADR_(int)];
|
|
|
|
};
|
|
|
|
struct freebsd32_msgrcv_args {
|
|
|
|
char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)];
|
|
|
|
char msgp_l_[PADL_(void *)]; void * msgp; char msgp_r_[PADR_(void *)];
|
|
|
|
char msgsz_l_[PADL_(size_t)]; size_t msgsz; char msgsz_r_[PADR_(size_t)];
|
|
|
|
char msgtyp_l_[PADL_(long)]; long msgtyp; char msgtyp_r_[PADR_(long)];
|
|
|
|
char msgflg_l_[PADL_(int)]; int msgflg; char msgflg_r_[PADR_(int)];
|
|
|
|
};
|
2005-10-15 02:54:39 +00:00
|
|
|
struct freebsd32_clock_gettime_args {
|
|
|
|
char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)];
|
|
|
|
char tp_l_[PADL_(struct timespec32 *)]; struct timespec32 * tp; char tp_r_[PADR_(struct timespec32 *)];
|
|
|
|
};
|
|
|
|
struct freebsd32_clock_settime_args {
|
|
|
|
char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)];
|
|
|
|
char tp_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * tp; char tp_r_[PADR_(const struct timespec32 *)];
|
|
|
|
};
|
|
|
|
struct freebsd32_clock_getres_args {
|
|
|
|
char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)];
|
|
|
|
char tp_l_[PADL_(struct timespec32 *)]; struct timespec32 * tp; char tp_r_[PADR_(struct timespec32 *)];
|
|
|
|
};
|
2005-01-19 17:44:59 +00:00
|
|
|
struct freebsd32_nanosleep_args {
|
2005-10-15 02:40:34 +00:00
|
|
|
char rqtp_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * rqtp; char rqtp_r_[PADR_(const struct timespec32 *)];
|
|
|
|
char rmtp_l_[PADL_(struct timespec32 *)]; struct timespec32 * rmtp; char rmtp_r_[PADR_(struct timespec32 *)];
|
2005-01-19 17:44:59 +00:00
|
|
|
};
|
2008-12-10 20:57:16 +00:00
|
|
|
struct freebsd32_aio_read_args {
|
|
|
|
char aiocbp_l_[PADL_(struct aiocb32 *)]; struct aiocb32 * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *)];
|
|
|
|
};
|
|
|
|
struct freebsd32_aio_write_args {
|
|
|
|
char aiocbp_l_[PADL_(struct aiocb32 *)]; struct aiocb32 * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *)];
|
|
|
|
};
|
|
|
|
struct freebsd32_lio_listio_args {
|
|
|
|
char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
|
|
|
|
char acb_list_l_[PADL_(struct aiocb32 *const *)]; struct aiocb32 *const * acb_list; char acb_list_r_[PADR_(struct aiocb32 *const *)];
|
|
|
|
char nent_l_[PADL_(int)]; int nent; char nent_r_[PADR_(int)];
|
|
|
|
char sig_l_[PADL_(struct sigevent *)]; struct sigevent * sig; char sig_r_[PADR_(struct sigevent *)];
|
|
|
|
};
|
2006-01-20 16:22:37 +00:00
|
|
|
struct freebsd32_lutimes_args {
|
|
|
|
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
|
|
|
char tptr_l_[PADL_(struct timeval32 *)]; struct timeval32 * tptr; char tptr_r_[PADR_(struct timeval32 *)];
|
|
|
|
};
|
2005-07-07 18:20:38 +00:00
|
|
|
struct freebsd32_preadv_args {
|
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
|
|
|
char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
|
|
|
|
char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
|
2010-03-11 14:49:06 +00:00
|
|
|
char offset1_l_[PADL_(u_int32_t)]; u_int32_t offset1; char offset1_r_[PADR_(u_int32_t)];
|
|
|
|
char offset2_l_[PADL_(u_int32_t)]; u_int32_t offset2; char offset2_r_[PADR_(u_int32_t)];
|
2005-07-07 18:20:38 +00:00
|
|
|
};
|
|
|
|
struct freebsd32_pwritev_args {
|
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
|
|
|
char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
|
|
|
|
char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)];
|
2010-03-11 14:49:06 +00:00
|
|
|
char offset1_l_[PADL_(u_int32_t)]; u_int32_t offset1; char offset1_r_[PADR_(u_int32_t)];
|
|
|
|
char offset2_l_[PADL_(u_int32_t)]; u_int32_t offset2; char offset2_r_[PADR_(u_int32_t)];
|
2005-07-07 18:20:38 +00:00
|
|
|
};
|
2005-01-19 17:53:06 +00:00
|
|
|
struct freebsd32_modstat_args {
|
|
|
|
char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)];
|
|
|
|
char stat_l_[PADL_(struct module_stat32 *)]; struct module_stat32 * stat; char stat_r_[PADR_(struct module_stat32 *)];
|
|
|
|
};
|
2011-03-30 14:46:55 +00:00
|
|
|
struct freebsd32_kldstat_args {
|
|
|
|
char fileid_l_[PADL_(int)]; int fileid; char fileid_r_[PADR_(int)];
|
|
|
|
char stat_l_[PADL_(struct kld32_file_stat *)]; struct kld32_file_stat * stat; char stat_r_[PADR_(struct kld32_file_stat *)];
|
|
|
|
};
|
2008-12-10 20:57:16 +00:00
|
|
|
struct freebsd32_aio_return_args {
|
|
|
|
char aiocbp_l_[PADL_(struct aiocb32 *)]; struct aiocb32 * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *)];
|
|
|
|
};
|
|
|
|
struct freebsd32_aio_suspend_args {
|
|
|
|
char aiocbp_l_[PADL_(struct aiocb32 *const *)]; struct aiocb32 *const * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *const *)];
|
|
|
|
char nent_l_[PADL_(int)]; int nent; char nent_r_[PADR_(int)];
|
|
|
|
char timeout_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * timeout; char timeout_r_[PADR_(const struct timespec32 *)];
|
|
|
|
};
|
|
|
|
struct freebsd32_aio_cancel_args {
|
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
|
|
|
char aiocbp_l_[PADL_(struct aiocb32 *)]; struct aiocb32 * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *)];
|
|
|
|
};
|
|
|
|
struct freebsd32_aio_error_args {
|
|
|
|
char aiocbp_l_[PADL_(struct aiocb32 *)]; struct aiocb32 * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *)];
|
|
|
|
};
|
|
|
|
struct freebsd32_oaio_read_args {
|
|
|
|
char aiocbp_l_[PADL_(struct oaiocb32 *)]; struct oaiocb32 * aiocbp; char aiocbp_r_[PADR_(struct oaiocb32 *)];
|
|
|
|
};
|
|
|
|
struct freebsd32_oaio_write_args {
|
|
|
|
char aiocbp_l_[PADL_(struct oaiocb32 *)]; struct oaiocb32 * aiocbp; char aiocbp_r_[PADR_(struct oaiocb32 *)];
|
|
|
|
};
|
|
|
|
struct freebsd32_olio_listio_args {
|
|
|
|
char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
|
|
|
|
char acb_list_l_[PADL_(struct oaiocb32 *const *)]; struct oaiocb32 *const * acb_list; char acb_list_r_[PADR_(struct oaiocb32 *const *)];
|
|
|
|
char nent_l_[PADL_(int)]; int nent; char nent_r_[PADR_(int)];
|
|
|
|
char sig_l_[PADL_(struct osigevent32 *)]; struct osigevent32 * sig; char sig_r_[PADR_(struct osigevent32 *)];
|
|
|
|
};
|
2008-11-29 14:34:30 +00:00
|
|
|
struct freebsd32_jail_args {
|
|
|
|
char jail_l_[PADL_(struct jail32 *)]; struct jail32 * jail; char jail_r_[PADR_(struct jail32 *)];
|
|
|
|
};
|
2006-10-05 01:58:57 +00:00
|
|
|
struct freebsd32_sigtimedwait_args {
|
|
|
|
char set_l_[PADL_(const sigset_t *)]; const sigset_t * set; char set_r_[PADR_(const sigset_t *)];
|
|
|
|
char info_l_[PADL_(siginfo_t *)]; siginfo_t * info; char info_r_[PADR_(siginfo_t *)];
|
|
|
|
char timeout_l_[PADL_(const struct timespec *)]; const struct timespec * timeout; char timeout_r_[PADR_(const struct timespec *)];
|
|
|
|
};
|
|
|
|
struct freebsd32_sigwaitinfo_args {
|
|
|
|
char set_l_[PADL_(const sigset_t *)]; const sigset_t * set; char set_r_[PADR_(const sigset_t *)];
|
|
|
|
char info_l_[PADL_(siginfo_t *)]; siginfo_t * info; char info_r_[PADR_(siginfo_t *)];
|
|
|
|
};
|
2008-12-10 20:57:16 +00:00
|
|
|
struct freebsd32_aio_waitcomplete_args {
|
|
|
|
char aiocbp_l_[PADL_(struct aiocb32 **)]; struct aiocb32 ** aiocbp; char aiocbp_r_[PADR_(struct aiocb32 **)];
|
|
|
|
char timeout_l_[PADL_(struct timespec32 *)]; struct timespec32 * timeout; char timeout_r_[PADR_(struct timespec32 *)];
|
|
|
|
};
|
2003-08-22 22:52:04 +00:00
|
|
|
struct freebsd32_kevent_args {
|
2003-05-14 04:11:25 +00:00
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
2005-03-01 06:32:53 +00:00
|
|
|
char changelist_l_[PADL_(const struct kevent32 *)]; const struct kevent32 * changelist; char changelist_r_[PADR_(const struct kevent32 *)];
|
2003-05-14 04:11:25 +00:00
|
|
|
char nchanges_l_[PADL_(int)]; int nchanges; char nchanges_r_[PADR_(int)];
|
2005-03-01 06:32:53 +00:00
|
|
|
char eventlist_l_[PADL_(struct kevent32 *)]; struct kevent32 * eventlist; char eventlist_r_[PADR_(struct kevent32 *)];
|
2003-05-14 04:11:25 +00:00
|
|
|
char nevents_l_[PADL_(int)]; int nevents; char nevents_r_[PADR_(int)];
|
2005-03-01 06:32:53 +00:00
|
|
|
char timeout_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * timeout; char timeout_r_[PADR_(const struct timespec32 *)];
|
2002-10-09 22:28:48 +00:00
|
|
|
};
|
2008-09-19 15:21:40 +00:00
|
|
|
struct freebsd32_nmount_args {
|
|
|
|
char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
|
|
|
|
char iovcnt_l_[PADL_(unsigned int)]; unsigned int iovcnt; char iovcnt_r_[PADR_(unsigned int)];
|
|
|
|
char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
|
|
|
|
};
|
2003-08-22 22:52:04 +00:00
|
|
|
struct freebsd32_sendfile_args {
|
2002-04-10 19:34:51 +00:00
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
|
|
|
char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
|
2010-03-11 14:49:06 +00:00
|
|
|
char offset1_l_[PADL_(u_int32_t)]; u_int32_t offset1; char offset1_r_[PADR_(u_int32_t)];
|
|
|
|
char offset2_l_[PADL_(u_int32_t)]; u_int32_t offset2; char offset2_r_[PADR_(u_int32_t)];
|
2002-04-10 19:34:51 +00:00
|
|
|
char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
|
2006-02-28 19:39:52 +00:00
|
|
|
char hdtr_l_[PADL_(struct sf_hdtr32 *)]; struct sf_hdtr32 * hdtr; char hdtr_r_[PADR_(struct sf_hdtr32 *)];
|
2002-04-10 19:34:51 +00:00
|
|
|
char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)];
|
|
|
|
char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
|
|
|
|
};
|
2010-03-19 11:14:37 +00:00
|
|
|
struct freebsd32_ksem_init_args {
|
|
|
|
char idp_l_[PADL_(semid_t *)]; semid_t * idp; char idp_r_[PADR_(semid_t *)];
|
|
|
|
char value_l_[PADL_(unsigned int)]; unsigned int value; char value_r_[PADR_(unsigned int)];
|
|
|
|
};
|
|
|
|
struct freebsd32_ksem_open_args {
|
|
|
|
char idp_l_[PADL_(semid_t *)]; semid_t * idp; char idp_r_[PADR_(semid_t *)];
|
|
|
|
char name_l_[PADL_(const char *)]; const char * name; char name_r_[PADR_(const char *)];
|
|
|
|
char oflag_l_[PADL_(int)]; int oflag; char oflag_r_[PADR_(int)];
|
|
|
|
char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)];
|
|
|
|
char value_l_[PADL_(unsigned int)]; unsigned int value; char value_r_[PADR_(unsigned int)];
|
|
|
|
};
|
2003-08-22 22:52:04 +00:00
|
|
|
struct freebsd32_sigaction_args {
|
2003-05-14 04:11:25 +00:00
|
|
|
char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)];
|
|
|
|
char act_l_[PADL_(struct sigaction32 *)]; struct sigaction32 * act; char act_r_[PADR_(struct sigaction32 *)];
|
|
|
|
char oact_l_[PADL_(struct sigaction32 *)]; struct sigaction32 * oact; char oact_r_[PADR_(struct sigaction32 *)];
|
|
|
|
};
|
2003-08-22 22:52:04 +00:00
|
|
|
struct freebsd32_sigreturn_args {
|
|
|
|
char sigcntxp_l_[PADL_(const struct freebsd32_ucontext *)]; const struct freebsd32_ucontext * sigcntxp; char sigcntxp_r_[PADR_(const struct freebsd32_ucontext *)];
|
|
|
|
};
|
2005-09-27 18:04:52 +00:00
|
|
|
struct freebsd32_getcontext_args {
|
|
|
|
char ucp_l_[PADL_(struct freebsd32_ucontext *)]; struct freebsd32_ucontext * ucp; char ucp_r_[PADR_(struct freebsd32_ucontext *)];
|
|
|
|
};
|
|
|
|
struct freebsd32_setcontext_args {
|
|
|
|
char ucp_l_[PADL_(const struct freebsd32_ucontext *)]; const struct freebsd32_ucontext * ucp; char ucp_r_[PADR_(const struct freebsd32_ucontext *)];
|
|
|
|
};
|
|
|
|
struct freebsd32_swapcontext_args {
|
|
|
|
char oucp_l_[PADL_(struct freebsd32_ucontext *)]; struct freebsd32_ucontext * oucp; char oucp_r_[PADR_(struct freebsd32_ucontext *)];
|
|
|
|
char ucp_l_[PADL_(const struct freebsd32_ucontext *)]; const struct freebsd32_ucontext * ucp; char ucp_r_[PADR_(const struct freebsd32_ucontext *)];
|
|
|
|
};
|
2006-10-06 08:24:37 +00:00
|
|
|
struct freebsd32_umtx_lock_args {
|
|
|
|
char umtx_l_[PADL_(struct umtx *)]; struct umtx * umtx; char umtx_r_[PADR_(struct umtx *)];
|
|
|
|
};
|
|
|
|
struct freebsd32_umtx_unlock_args {
|
|
|
|
char umtx_l_[PADL_(struct umtx *)]; struct umtx * umtx; char umtx_r_[PADR_(struct umtx *)];
|
|
|
|
};
|
2010-03-19 11:14:37 +00:00
|
|
|
struct freebsd32_ksem_timedwait_args {
|
|
|
|
char id_l_[PADL_(semid_t)]; semid_t id; char id_r_[PADR_(semid_t)];
|
|
|
|
char abstime_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * abstime; char abstime_r_[PADR_(const struct timespec32 *)];
|
|
|
|
};
|
2006-09-22 15:05:34 +00:00
|
|
|
struct freebsd32_thr_suspend_args {
|
|
|
|
char timeout_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * timeout; char timeout_r_[PADR_(const struct timespec32 *)];
|
|
|
|
};
|
2006-09-22 00:53:43 +00:00
|
|
|
struct freebsd32_umtx_op_args {
|
|
|
|
char obj_l_[PADL_(void *)]; void * obj; char obj_r_[PADR_(void *)];
|
|
|
|
char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)];
|
2006-10-17 02:28:58 +00:00
|
|
|
char val_l_[PADL_(u_long)]; u_long val; char val_r_[PADR_(u_long)];
|
2006-09-22 00:53:43 +00:00
|
|
|
char uaddr_l_[PADL_(void *)]; void * uaddr; char uaddr_r_[PADR_(void *)];
|
|
|
|
char uaddr2_l_[PADL_(void *)]; void * uaddr2; char uaddr2_r_[PADR_(void *)];
|
|
|
|
};
|
2006-09-22 15:05:34 +00:00
|
|
|
struct freebsd32_thr_new_args {
|
|
|
|
char param_l_[PADL_(struct thr_param32 *)]; struct thr_param32 * param; char param_r_[PADR_(struct thr_param32 *)];
|
|
|
|
char param_size_l_[PADL_(int)]; int param_size; char param_size_r_[PADR_(int)];
|
|
|
|
};
|
2010-03-19 11:14:37 +00:00
|
|
|
struct freebsd32_kmq_open_args {
|
|
|
|
char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
|
|
|
|
char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
|
|
|
|
char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)];
|
|
|
|
char attr_l_[PADL_(const struct mq_attr32 *)]; const struct mq_attr32 * attr; char attr_r_[PADR_(const struct mq_attr32 *)];
|
|
|
|
};
|
|
|
|
struct freebsd32_kmq_setattr_args {
|
|
|
|
char mqd_l_[PADL_(int)]; int mqd; char mqd_r_[PADR_(int)];
|
|
|
|
char attr_l_[PADL_(const struct mq_attr32 *)]; const struct mq_attr32 * attr; char attr_r_[PADR_(const struct mq_attr32 *)];
|
|
|
|
char oattr_l_[PADL_(struct mq_attr32 *)]; struct mq_attr32 * oattr; char oattr_r_[PADR_(struct mq_attr32 *)];
|
|
|
|
};
|
|
|
|
struct freebsd32_kmq_timedreceive_args {
|
|
|
|
char mqd_l_[PADL_(int)]; int mqd; char mqd_r_[PADR_(int)];
|
|
|
|
char msg_ptr_l_[PADL_(char *)]; char * msg_ptr; char msg_ptr_r_[PADR_(char *)];
|
|
|
|
char msg_len_l_[PADL_(size_t)]; size_t msg_len; char msg_len_r_[PADR_(size_t)];
|
|
|
|
char msg_prio_l_[PADL_(unsigned *)]; unsigned * msg_prio; char msg_prio_r_[PADR_(unsigned *)];
|
|
|
|
char abs_timeout_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * abs_timeout; char abs_timeout_r_[PADR_(const struct timespec32 *)];
|
|
|
|
};
|
|
|
|
struct freebsd32_kmq_timedsend_args {
|
|
|
|
char mqd_l_[PADL_(int)]; int mqd; char mqd_r_[PADR_(int)];
|
|
|
|
char msg_ptr_l_[PADL_(const char *)]; const char * msg_ptr; char msg_ptr_r_[PADR_(const char *)];
|
|
|
|
char msg_len_l_[PADL_(size_t)]; size_t msg_len; char msg_len_r_[PADR_(size_t)];
|
|
|
|
char msg_prio_l_[PADL_(unsigned)]; unsigned msg_prio; char msg_prio_r_[PADR_(unsigned)];
|
|
|
|
char abs_timeout_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * abs_timeout; char abs_timeout_r_[PADR_(const struct timespec32 *)];
|
|
|
|
};
|
2008-12-10 20:57:16 +00:00
|
|
|
struct freebsd32_aio_fsync_args {
|
|
|
|
char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)];
|
|
|
|
char aiocbp_l_[PADL_(struct aiocb32 *)]; struct aiocb32 * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *)];
|
|
|
|
};
|
2010-03-11 14:49:06 +00:00
|
|
|
#ifdef PAD64_REQUIRED
|
2007-07-04 23:03:50 +00:00
|
|
|
struct freebsd32_pread_args {
|
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
|
|
|
char buf_l_[PADL_(void *)]; void * buf; char buf_r_[PADR_(void *)];
|
|
|
|
char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
|
2010-03-11 14:49:06 +00:00
|
|
|
char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
|
|
|
|
char offset1_l_[PADL_(u_int32_t)]; u_int32_t offset1; char offset1_r_[PADR_(u_int32_t)];
|
|
|
|
char offset2_l_[PADL_(u_int32_t)]; u_int32_t offset2; char offset2_r_[PADR_(u_int32_t)];
|
2007-07-04 23:03:50 +00:00
|
|
|
};
|
|
|
|
struct freebsd32_pwrite_args {
|
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
|
|
|
char buf_l_[PADL_(const void *)]; const void * buf; char buf_r_[PADR_(const void *)];
|
|
|
|
char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
|
2010-03-11 14:49:06 +00:00
|
|
|
char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
|
|
|
|
char offset1_l_[PADL_(u_int32_t)]; u_int32_t offset1; char offset1_r_[PADR_(u_int32_t)];
|
|
|
|
char offset2_l_[PADL_(u_int32_t)]; u_int32_t offset2; char offset2_r_[PADR_(u_int32_t)];
|
2007-07-04 23:03:50 +00:00
|
|
|
};
|
|
|
|
struct freebsd32_mmap_args {
|
|
|
|
char addr_l_[PADL_(caddr_t)]; caddr_t addr; char addr_r_[PADR_(caddr_t)];
|
|
|
|
char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
|
|
|
|
char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)];
|
|
|
|
char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
|
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
2010-03-11 14:49:06 +00:00
|
|
|
char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
|
|
|
|
char pos1_l_[PADL_(u_int32_t)]; u_int32_t pos1; char pos1_r_[PADR_(u_int32_t)];
|
|
|
|
char pos2_l_[PADL_(u_int32_t)]; u_int32_t pos2; char pos2_r_[PADR_(u_int32_t)];
|
2007-07-04 23:03:50 +00:00
|
|
|
};
|
|
|
|
struct freebsd32_lseek_args {
|
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
2010-03-11 14:49:06 +00:00
|
|
|
char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
|
|
|
|
char offset1_l_[PADL_(u_int32_t)]; u_int32_t offset1; char offset1_r_[PADR_(u_int32_t)];
|
|
|
|
char offset2_l_[PADL_(u_int32_t)]; u_int32_t offset2; char offset2_r_[PADR_(u_int32_t)];
|
2007-07-04 23:03:50 +00:00
|
|
|
char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)];
|
|
|
|
};
|
|
|
|
struct freebsd32_truncate_args {
|
|
|
|
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
2010-03-11 14:49:06 +00:00
|
|
|
char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
|
|
|
|
char length1_l_[PADL_(u_int32_t)]; u_int32_t length1; char length1_r_[PADR_(u_int32_t)];
|
|
|
|
char length2_l_[PADL_(u_int32_t)]; u_int32_t length2; char length2_r_[PADR_(u_int32_t)];
|
2007-07-04 23:03:50 +00:00
|
|
|
};
|
|
|
|
struct freebsd32_ftruncate_args {
|
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
2010-03-11 14:49:06 +00:00
|
|
|
char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
|
|
|
|
char length1_l_[PADL_(u_int32_t)]; u_int32_t length1; char length1_r_[PADR_(u_int32_t)];
|
|
|
|
char length2_l_[PADL_(u_int32_t)]; u_int32_t length2; char length2_r_[PADR_(u_int32_t)];
|
|
|
|
};
|
|
|
|
#else
|
|
|
|
struct freebsd32_pread_args {
|
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
|
|
|
char buf_l_[PADL_(void *)]; void * buf; char buf_r_[PADR_(void *)];
|
|
|
|
char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
|
|
|
|
char offset1_l_[PADL_(u_int32_t)]; u_int32_t offset1; char offset1_r_[PADR_(u_int32_t)];
|
|
|
|
char offset2_l_[PADL_(u_int32_t)]; u_int32_t offset2; char offset2_r_[PADR_(u_int32_t)];
|
|
|
|
};
|
|
|
|
struct freebsd32_pwrite_args {
|
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
|
|
|
char buf_l_[PADL_(const void *)]; const void * buf; char buf_r_[PADR_(const void *)];
|
|
|
|
char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
|
|
|
|
char offset1_l_[PADL_(u_int32_t)]; u_int32_t offset1; char offset1_r_[PADR_(u_int32_t)];
|
|
|
|
char offset2_l_[PADL_(u_int32_t)]; u_int32_t offset2; char offset2_r_[PADR_(u_int32_t)];
|
|
|
|
};
|
|
|
|
struct freebsd32_mmap_args {
|
|
|
|
char addr_l_[PADL_(caddr_t)]; caddr_t addr; char addr_r_[PADR_(caddr_t)];
|
|
|
|
char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
|
|
|
|
char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)];
|
|
|
|
char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
|
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
|
|
|
char pos1_l_[PADL_(u_int32_t)]; u_int32_t pos1; char pos1_r_[PADR_(u_int32_t)];
|
|
|
|
char pos2_l_[PADL_(u_int32_t)]; u_int32_t pos2; char pos2_r_[PADR_(u_int32_t)];
|
|
|
|
};
|
|
|
|
struct freebsd32_lseek_args {
|
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
|
|
|
char offset1_l_[PADL_(u_int32_t)]; u_int32_t offset1; char offset1_r_[PADR_(u_int32_t)];
|
|
|
|
char offset2_l_[PADL_(u_int32_t)]; u_int32_t offset2; char offset2_r_[PADR_(u_int32_t)];
|
|
|
|
char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)];
|
|
|
|
};
|
|
|
|
struct freebsd32_truncate_args {
|
|
|
|
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
|
|
|
char length1_l_[PADL_(u_int32_t)]; u_int32_t length1; char length1_r_[PADR_(u_int32_t)];
|
|
|
|
char length2_l_[PADL_(u_int32_t)]; u_int32_t length2; char length2_r_[PADR_(u_int32_t)];
|
|
|
|
};
|
|
|
|
struct freebsd32_ftruncate_args {
|
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
|
|
|
char length1_l_[PADL_(u_int32_t)]; u_int32_t length1; char length1_r_[PADR_(u_int32_t)];
|
|
|
|
char length2_l_[PADL_(u_int32_t)]; u_int32_t length2; char length2_r_[PADR_(u_int32_t)];
|
|
|
|
};
|
|
|
|
#endif
|
|
|
|
#ifdef PAD64_REQUIRED
|
|
|
|
struct freebsd32_cpuset_setid_args {
|
|
|
|
char which_l_[PADL_(cpuwhich_t)]; cpuwhich_t which; char which_r_[PADR_(cpuwhich_t)];
|
|
|
|
char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
|
|
|
|
char id1_l_[PADL_(u_int32_t)]; u_int32_t id1; char id1_r_[PADR_(u_int32_t)];
|
|
|
|
char id2_l_[PADL_(u_int32_t)]; u_int32_t id2; char id2_r_[PADR_(u_int32_t)];
|
|
|
|
char setid_l_[PADL_(cpusetid_t)]; cpusetid_t setid; char setid_r_[PADR_(cpusetid_t)];
|
2007-07-04 23:03:50 +00:00
|
|
|
};
|
2010-03-11 14:49:06 +00:00
|
|
|
#else
|
2008-07-10 17:46:58 +00:00
|
|
|
struct freebsd32_cpuset_setid_args {
|
|
|
|
char which_l_[PADL_(cpuwhich_t)]; cpuwhich_t which; char which_r_[PADR_(cpuwhich_t)];
|
2010-03-11 14:49:06 +00:00
|
|
|
char id1_l_[PADL_(u_int32_t)]; u_int32_t id1; char id1_r_[PADR_(u_int32_t)];
|
|
|
|
char id2_l_[PADL_(u_int32_t)]; u_int32_t id2; char id2_r_[PADR_(u_int32_t)];
|
2008-07-10 17:46:58 +00:00
|
|
|
char setid_l_[PADL_(cpusetid_t)]; cpusetid_t setid; char setid_r_[PADR_(cpusetid_t)];
|
|
|
|
};
|
2010-03-11 14:49:06 +00:00
|
|
|
#endif
|
2008-07-10 17:46:58 +00:00
|
|
|
struct freebsd32_cpuset_getid_args {
|
|
|
|
char level_l_[PADL_(cpulevel_t)]; cpulevel_t level; char level_r_[PADR_(cpulevel_t)];
|
|
|
|
char which_l_[PADL_(cpuwhich_t)]; cpuwhich_t which; char which_r_[PADR_(cpuwhich_t)];
|
2010-03-11 14:49:06 +00:00
|
|
|
char id1_l_[PADL_(u_int32_t)]; u_int32_t id1; char id1_r_[PADR_(u_int32_t)];
|
|
|
|
char id2_l_[PADL_(u_int32_t)]; u_int32_t id2; char id2_r_[PADR_(u_int32_t)];
|
2008-07-10 17:46:58 +00:00
|
|
|
char setid_l_[PADL_(cpusetid_t *)]; cpusetid_t * setid; char setid_r_[PADR_(cpusetid_t *)];
|
|
|
|
};
|
|
|
|
struct freebsd32_cpuset_getaffinity_args {
|
|
|
|
char level_l_[PADL_(cpulevel_t)]; cpulevel_t level; char level_r_[PADR_(cpulevel_t)];
|
|
|
|
char which_l_[PADL_(cpuwhich_t)]; cpuwhich_t which; char which_r_[PADR_(cpuwhich_t)];
|
2010-03-11 14:49:06 +00:00
|
|
|
char id1_l_[PADL_(u_int32_t)]; u_int32_t id1; char id1_r_[PADR_(u_int32_t)];
|
|
|
|
char id2_l_[PADL_(u_int32_t)]; u_int32_t id2; char id2_r_[PADR_(u_int32_t)];
|
2008-07-10 17:46:58 +00:00
|
|
|
char cpusetsize_l_[PADL_(size_t)]; size_t cpusetsize; char cpusetsize_r_[PADR_(size_t)];
|
|
|
|
char mask_l_[PADL_(cpuset_t *)]; cpuset_t * mask; char mask_r_[PADR_(cpuset_t *)];
|
|
|
|
};
|
|
|
|
struct freebsd32_cpuset_setaffinity_args {
|
|
|
|
char level_l_[PADL_(cpulevel_t)]; cpulevel_t level; char level_r_[PADR_(cpulevel_t)];
|
|
|
|
char which_l_[PADL_(cpuwhich_t)]; cpuwhich_t which; char which_r_[PADR_(cpuwhich_t)];
|
2010-03-11 14:49:06 +00:00
|
|
|
char id1_l_[PADL_(u_int32_t)]; u_int32_t id1; char id1_r_[PADR_(u_int32_t)];
|
|
|
|
char id2_l_[PADL_(u_int32_t)]; u_int32_t id2; char id2_r_[PADR_(u_int32_t)];
|
2008-07-10 17:46:58 +00:00
|
|
|
char cpusetsize_l_[PADL_(size_t)]; size_t cpusetsize; char cpusetsize_r_[PADR_(size_t)];
|
|
|
|
char mask_l_[PADL_(const cpuset_t *)]; const cpuset_t * mask; char mask_r_[PADR_(const cpuset_t *)];
|
|
|
|
};
|
2008-03-31 12:12:27 +00:00
|
|
|
struct freebsd32_fexecve_args {
|
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
|
|
|
char argv_l_[PADL_(u_int32_t *)]; u_int32_t * argv; char argv_r_[PADR_(u_int32_t *)];
|
|
|
|
char envv_l_[PADL_(u_int32_t *)]; u_int32_t * envv; char envv_r_[PADR_(u_int32_t *)];
|
|
|
|
};
|
|
|
|
struct freebsd32_fstatat_args {
|
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
|
|
|
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
|
|
|
char buf_l_[PADL_(struct stat *)]; struct stat * buf; char buf_r_[PADR_(struct stat *)];
|
|
|
|
char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)];
|
|
|
|
};
|
|
|
|
struct freebsd32_futimesat_args {
|
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
|
|
|
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
|
|
|
char times_l_[PADL_(struct timeval *)]; struct timeval * times; char times_r_[PADR_(struct timeval *)];
|
|
|
|
};
|
2009-04-29 21:50:13 +00:00
|
|
|
struct freebsd32_jail_get_args {
|
|
|
|
char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
|
|
|
|
char iovcnt_l_[PADL_(unsigned int)]; unsigned int iovcnt; char iovcnt_r_[PADR_(unsigned int)];
|
|
|
|
char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
|
|
|
|
};
|
|
|
|
struct freebsd32_jail_set_args {
|
|
|
|
char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)];
|
|
|
|
char iovcnt_l_[PADL_(unsigned int)]; unsigned int iovcnt; char iovcnt_r_[PADR_(unsigned int)];
|
|
|
|
char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
|
|
|
|
};
|
2009-06-24 21:54:08 +00:00
|
|
|
struct freebsd32_semctl_args {
|
|
|
|
char semid_l_[PADL_(int)]; int semid; char semid_r_[PADR_(int)];
|
|
|
|
char semnum_l_[PADL_(int)]; int semnum; char semnum_r_[PADR_(int)];
|
|
|
|
char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
|
|
|
|
char arg_l_[PADL_(union semun32 *)]; union semun32 * arg; char arg_r_[PADR_(union semun32 *)];
|
|
|
|
};
|
|
|
|
struct freebsd32_msgctl_args {
|
|
|
|
char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)];
|
|
|
|
char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
|
|
|
|
char buf_l_[PADL_(struct msqid_ds32 *)]; struct msqid_ds32 * buf; char buf_r_[PADR_(struct msqid_ds32 *)];
|
|
|
|
};
|
|
|
|
struct freebsd32_shmctl_args {
|
|
|
|
char shmid_l_[PADL_(int)]; int shmid; char shmid_r_[PADR_(int)];
|
|
|
|
char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
|
|
|
|
char buf_l_[PADL_(struct shmid_ds32 *)]; struct shmid_ds32 * buf; char buf_r_[PADR_(struct shmid_ds32 *)];
|
|
|
|
};
|
2009-10-27 11:02:04 +00:00
|
|
|
struct freebsd32_pselect_args {
|
|
|
|
char nd_l_[PADL_(int)]; int nd; char nd_r_[PADR_(int)];
|
|
|
|
char in_l_[PADL_(fd_set *)]; fd_set * in; char in_r_[PADR_(fd_set *)];
|
|
|
|
char ou_l_[PADL_(fd_set *)]; fd_set * ou; char ou_r_[PADR_(fd_set *)];
|
|
|
|
char ex_l_[PADL_(fd_set *)]; fd_set * ex; char ex_r_[PADR_(fd_set *)];
|
|
|
|
char ts_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * ts; char ts_r_[PADR_(const struct timespec32 *)];
|
|
|
|
char sm_l_[PADL_(const sigset_t *)]; const sigset_t * sm; char sm_r_[PADR_(const sigset_t *)];
|
|
|
|
};
|
2011-04-18 16:32:47 +00:00
|
|
|
struct freebsd32_posix_fallocate_args {
|
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
2011-10-14 11:47:14 +00:00
|
|
|
char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
|
|
|
|
char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
|
|
|
|
char len1_l_[PADL_(uint32_t)]; uint32_t len1; char len1_r_[PADR_(uint32_t)];
|
|
|
|
char len2_l_[PADL_(uint32_t)]; uint32_t len2; char len2_r_[PADR_(uint32_t)];
|
2011-04-18 16:32:47 +00:00
|
|
|
};
|
2011-11-04 04:06:31 +00:00
|
|
|
struct freebsd32_posix_fadvise_args {
|
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
|
|
|
char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)];
|
|
|
|
char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)];
|
|
|
|
char len1_l_[PADL_(uint32_t)]; uint32_t len1; char len1_r_[PADR_(uint32_t)];
|
|
|
|
char len2_l_[PADL_(uint32_t)]; uint32_t len2; char len2_r_[PADR_(uint32_t)];
|
|
|
|
char advice_l_[PADL_(int)]; int advice; char advice_r_[PADR_(int)];
|
|
|
|
};
|
2010-03-11 14:49:06 +00:00
|
|
|
#if !defined(PAD64_REQUIRED) && defined(__powerpc__)
|
|
|
|
#define PAD64_REQUIRED
|
|
|
|
#endif
|
2003-08-22 22:52:04 +00:00
|
|
|
int freebsd32_wait4(struct thread *, struct freebsd32_wait4_args *);
|
2005-10-15 05:57:34 +00:00
|
|
|
int freebsd32_recvmsg(struct thread *, struct freebsd32_recvmsg_args *);
|
|
|
|
int freebsd32_sendmsg(struct thread *, struct freebsd32_sendmsg_args *);
|
|
|
|
int freebsd32_recvfrom(struct thread *, struct freebsd32_recvfrom_args *);
|
2003-08-22 22:52:04 +00:00
|
|
|
int freebsd32_sigaltstack(struct thread *, struct freebsd32_sigaltstack_args *);
|
2008-09-22 16:09:43 +00:00
|
|
|
int freebsd32_ioctl(struct thread *, struct freebsd32_ioctl_args *);
|
2003-08-22 22:52:04 +00:00
|
|
|
int freebsd32_execve(struct thread *, struct freebsd32_execve_args *);
|
2011-10-13 18:25:10 +00:00
|
|
|
int freebsd32_mprotect(struct thread *, struct freebsd32_mprotect_args *);
|
2003-08-22 22:52:04 +00:00
|
|
|
int freebsd32_setitimer(struct thread *, struct freebsd32_setitimer_args *);
|
2004-01-28 23:45:48 +00:00
|
|
|
int freebsd32_getitimer(struct thread *, struct freebsd32_getitimer_args *);
|
2003-08-22 22:52:04 +00:00
|
|
|
int freebsd32_select(struct thread *, struct freebsd32_select_args *);
|
|
|
|
int freebsd32_gettimeofday(struct thread *, struct freebsd32_gettimeofday_args *);
|
|
|
|
int freebsd32_getrusage(struct thread *, struct freebsd32_getrusage_args *);
|
|
|
|
int freebsd32_readv(struct thread *, struct freebsd32_readv_args *);
|
|
|
|
int freebsd32_writev(struct thread *, struct freebsd32_writev_args *);
|
|
|
|
int freebsd32_settimeofday(struct thread *, struct freebsd32_settimeofday_args *);
|
|
|
|
int freebsd32_utimes(struct thread *, struct freebsd32_utimes_args *);
|
|
|
|
int freebsd32_adjtime(struct thread *, struct freebsd32_adjtime_args *);
|
2009-04-01 13:12:40 +00:00
|
|
|
int freebsd32_sysarch(struct thread *, struct freebsd32_sysarch_args *);
|
2003-08-22 22:52:04 +00:00
|
|
|
int freebsd32_semsys(struct thread *, struct freebsd32_semsys_args *);
|
|
|
|
int freebsd32_msgsys(struct thread *, struct freebsd32_msgsys_args *);
|
|
|
|
int freebsd32_shmsys(struct thread *, struct freebsd32_shmsys_args *);
|
|
|
|
int freebsd32_stat(struct thread *, struct freebsd32_stat_args *);
|
|
|
|
int freebsd32_fstat(struct thread *, struct freebsd32_fstat_args *);
|
|
|
|
int freebsd32_lstat(struct thread *, struct freebsd32_lstat_args *);
|
2008-10-22 21:56:44 +00:00
|
|
|
int freebsd32_getdirentries(struct thread *, struct freebsd32_getdirentries_args *);
|
2003-08-22 22:52:04 +00:00
|
|
|
int freebsd32_sysctl(struct thread *, struct freebsd32_sysctl_args *);
|
2006-01-20 20:51:27 +00:00
|
|
|
int freebsd32_futimes(struct thread *, struct freebsd32_futimes_args *);
|
2006-12-20 19:39:10 +00:00
|
|
|
int freebsd32_msgsnd(struct thread *, struct freebsd32_msgsnd_args *);
|
|
|
|
int freebsd32_msgrcv(struct thread *, struct freebsd32_msgrcv_args *);
|
2005-10-15 02:54:39 +00:00
|
|
|
int freebsd32_clock_gettime(struct thread *, struct freebsd32_clock_gettime_args *);
|
|
|
|
int freebsd32_clock_settime(struct thread *, struct freebsd32_clock_settime_args *);
|
|
|
|
int freebsd32_clock_getres(struct thread *, struct freebsd32_clock_getres_args *);
|
2005-01-19 17:44:59 +00:00
|
|
|
int freebsd32_nanosleep(struct thread *, struct freebsd32_nanosleep_args *);
|
2008-12-10 20:57:16 +00:00
|
|
|
int freebsd32_aio_read(struct thread *, struct freebsd32_aio_read_args *);
|
|
|
|
int freebsd32_aio_write(struct thread *, struct freebsd32_aio_write_args *);
|
|
|
|
int freebsd32_lio_listio(struct thread *, struct freebsd32_lio_listio_args *);
|
2006-01-20 16:22:37 +00:00
|
|
|
int freebsd32_lutimes(struct thread *, struct freebsd32_lutimes_args *);
|
2005-07-07 18:20:38 +00:00
|
|
|
int freebsd32_preadv(struct thread *, struct freebsd32_preadv_args *);
|
|
|
|
int freebsd32_pwritev(struct thread *, struct freebsd32_pwritev_args *);
|
2005-01-19 17:53:06 +00:00
|
|
|
int freebsd32_modstat(struct thread *, struct freebsd32_modstat_args *);
|
2011-03-30 14:46:55 +00:00
|
|
|
int freebsd32_kldstat(struct thread *, struct freebsd32_kldstat_args *);
|
2008-12-10 20:57:16 +00:00
|
|
|
int freebsd32_aio_return(struct thread *, struct freebsd32_aio_return_args *);
|
|
|
|
int freebsd32_aio_suspend(struct thread *, struct freebsd32_aio_suspend_args *);
|
|
|
|
int freebsd32_aio_cancel(struct thread *, struct freebsd32_aio_cancel_args *);
|
|
|
|
int freebsd32_aio_error(struct thread *, struct freebsd32_aio_error_args *);
|
|
|
|
int freebsd32_oaio_read(struct thread *, struct freebsd32_oaio_read_args *);
|
|
|
|
int freebsd32_oaio_write(struct thread *, struct freebsd32_oaio_write_args *);
|
|
|
|
int freebsd32_olio_listio(struct thread *, struct freebsd32_olio_listio_args *);
|
2008-11-29 14:34:30 +00:00
|
|
|
int freebsd32_jail(struct thread *, struct freebsd32_jail_args *);
|
2006-10-05 01:58:57 +00:00
|
|
|
int freebsd32_sigtimedwait(struct thread *, struct freebsd32_sigtimedwait_args *);
|
|
|
|
int freebsd32_sigwaitinfo(struct thread *, struct freebsd32_sigwaitinfo_args *);
|
2008-12-10 20:57:16 +00:00
|
|
|
int freebsd32_aio_waitcomplete(struct thread *, struct freebsd32_aio_waitcomplete_args *);
|
2003-08-22 22:52:04 +00:00
|
|
|
int freebsd32_kevent(struct thread *, struct freebsd32_kevent_args *);
|
2008-09-19 15:21:40 +00:00
|
|
|
int freebsd32_nmount(struct thread *, struct freebsd32_nmount_args *);
|
2003-08-22 22:52:04 +00:00
|
|
|
int freebsd32_sendfile(struct thread *, struct freebsd32_sendfile_args *);
|
2010-03-19 11:14:37 +00:00
|
|
|
int freebsd32_ksem_init(struct thread *, struct freebsd32_ksem_init_args *);
|
|
|
|
int freebsd32_ksem_open(struct thread *, struct freebsd32_ksem_open_args *);
|
2003-08-22 22:52:04 +00:00
|
|
|
int freebsd32_sigaction(struct thread *, struct freebsd32_sigaction_args *);
|
|
|
|
int freebsd32_sigreturn(struct thread *, struct freebsd32_sigreturn_args *);
|
2005-09-27 18:04:52 +00:00
|
|
|
int freebsd32_getcontext(struct thread *, struct freebsd32_getcontext_args *);
|
|
|
|
int freebsd32_setcontext(struct thread *, struct freebsd32_setcontext_args *);
|
|
|
|
int freebsd32_swapcontext(struct thread *, struct freebsd32_swapcontext_args *);
|
2006-10-06 08:24:37 +00:00
|
|
|
int freebsd32_umtx_lock(struct thread *, struct freebsd32_umtx_lock_args *);
|
|
|
|
int freebsd32_umtx_unlock(struct thread *, struct freebsd32_umtx_unlock_args *);
|
2010-03-19 11:14:37 +00:00
|
|
|
int freebsd32_ksem_timedwait(struct thread *, struct freebsd32_ksem_timedwait_args *);
|
2006-09-22 15:05:34 +00:00
|
|
|
int freebsd32_thr_suspend(struct thread *, struct freebsd32_thr_suspend_args *);
|
2006-09-22 00:53:43 +00:00
|
|
|
int freebsd32_umtx_op(struct thread *, struct freebsd32_umtx_op_args *);
|
2006-09-22 15:05:34 +00:00
|
|
|
int freebsd32_thr_new(struct thread *, struct freebsd32_thr_new_args *);
|
2010-03-19 11:14:37 +00:00
|
|
|
int freebsd32_kmq_open(struct thread *, struct freebsd32_kmq_open_args *);
|
|
|
|
int freebsd32_kmq_setattr(struct thread *, struct freebsd32_kmq_setattr_args *);
|
|
|
|
int freebsd32_kmq_timedreceive(struct thread *, struct freebsd32_kmq_timedreceive_args *);
|
|
|
|
int freebsd32_kmq_timedsend(struct thread *, struct freebsd32_kmq_timedsend_args *);
|
2008-12-10 20:57:16 +00:00
|
|
|
int freebsd32_aio_fsync(struct thread *, struct freebsd32_aio_fsync_args *);
|
2010-03-11 14:49:06 +00:00
|
|
|
#ifdef PAD64_REQUIRED
|
2007-07-04 23:03:50 +00:00
|
|
|
int freebsd32_pread(struct thread *, struct freebsd32_pread_args *);
|
|
|
|
int freebsd32_pwrite(struct thread *, struct freebsd32_pwrite_args *);
|
|
|
|
int freebsd32_mmap(struct thread *, struct freebsd32_mmap_args *);
|
|
|
|
int freebsd32_lseek(struct thread *, struct freebsd32_lseek_args *);
|
|
|
|
int freebsd32_truncate(struct thread *, struct freebsd32_truncate_args *);
|
|
|
|
int freebsd32_ftruncate(struct thread *, struct freebsd32_ftruncate_args *);
|
2010-03-11 14:49:06 +00:00
|
|
|
#else
|
|
|
|
int freebsd32_pread(struct thread *, struct freebsd32_pread_args *);
|
|
|
|
int freebsd32_pwrite(struct thread *, struct freebsd32_pwrite_args *);
|
|
|
|
int freebsd32_mmap(struct thread *, struct freebsd32_mmap_args *);
|
|
|
|
int freebsd32_lseek(struct thread *, struct freebsd32_lseek_args *);
|
|
|
|
int freebsd32_truncate(struct thread *, struct freebsd32_truncate_args *);
|
|
|
|
int freebsd32_ftruncate(struct thread *, struct freebsd32_ftruncate_args *);
|
|
|
|
#endif
|
|
|
|
#ifdef PAD64_REQUIRED
|
2008-07-10 17:46:58 +00:00
|
|
|
int freebsd32_cpuset_setid(struct thread *, struct freebsd32_cpuset_setid_args *);
|
2010-03-11 14:49:06 +00:00
|
|
|
#else
|
|
|
|
int freebsd32_cpuset_setid(struct thread *, struct freebsd32_cpuset_setid_args *);
|
|
|
|
#endif
|
2008-07-10 17:46:58 +00:00
|
|
|
int freebsd32_cpuset_getid(struct thread *, struct freebsd32_cpuset_getid_args *);
|
|
|
|
int freebsd32_cpuset_getaffinity(struct thread *, struct freebsd32_cpuset_getaffinity_args *);
|
|
|
|
int freebsd32_cpuset_setaffinity(struct thread *, struct freebsd32_cpuset_setaffinity_args *);
|
2008-03-31 12:12:27 +00:00
|
|
|
int freebsd32_fexecve(struct thread *, struct freebsd32_fexecve_args *);
|
|
|
|
int freebsd32_fstatat(struct thread *, struct freebsd32_fstatat_args *);
|
|
|
|
int freebsd32_futimesat(struct thread *, struct freebsd32_futimesat_args *);
|
2009-04-29 21:50:13 +00:00
|
|
|
int freebsd32_jail_get(struct thread *, struct freebsd32_jail_get_args *);
|
|
|
|
int freebsd32_jail_set(struct thread *, struct freebsd32_jail_set_args *);
|
2009-06-24 21:54:08 +00:00
|
|
|
int freebsd32_semctl(struct thread *, struct freebsd32_semctl_args *);
|
|
|
|
int freebsd32_msgctl(struct thread *, struct freebsd32_msgctl_args *);
|
|
|
|
int freebsd32_shmctl(struct thread *, struct freebsd32_shmctl_args *);
|
2009-10-27 11:02:04 +00:00
|
|
|
int freebsd32_pselect(struct thread *, struct freebsd32_pselect_args *);
|
2011-04-18 16:32:47 +00:00
|
|
|
int freebsd32_posix_fallocate(struct thread *, struct freebsd32_posix_fallocate_args *);
|
2011-11-04 04:06:31 +00:00
|
|
|
int freebsd32_posix_fadvise(struct thread *, struct freebsd32_posix_fadvise_args *);
|
2002-04-10 19:34:51 +00:00
|
|
|
|
|
|
|
#ifdef COMPAT_43
|
|
|
|
|
2010-03-11 14:49:06 +00:00
|
|
|
#if !defined(PAD64_REQUIRED) && defined(__powerpc__)
|
|
|
|
#define PAD64_REQUIRED
|
|
|
|
#endif
|
2011-06-16 22:06:35 +00:00
|
|
|
struct ofreebsd32_lseek_args {
|
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
|
|
|
char offset_l_[PADL_(int)]; int offset; char offset_r_[PADR_(int)];
|
|
|
|
char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)];
|
|
|
|
};
|
2011-04-01 11:16:53 +00:00
|
|
|
struct ofreebsd32_stat_args {
|
|
|
|
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
|
|
|
char ub_l_[PADL_(struct ostat32 *)]; struct ostat32 * ub; char ub_r_[PADR_(struct ostat32 *)];
|
|
|
|
};
|
|
|
|
struct ofreebsd32_lstat_args {
|
|
|
|
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
|
|
|
char ub_l_[PADL_(struct ostat *)]; struct ostat * ub; char ub_r_[PADR_(struct ostat *)];
|
|
|
|
};
|
2005-10-26 22:21:03 +00:00
|
|
|
struct ofreebsd32_sigaction_args {
|
|
|
|
char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)];
|
|
|
|
char nsa_l_[PADL_(struct osigaction32 *)]; struct osigaction32 * nsa; char nsa_r_[PADR_(struct osigaction32 *)];
|
|
|
|
char osa_l_[PADL_(struct osigaction32 *)]; struct osigaction32 * osa; char osa_r_[PADR_(struct osigaction32 *)];
|
|
|
|
};
|
|
|
|
struct ofreebsd32_sigprocmask_args {
|
|
|
|
char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)];
|
|
|
|
char mask_l_[PADL_(osigset_t)]; osigset_t mask; char mask_r_[PADR_(osigset_t)];
|
|
|
|
};
|
2011-04-01 11:16:53 +00:00
|
|
|
struct ofreebsd32_fstat_args {
|
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
|
|
|
char ub_l_[PADL_(struct ostat32 *)]; struct ostat32 * ub; char ub_r_[PADR_(struct ostat32 *)];
|
|
|
|
};
|
|
|
|
struct ofreebsd32_getpagesize_args {
|
|
|
|
char dummy_l_[PADL_(int32_t)]; int32_t dummy; char dummy_r_[PADR_(int32_t)];
|
|
|
|
};
|
|
|
|
struct ofreebsd32_sigreturn_args {
|
|
|
|
char sigcntxp_l_[PADL_(struct ia32_sigcontext3 *)]; struct ia32_sigcontext3 * sigcntxp; char sigcntxp_r_[PADR_(struct ia32_sigcontext3 *)];
|
|
|
|
};
|
2005-10-26 22:21:03 +00:00
|
|
|
struct ofreebsd32_sigvec_args {
|
|
|
|
char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)];
|
|
|
|
char nsv_l_[PADL_(struct sigvec32 *)]; struct sigvec32 * nsv; char nsv_r_[PADR_(struct sigvec32 *)];
|
|
|
|
char osv_l_[PADL_(struct sigvec32 *)]; struct sigvec32 * osv; char osv_r_[PADR_(struct sigvec32 *)];
|
|
|
|
};
|
|
|
|
struct ofreebsd32_sigblock_args {
|
|
|
|
char mask_l_[PADL_(int)]; int mask; char mask_r_[PADR_(int)];
|
|
|
|
};
|
|
|
|
struct ofreebsd32_sigsetmask_args {
|
|
|
|
char mask_l_[PADL_(int)]; int mask; char mask_r_[PADR_(int)];
|
|
|
|
};
|
|
|
|
struct ofreebsd32_sigsuspend_args {
|
|
|
|
char mask_l_[PADL_(int)]; int mask; char mask_r_[PADR_(int)];
|
|
|
|
};
|
|
|
|
struct ofreebsd32_sigstack_args {
|
|
|
|
char nss_l_[PADL_(struct sigstack32 *)]; struct sigstack32 * nss; char nss_r_[PADR_(struct sigstack32 *)];
|
|
|
|
char oss_l_[PADL_(struct sigstack32 *)]; struct sigstack32 * oss; char oss_r_[PADR_(struct sigstack32 *)];
|
|
|
|
};
|
2011-04-01 11:16:53 +00:00
|
|
|
struct ofreebsd32_getdirentries_args {
|
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
|
|
|
char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
|
|
|
|
char count_l_[PADL_(u_int)]; u_int count; char count_r_[PADR_(u_int)];
|
|
|
|
char basep_l_[PADL_(uint32_t *)]; uint32_t * basep; char basep_r_[PADR_(uint32_t *)];
|
|
|
|
};
|
2010-03-11 14:49:06 +00:00
|
|
|
#ifdef PAD64_REQUIRED
|
|
|
|
#else
|
|
|
|
#endif
|
|
|
|
#ifdef PAD64_REQUIRED
|
|
|
|
#else
|
|
|
|
#endif
|
2011-06-16 22:06:35 +00:00
|
|
|
int ofreebsd32_lseek(struct thread *, struct ofreebsd32_lseek_args *);
|
2011-04-01 11:16:53 +00:00
|
|
|
int ofreebsd32_stat(struct thread *, struct ofreebsd32_stat_args *);
|
|
|
|
int ofreebsd32_lstat(struct thread *, struct ofreebsd32_lstat_args *);
|
2005-10-26 22:21:03 +00:00
|
|
|
int ofreebsd32_sigaction(struct thread *, struct ofreebsd32_sigaction_args *);
|
|
|
|
int ofreebsd32_sigprocmask(struct thread *, struct ofreebsd32_sigprocmask_args *);
|
|
|
|
int ofreebsd32_sigpending(struct thread *, struct ofreebsd32_sigpending_args *);
|
2011-04-01 11:16:53 +00:00
|
|
|
int ofreebsd32_fstat(struct thread *, struct ofreebsd32_fstat_args *);
|
|
|
|
int ofreebsd32_getpagesize(struct thread *, struct ofreebsd32_getpagesize_args *);
|
|
|
|
int ofreebsd32_sigreturn(struct thread *, struct ofreebsd32_sigreturn_args *);
|
2005-10-26 22:21:03 +00:00
|
|
|
int ofreebsd32_sigvec(struct thread *, struct ofreebsd32_sigvec_args *);
|
|
|
|
int ofreebsd32_sigblock(struct thread *, struct ofreebsd32_sigblock_args *);
|
|
|
|
int ofreebsd32_sigsetmask(struct thread *, struct ofreebsd32_sigsetmask_args *);
|
|
|
|
int ofreebsd32_sigsuspend(struct thread *, struct ofreebsd32_sigsuspend_args *);
|
|
|
|
int ofreebsd32_sigstack(struct thread *, struct ofreebsd32_sigstack_args *);
|
2011-04-01 11:16:53 +00:00
|
|
|
int ofreebsd32_getdirentries(struct thread *, struct ofreebsd32_getdirentries_args *);
|
2002-04-10 19:34:51 +00:00
|
|
|
|
|
|
|
#endif /* COMPAT_43 */
|
|
|
|
|
2002-07-20 02:56:34 +00:00
|
|
|
|
|
|
|
#ifdef COMPAT_FREEBSD4
|
|
|
|
|
2010-03-11 14:49:06 +00:00
|
|
|
#if !defined(PAD64_REQUIRED) && defined(__powerpc__)
|
|
|
|
#define PAD64_REQUIRED
|
|
|
|
#endif
|
2004-04-14 23:17:57 +00:00
|
|
|
struct freebsd4_freebsd32_getfsstat_args {
|
|
|
|
char buf_l_[PADL_(struct statfs32 *)]; struct statfs32 * buf; char buf_r_[PADR_(struct statfs32 *)];
|
|
|
|
char bufsize_l_[PADL_(long)]; long bufsize; char bufsize_r_[PADR_(long)];
|
|
|
|
char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
|
|
|
|
};
|
|
|
|
struct freebsd4_freebsd32_statfs_args {
|
|
|
|
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
|
|
|
char buf_l_[PADL_(struct statfs32 *)]; struct statfs32 * buf; char buf_r_[PADR_(struct statfs32 *)];
|
|
|
|
};
|
|
|
|
struct freebsd4_freebsd32_fstatfs_args {
|
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
|
|
|
char buf_l_[PADL_(struct statfs32 *)]; struct statfs32 * buf; char buf_r_[PADR_(struct statfs32 *)];
|
|
|
|
};
|
|
|
|
struct freebsd4_freebsd32_fhstatfs_args {
|
|
|
|
char u_fhp_l_[PADL_(const struct fhandle *)]; const struct fhandle * u_fhp; char u_fhp_r_[PADR_(const struct fhandle *)];
|
|
|
|
char buf_l_[PADL_(struct statfs32 *)]; struct statfs32 * buf; char buf_r_[PADR_(struct statfs32 *)];
|
|
|
|
};
|
2003-08-22 22:52:04 +00:00
|
|
|
struct freebsd4_freebsd32_sendfile_args {
|
2002-10-09 22:28:48 +00:00
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
|
|
|
char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)];
|
2010-03-11 14:49:06 +00:00
|
|
|
char offset1_l_[PADL_(u_int32_t)]; u_int32_t offset1; char offset1_r_[PADR_(u_int32_t)];
|
|
|
|
char offset2_l_[PADL_(u_int32_t)]; u_int32_t offset2; char offset2_r_[PADR_(u_int32_t)];
|
2002-10-09 22:28:48 +00:00
|
|
|
char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
|
2006-02-28 19:39:52 +00:00
|
|
|
char hdtr_l_[PADL_(struct sf_hdtr32 *)]; struct sf_hdtr32 * hdtr; char hdtr_r_[PADR_(struct sf_hdtr32 *)];
|
2002-10-09 22:28:48 +00:00
|
|
|
char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)];
|
|
|
|
char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
|
|
|
|
};
|
2003-08-22 22:52:04 +00:00
|
|
|
struct freebsd4_freebsd32_sigaction_args {
|
2003-05-14 04:11:25 +00:00
|
|
|
char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)];
|
|
|
|
char act_l_[PADL_(struct sigaction32 *)]; struct sigaction32 * act; char act_r_[PADR_(struct sigaction32 *)];
|
|
|
|
char oact_l_[PADL_(struct sigaction32 *)]; struct sigaction32 * oact; char oact_r_[PADR_(struct sigaction32 *)];
|
|
|
|
};
|
2003-08-22 22:52:04 +00:00
|
|
|
struct freebsd4_freebsd32_sigreturn_args {
|
2004-02-21 23:38:58 +00:00
|
|
|
char sigcntxp_l_[PADL_(const struct freebsd4_freebsd32_ucontext *)]; const struct freebsd4_freebsd32_ucontext * sigcntxp; char sigcntxp_r_[PADR_(const struct freebsd4_freebsd32_ucontext *)];
|
2003-05-14 04:11:25 +00:00
|
|
|
};
|
2010-03-11 14:49:06 +00:00
|
|
|
#ifdef PAD64_REQUIRED
|
|
|
|
#else
|
|
|
|
#endif
|
|
|
|
#ifdef PAD64_REQUIRED
|
|
|
|
#else
|
|
|
|
#endif
|
2004-04-14 23:17:57 +00:00
|
|
|
int freebsd4_freebsd32_getfsstat(struct thread *, struct freebsd4_freebsd32_getfsstat_args *);
|
|
|
|
int freebsd4_freebsd32_statfs(struct thread *, struct freebsd4_freebsd32_statfs_args *);
|
|
|
|
int freebsd4_freebsd32_fstatfs(struct thread *, struct freebsd4_freebsd32_fstatfs_args *);
|
|
|
|
int freebsd4_freebsd32_fhstatfs(struct thread *, struct freebsd4_freebsd32_fhstatfs_args *);
|
2003-08-22 22:52:04 +00:00
|
|
|
int freebsd4_freebsd32_sendfile(struct thread *, struct freebsd4_freebsd32_sendfile_args *);
|
|
|
|
int freebsd4_freebsd32_sigaction(struct thread *, struct freebsd4_freebsd32_sigaction_args *);
|
|
|
|
int freebsd4_freebsd32_sigreturn(struct thread *, struct freebsd4_freebsd32_sigreturn_args *);
|
2002-07-20 02:56:34 +00:00
|
|
|
|
|
|
|
#endif /* COMPAT_FREEBSD4 */
|
|
|
|
|
2007-07-04 23:03:50 +00:00
|
|
|
|
2009-09-30 08:48:59 +00:00
|
|
|
#ifdef COMPAT_FREEBSD6
|
2007-07-04 23:03:50 +00:00
|
|
|
|
2010-03-11 14:49:06 +00:00
|
|
|
#if !defined(PAD64_REQUIRED) && defined(__powerpc__)
|
|
|
|
#define PAD64_REQUIRED
|
|
|
|
#endif
|
2007-07-04 23:03:50 +00:00
|
|
|
struct freebsd6_freebsd32_pread_args {
|
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
|
|
|
char buf_l_[PADL_(void *)]; void * buf; char buf_r_[PADR_(void *)];
|
|
|
|
char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
|
|
|
|
char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
|
2010-03-11 14:49:06 +00:00
|
|
|
char offset1_l_[PADL_(u_int32_t)]; u_int32_t offset1; char offset1_r_[PADR_(u_int32_t)];
|
|
|
|
char offset2_l_[PADL_(u_int32_t)]; u_int32_t offset2; char offset2_r_[PADR_(u_int32_t)];
|
2007-07-04 23:03:50 +00:00
|
|
|
};
|
|
|
|
struct freebsd6_freebsd32_pwrite_args {
|
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
|
|
|
char buf_l_[PADL_(const void *)]; const void * buf; char buf_r_[PADR_(const void *)];
|
|
|
|
char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)];
|
|
|
|
char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
|
2010-03-11 14:49:06 +00:00
|
|
|
char offset1_l_[PADL_(u_int32_t)]; u_int32_t offset1; char offset1_r_[PADR_(u_int32_t)];
|
|
|
|
char offset2_l_[PADL_(u_int32_t)]; u_int32_t offset2; char offset2_r_[PADR_(u_int32_t)];
|
2007-07-04 23:03:50 +00:00
|
|
|
};
|
|
|
|
struct freebsd6_freebsd32_mmap_args {
|
|
|
|
char addr_l_[PADL_(caddr_t)]; caddr_t addr; char addr_r_[PADR_(caddr_t)];
|
|
|
|
char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)];
|
|
|
|
char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)];
|
|
|
|
char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
|
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
|
|
|
char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
|
2010-03-11 14:49:06 +00:00
|
|
|
char pos1_l_[PADL_(u_int32_t)]; u_int32_t pos1; char pos1_r_[PADR_(u_int32_t)];
|
|
|
|
char pos2_l_[PADL_(u_int32_t)]; u_int32_t pos2; char pos2_r_[PADR_(u_int32_t)];
|
2007-07-04 23:03:50 +00:00
|
|
|
};
|
|
|
|
struct freebsd6_freebsd32_lseek_args {
|
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
|
|
|
char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
|
2010-03-11 14:49:06 +00:00
|
|
|
char offset1_l_[PADL_(u_int32_t)]; u_int32_t offset1; char offset1_r_[PADR_(u_int32_t)];
|
|
|
|
char offset2_l_[PADL_(u_int32_t)]; u_int32_t offset2; char offset2_r_[PADR_(u_int32_t)];
|
2007-07-04 23:03:50 +00:00
|
|
|
char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)];
|
|
|
|
};
|
|
|
|
struct freebsd6_freebsd32_truncate_args {
|
|
|
|
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
|
|
|
char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
|
2010-03-11 14:49:06 +00:00
|
|
|
char length1_l_[PADL_(u_int32_t)]; u_int32_t length1; char length1_r_[PADR_(u_int32_t)];
|
|
|
|
char length2_l_[PADL_(u_int32_t)]; u_int32_t length2; char length2_r_[PADR_(u_int32_t)];
|
2007-07-04 23:03:50 +00:00
|
|
|
};
|
|
|
|
struct freebsd6_freebsd32_ftruncate_args {
|
|
|
|
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
|
|
|
char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
|
2010-03-11 14:49:06 +00:00
|
|
|
char length1_l_[PADL_(u_int32_t)]; u_int32_t length1; char length1_r_[PADR_(u_int32_t)];
|
|
|
|
char length2_l_[PADL_(u_int32_t)]; u_int32_t length2; char length2_r_[PADR_(u_int32_t)];
|
2007-07-04 23:03:50 +00:00
|
|
|
};
|
2010-03-11 14:49:06 +00:00
|
|
|
#ifdef PAD64_REQUIRED
|
|
|
|
#else
|
|
|
|
#endif
|
|
|
|
#ifdef PAD64_REQUIRED
|
|
|
|
#else
|
|
|
|
#endif
|
2007-07-04 23:03:50 +00:00
|
|
|
int freebsd6_freebsd32_pread(struct thread *, struct freebsd6_freebsd32_pread_args *);
|
|
|
|
int freebsd6_freebsd32_pwrite(struct thread *, struct freebsd6_freebsd32_pwrite_args *);
|
|
|
|
int freebsd6_freebsd32_mmap(struct thread *, struct freebsd6_freebsd32_mmap_args *);
|
|
|
|
int freebsd6_freebsd32_lseek(struct thread *, struct freebsd6_freebsd32_lseek_args *);
|
|
|
|
int freebsd6_freebsd32_truncate(struct thread *, struct freebsd6_freebsd32_truncate_args *);
|
|
|
|
int freebsd6_freebsd32_ftruncate(struct thread *, struct freebsd6_freebsd32_ftruncate_args *);
|
|
|
|
|
2009-09-30 08:48:59 +00:00
|
|
|
#endif /* COMPAT_FREEBSD6 */
|
2007-07-04 23:03:50 +00:00
|
|
|
|
2009-06-24 21:54:08 +00:00
|
|
|
|
2009-12-16 21:53:56 +00:00
|
|
|
#ifdef COMPAT_FREEBSD7
|
2009-06-24 21:54:08 +00:00
|
|
|
|
2010-03-11 14:49:06 +00:00
|
|
|
#if !defined(PAD64_REQUIRED) && defined(__powerpc__)
|
|
|
|
#define PAD64_REQUIRED
|
|
|
|
#endif
|
2009-06-24 21:54:08 +00:00
|
|
|
struct freebsd7_freebsd32_semctl_args {
|
|
|
|
char semid_l_[PADL_(int)]; int semid; char semid_r_[PADR_(int)];
|
|
|
|
char semnum_l_[PADL_(int)]; int semnum; char semnum_r_[PADR_(int)];
|
|
|
|
char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
|
|
|
|
char arg_l_[PADL_(union semun32 *)]; union semun32 * arg; char arg_r_[PADR_(union semun32 *)];
|
|
|
|
};
|
|
|
|
struct freebsd7_freebsd32_msgctl_args {
|
|
|
|
char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)];
|
|
|
|
char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
|
|
|
|
char buf_l_[PADL_(struct msqid_ds32_old *)]; struct msqid_ds32_old * buf; char buf_r_[PADR_(struct msqid_ds32_old *)];
|
|
|
|
};
|
|
|
|
struct freebsd7_freebsd32_shmctl_args {
|
|
|
|
char shmid_l_[PADL_(int)]; int shmid; char shmid_r_[PADR_(int)];
|
|
|
|
char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
|
|
|
|
char buf_l_[PADL_(struct shmid_ds32_old *)]; struct shmid_ds32_old * buf; char buf_r_[PADR_(struct shmid_ds32_old *)];
|
|
|
|
};
|
2010-03-11 14:49:06 +00:00
|
|
|
#ifdef PAD64_REQUIRED
|
|
|
|
#else
|
|
|
|
#endif
|
|
|
|
#ifdef PAD64_REQUIRED
|
|
|
|
#else
|
|
|
|
#endif
|
2009-06-24 21:54:08 +00:00
|
|
|
int freebsd7_freebsd32_semctl(struct thread *, struct freebsd7_freebsd32_semctl_args *);
|
|
|
|
int freebsd7_freebsd32_msgctl(struct thread *, struct freebsd7_freebsd32_msgctl_args *);
|
|
|
|
int freebsd7_freebsd32_shmctl(struct thread *, struct freebsd7_freebsd32_shmctl_args *);
|
|
|
|
|
2009-12-16 21:53:56 +00:00
|
|
|
#endif /* COMPAT_FREEBSD7 */
|
2009-06-24 21:54:08 +00:00
|
|
|
|
2006-08-15 17:37:01 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_wait4 AUE_WAIT4
|
2009-06-22 20:24:03 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd4_freebsd32_getfsstat AUE_GETFSSTAT
|
2011-06-16 22:06:35 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_ofreebsd32_lseek AUE_LSEEK
|
2006-08-15 17:37:01 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_recvmsg AUE_RECVMSG
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_sendmsg AUE_SENDMSG
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_recvfrom AUE_RECVFROM
|
2011-04-01 11:16:53 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_ofreebsd32_stat AUE_STAT
|
|
|
|
#define FREEBSD32_SYS_AUE_ofreebsd32_lstat AUE_LSTAT
|
2009-06-22 20:24:03 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_ofreebsd32_sigaction AUE_SIGACTION
|
|
|
|
#define FREEBSD32_SYS_AUE_ofreebsd32_sigprocmask AUE_SIGPROCMASK
|
|
|
|
#define FREEBSD32_SYS_AUE_ofreebsd32_sigpending AUE_SIGPENDING
|
2006-09-17 13:29:36 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_sigaltstack AUE_SIGALTSTACK
|
2008-09-22 16:09:43 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_ioctl AUE_NULL
|
2006-08-15 17:37:01 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_execve AUE_EXECVE
|
2011-04-01 11:16:53 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_ofreebsd32_fstat AUE_FSTAT
|
|
|
|
#define FREEBSD32_SYS_AUE_ofreebsd32_getpagesize AUE_NULL
|
2011-10-13 18:25:10 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_mprotect AUE_MPROTECT
|
2006-08-15 17:37:01 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_setitimer AUE_SETITIMER
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_getitimer AUE_GETITIMER
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_select AUE_SELECT
|
2011-04-01 11:16:53 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_ofreebsd32_sigreturn AUE_NULL
|
2009-06-22 20:24:03 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_ofreebsd32_sigvec AUE_O_SIGVEC
|
|
|
|
#define FREEBSD32_SYS_AUE_ofreebsd32_sigblock AUE_O_SIGBLOCK
|
|
|
|
#define FREEBSD32_SYS_AUE_ofreebsd32_sigsetmask AUE_O_SIGSETMASK
|
|
|
|
#define FREEBSD32_SYS_AUE_ofreebsd32_sigsuspend AUE_SIGSUSPEND
|
|
|
|
#define FREEBSD32_SYS_AUE_ofreebsd32_sigstack AUE_O_SIGSTACK
|
2006-08-15 17:37:01 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_gettimeofday AUE_GETTIMEOFDAY
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_getrusage AUE_GETRUSAGE
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_readv AUE_READV
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_writev AUE_WRITEV
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_settimeofday AUE_SETTIMEOFDAY
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_utimes AUE_UTIMES
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_adjtime AUE_ADJTIME
|
2011-04-01 11:16:53 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_ofreebsd32_getdirentries AUE_GETDIRENTRIES
|
2009-06-22 20:24:03 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd4_freebsd32_statfs AUE_STATFS
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd4_freebsd32_fstatfs AUE_FSTATFS
|
2009-04-01 13:12:40 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_sysarch AUE_SYSARCH
|
2006-08-15 17:37:01 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_semsys AUE_SEMSYS
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_msgsys AUE_MSGSYS
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_shmsys AUE_SHMSYS
|
2009-06-22 20:24:03 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd6_freebsd32_pread AUE_PREAD
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd6_freebsd32_pwrite AUE_PWRITE
|
2006-08-15 17:37:01 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_stat AUE_STAT
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_fstat AUE_FSTAT
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_lstat AUE_LSTAT
|
2008-10-22 21:56:44 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_getdirentries AUE_GETDIRENTRIES
|
2009-06-22 20:24:03 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd6_freebsd32_mmap AUE_MMAP
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd6_freebsd32_lseek AUE_LSEEK
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd6_freebsd32_truncate AUE_TRUNCATE
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd6_freebsd32_ftruncate AUE_FTRUNCATE
|
2006-08-15 17:37:01 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_sysctl AUE_SYSCTL
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_futimes AUE_FUTIMES
|
2009-06-24 21:54:08 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd7_freebsd32_semctl AUE_SEMCTL
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd7_freebsd32_msgctl AUE_MSGCTL
|
2006-12-20 19:39:10 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_msgsnd AUE_MSGSND
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_msgrcv AUE_MSGRCV
|
2009-06-24 21:54:08 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd7_freebsd32_shmctl AUE_SHMCTL
|
2006-08-15 17:37:01 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_clock_gettime AUE_NULL
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_clock_settime AUE_CLOCK_SETTIME
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_clock_getres AUE_NULL
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_nanosleep AUE_NULL
|
2008-12-10 20:57:16 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_aio_read AUE_NULL
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_aio_write AUE_NULL
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_lio_listio AUE_NULL
|
2006-08-15 17:37:01 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_lutimes AUE_LUTIMES
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_preadv AUE_PREADV
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_pwritev AUE_PWRITEV
|
2009-06-22 20:24:03 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd4_freebsd32_fhstatfs AUE_FHSTATFS
|
2006-08-15 17:37:01 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_modstat AUE_NULL
|
2011-03-30 14:46:55 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_kldstat AUE_NULL
|
2008-12-10 20:57:16 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_aio_return AUE_NULL
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_aio_suspend AUE_NULL
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_aio_cancel AUE_NULL
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_aio_error AUE_NULL
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_oaio_read AUE_NULL
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_oaio_write AUE_NULL
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_olio_listio AUE_NULL
|
2009-06-22 20:24:03 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd4_freebsd32_sendfile AUE_SENDFILE
|
2008-11-29 14:34:30 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_jail AUE_JAIL
|
2009-06-22 20:24:03 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd4_freebsd32_sigaction AUE_SIGACTION
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd4_freebsd32_sigreturn AUE_SIGRETURN
|
2006-10-05 01:58:57 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_sigtimedwait AUE_SIGWAIT
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_sigwaitinfo AUE_NULL
|
2008-12-10 20:57:16 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_aio_waitcomplete AUE_NULL
|
2006-08-15 17:37:01 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_kevent AUE_NULL
|
2008-09-19 15:21:40 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_nmount AUE_NMOUNT
|
2006-09-03 16:24:36 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_sendfile AUE_SENDFILE
|
2010-03-19 11:14:37 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_ksem_init AUE_NULL
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_ksem_open AUE_NULL
|
2006-08-15 17:37:01 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_sigaction AUE_SIGACTION
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_sigreturn AUE_SIGRETURN
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_getcontext AUE_NULL
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_setcontext AUE_NULL
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_swapcontext AUE_NULL
|
2006-10-06 08:24:37 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_umtx_lock AUE_NULL
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_umtx_unlock AUE_NULL
|
2010-03-19 11:14:37 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_ksem_timedwait AUE_NULL
|
2006-09-22 15:05:34 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_thr_suspend AUE_NULL
|
2006-09-22 00:53:43 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_umtx_op AUE_NULL
|
2006-09-22 15:05:34 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_thr_new AUE_NULL
|
2010-03-19 11:14:37 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_kmq_open AUE_NULL
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_kmq_setattr AUE_NULL
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_kmq_timedreceive AUE_NULL
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_kmq_timedsend AUE_NULL
|
2008-12-10 20:57:16 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_aio_fsync AUE_NULL
|
2007-07-04 23:03:50 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_pread AUE_PREAD
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_pwrite AUE_PWRITE
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_mmap AUE_MMAP
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_lseek AUE_LSEEK
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_truncate AUE_TRUNCATE
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_ftruncate AUE_FTRUNCATE
|
2010-03-11 14:49:06 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_pread AUE_PREAD
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_pwrite AUE_PWRITE
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_mmap AUE_MMAP
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_lseek AUE_LSEEK
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_truncate AUE_TRUNCATE
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_ftruncate AUE_FTRUNCATE
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_cpuset_setid AUE_NULL
|
2008-07-10 17:46:58 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_cpuset_setid AUE_NULL
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_cpuset_getid AUE_NULL
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_cpuset_getaffinity AUE_NULL
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_cpuset_setaffinity AUE_NULL
|
2008-03-31 12:12:27 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_fexecve AUE_FEXECVE
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_fstatat AUE_FSTATAT
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_futimesat AUE_FUTIMESAT
|
2009-04-29 21:50:13 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_jail_get AUE_NULL
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_jail_set AUE_NULL
|
2009-06-24 21:54:08 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_semctl AUE_SEMCTL
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_msgctl AUE_MSGCTL
|
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_shmctl AUE_SHMCTL
|
2009-10-27 11:02:04 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_pselect AUE_SELECT
|
2011-04-18 16:32:47 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_posix_fallocate AUE_NULL
|
2011-11-04 04:06:31 +00:00
|
|
|
#define FREEBSD32_SYS_AUE_freebsd32_posix_fadvise AUE_NULL
|
2006-08-15 17:37:01 +00:00
|
|
|
|
2002-04-10 19:34:51 +00:00
|
|
|
#undef PAD_
|
|
|
|
#undef PADL_
|
|
|
|
#undef PADR_
|
|
|
|
|
2003-08-22 22:52:04 +00:00
|
|
|
#endif /* !_FREEBSD32_SYSPROTO_H_ */
|