diff options
Diffstat (limited to 'sys/compat/freebsd')
-rw-r--r-- | sys/compat/freebsd/freebsd_syscall.h | 4 | ||||
-rw-r--r-- | sys/compat/freebsd/freebsd_syscallargs.h | 16 | ||||
-rw-r--r-- | sys/compat/freebsd/freebsd_syscalls.c | 4 | ||||
-rw-r--r-- | sys/compat/freebsd/freebsd_sysent.c | 8 |
4 files changed, 21 insertions, 11 deletions
diff --git a/sys/compat/freebsd/freebsd_syscall.h b/sys/compat/freebsd/freebsd_syscall.h index f3b2b036665..3d312ca1e33 100644 --- a/sys/compat/freebsd/freebsd_syscall.h +++ b/sys/compat/freebsd/freebsd_syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: freebsd_syscall.h,v 1.31 2006/09/22 15:30:44 pedro Exp $ */ +/* $OpenBSD: freebsd_syscall.h,v 1.32 2007/04/05 15:33:58 tedu Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.30 2006/09/22 15:29:57 pedro Exp + * created from OpenBSD: syscalls.master,v 1.31 2007/04/05 15:33:42 tedu Exp */ /* syscall: "syscall" ret: "int" args: */ diff --git a/sys/compat/freebsd/freebsd_syscallargs.h b/sys/compat/freebsd/freebsd_syscallargs.h index f2cb7a32c88..f5403228f81 100644 --- a/sys/compat/freebsd/freebsd_syscallargs.h +++ b/sys/compat/freebsd/freebsd_syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: freebsd_syscallargs.h,v 1.33 2006/09/22 15:30:44 pedro Exp $ */ +/* $OpenBSD: freebsd_syscallargs.h,v 1.34 2007/04/05 15:33:58 tedu Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.30 2006/09/22 15:29:57 pedro Exp + * created from OpenBSD: syscalls.master,v 1.31 2007/04/05 15:33:42 tedu Exp */ #ifdef syscallarg @@ -216,6 +216,16 @@ struct freebsd_sys_pathconf_args { syscallarg(int) name; }; +struct freebsd_sys_mmap_args { + syscallarg(caddr_t) addr; + syscallarg(size_t) len; + syscallarg(int) prot; + syscallarg(int) flags; + syscallarg(int) fd; + syscallarg(long) pad; + syscallarg(off_t) pos; +}; + struct freebsd_sys_truncate_args { syscallarg(char *) path; syscallarg(int) pad; @@ -452,7 +462,7 @@ int sys_fpathconf(struct proc *, void *, register_t *); int sys_getrlimit(struct proc *, void *, register_t *); int sys_setrlimit(struct proc *, void *, register_t *); int sys_getdirentries(struct proc *, void *, register_t *); -int sys_mmap(struct proc *, void *, register_t *); +int freebsd_sys_mmap(struct proc *, void *, register_t *); int sys_nosys(struct proc *, void *, register_t *); int sys_lseek(struct proc *, void *, register_t *); int freebsd_sys_truncate(struct proc *, void *, register_t *); diff --git a/sys/compat/freebsd/freebsd_syscalls.c b/sys/compat/freebsd/freebsd_syscalls.c index f82391df680..aff7febab6f 100644 --- a/sys/compat/freebsd/freebsd_syscalls.c +++ b/sys/compat/freebsd/freebsd_syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: freebsd_syscalls.c,v 1.31 2006/09/22 15:30:44 pedro Exp $ */ +/* $OpenBSD: freebsd_syscalls.c,v 1.32 2007/04/05 15:33:58 tedu Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.30 2006/09/22 15:29:57 pedro Exp + * created from OpenBSD: syscalls.master,v 1.31 2007/04/05 15:33:42 tedu Exp */ char *freebsd_syscallnames[] = { diff --git a/sys/compat/freebsd/freebsd_sysent.c b/sys/compat/freebsd/freebsd_sysent.c index 1ee6bb17261..e0f63dd4c27 100644 --- a/sys/compat/freebsd/freebsd_sysent.c +++ b/sys/compat/freebsd/freebsd_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: freebsd_sysent.c,v 1.32 2006/09/22 15:30:44 pedro Exp $ */ +/* $OpenBSD: freebsd_sysent.c,v 1.33 2007/04/05 15:33:58 tedu Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.30 2006/09/22 15:29:57 pedro Exp + * created from OpenBSD: syscalls.master,v 1.31 2007/04/05 15:33:42 tedu Exp */ #include <sys/param.h> @@ -458,8 +458,8 @@ struct sysent freebsd_sysent[] = { sys_setrlimit }, /* 195 = setrlimit */ { 4, s(struct sys_getdirentries_args), sys_getdirentries }, /* 196 = getdirentries */ - { 7, s(struct sys_mmap_args), - sys_mmap }, /* 197 = mmap */ + { 7, s(struct freebsd_sys_mmap_args), + freebsd_sys_mmap }, /* 197 = mmap */ { 0, 0, sys_nosys }, /* 198 = __syscall */ { 4, s(struct sys_lseek_args), |