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 after addition of linux_sys_swap...



details:   https://anonhg.NetBSD.org/src/rev/996e95473b53
branches:  trunk
changeset: 499946:996e95473b53
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sat Dec 02 16:45:51 2000 +0000

description:
regen after addition of linux_sys_swapoff()

diffstat:

 sys/compat/linux/arch/alpha/linux_syscall.h     |  7 +++++--
 sys/compat/linux/arch/alpha/linux_syscallargs.h |  9 +++++++--
 sys/compat/linux/arch/alpha/linux_syscalls.c    |  6 +++---
 sys/compat/linux/arch/alpha/linux_sysent.c      |  8 ++++----
 sys/compat/linux/arch/i386/linux_syscall.h      |  7 +++++--
 sys/compat/linux/arch/i386/linux_syscallargs.h  |  9 +++++++--
 sys/compat/linux/arch/i386/linux_syscalls.c     |  6 +++---
 sys/compat/linux/arch/i386/linux_sysent.c       |  8 ++++----
 sys/compat/linux/arch/m68k/linux_syscall.h      |  7 +++++--
 sys/compat/linux/arch/m68k/linux_syscallargs.h  |  9 +++++++--
 sys/compat/linux/arch/m68k/linux_syscalls.c     |  6 +++---
 sys/compat/linux/arch/m68k/linux_sysent.c       |  8 ++++----
 12 files changed, 57 insertions(+), 33 deletions(-)

diffs (truncated from 339 to 300 lines):

diff -r 3071f7f0027a -r 996e95473b53 sys/compat/linux/arch/alpha/linux_syscall.h
--- a/sys/compat/linux/arch/alpha/linux_syscall.h       Sat Dec 02 16:43:50 2000 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscall.h       Sat Dec 02 16:45:51 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.24 2000/12/01 21:11:03 jdolecek Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.25 2000/12/02 16:45:51 jdolecek Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.23 2000/12/01 21:02:55 jdolecek Exp 
+ * created from        NetBSD: syscalls.master,v 1.24 2000/12/02 16:43:51 jdolecek Exp 
  */
 
 /* syscall: "syscall" ret: "int" args: */
@@ -346,6 +346,9 @@
 /* syscall: "fdatasync" ret: "int" args: "int" */
 #define        LINUX_SYS_fdatasync     261
 
+/* syscall: "swapoff" ret: "int" args: "const char *" */
+#define        LINUX_SYS_swapoff       304
+
 /* syscall: "getdents" ret: "int" args: "int" "struct linux_dirent *" "unsigned int" */
 #define        LINUX_SYS_getdents      305
 
diff -r 3071f7f0027a -r 996e95473b53 sys/compat/linux/arch/alpha/linux_syscallargs.h
--- a/sys/compat/linux/arch/alpha/linux_syscallargs.h   Sat Dec 02 16:43:50 2000 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscallargs.h   Sat Dec 02 16:45:51 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.24 2000/12/01 21:11:03 jdolecek Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.25 2000/12/02 16:45:51 jdolecek Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.23 2000/12/01 21:02:55 jdolecek Exp 
+ * created from        NetBSD: syscalls.master,v 1.24 2000/12/02 16:43:51 jdolecek Exp 
  */
 
 #ifndef _LINUX_SYS__SYSCALLARGS_H_
@@ -358,6 +358,10 @@
        syscallarg(int) fd;
 };
 
