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/m68k Regen.



details:   https://anonhg.NetBSD.org/src/rev/a7ed87ab728a
branches:  trunk
changeset: 326747:a7ed87ab728a
user:      njoly <njoly%NetBSD.org@localhost>
date:      Sat Feb 15 22:36:26 2014 +0000

description:
Regen.

diffstat:

 sys/compat/linux/arch/m68k/linux_syscall.h     |  10 ++++++++--
 sys/compat/linux/arch/m68k/linux_syscallargs.h |  12 ++++++++++--
 sys/compat/linux/arch/m68k/linux_syscalls.c    |  10 +++++-----
 sys/compat/linux/arch/m68k/linux_sysent.c      |  14 +++++++-------
 4 files changed, 30 insertions(+), 16 deletions(-)

diffs (135 lines):

diff -r 1fb071395b8d -r a7ed87ab728a sys/compat/linux/arch/m68k/linux_syscall.h
--- a/sys/compat/linux/arch/m68k/linux_syscall.h        Sat Feb 15 22:35:08 2014 +0000
+++ b/sys/compat/linux/arch/m68k/linux_syscall.h        Sat Feb 15 22:36:26 2014 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.86 2013/12/24 13:41:55 njoly Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.87 2014/02/15 22:36:26 njoly Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.80 2013/12/24 13:41:25 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.81 2014/02/15 22:35:08 njoly Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -615,6 +615,12 @@
 /* syscall: "futex" ret: "int" args: "int *" "int" "int" "const struct linux_timespec *" "int *" "int" */
 #define        LINUX_SYS_futex 235
 
+/* syscall: "mincore" ret: "int" args: "void *" "size_t" "char *" */
+#define        LINUX_SYS_mincore       237
+
+/* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */
+#define        LINUX_SYS_madvise       238
+
 /* syscall: "fcntl64" ret: "int" args: "int" "int" "void *" */
 #define        LINUX_SYS_fcntl64       239
 
diff -r 1fb071395b8d -r a7ed87ab728a sys/compat/linux/arch/m68k/linux_syscallargs.h
--- a/sys/compat/linux/arch/m68k/linux_syscallargs.h    Sat Feb 15 22:35:08 2014 +0000
+++ b/sys/compat/linux/arch/m68k/linux_syscallargs.h    Sat Feb 15 22:36:26 2014 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.85 2013/12/24 13:41:55 njoly Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.86 2014/02/15 22:36:26 njoly Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.80 2013/12/24 13:41:25 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.81 2014/02/15 22:35:08 njoly Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -881,6 +881,10 @@
 };
 check_syscall_args(linux_sys_futex)
 
+struct sys_mincore_args;
+
+struct sys_madvise_args;
+
 struct linux_sys_fcntl64_args {
        syscallarg(int) fd;
        syscallarg(int) cmd;
@@ -1477,6 +1481,10 @@
 
 int    linux_sys_futex(struct lwp *, const struct linux_sys_futex_args *, register_t *);
 
+int    sys_mincore(struct lwp *, const struct sys_mincore_args *, register_t *);
+
+int    sys_madvise(struct lwp *, const struct sys_madvise_args *, register_t *);
+
 int    linux_sys_fcntl64(struct lwp *, const struct linux_sys_fcntl64_args *, register_t *);
 
 int    linux_sys_fadvise64(struct lwp *, const struct linux_sys_fadvise64_args *, register_t *);
diff -r 1fb071395b8d -r a7ed87ab728a sys/compat/linux/arch/m68k/linux_syscalls.c
--- a/sys/compat/linux/arch/m68k/linux_syscalls.c       Sat Feb 15 22:35:08 2014 +0000
+++ b/sys/compat/linux/arch/m68k/linux_syscalls.c       Sat Feb 15 22:36:26 2014 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.86 2013/12/24 13:41:55 njoly Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.87 2014/02/15 22:36:26 njoly Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.80 2013/12/24 13:41:25 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.81 2014/02/15 22:35:08 njoly Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.86 2013/12/24 13:41:55 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.87 2014/02/15 22:36:26 njoly Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -289,8 +289,8 @@
        /* 234 */       "fremovexattr",
        /* 235 */       "futex",
        /* 236 */       "#236 (unimplemented sendfile64)",
-       /* 237 */       "#237 (unimplemented mincore)",
-       /* 238 */       "#238 (unimplemented madvise)",
+       /* 237 */       "mincore",
+       /* 238 */       "madvise",
        /* 239 */       "fcntl64",
        /* 240 */       "#240 (unimplemented readahead)",
        /* 241 */       "#241 (unimplemented io_setup)",
diff -r 1fb071395b8d -r a7ed87ab728a sys/compat/linux/arch/m68k/linux_sysent.c
--- a/sys/compat/linux/arch/m68k/linux_sysent.c Sat Feb 15 22:35:08 2014 +0000
+++ b/sys/compat/linux/arch/m68k/linux_sysent.c Sat Feb 15 22:36:26 2014 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.86 2013/12/24 13:41:55 njoly Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.87 2014/02/15 22:36:26 njoly Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.80 2013/12/24 13:41:25 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.81 2014/02/15 22:35:08 njoly Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.86 2013/12/24 13:41:55 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.87 2014/02/15 22:36:26 njoly Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_compat_netbsd.h"
@@ -533,10 +533,10 @@
            (sy_call_t *)linux_sys_futex },     /* 235 = futex */
        { 0, 0, 0,
            linux_sys_nosys },                  /* 236 = unimplemented sendfile64 */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 237 = unimplemented mincore */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 238 = unimplemented madvise */
+       { ns(struct sys_mincore_args), SYCALL_ARG_PTR,
+           (sy_call_t *)sys_mincore },         /* 237 = mincore */
+       { ns(struct sys_madvise_args), SYCALL_ARG_PTR,
+           (sy_call_t *)sys_madvise },         /* 238 = madvise */
        { ns(struct linux_sys_fcntl64_args), SYCALL_ARG_PTR,
            (sy_call_t *)linux_sys_fcntl64 },   /* 239 = fcntl64 */
        { 0, 0, 0,



Home | Main Index | Thread Index | Old Index