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/1d284fdaedfe
branches:  trunk
changeset: 500636:1d284fdaedfe
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Thu Dec 14 20:39:36 2000 +0000

description:
regen

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/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 ++++----
 8 files changed, 38 insertions(+), 22 deletions(-)

diffs (226 lines):

diff -r 7d25d616db49 -r 1d284fdaedfe sys/compat/linux/arch/alpha/linux_syscall.h
--- a/sys/compat/linux/arch/alpha/linux_syscall.h       Thu Dec 14 20:38:10 2000 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscall.h       Thu Dec 14 20:39:36 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.30 2000/12/14 18:08:09 mycroft Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.31 2000/12/14 20:40:02 jdolecek Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.28 2000/12/11 04:55:50 mycroft Exp 
+ * created from        NetBSD: syscalls.master,v 1.29 2000/12/14 20:38:03 jdolecek Exp 
  */
 
 /* syscall: "syscall" ret: "int" args: */
@@ -373,6 +373,9 @@
 /* syscall: "munlockall" ret: "int" args: */
 #define        LINUX_SYS_munlockall    317
 
+/* syscall: "sysinfo" ret: "int" args: "struct linux_sysinfo *" */
+#define        LINUX_SYS_sysinfo       318
+
 /* syscall: "__sysctl" ret: "int" args: "struct linux___sysctl *" */
 #define        LINUX_SYS___sysctl      319
 
diff -r 7d25d616db49 -r 1d284fdaedfe sys/compat/linux/arch/alpha/linux_syscallargs.h
--- a/sys/compat/linux/arch/alpha/linux_syscallargs.h   Thu Dec 14 20:38:10 2000 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscallargs.h   Thu Dec 14 20:39:36 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.30 2000/12/14 18:08:09 mycroft Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.31 2000/12/14 20:40:02 jdolecek Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.28 2000/12/11 04:55:50 mycroft Exp 
+ * created from        NetBSD: syscalls.master,v 1.29 2000/12/14 20:38:03 jdolecek Exp 
  */
 
 #ifndef _LINUX_SYS__SYSCALLARGS_H_
@@ -384,6 +384,10 @@
        syscallarg(const char *) path;
 };
 
+struct linux_sys_sysinfo_args {
+       syscallarg(struct linux_sysinfo *) arg;
+};
+
 struct linux_sys___sysctl_args {
        syscallarg(struct linux___sysctl *) lsp;
 };
@@ -681,6 +685,7 @@
 int    sys_munlock(struct proc *, void *, register_t *);
 int    sys_mlockall(struct proc *, void *, register_t *);
 int    sys_munlockall(struct proc *, void *, register_t *);
+int    linux_sys_sysinfo(struct proc *, void *, register_t *);
 int    linux_sys___sysctl(struct proc *, void *, register_t *);
 int    linux_sys_swapon(struct proc *, void *, register_t *);
 int    linux_sys_times(struct proc *, void *, register_t *);
diff -r 7d25d616db49 -r 1d284fdaedfe sys/compat/linux/arch/alpha/linux_syscalls.c
--- a/sys/compat/linux/arch/alpha/linux_syscalls.c      Thu Dec 14 20:38:10 2000 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscalls.c      Thu Dec 14 20:39:36 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscalls.c,v 1.31 2000/12/14 18:08:09 mycroft Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.32 2000/12/14 20:40:02 jdolecek Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.28 2000/12/11 04:55:50 mycroft Exp 
+ * created from        NetBSD: syscalls.master,v 1.29 2000/12/14 20:38:03 jdolecek Exp 
  */
 
 #if defined(_KERNEL) && !defined(_LKM)
@@ -373,7 +373,7 @@
        "munlock",                      /* 315 = munlock */
        "mlockall",                     /* 316 = mlockall */
        "munlockall",                   /* 317 = munlockall */
-       "#318 (unimplemented sysinfo)",         /* 318 = unimplemented sysinfo */
+       "sysinfo",                      /* 318 = sysinfo */
        "__sysctl",                     /* 319 = __sysctl */
        "#320 (unimplemented idle)",            /* 320 = unimplemented idle */
        "#321 (unimplemented oldumount)",               /* 321 = unimplemented oldumount */
diff -r 7d25d616db49 -r 1d284fdaedfe sys/compat/linux/arch/alpha/linux_sysent.c
--- a/sys/compat/linux/arch/alpha/linux_sysent.c        Thu Dec 14 20:38:10 2000 +0000
+++ b/sys/compat/linux/arch/alpha/linux_sysent.c        Thu Dec 14 20:39:36 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_sysent.c,v 1.31 2000/12/14 18:08:09 mycroft Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.32 2000/12/14 20:40:02 jdolecek Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.28 2000/12/11 04:55:50 mycroft Exp 
+ * created from        NetBSD: syscalls.master,v 1.29 2000/12/14 20:38:03 jdolecek Exp 
  */
 
 #if defined(_KERNEL) && !defined(_LKM)
@@ -703,8 +703,8 @@
            sys_mlockall },                     /* 316 = mlockall */
        { 0, 0,
            sys_munlockall },                   /* 317 = munlockall */
