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 regen



details:   https://anonhg.NetBSD.org/src/rev/4ed3aaab0482
branches:  trunk
changeset: 525389:4ed3aaab0482
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Apr 10 18:19:04 2002 +0000

description:
regen

diffstat:

 sys/compat/linux/arch/alpha/linux_syscall.h       |   7 +++++--
 sys/compat/linux/arch/alpha/linux_syscallargs.h   |  11 +++++++++--
 sys/compat/linux/arch/alpha/linux_syscalls.c      |   8 ++++----
 sys/compat/linux/arch/alpha/linux_sysent.c        |  10 +++++-----
 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 +++++-----
 sys/compat/linux/arch/i386/linux_syscall.h        |   7 +++++--
 sys/compat/linux/arch/i386/linux_syscallargs.h    |  11 +++++++++--
 sys/compat/linux/arch/i386/linux_syscalls.c       |   8 ++++----
 sys/compat/linux/arch/i386/linux_sysent.c         |  10 +++++-----
 sys/compat/linux/arch/m68k/linux_syscall.h        |   7 +++++--
 sys/compat/linux/arch/m68k/linux_syscallargs.h    |  11 +++++++++--
 sys/compat/linux/arch/m68k/linux_syscalls.c       |   8 ++++----
 sys/compat/linux/arch/m68k/linux_sysent.c         |  10 +++++-----
 sys/compat/linux/arch/mips/linux_syscall.h        |   7 +++++--
 sys/compat/linux/arch/mips/linux_syscallargs.h    |  11 +++++++++--
 sys/compat/linux/arch/mips/linux_syscalls.c       |   8 ++++----
 sys/compat/linux/arch/mips/linux_sysent.c         |  10 +++++-----
 sys/compat/linux/arch/powerpc/linux_syscall.h     |   7 +++++--
 sys/compat/linux/arch/powerpc/linux_syscallargs.h |  11 +++++++++--
 sys/compat/linux/arch/powerpc/linux_syscalls.c    |   8 ++++----
 sys/compat/linux/arch/powerpc/linux_sysent.c      |  10 +++++-----
 24 files changed, 138 insertions(+), 78 deletions(-)

diffs (truncated from 730 to 300 lines):

diff -r f82e6b0552b9 -r 4ed3aaab0482 sys/compat/linux/arch/alpha/linux_syscall.h
--- a/sys/compat/linux/arch/alpha/linux_syscall.h       Wed Apr 10 18:18:26 2002 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscall.h       Wed Apr 10 18:19:04 2002 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.45 2002/03/22 15:15:08 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.46 2002/04/10 18:19:04 christos Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.40 2002/03/22 15:14:55 christos Exp 
+ * created from        NetBSD: syscalls.master,v 1.41 2002/04/10 18:18:26 christos Exp 
  */
 
 /* syscall: "syscall" ret: "int" args: */
@@ -487,5 +487,8 @@
 /* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
 #define        LINUX_SYS___getcwd      367
 
+/* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */
+#define        LINUX_SYS_getdents64    377
+
 #define        LINUX_SYS_MAXSYSCALL    378
 #define        LINUX_SYS_NSYSENT       512
diff -r f82e6b0552b9 -r 4ed3aaab0482 sys/compat/linux/arch/alpha/linux_syscallargs.h
--- a/sys/compat/linux/arch/alpha/linux_syscallargs.h   Wed Apr 10 18:18:26 2002 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscallargs.h   Wed Apr 10 18:19:04 2002 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.44 2002/03/22 15:15:08 christos Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.45 2002/04/10 18:19:04 christos Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.40 2002/03/22 15:14:55 christos Exp 
+ * created from        NetBSD: syscalls.master,v 1.41 2002/04/10 18:18:26 christos Exp 
  */
 
 #ifndef _LINUX_SYS__SYSCALLARGS_H_
@@ -581,6 +581,12 @@
        syscallarg(struct rusage *) rusage;
 };
 
+struct linux_sys_getdents64_args {
+       syscallarg(int) fd;
+       syscallarg(struct linux_dirent64 *) dent;
+       syscallarg(unsigned int) count;
+};
+
 /*
  * System call prototypes.
  */
@@ -772,4 +778,5 @@
 int    sys_getrusage(struct proc *, void *, register_t *);
 int    linux_sys_wait4(struct proc *, void *, register_t *);
 int    sys___getcwd(struct proc *, void *, register_t *);
+int    linux_sys_getdents64(struct proc *, void *, register_t *);
 #endif /* _LINUX_SYS__SYSCALLARGS_H_ */