+struct linux_sys_swapoff_args {
+       syscallarg(const char *) path;
+};
+
 struct linux_sys_getdents_args {
        syscallarg(int) fd;
        syscallarg(struct linux_dirent *) dent;
@@ -665,6 +669,7 @@
 int    osf1_sys_getsysinfo(struct proc *, void *, register_t *);
 int    osf1_sys_setsysinfo(struct proc *, void *, register_t *);
 int    linux_sys_fdatasync(struct proc *, void *, register_t *);
+int    linux_sys_swapoff(struct proc *, void *, register_t *);
 int    linux_sys_getdents(struct proc *, void *, register_t *);
 int    linux_sys_reboot(struct proc *, void *, register_t *);
 int    linux_sys_clone(struct proc *, void *, register_t *);
diff -r 3071f7f0027a -r 996e95473b53 sys/compat/linux/arch/alpha/linux_syscalls.c
--- a/sys/compat/linux/arch/alpha/linux_syscalls.c      Sat Dec 02 16:43:50 2000 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscalls.c      Sat Dec 02 16:45:51 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscalls.c,v 1.25 2000/12/01 21:11:03 jdolecek Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.26 2000/12/02 16:45:51 jdolecek Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.23 2000/12/01 21:02:55 jdolecek Exp 
+ * created from        NetBSD: syscalls.master,v 1.24 2000/12/02 16:43:51 jdolecek Exp 
  */
 
 #if defined(_KERNEL) && !defined(_LKM)
@@ -353,7 +353,7 @@
        "#301 (unimplemented sethae)",          /* 301 = unimplemented sethae */
        "#302 (unimplemented mount)",           /* 302 = unimplemented mount */
        "#303 (unimplemented old_adjtimex)",            /* 303 = unimplemented old_adjtimex */
-       "#304 (unimplemented swapoff)",         /* 304 = unimplemented swapoff */
+       "swapoff",                      /* 304 = swapoff */
        "getdents",                     /* 305 = getdents */
        "#306 (unimplemented alpha_create_module)",             /* 306 = unimplemented alpha_create_module */
        "#307 (unimplemented init_module)",             /* 307 = unimplemented init_module */
diff -r 3071f7f0027a -r 996e95473b53 sys/compat/linux/arch/alpha/linux_sysent.c
--- a/sys/compat/linux/arch/alpha/linux_sysent.c        Sat Dec 02 16:43:50 2000 +0000
+++ b/sys/compat/linux/arch/alpha/linux_sysent.c        Sat Dec 02 16:45:51 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_sysent.c,v 1.25 2000/12/01 21:11:03 jdolecek Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.26 2000/12/02 16:45:51 jdolecek Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.23 2000/12/01 21:02:55 jdolecek Exp 
+ * created from        NetBSD: syscalls.master,v 1.24 2000/12/02 16:43:51 jdolecek Exp 
  */
 
 #if defined ( _KERNEL )  && !defined ( _LKM ) 
@@ -670,8 +670,8 @@
            sys_nosys },                        /* 302 = unimplemented mount */
        { 0, 0,
            sys_nosys },                        /* 303 = unimplemented old_adjtimex */
-       { 0, 0,
-           sys_nosys },                        /* 304 = unimplemented swapoff */
+       { 1, s(struct linux_sys_swapoff_args),
+           linux_sys_swapoff },                /* 304 = swapoff */
        { 3, s(struct linux_sys_getdents_args),
            linux_sys_getdents },               /* 305 = getdents */
        { 0, 0,
diff -r 3071f7f0027a -r 996e95473b53 sys/compat/linux/arch/i386/linux_syscall.h
--- a/sys/compat/linux/arch/i386/linux_syscall.h        Sat Dec 02 16:43:50 2000 +0000
+++ b/sys/compat/linux/arch/i386/linux_syscall.h        Sat Dec 02 16:45:51 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.22 2000/12/01 21:11:02 jdolecek Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.23 2000/12/02 16:45:51 jdolecek Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.44 2000/12/01 21:02:56 jdolecek Exp 
+ * created from        NetBSD: syscalls.master,v 1.45 2000/12/02 16:43:50 jdolecek Exp 
  */
 
 /* syscall: "syscall" ret: "int" args: */
@@ -311,6 +311,9 @@
 /* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage *" */
 #define        LINUX_SYS_wait4 114
 
+/* syscall: "swapoff" ret: "int" args: "const char *" */
+#define        LINUX_SYS_swapoff       115
+
 /* syscall: "ipc" ret: "int" args: "int" "int" "int" "int" "caddr_t" */
 #define        LINUX_SYS_ipc   117
 
diff -r 3071f7f0027a -r 996e95473b53 sys/compat/linux/arch/i386/linux_syscallargs.h
--- a/sys/compat/linux/arch/i386/linux_syscallargs.h    Sat Dec 02 16:43:50 2000 +0000
+++ b/sys/compat/linux/arch/i386/linux_syscallargs.h    Sat Dec 02 16:45:51 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.22 2000/12/01 21:11:02 jdolecek Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.23 2000/12/02 16:45:51 jdolecek Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.44 2000/12/01 21:02:56 jdolecek Exp 
+ * created from        NetBSD: syscalls.master,v 1.45 2000/12/02 16:43:50 jdolecek Exp 
  */
 
 #ifndef _LINUX_SYS__SYSCALLARGS_H_
@@ -295,6 +295,10 @@
        syscallarg(struct rusage *) rusage;
 };
 
