Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/linux/arch/arm regen - hook linux_sys_fcntl64()



details:   https://anonhg.NetBSD.org/src/rev/807a5836dd03
branches:  trunk
changeset: 526834:807a5836dd03
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sun May 12 15:05:56 2002 +0000

description:
regen - hook linux_sys_fcntl64()

diffstat:

 sys/compat/linux/arch/arm/linux_syscall.h     |   7 +++++--
 sys/compat/linux/arch/arm/linux_syscallargs.h |  11 +++++++++--
 sys/compat/linux/arch/arm/linux_syscalls.c    |   8 ++++----
 sys/compat/linux/arch/arm/linux_sysent.c      |  10 +++++-----
 4 files changed, 23 insertions(+), 13 deletions(-)

diffs (125 lines):

diff -r de6a4b544818 -r 807a5836dd03 sys/compat/linux/arch/arm/linux_syscall.h
--- a/sys/compat/linux/arch/arm/linux_syscall.h Sun May 12 15:05:41 2002 +0000
+++ b/sys/compat/linux/arch/arm/linux_syscall.h Sun May 12 15:05:56 2002 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.10 2002/04/10 18:19:05 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.11 2002/05/12 15:05:56 jdolecek Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.10 2002/04/10 18:18:27 christos Exp 
+ * created from        NetBSD: syscalls.master,v 1.11 2002/05/12 15:04:27 jdolecek Exp 
  */
 
 /* syscall: "nosys" ret: "int" args: */
@@ -544,6 +544,9 @@
 /* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */
 #define        LINUX_SYS_getdents64    217
 
+/* syscall: "fcntl64" ret: "int" args: "int" "int" "void *" */
+#define        LINUX_SYS_fcntl64       221
+
 /* syscall: "breakpoint" ret: "int" args: */
 #define        LINUX_SYS_breakpoint    257
 
diff -r de6a4b544818 -r 807a5836dd03 sys/compat/linux/arch/arm/linux_syscallargs.h
--- a/sys/compat/linux/arch/arm/linux_syscallargs.h     Sun May 12 15:05:41 2002 +0000
+++ b/sys/compat/linux/arch/arm/linux_syscallargs.h     Sun May 12 15:05:56 2002 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.10 2002/04/10 18:19:05 christos Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.11 2002/05/12 15:05:56 jdolecek Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.10 2002/04/10 18:18:27 christos Exp 
+ * created from        NetBSD: syscalls.master,v 1.11 2002/05/12 15:04:27 jdolecek Exp 
  */
 
 #ifndef _LINUX_SYS__SYSCALLARGS_H_
@@ -548,6 +548,12 @@
        syscallarg(unsigned int) count;
 };
 
+struct linux_sys_fcntl64_args {
+       syscallarg(int) fd;
+       syscallarg(int) cmd;
+       syscallarg(void *) arg;
+};
+
 struct linux_sys_cacheflush_args {
        syscallarg(uintptr_t) from;
        syscallarg(intptr_t) to;
@@ -735,6 +741,7 @@
 int    linux_sys_setfsuid(struct proc *, void *, register_t *);
 int    linux_sys_getfsuid(struct proc *, void *, register_t *);
 int    linux_sys_getdents64(struct proc *, void *, register_t *);
+int    linux_sys_fcntl64(struct proc *, void *, register_t *);
 int    linux_sys_breakpoint(struct proc *, void *, register_t *);
 int    linux_sys_cacheflush(struct proc *, void *, register_t *);
 #endif /* _LINUX_SYS__SYSCALLARGS_H_ */
diff -r de6a4b544818 -r 807a5836dd03 sys/compat/linux/arch/arm/linux_syscalls.c
--- a/sys/compat/linux/arch/arm/linux_syscalls.c        Sun May 12 15:05:41 2002 +0000
+++ b/sys/compat/linux/arch/arm/linux_syscalls.c        Sun May 12 15:05:56 2002 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.10 2002/04/10 18:19:05 christos Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.11 2002/05/12 15:05:56 jdolecek Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.10 2002/04/10 18:18:27 christos Exp 
+ * created from        NetBSD: syscalls.master,v 1.11 2002/05/12 15:04:27 jdolecek Exp 
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.10 2002/04/10 18:19:05 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.11 2002/05/12 15:05:56 jdolecek Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -253,7 +253,7 @@
        "#218 (unimplemented pivot_root)",              /* 218 = unimplemented pivot_root */
        "#219 (unimplemented mincore)",         /* 219 = unimplemented mincore */
        "#220 (unimplemented madvise)",         /* 220 = unimplemented madvise */
-       "#221 (unimplemented fcntl64)",         /* 221 = unimplemented fcntl64 */
+       "fcntl64",                      /* 221 = fcntl64 */
        "#222 (unimplemented)",         /* 222 = unimplemented */
        "#223 (unimplemented)",         /* 223 = unimplemented */
        "#224 (unimplemented)",         /* 224 = unimplemented */
diff -r de6a4b544818 -r 807a5836dd03 sys/compat/linux/arch/arm/linux_sysent.c
--- a/sys/compat/linux/arch/arm/linux_sysent.c  Sun May 12 15:05:41 2002 +0000
+++ b/sys/compat/linux/arch/arm/linux_sysent.c  Sun May 12 15:05:56 2002 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.10 2002/04/10 18:19:06 christos Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.11 2002/05/12 15:05:56 jdolecek Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.10 2002/04/10 18:18:27 christos Exp 
+ * created from        NetBSD: syscalls.master,v 1.11 2002/05/12 15:04:27 jdolecek Exp 
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.10 2002/04/10 18:19:06 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.11 2002/05/12 15:05:56 jdolecek Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_compat_43.h"
@@ -475,8 +475,8 @@
            linux_sys_nosys },                  /* 219 = unimplemented mincore */
        { 0, 0, 0,
            linux_sys_nosys },                  /* 220 = unimplemented madvise */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 221 = unimplemented fcntl64 */
+       { 3, s(struct linux_sys_fcntl64_args), 0,
+           linux_sys_fcntl64 },                /* 221 = fcntl64 */
        { 0, 0, 0,
            linux_sys_nosys },                  /* 222 = unimplemented */
        { 0, 0, 0,



Home | Main Index | Thread Index | Old Index