-       { 0, 0,
-           sys_nosys },                        /* 318 = unimplemented sysinfo */
+       { 1, s(struct linux_sys_sysinfo_args),
+           linux_sys_sysinfo },                /* 318 = sysinfo */
        { 1, s(struct linux_sys___sysctl_args),
            linux_sys___sysctl },               /* 319 = __sysctl */
        { 0, 0,
diff -r 7d25d616db49 -r 1d284fdaedfe sys/compat/linux/arch/m68k/linux_syscall.h
--- a/sys/compat/linux/arch/m68k/linux_syscall.h        Thu Dec 14 20:38:10 2000 +0000
+++ b/sys/compat/linux/arch/m68k/linux_syscall.h        Thu Dec 14 20:39:36 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.24 2000/12/12 22:24:14 jdolecek Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.25 2000/12/14 20:39:37 jdolecek Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.23 2000/12/12 22:23:03 jdolecek Exp 
+ * created from        NetBSD: syscalls.master,v 1.24 2000/12/14 20:37:57 jdolecek Exp 
  */
 
 /* syscall: "syscall" ret: "int" args: */
@@ -300,6 +300,9 @@
 /* syscall: "swapoff" ret: "int" args: "const char *" */
 #define        LINUX_SYS_swapoff       115
 
+/* syscall: "sysinfo" ret: "int" args: "struct linux_sysinfo *" */
+#define        LINUX_SYS_sysinfo       116
+
 /* syscall: "ipc" ret: "int" args: "int" "int" "int" "int" "caddr_t" */
 #define        LINUX_SYS_ipc   117
 
diff -r 7d25d616db49 -r 1d284fdaedfe sys/compat/linux/arch/m68k/linux_syscallargs.h
--- a/sys/compat/linux/arch/m68k/linux_syscallargs.h    Thu Dec 14 20:38:10 2000 +0000
+++ b/sys/compat/linux/arch/m68k/linux_syscallargs.h    Thu Dec 14 20:39:36 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.24 2000/12/12 22:24:14 jdolecek Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.25 2000/12/14 20:39:37 jdolecek Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.23 2000/12/12 22:23:03 jdolecek Exp 
+ * created from        NetBSD: syscalls.master,v 1.24 2000/12/14 20:37:57 jdolecek Exp 
  */
 
 #ifndef _LINUX_SYS__SYSCALLARGS_H_
@@ -277,6 +277,10 @@
        syscallarg(const char *) path;
 };
 
+struct linux_sys_sysinfo_args {
+       syscallarg(struct linux_sysinfo *) arg;
+};
+
 struct linux_sys_ipc_args {
        syscallarg(int) what;
        syscallarg(int) a1;
@@ -604,6 +608,7 @@
 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_sysinfo(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 7d25d616db49 -r 1d284fdaedfe sys/compat/linux/arch/m68k/linux_syscalls.c
--- a/sys/compat/linux/arch/m68k/linux_syscalls.c       Thu Dec 14 20:38:10 2000 +0000
+++ b/sys/compat/linux/arch/m68k/linux_syscalls.c       Thu Dec 14 20:39:36 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscalls.c,v 1.25 2000/12/12 22:24:14 jdolecek Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.26 2000/12/14 20:39:36 jdolecek Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.23 2000/12/12 22:23:03 jdolecek Exp 
+ * created from        NetBSD: syscalls.master,v 1.24 2000/12/14 20:37:57 jdolecek Exp 
  */
 
 #if defined(_KERNEL) && !defined(_LKM)
@@ -160,7 +160,7 @@
        "#113 (unimplemented vm86old)",         /* 113 = unimplemented vm86old */
        "wait4",                        /* 114 = wait4 */
        "swapoff",                      /* 115 = swapoff */
-       "#116 (unimplemented sysinfo)",         /* 116 = unimplemented sysinfo */
+       "sysinfo",                      /* 116 = sysinfo */
        "ipc",                  /* 117 = ipc */
        "fsync",                        /* 118 = fsync */
        "sigreturn",                    /* 119 = sigreturn */
diff -r 7d25d616db49 -r 1d284fdaedfe sys/compat/linux/arch/m68k/linux_sysent.c
--- a/sys/compat/linux/arch/m68k/linux_sysent.c Thu Dec 14 20:38:10 2000 +0000
+++ b/sys/compat/linux/arch/m68k/linux_sysent.c Thu Dec 14 20:39:36 2000 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_sysent.c,v 1.24 2000/12/12 22:24:14 jdolecek Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.25 2000/12/14 20:39:36 jdolecek Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.23 2000/12/12 22:23:03 jdolecek Exp 
+ * created from        NetBSD: syscalls.master,v 1.24 2000/12/14 20:37:57 jdolecek Exp 
  */
 
 #if defined(_KERNEL) && !defined(_LKM)
@@ -282,8 +282,8 @@
            linux_sys_wait4 },                  /* 114 = wait4 */
        { 1, s(struct linux_sys_swapoff_args),
            linux_sys_swapoff },                /* 115 = swapoff */
-       { 0, 0,
-           sys_nosys },                        /* 116 = unimplemented sysinfo */
+       { 1, s(struct linux_sys_sysinfo_args),
+           linux_sys_sysinfo },                /* 116 = sysinfo */
        { 5, s(struct linux_sys_ipc_args),
            linux_sys_ipc },                    /* 117 = ipc */
        { 1, s(struct sys_fsync_args),



Home | Main Index | Thread Index | Old Index