+struct linux_sys_swapoff_args {
+       syscallarg(const char *) path;
+};
+
 struct linux_sys_ipc_args {
        syscallarg(int) what;
        syscallarg(int) a1;
@@ -601,6 +605,7 @@
 int    linux_sys_olduname(struct proc *, void *, register_t *);
 int    linux_sys_iopl(struct proc *, void *, register_t *);
 int    linux_sys_wait4(struct proc *, void *, register_t *);
+int    linux_sys_swapoff(struct proc *, void *, register_t *);
 int    linux_sys_ipc(struct proc *, void *, register_t *);
 int    sys_fsync(struct proc *, void *, register_t *);
 int    linux_sys_sigreturn(struct proc *, void *, register_t *);
diff -r 3071f7f0027a -r 996e95473b53 sys/compat/linux/arch/i386/linux_syscalls.c
--- a/sys/compat/linux/arch/i386/linux_syscalls.c       Sat Dec 02 16:43:50 2000 +0000
+++ b/sys/compat/linux/arch/i386/linux_syscalls.c       Sat Dec 02 16:45:51 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscalls.c,v 1.23 2000/12/01 21:11:02 jdolecek Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.24 2000/12/02 16:45:51 jdolecek Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.44 2000/12/01 21:02:56 jdolecek Exp 
+ * created from        NetBSD: syscalls.master,v 1.45 2000/12/02 16:43:50 jdolecek Exp 
  */
 
 #if defined(_KERNEL) && !defined(_LKM)
@@ -138,7 +138,7 @@
        "#112 (unimplemented idle)",            /* 112 = unimplemented idle */
        "#113 (unimplemented vm86old)",         /* 113 = unimplemented vm86old */
        "wait4",                        /* 114 = wait4 */
-       "#115 (unimplemented swapoff)",         /* 115 = unimplemented swapoff */
+       "swapoff",                      /* 115 = swapoff */
        "#116 (unimplemented sysinfo)",         /* 116 = unimplemented sysinfo */
        "ipc",                  /* 117 = ipc */
        "fsync",                        /* 118 = fsync */
diff -r 3071f7f0027a -r 996e95473b53 sys/compat/linux/arch/i386/linux_sysent.c
--- a/sys/compat/linux/arch/i386/linux_sysent.c Sat Dec 02 16:43:50 2000 +0000
+++ b/sys/compat/linux/arch/i386/linux_sysent.c Sat Dec 02 16:45:51 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_sysent.c,v 1.22 2000/12/01 21:11:02 jdolecek Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.23 2000/12/02 16:45:51 jdolecek Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.44 2000/12/01 21:02:56 jdolecek Exp 
+ * created from        NetBSD: syscalls.master,v 1.45 2000/12/02 16:43:50 jdolecek Exp 
  */
 
 #if defined ( _KERNEL )  && !defined ( _LKM ) 
@@ -255,8 +255,8 @@
            sys_nosys },                        /* 113 = unimplemented vm86old */
        { 4, s(struct linux_sys_wait4_args),
            linux_sys_wait4 },                  /* 114 = wait4 */