diff -r f82e6b0552b9 -r 4ed3aaab0482 sys/compat/linux/arch/alpha/linux_syscalls.c
--- a/sys/compat/linux/arch/alpha/linux_syscalls.c      Wed Apr 10 18:18:26 2002 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscalls.c      Wed Apr 10 18:19:04 2002 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.46 2002/03/22 15:15:09 christos Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.47 2002/04/10 18:19:04 christos Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.40 2002/03/22 15:14:55 christos Exp 
+ * created from        NetBSD: syscalls.master,v 1.41 2002/04/10 18:18:26 christos Exp 
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.46 2002/03/22 15:15:09 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.47 2002/04/10 18:19:04 christos Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -435,5 +435,5 @@
        "#374 (unimplemented pivot_root)",              /* 374 = unimplemented pivot_root */
        "#375 (unimplemented mincore)",         /* 375 = unimplemented mincore */
        "#376 (unimplemented pciconfig_iobase)",                /* 376 = unimplemented pciconfig_iobase */
-       "#377 (unimplemented getdents64)",              /* 377 = unimplemented getdents64 */
+       "getdents64",                   /* 377 = getdents64 */
 };
diff -r f82e6b0552b9 -r 4ed3aaab0482 sys/compat/linux/arch/alpha/linux_sysent.c
--- a/sys/compat/linux/arch/alpha/linux_sysent.c        Wed Apr 10 18:18:26 2002 +0000
+++ b/sys/compat/linux/arch/alpha/linux_sysent.c        Wed Apr 10 18:19:04 2002 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.45 2002/03/22 15:15:09 christos Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.46 2002/04/10 18:19:04 christos Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.40 2002/03/22 15:14:55 christos Exp 
+ * created from        NetBSD: syscalls.master,v 1.41 2002/04/10 18:18:26 christos Exp 
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.45 2002/03/22 15:15:09 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.46 2002/04/10 18:19:04 christos Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_sysv.h"
@@ -824,8 +824,8 @@
            linux_sys_nosys },                  /* 375 = unimplemented mincore */
        { 0, 0, 0,
            linux_sys_nosys },                  /* 376 = unimplemented pciconfig_iobase */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 377 = unimplemented getdents64 */
+       { 3, s(struct linux_sys_getdents64_args), 0,
+           linux_sys_getdents64 },             /* 377 = getdents64 */
        { 0, 0, 0,
            linux_sys_nosys },                  /* 378 = filler */
        { 0, 0, 0,
diff -r f82e6b0552b9 -r 4ed3aaab0482 sys/compat/linux/arch/arm/linux_syscall.h
--- a/sys/compat/linux/arch/arm/linux_syscall.h Wed Apr 10 18:18:26 2002 +0000
+++ b/sys/compat/linux/arch/arm/linux_syscall.h Wed Apr 10 18:19:04 2002 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.9 2002/03/22 15:16:14 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.10 2002/04/10 18:19:05 christos Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.9 2002/03/22 15:16:02 christos Exp 
+ * created from        NetBSD: syscalls.master,v 1.10 2002/04/10 18:18:27 christos Exp 
  */
 
 /* syscall: "nosys" ret: "int" args: */
@@ -541,6 +541,9 @@
 /* syscall: "getfsuid32" ret: "int" args: */
 #define        LINUX_SYS_getfsuid32    216
 
+/* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */
+#define        LINUX_SYS_getdents64    217
+
 /* syscall: "breakpoint" ret: "int" args: */
 #define        LINUX_SYS_breakpoint    257
 
diff -r f82e6b0552b9 -r 4ed3aaab0482 sys/compat/linux/arch/arm/linux_syscallargs.h
--- a/sys/compat/linux/arch/arm/linux_syscallargs.h     Wed Apr 10 18:18:26 2002 +0000
+++ b/sys/compat/linux/arch/arm/linux_syscallargs.h     Wed Apr 10 18:19:04 2002 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.9 2002/03/22 15:16:14 christos Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.10 2002/04/10 18:19:05 christos Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.9 2002/03/22 15:16:02 christos Exp 
+ * created from        NetBSD: syscalls.master,v 1.10 2002/04/10 18:18:27 christos Exp 
  */
 
 #ifndef _LINUX_SYS__SYSCALLARGS_H_
@@ -542,6 +542,12 @@
        syscallarg(gid_t) gid;
 };
 
