Regenerate after mmap/lseek/etc syscall changes
Approved by: re (kensmith)
This commit is contained in:
parent
b9f3e68f95
commit
486abf939c
@ -3,7 +3,7 @@
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* $FreeBSD$
|
||||
* created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.88 2006/12/20 19:36:03 jkim Exp
|
||||
* created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.90 2007/07/04 23:02:40 peter Exp
|
||||
*/
|
||||
|
||||
#ifndef _FREEBSD32_SYSPROTO_H_
|
||||
@ -134,22 +134,6 @@ struct freebsd32_shmsys_args {
|
||||
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)];
|
||||
};
|
||||
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 pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
|
||||
char offsetlo_l_[PADL_(u_int32_t)]; u_int32_t offsetlo; char offsetlo_r_[PADR_(u_int32_t)];
|
||||
char offsethi_l_[PADL_(u_int32_t)]; u_int32_t offsethi; char offsethi_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 pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
|
||||
char offsetlo_l_[PADL_(u_int32_t)]; u_int32_t offsetlo; char offsetlo_r_[PADR_(u_int32_t)];
|
||||
char offsethi_l_[PADL_(u_int32_t)]; u_int32_t offsethi; char offsethi_r_[PADR_(u_int32_t)];
|
||||
};
|
||||
struct freebsd32_stat_args {
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char ub_l_[PADL_(struct stat32 *)]; struct stat32 * ub; char ub_r_[PADR_(struct stat32 *)];
|
||||
@ -162,35 +146,6 @@ struct freebsd32_lstat_args {
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char ub_l_[PADL_(struct stat32 *)]; struct stat32 * ub; char ub_r_[PADR_(struct stat32 *)];
|
||||
};
|
||||
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 pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
|
||||
char poslo_l_[PADL_(u_int32_t)]; u_int32_t poslo; char poslo_r_[PADR_(u_int32_t)];
|
||||
char poshi_l_[PADL_(u_int32_t)]; u_int32_t poshi; char poshi_r_[PADR_(u_int32_t)];
|
||||
};
|
||||
struct 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)];
|
||||
char offsetlo_l_[PADL_(u_int32_t)]; u_int32_t offsetlo; char offsetlo_r_[PADR_(u_int32_t)];
|
||||
char offsethi_l_[PADL_(u_int32_t)]; u_int32_t offsethi; char offsethi_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 pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)];
|
||||
char lengthlo_l_[PADL_(u_int32_t)]; u_int32_t lengthlo; char lengthlo_r_[PADR_(u_int32_t)];
|
||||
char lengthhi_l_[PADL_(u_int32_t)]; u_int32_t lengthhi; char lengthhi_r_[PADR_(u_int32_t)];
|
||||
};
|
||||
struct 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)];
|
||||
char lengthlo_l_[PADL_(u_int32_t)]; u_int32_t lengthlo; char lengthlo_r_[PADR_(u_int32_t)];
|
||||
char lengthhi_l_[PADL_(u_int32_t)]; u_int32_t lengthhi; char lengthhi_r_[PADR_(u_int32_t)];
|
||||
};
|
||||
struct freebsd32_sysctl_args {
|
||||
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)];
|
||||
@ -322,6 +277,45 @@ 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)];
|
||||
};
|
||||
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 offsetlo_l_[PADL_(u_int32_t)]; u_int32_t offsetlo; char offsetlo_r_[PADR_(u_int32_t)];
|
||||
char offsethi_l_[PADL_(u_int32_t)]; u_int32_t offsethi; char offsethi_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 offsetlo_l_[PADL_(u_int32_t)]; u_int32_t offsetlo; char offsetlo_r_[PADR_(u_int32_t)];
|
||||
char offsethi_l_[PADL_(u_int32_t)]; u_int32_t offsethi; char offsethi_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 poslo_l_[PADL_(u_int32_t)]; u_int32_t poslo; char poslo_r_[PADR_(u_int32_t)];
|
||||
char poshi_l_[PADL_(u_int32_t)]; u_int32_t poshi; char poshi_r_[PADR_(u_int32_t)];
|
||||
};
|
||||
struct freebsd32_lseek_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char offsetlo_l_[PADL_(u_int32_t)]; u_int32_t offsetlo; char offsetlo_r_[PADR_(u_int32_t)];
|
||||
char offsethi_l_[PADL_(u_int32_t)]; u_int32_t offsethi; char offsethi_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 lengthlo_l_[PADL_(u_int32_t)]; u_int32_t lengthlo; char lengthlo_r_[PADR_(u_int32_t)];
|
||||
char lengthhi_l_[PADL_(u_int32_t)]; u_int32_t lengthhi; char lengthhi_r_[PADR_(u_int32_t)];
|
||||
};
|
||||
struct freebsd32_ftruncate_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char lengthlo_l_[PADL_(u_int32_t)]; u_int32_t lengthlo; char lengthlo_r_[PADR_(u_int32_t)];
|
||||
char lengthhi_l_[PADL_(u_int32_t)]; u_int32_t lengthhi; char lengthhi_r_[PADR_(u_int32_t)];
|
||||
};
|
||||
int freebsd32_wait4(struct thread *, struct freebsd32_wait4_args *);
|
||||
int freebsd32_recvmsg(struct thread *, struct freebsd32_recvmsg_args *);
|
||||
int freebsd32_sendmsg(struct thread *, struct freebsd32_sendmsg_args *);
|
||||
@ -341,15 +335,9 @@ int freebsd32_adjtime(struct thread *, struct freebsd32_adjtime_args *);
|
||||
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_pread(struct thread *, struct freebsd32_pread_args *);
|
||||
int freebsd32_pwrite(struct thread *, struct freebsd32_pwrite_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 *);
|
||||
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 *);
|
||||
int freebsd32_sysctl(struct thread *, struct freebsd32_sysctl_args *);
|
||||
int freebsd32_futimes(struct thread *, struct freebsd32_futimes_args *);
|
||||
int freebsd32_msgsnd(struct thread *, struct freebsd32_msgsnd_args *);
|
||||
@ -377,6 +365,12 @@ int freebsd32_umtx_unlock(struct thread *, struct freebsd32_umtx_unlock_args *);
|
||||
int freebsd32_thr_suspend(struct thread *, struct freebsd32_thr_suspend_args *);
|
||||
int freebsd32_umtx_op(struct thread *, struct freebsd32_umtx_op_args *);
|
||||
int freebsd32_thr_new(struct thread *, struct freebsd32_thr_new_args *);
|
||||
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 *);
|
||||
|
||||
#ifdef COMPAT_43
|
||||
|
||||
@ -466,6 +460,63 @@ int freebsd4_freebsd32_sigreturn(struct thread *, struct freebsd4_freebsd32_sigr
|
||||
|
||||
#endif /* COMPAT_FREEBSD4 */
|
||||
|
||||
|
||||
#ifdef COMPAT_FREEBSD6
|
||||
|
||||
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)];
|
||||
char offsetlo_l_[PADL_(u_int32_t)]; u_int32_t offsetlo; char offsetlo_r_[PADR_(u_int32_t)];
|
||||
char offsethi_l_[PADL_(u_int32_t)]; u_int32_t offsethi; char offsethi_r_[PADR_(u_int32_t)];
|
||||
};
|
||||
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)];
|
||||
char offsetlo_l_[PADL_(u_int32_t)]; u_int32_t offsetlo; char offsetlo_r_[PADR_(u_int32_t)];
|
||||
char offsethi_l_[PADL_(u_int32_t)]; u_int32_t offsethi; char offsethi_r_[PADR_(u_int32_t)];
|
||||
};
|
||||
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)];
|
||||
char poslo_l_[PADL_(u_int32_t)]; u_int32_t poslo; char poslo_r_[PADR_(u_int32_t)];
|
||||
char poshi_l_[PADL_(u_int32_t)]; u_int32_t poshi; char poshi_r_[PADR_(u_int32_t)];
|
||||
};
|
||||
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)];
|
||||
char offsetlo_l_[PADL_(u_int32_t)]; u_int32_t offsetlo; char offsetlo_r_[PADR_(u_int32_t)];
|
||||
char offsethi_l_[PADL_(u_int32_t)]; u_int32_t offsethi; char offsethi_r_[PADR_(u_int32_t)];
|
||||
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)];
|
||||
char lengthlo_l_[PADL_(u_int32_t)]; u_int32_t lengthlo; char lengthlo_r_[PADR_(u_int32_t)];
|
||||
char lengthhi_l_[PADL_(u_int32_t)]; u_int32_t lengthhi; char lengthhi_r_[PADR_(u_int32_t)];
|
||||
};
|
||||
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)];
|
||||
char lengthlo_l_[PADL_(u_int32_t)]; u_int32_t lengthlo; char lengthlo_r_[PADR_(u_int32_t)];
|
||||
char lengthhi_l_[PADL_(u_int32_t)]; u_int32_t lengthhi; char lengthhi_r_[PADR_(u_int32_t)];
|
||||
};
|
||||
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 *);
|
||||
|
||||
#endif /* COMPAT_FREEBSD6 */
|
||||
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_wait4 AUE_WAIT4
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_recvmsg AUE_RECVMSG
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_sendmsg AUE_SENDMSG
|
||||
@ -485,15 +536,9 @@ int freebsd4_freebsd32_sigreturn(struct thread *, struct freebsd4_freebsd32_sigr
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_semsys AUE_SEMSYS
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_msgsys AUE_MSGSYS
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_shmsys AUE_SHMSYS
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_pread AUE_PREAD
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_pwrite AUE_PWRITE
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_stat AUE_STAT
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_fstat AUE_FSTAT
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_lstat AUE_LSTAT
|
||||
#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_sysctl AUE_SYSCTL
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_futimes AUE_FUTIMES
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_msgsnd AUE_MSGSND
|
||||
@ -521,6 +566,12 @@ int freebsd4_freebsd32_sigreturn(struct thread *, struct freebsd4_freebsd32_sigr
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_thr_suspend AUE_NULL
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_umtx_op AUE_NULL
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_thr_new AUE_NULL
|
||||
#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
|
||||
|
||||
#undef PAD_
|
||||
#undef PADL_
|
||||
|
@ -3,7 +3,7 @@
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* $FreeBSD$
|
||||
* created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.88 2006/12/20 19:36:03 jkim Exp
|
||||
* created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.90 2007/07/04 23:02:40 peter Exp
|
||||
*/
|
||||
|
||||
#define FREEBSD32_SYS_syscall 0
|
||||
@ -24,7 +24,7 @@
|
||||
#define FREEBSD32_SYS_chmod 15
|
||||
#define FREEBSD32_SYS_chown 16
|
||||
#define FREEBSD32_SYS_break 17
|
||||
/* 18 is old freebsd32_getfsstat */
|
||||
#define FREEBSD32_SYS_freebsd4_freebsd32_getfsstat 18
|
||||
/* 19 is obsolete olseek */
|
||||
#define FREEBSD32_SYS_getpid 20
|
||||
#define FREEBSD32_SYS_mount 21
|
||||
@ -153,8 +153,8 @@
|
||||
/* 149 is obsolete oquota */
|
||||
/* 150 is obsolete ogetsockname */
|
||||
/* 156 is obsolete ogetdirentries */
|
||||
/* 157 is old freebsd32_statfs */
|
||||
/* 158 is old freebsd32_fstatfs */
|
||||
#define FREEBSD32_SYS_freebsd4_freebsd32_statfs 157
|
||||
#define FREEBSD32_SYS_freebsd4_freebsd32_fstatfs 158
|
||||
#define FREEBSD32_SYS_getfh 161
|
||||
#define FREEBSD32_SYS_getdomainname 162
|
||||
#define FREEBSD32_SYS_setdomainname 163
|
||||
@ -164,8 +164,8 @@
|
||||
#define FREEBSD32_SYS_freebsd32_semsys 169
|
||||
#define FREEBSD32_SYS_freebsd32_msgsys 170
|
||||
#define FREEBSD32_SYS_freebsd32_shmsys 171
|
||||
#define FREEBSD32_SYS_freebsd32_pread 173
|
||||
#define FREEBSD32_SYS_freebsd32_pwrite 174
|
||||
#define FREEBSD32_SYS_freebsd6_freebsd32_pread 173
|
||||
#define FREEBSD32_SYS_freebsd6_freebsd32_pwrite 174
|
||||
#define FREEBSD32_SYS_ntp_adjtime 176
|
||||
#define FREEBSD32_SYS_setgid 181
|
||||
#define FREEBSD32_SYS_setegid 182
|
||||
@ -178,11 +178,11 @@
|
||||
#define FREEBSD32_SYS_getrlimit 194
|
||||
#define FREEBSD32_SYS_setrlimit 195
|
||||
#define FREEBSD32_SYS_getdirentries 196
|
||||
#define FREEBSD32_SYS_freebsd32_mmap 197
|
||||
#define FREEBSD32_SYS_freebsd6_freebsd32_mmap 197
|
||||
#define FREEBSD32_SYS___syscall 198
|
||||
#define FREEBSD32_SYS_freebsd32_lseek 199
|
||||
#define FREEBSD32_SYS_freebsd32_truncate 200
|
||||
#define FREEBSD32_SYS_freebsd32_ftruncate 201
|
||||
#define FREEBSD32_SYS_freebsd6_freebsd32_lseek 199
|
||||
#define FREEBSD32_SYS_freebsd6_freebsd32_truncate 200
|
||||
#define FREEBSD32_SYS_freebsd6_freebsd32_ftruncate 201
|
||||
#define FREEBSD32_SYS_freebsd32_sysctl 202
|
||||
#define FREEBSD32_SYS_mlock 203
|
||||
#define FREEBSD32_SYS_munlock 204
|
||||
@ -220,7 +220,7 @@
|
||||
#define FREEBSD32_SYS_nlstat 280
|
||||
#define FREEBSD32_SYS_freebsd32_preadv 289
|
||||
#define FREEBSD32_SYS_freebsd32_pwritev 290
|
||||
/* 297 is old freebsd32_fhstatfs */
|
||||
#define FREEBSD32_SYS_freebsd4_freebsd32_fhstatfs 297
|
||||
#define FREEBSD32_SYS_fhopen 298
|
||||
#define FREEBSD32_SYS_fhstat 299
|
||||
#define FREEBSD32_SYS_modnext 300
|
||||
@ -252,14 +252,14 @@
|
||||
#define FREEBSD32_SYS_sched_get_priority_min 333
|
||||
#define FREEBSD32_SYS_sched_rr_get_interval 334
|
||||
#define FREEBSD32_SYS_utrace 335
|
||||
/* 336 is old freebsd32_sendfile */
|
||||
#define FREEBSD32_SYS_freebsd4_freebsd32_sendfile 336
|
||||
#define FREEBSD32_SYS_kldsym 337
|
||||
#define FREEBSD32_SYS_jail 338
|
||||
#define FREEBSD32_SYS_sigprocmask 340
|
||||
#define FREEBSD32_SYS_sigsuspend 341
|
||||
/* 342 is old freebsd32_sigaction */
|
||||
#define FREEBSD32_SYS_freebsd4_freebsd32_sigaction 342
|
||||
#define FREEBSD32_SYS_sigpending 343
|
||||
/* 344 is old freebsd32_sigreturn */
|
||||
#define FREEBSD32_SYS_freebsd4_freebsd32_sigreturn 344
|
||||
#define FREEBSD32_SYS_freebsd32_sigtimedwait 345
|
||||
#define FREEBSD32_SYS_freebsd32_sigwaitinfo 346
|
||||
#define FREEBSD32_SYS___acl_get_file 347
|
||||
@ -331,4 +331,10 @@
|
||||
#define FREEBSD32_SYS_sctp_generic_sendmsg 472
|
||||
#define FREEBSD32_SYS_sctp_generic_sendmsg_iov 473
|
||||
#define FREEBSD32_SYS_sctp_generic_recvmsg 474
|
||||
#define FREEBSD32_SYS_MAXSYSCALL 475
|
||||
#define FREEBSD32_SYS_freebsd32_pread 475
|
||||
#define FREEBSD32_SYS_freebsd32_pwrite 476
|
||||
#define FREEBSD32_SYS_freebsd32_mmap 477
|
||||
#define FREEBSD32_SYS_freebsd32_lseek 478
|
||||
#define FREEBSD32_SYS_freebsd32_truncate 479
|
||||
#define FREEBSD32_SYS_freebsd32_ftruncate 480
|
||||
#define FREEBSD32_SYS_MAXSYSCALL 481
|
||||
|
@ -3,7 +3,7 @@
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* $FreeBSD$
|
||||
* created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.88 2006/12/20 19:36:03 jkim Exp
|
||||
* created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.90 2007/07/04 23:02:40 peter Exp
|
||||
*/
|
||||
|
||||
const char *freebsd32_syscallnames[] = {
|
||||
@ -25,7 +25,7 @@ const char *freebsd32_syscallnames[] = {
|
||||
"chmod", /* 15 = chmod */
|
||||
"chown", /* 16 = chown */
|
||||
"break", /* 17 = break */
|
||||
"old.freebsd32_getfsstat", /* 18 = old freebsd32_getfsstat */
|
||||
"compat4.freebsd32_getfsstat", /* 18 = old freebsd32_getfsstat */
|
||||
"obs_olseek", /* 19 = obsolete olseek */
|
||||
"getpid", /* 20 = getpid */
|
||||
"mount", /* 21 = mount */
|
||||
@ -53,13 +53,13 @@ const char *freebsd32_syscallnames[] = {
|
||||
"getegid", /* 43 = getegid */
|
||||
"profil", /* 44 = profil */
|
||||
"ktrace", /* 45 = ktrace */
|
||||
"old.freebsd32_sigaction", /* 46 = old freebsd32_sigaction */
|
||||
"compat.freebsd32_sigaction", /* 46 = old freebsd32_sigaction */
|
||||
"getgid", /* 47 = getgid */
|
||||
"old.freebsd32_sigprocmask", /* 48 = old freebsd32_sigprocmask */
|
||||
"compat.freebsd32_sigprocmask", /* 48 = old freebsd32_sigprocmask */
|
||||
"getlogin", /* 49 = getlogin */
|
||||
"setlogin", /* 50 = setlogin */
|
||||
"acct", /* 51 = acct */
|
||||
"old.freebsd32_sigpending", /* 52 = old freebsd32_sigpending */
|
||||
"compat.freebsd32_sigpending", /* 52 = old freebsd32_sigpending */
|
||||
"freebsd32_sigaltstack", /* 53 = freebsd32_sigaltstack */
|
||||
"ioctl", /* 54 = ioctl */
|
||||
"reboot", /* 55 = reboot */
|
||||
@ -115,11 +115,11 @@ const char *freebsd32_syscallnames[] = {
|
||||
"setsockopt", /* 105 = setsockopt */
|
||||
"listen", /* 106 = listen */
|
||||
"obs_vtimes", /* 107 = obsolete vtimes */
|
||||
"old.freebsd32_sigvec", /* 108 = old freebsd32_sigvec */
|
||||
"old.freebsd32_sigblock", /* 109 = old freebsd32_sigblock */
|
||||
"old.freebsd32_sigsetmask", /* 110 = old freebsd32_sigsetmask */
|
||||
"old.freebsd32_sigsuspend", /* 111 = old freebsd32_sigsuspend */
|
||||
"old.freebsd32_sigstack", /* 112 = old freebsd32_sigstack */
|
||||
"compat.freebsd32_sigvec", /* 108 = old freebsd32_sigvec */
|
||||
"compat.freebsd32_sigblock", /* 109 = old freebsd32_sigblock */
|
||||
"compat.freebsd32_sigsetmask", /* 110 = old freebsd32_sigsetmask */
|
||||
"compat.freebsd32_sigsuspend", /* 111 = old freebsd32_sigsuspend */
|
||||
"compat.freebsd32_sigstack", /* 112 = old freebsd32_sigstack */
|
||||
"obs_orecvmsg", /* 113 = obsolete orecvmsg */
|
||||
"obs_osendmsg", /* 114 = obsolete osendmsg */
|
||||
"obs_vtrace", /* 115 = obsolete vtrace */
|
||||
@ -164,8 +164,8 @@ const char *freebsd32_syscallnames[] = {
|
||||
"#154", /* 154 = nosys */
|
||||
"#155", /* 155 = nfssvc */
|
||||
"obs_ogetdirentries", /* 156 = obsolete ogetdirentries */
|
||||
"old.freebsd32_statfs", /* 157 = old freebsd32_statfs */
|
||||
"old.freebsd32_fstatfs", /* 158 = old freebsd32_fstatfs */
|
||||
"compat4.freebsd32_statfs", /* 157 = old freebsd32_statfs */
|
||||
"compat4.freebsd32_fstatfs", /* 158 = old freebsd32_fstatfs */
|
||||
"#159", /* 159 = nosys */
|
||||
"#160", /* 160 = lgetfh */
|
||||
"getfh", /* 161 = getfh */
|
||||
@ -180,8 +180,8 @@ const char *freebsd32_syscallnames[] = {
|
||||
"freebsd32_msgsys", /* 170 = freebsd32_msgsys */
|
||||
"freebsd32_shmsys", /* 171 = freebsd32_shmsys */
|
||||
"#172", /* 172 = nosys */
|
||||
"freebsd32_pread", /* 173 = freebsd32_pread */
|
||||
"freebsd32_pwrite", /* 174 = freebsd32_pwrite */
|
||||
"compat6.freebsd32_pread", /* 173 = old freebsd32_pread */
|
||||
"compat6.freebsd32_pwrite", /* 174 = old freebsd32_pwrite */
|
||||
"#175", /* 175 = nosys */
|
||||
"ntp_adjtime", /* 176 = ntp_adjtime */
|
||||
"#177", /* 177 = sfork */
|
||||
@ -204,11 +204,11 @@ const char *freebsd32_syscallnames[] = {
|
||||
"getrlimit", /* 194 = getrlimit */
|
||||
"setrlimit", /* 195 = setrlimit */
|
||||
"getdirentries", /* 196 = getdirentries */
|
||||
"freebsd32_mmap", /* 197 = freebsd32_mmap */
|
||||
"compat6.freebsd32_mmap", /* 197 = old freebsd32_mmap */
|
||||
"__syscall", /* 198 = __syscall */
|
||||
"freebsd32_lseek", /* 199 = freebsd32_lseek */
|
||||
"freebsd32_truncate", /* 200 = freebsd32_truncate */
|
||||
"freebsd32_ftruncate", /* 201 = freebsd32_ftruncate */
|
||||
"compat6.freebsd32_lseek", /* 199 = old freebsd32_lseek */
|
||||
"compat6.freebsd32_truncate", /* 200 = old freebsd32_truncate */
|
||||
"compat6.freebsd32_ftruncate", /* 201 = old freebsd32_ftruncate */
|
||||
"freebsd32_sysctl", /* 202 = freebsd32_sysctl */
|
||||
"mlock", /* 203 = mlock */
|
||||
"munlock", /* 204 = munlock */
|
||||
@ -304,7 +304,7 @@ const char *freebsd32_syscallnames[] = {
|
||||
"#294", /* 294 = nosys */
|
||||
"#295", /* 295 = nosys */
|
||||
"#296", /* 296 = nosys */
|
||||
"old.freebsd32_fhstatfs", /* 297 = old freebsd32_fhstatfs */
|
||||
"compat4.freebsd32_fhstatfs", /* 297 = old freebsd32_fhstatfs */
|
||||
"fhopen", /* 298 = fhopen */
|
||||
"fhstat", /* 299 = fhstat */
|
||||
"modnext", /* 300 = modnext */
|
||||
@ -343,15 +343,15 @@ const char *freebsd32_syscallnames[] = {
|
||||
"sched_get_priority_min", /* 333 = sched_get_priority_min */
|
||||
"sched_rr_get_interval", /* 334 = sched_rr_get_interval */
|
||||
"utrace", /* 335 = utrace */
|
||||
"old.freebsd32_sendfile", /* 336 = old freebsd32_sendfile */
|
||||
"compat4.freebsd32_sendfile", /* 336 = old freebsd32_sendfile */
|
||||
"kldsym", /* 337 = kldsym */
|
||||
"jail", /* 338 = jail */
|
||||
"#339", /* 339 = pioctl */
|
||||
"sigprocmask", /* 340 = sigprocmask */
|
||||
"sigsuspend", /* 341 = sigsuspend */
|
||||
"old.freebsd32_sigaction", /* 342 = old freebsd32_sigaction */
|
||||
"compat4.freebsd32_sigaction", /* 342 = old freebsd32_sigaction */
|
||||
"sigpending", /* 343 = sigpending */
|
||||
"old.freebsd32_sigreturn", /* 344 = old freebsd32_sigreturn */
|
||||
"compat4.freebsd32_sigreturn", /* 344 = old freebsd32_sigreturn */
|
||||
"freebsd32_sigtimedwait", /* 345 = freebsd32_sigtimedwait */
|
||||
"freebsd32_sigwaitinfo", /* 346 = freebsd32_sigwaitinfo */
|
||||
"__acl_get_file", /* 347 = __acl_get_file */
|
||||
@ -482,4 +482,10 @@ const char *freebsd32_syscallnames[] = {
|
||||
"sctp_generic_sendmsg", /* 472 = sctp_generic_sendmsg */
|
||||
"sctp_generic_sendmsg_iov", /* 473 = sctp_generic_sendmsg_iov */
|
||||
"sctp_generic_recvmsg", /* 474 = sctp_generic_recvmsg */
|
||||
"freebsd32_pread", /* 475 = freebsd32_pread */
|
||||
"freebsd32_pwrite", /* 476 = freebsd32_pwrite */
|
||||
"freebsd32_mmap", /* 477 = freebsd32_mmap */
|
||||
"freebsd32_lseek", /* 478 = freebsd32_lseek */
|
||||
"freebsd32_truncate", /* 479 = freebsd32_truncate */
|
||||
"freebsd32_ftruncate", /* 480 = freebsd32_ftruncate */
|
||||
};
|
||||
|
@ -3,7 +3,7 @@
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* $FreeBSD$
|
||||
* created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.88 2006/12/20 19:36:03 jkim Exp
|
||||
* created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.90 2007/07/04 23:02:40 peter Exp
|
||||
*/
|
||||
|
||||
#include "opt_compat.h"
|
||||
@ -30,6 +30,12 @@
|
||||
#define compat4(n, name) 0, (sy_call_t *)nosys
|
||||
#endif
|
||||
|
||||
#ifdef COMPAT_FREEBSD6
|
||||
#define compat6(n, name) n, (sy_call_t *)__CONCAT(freebsd6_,name)
|
||||
#else
|
||||
#define compat6(n, name) 0, (sy_call_t *)nosys
|
||||
#endif
|
||||
|
||||
/* The casts are bogus but will do for now. */
|
||||
struct sysent freebsd32_sysent[] = {
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 0 = syscall */
|
||||
@ -205,8 +211,8 @@ struct sysent freebsd32_sysent[] = {
|
||||
{ AS(freebsd32_msgsys_args), (sy_call_t *)freebsd32_msgsys, AUE_MSGSYS, NULL, 0, 0 }, /* 170 = freebsd32_msgsys */
|
||||
{ AS(freebsd32_shmsys_args), (sy_call_t *)freebsd32_shmsys, AUE_SHMSYS, NULL, 0, 0 }, /* 171 = freebsd32_shmsys */
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 172 = nosys */
|
||||
{ AS(freebsd32_pread_args), (sy_call_t *)freebsd32_pread, AUE_PREAD, NULL, 0, 0 }, /* 173 = freebsd32_pread */
|
||||
{ AS(freebsd32_pwrite_args), (sy_call_t *)freebsd32_pwrite, AUE_PWRITE, NULL, 0, 0 }, /* 174 = freebsd32_pwrite */
|
||||
{ compat6(AS(freebsd6_freebsd32_pread_args),freebsd32_pread), AUE_PREAD, NULL, 0, 0 }, /* 173 = old freebsd32_pread */
|
||||
{ compat6(AS(freebsd6_freebsd32_pwrite_args),freebsd32_pwrite), AUE_PWRITE, NULL, 0, 0 }, /* 174 = old freebsd32_pwrite */
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 175 = nosys */
|
||||
{ AS(ntp_adjtime_args), (sy_call_t *)ntp_adjtime, AUE_NTP_ADJTIME, NULL, 0, 0 }, /* 176 = ntp_adjtime */
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 177 = sfork */
|
||||
@ -229,11 +235,11 @@ struct sysent freebsd32_sysent[] = {
|
||||
{ AS(__getrlimit_args), (sy_call_t *)getrlimit, AUE_GETRLIMIT, NULL, 0, 0 }, /* 194 = getrlimit */
|
||||
{ AS(__setrlimit_args), (sy_call_t *)setrlimit, AUE_SETRLIMIT, NULL, 0, 0 }, /* 195 = setrlimit */
|
||||
{ AS(getdirentries_args), (sy_call_t *)getdirentries, AUE_GETDIRENTRIES, NULL, 0, 0 }, /* 196 = getdirentries */
|
||||
{ AS(freebsd32_mmap_args), (sy_call_t *)freebsd32_mmap, AUE_MMAP, NULL, 0, 0 }, /* 197 = freebsd32_mmap */
|
||||
{ compat6(AS(freebsd6_freebsd32_mmap_args),freebsd32_mmap), AUE_MMAP, NULL, 0, 0 }, /* 197 = old freebsd32_mmap */
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 198 = __syscall */
|
||||
{ AS(freebsd32_lseek_args), (sy_call_t *)freebsd32_lseek, AUE_LSEEK, NULL, 0, 0 }, /* 199 = freebsd32_lseek */
|
||||
{ AS(freebsd32_truncate_args), (sy_call_t *)freebsd32_truncate, AUE_TRUNCATE, NULL, 0, 0 }, /* 200 = freebsd32_truncate */
|
||||
{ AS(freebsd32_ftruncate_args), (sy_call_t *)freebsd32_ftruncate, AUE_FTRUNCATE, NULL, 0, 0 }, /* 201 = freebsd32_ftruncate */
|
||||
{ compat6(AS(freebsd6_freebsd32_lseek_args),freebsd32_lseek), AUE_LSEEK, NULL, 0, 0 }, /* 199 = old freebsd32_lseek */
|
||||
{ compat6(AS(freebsd6_freebsd32_truncate_args),freebsd32_truncate), AUE_TRUNCATE, NULL, 0, 0 }, /* 200 = old freebsd32_truncate */
|
||||
{ compat6(AS(freebsd6_freebsd32_ftruncate_args),freebsd32_ftruncate), AUE_FTRUNCATE, NULL, 0, 0 }, /* 201 = old freebsd32_ftruncate */
|
||||
{ AS(freebsd32_sysctl_args), (sy_call_t *)freebsd32_sysctl, AUE_SYSCTL, NULL, 0, 0 }, /* 202 = freebsd32_sysctl */
|
||||
{ AS(mlock_args), (sy_call_t *)mlock, AUE_MLOCK, NULL, 0, 0 }, /* 203 = mlock */
|
||||
{ AS(munlock_args), (sy_call_t *)munlock, AUE_MUNLOCK, NULL, 0, 0 }, /* 204 = munlock */
|
||||
@ -507,4 +513,10 @@ struct sysent freebsd32_sysent[] = {
|
||||
{ AS(sctp_generic_sendmsg_args), (sy_call_t *)sctp_generic_sendmsg, AUE_NULL, NULL, 0, 0 }, /* 472 = sctp_generic_sendmsg */
|
||||
{ AS(sctp_generic_sendmsg_iov_args), (sy_call_t *)sctp_generic_sendmsg_iov, AUE_NULL, NULL, 0, 0 }, /* 473 = sctp_generic_sendmsg_iov */
|
||||
{ AS(sctp_generic_recvmsg_args), (sy_call_t *)sctp_generic_recvmsg, AUE_NULL, NULL, 0, 0 }, /* 474 = sctp_generic_recvmsg */
|
||||
{ AS(freebsd32_pread_args), (sy_call_t *)freebsd32_pread, AUE_PREAD, NULL, 0, 0 }, /* 475 = freebsd32_pread */
|
||||
{ AS(freebsd32_pwrite_args), (sy_call_t *)freebsd32_pwrite, AUE_PWRITE, NULL, 0, 0 }, /* 476 = freebsd32_pwrite */
|
||||
{ AS(freebsd32_mmap_args), (sy_call_t *)freebsd32_mmap, AUE_MMAP, NULL, 0, 0 }, /* 477 = freebsd32_mmap */
|
||||
{ AS(freebsd32_lseek_args), (sy_call_t *)freebsd32_lseek, AUE_LSEEK, NULL, 0, 0 }, /* 478 = freebsd32_lseek */
|
||||
{ AS(freebsd32_truncate_args), (sy_call_t *)freebsd32_truncate, AUE_TRUNCATE, NULL, 0, 0 }, /* 479 = freebsd32_truncate */
|
||||
{ AS(freebsd32_ftruncate_args), (sy_call_t *)freebsd32_ftruncate, AUE_FTRUNCATE, NULL, 0, 0 }, /* 480 = freebsd32_ftruncate */
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user