-       { 0, 0,
-           sys_nosys },                        /* 115 = unimplemented swapoff */
+       { 1, s(struct linux_sys_swapoff_args),
+           linux_sys_swapoff },                /* 115 = swapoff */
        { 0, 0,
            sys_nosys },                        /* 116 = unimplemented sysinfo */
        { 5, s(struct linux_sys_ipc_args),
diff -r 3071f7f0027a -r 996e95473b53 sys/compat/linux/arch/m68k/linux_syscall.h
--- a/sys/compat/linux/arch/m68k/linux_syscall.h        Sat Dec 02 16:43:50 2000 +0000
+++ b/sys/compat/linux/arch/m68k/linux_syscall.h        Sat Dec 02 16:45:51 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.19 2000/12/01 21:11:03 jdolecek Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.20 2000/12/02 16:45:52 jdolecek Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.17 2000/12/01 21:02:56 jdolecek Exp 
+ * created from        NetBSD: syscalls.master,v 1.18 2000/12/02 16:43:51 jdolecek Exp 
  */
 
 /* syscall: "syscall" ret: "int" args: */
@@ -297,6 +297,9 @@
 /* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage *" */
 #define        LINUX_SYS_wait4 114
 
+/* syscall: "swapoff" ret: "int" args: "const char *" */
+#define        LINUX_SYS_swapoff       115
+
 /* syscall: "ipc" ret: "int" args: "int" "int" "int" "int" "caddr_t" */
 #define        LINUX_SYS_ipc   117
 
diff -r 3071f7f0027a -r 996e95473b53 sys/compat/linux/arch/m68k/linux_syscallargs.h
--- a/sys/compat/linux/arch/m68k/linux_syscallargs.h    Sat Dec 02 16:43:50 2000 +0000
+++ b/sys/compat/linux/arch/m68k/linux_syscallargs.h    Sat Dec 02 16:45:51 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.19 2000/12/01 21:11:03 jdolecek Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.20 2000/12/02 16:45:52 jdolecek Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.17 2000/12/01 21:02:56 jdolecek Exp 
+ * created from        NetBSD: syscalls.master,v 1.18 2000/12/02 16:43:51 jdolecek Exp 
  */
 
 #ifndef _LINUX_SYS__SYSCALLARGS_H_
@@ -273,6 +273,10 @@
        syscallarg(struct rusage *) rusage;
 };
 
+struct linux_sys_swapoff_args {
+       syscallarg(const char *) path;
+};
+
 struct linux_sys_ipc_args {
        syscallarg(int) what;
        syscallarg(int) a1;
@@ -579,6 +583,7 @@
 int    linux_sys_lstat(struct proc *, void *, register_t *);
 int    linux_sys_fstat(struct proc *, void *, register_t *);
 int    linux_sys_wait4(struct proc *, void *, register_t *);
+int    linux_sys_swapoff(struct proc *, void *, register_t *);
 int    linux_sys_ipc(struct proc *, void *, register_t *);
 int    sys_fsync(struct proc *, void *, register_t *);
 int    linux_sys_sigreturn(struct proc *, void *, register_t *);
diff -r 3071f7f0027a -r 996e95473b53 sys/compat/linux/arch/m68k/linux_syscalls.c
--- a/sys/compat/linux/arch/m68k/linux_syscalls.c       Sat Dec 02 16:43:50 2000 +0000
+++ b/sys/compat/linux/arch/m68k/linux_syscalls.c       Sat Dec 02 16:45:51 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscalls.c,v 1.20 2000/12/01 21:11:03 jdolecek Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.21 2000/12/02 16:45:52 jdolecek Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.17 2000/12/01 21:02:56 jdolecek Exp 
+ * created from        NetBSD: syscalls.master,v 1.18 2000/12/02 16:43:51 jdolecek Exp 



Home | Main Index | Thread Index | Old Index