+struct linux_sys_getdents64_args {
+       syscallarg(int) fd;
+       syscallarg(struct linux_dirent64 *) dent;
+       syscallarg(unsigned int) count;
+};
+
 struct linux_sys_cacheflush_args {
        syscallarg(uintptr_t) from;
        syscallarg(intptr_t) to;
@@ -728,6 +734,7 @@
 int    sys_setgid(struct proc *, void *, register_t *);
 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_breakpoint(struct proc *, void *, register_t *);
 int    linux_sys_cacheflush(struct proc *, void *, register_t *);
 #endif /* _LINUX_SYS__SYSCALLARGS_H_ */
diff -r f82e6b0552b9 -r 4ed3aaab0482 sys/compat/linux/arch/arm/linux_syscalls.c
--- a/sys/compat/linux/arch/arm/linux_syscalls.c        Wed Apr 10 18:18:26 2002 +0000
+++ b/sys/compat/linux/arch/arm/linux_syscalls.c        Wed Apr 10 18:19:04 2002 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.9 2002/03/22 15:16:15 christos Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.10 2002/04/10 18:19:05 christos Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.9 2002/03/22 15:16:02 christos Exp 
+ * created from        NetBSD: syscalls.master,v 1.10 2002/04/10 18:18:27 christos Exp 
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.9 2002/03/22 15:16:15 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.10 2002/04/10 18:19:05 christos Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -249,7 +249,7 @@
        "setgid32",                     /* 214 = setgid32 */
        "setfsuid32",                   /* 215 = setfsuid32 */
        "getfsuid32",                   /* 216 = getfsuid32 */
-       "#217 (unimplemented getdents64)",              /* 217 = unimplemented getdents64 */
+       "getdents64",                   /* 217 = getdents64 */
        "#218 (unimplemented pivot_root)",              /* 218 = unimplemented pivot_root */
        "#219 (unimplemented mincore)",         /* 219 = unimplemented mincore */
        "#220 (unimplemented madvise)",         /* 220 = unimplemented madvise */
diff -r f82e6b0552b9 -r 4ed3aaab0482 sys/compat/linux/arch/arm/linux_sysent.c
--- a/sys/compat/linux/arch/arm/linux_sysent.c  Wed Apr 10 18:18:26 2002 +0000
+++ b/sys/compat/linux/arch/arm/linux_sysent.c  Wed Apr 10 18:19:04 2002 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.9 2002/03/22 15:16:15 christos Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.10 2002/04/10 18:19:06 christos Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.9 2002/03/22 15:16:02 christos Exp 
+ * created from        NetBSD: syscalls.master,v 1.10 2002/04/10 18:18:27 christos Exp 
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.9 2002/03/22 15:16:15 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.10 2002/04/10 18:19:06 christos Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_compat_43.h"
@@ -467,8 +467,8 @@
            linux_sys_setfsuid },               /* 215 = setfsuid32 */
        { 0, 0, 0,
            linux_sys_getfsuid },               /* 216 = getfsuid32 */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 217 = unimplemented getdents64 */
+       { 3, s(struct linux_sys_getdents64_args), 0,
+           linux_sys_getdents64 },             /* 217 = getdents64 */
        { 0, 0, 0,
            linux_sys_nosys },                  /* 218 = unimplemented pivot_root */
        { 0, 0, 0,
diff -r f82e6b0552b9 -r 4ed3aaab0482 sys/compat/linux/arch/i386/linux_syscall.h
--- a/sys/compat/linux/arch/i386/linux_syscall.h        Wed Apr 10 18:18:26 2002 +0000
+++ b/sys/compat/linux/arch/i386/linux_syscall.h        Wed Apr 10 18:19:04 2002 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.43 2002/03/22 15:11:23 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.44 2002/04/10 18:19:07 christos Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.62 2002/03/22 15:10:38 christos Exp 
+ * created from        NetBSD: syscalls.master,v 1.63 2002/04/10 18:18:27 christos Exp 
  */
 
 /* syscall: "syscall" ret: "int" args: */
@@ -557,6 +557,9 @@
 /* syscall: "getfsuid" ret: "int" args: */
 #define        LINUX_SYS_getfsuid      216
 
+/* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */
+#define        LINUX_SYS_getdents64    220
+
 /* syscall: "fcntl64" ret: "int" args: "int" "int" "void *" */
 #define        LINUX_SYS_fcntl64       221
 
diff -r f82e6b0552b9 -r 4ed3aaab0482 sys/compat/linux/arch/i386/linux_syscallargs.h
--- a/sys/compat/linux/arch/i386/linux_syscallargs.h    Wed Apr 10 18:18:26 2002 +0000
+++ b/sys/compat/linux/arch/i386/linux_syscallargs.h    Wed Apr 10 18:19:04 2002 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.43 2002/03/22 15:11:23 christos Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.44 2002/04/10 18:19:07 christos Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.62 2002/03/22 15:10:38 christos Exp 
+ * created from        NetBSD: syscalls.master,v 1.63 2002/04/10 18:18:27 christos Exp 
  */
 
 #ifndef _LINUX_SYS__SYSCALLARGS_H_
@@ -598,6 +598,12 @@
        syscallarg(uid_t) uid;
 };
 
+struct linux_sys_getdents64_args {
+       syscallarg(int) fd;
+       syscallarg(struct linux_dirent64 *) dent;
+       syscallarg(unsigned int) count;
+};
+
 struct linux_sys_fcntl64_args {
        syscallarg(int) fd;
        syscallarg(int) cmd;



Home | Main Index | Thread Index | Old Index