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/dab33ed17162
branches:  trunk
changeset: 522328:dab33ed17162
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Feb 17 19:35:45 2002 +0000

description:
regen

diffstat:

 sys/compat/linux/arch/m68k/linux_syscall.h     |   7 +++++--
 sys/compat/linux/arch/m68k/linux_syscallargs.h |  24 ++++++++++++++++++++----
 sys/compat/linux/arch/m68k/linux_syscalls.c    |  14 ++++++--------
 sys/compat/linux/arch/m68k/linux_sysent.c      |  22 +++++++++-------------
 4 files changed, 40 insertions(+), 27 deletions(-)

diffs (193 lines):

diff -r 3ecb9f646899 -r dab33ed17162 sys/compat/linux/arch/m68k/linux_syscall.h
--- a/sys/compat/linux/arch/m68k/linux_syscall.h        Sun Feb 17 19:35:30 2002 +0000
+++ b/sys/compat/linux/arch/m68k/linux_syscall.h        Sun Feb 17 19:35:45 2002 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.38 2002/02/15 16:48:01 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.39 2002/02/17 19:35:45 christos Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.34 2001/05/30 11:37:27 mrg Exp 
+ * created from        NetBSD: syscalls.master,v 1.36 2002/02/17 19:35:30 christos Exp 
  */
 
 /* syscall: "syscall" ret: "int" args: */
@@ -465,6 +465,9 @@
 /* syscall: "__vfork14" ret: "int" args: */
 #define        LINUX_SYS___vfork14     190
 
+/* syscall: "ugetrlimit" ret: "int" args: "int" "struct orlimit *" */
+#define        LINUX_SYS_ugetrlimit    191
+
 /* syscall: "mmap2" ret: "off_t" args: "void *" "size_t" "int" "int" "int" "off_t" */
 #define        LINUX_SYS_mmap2 192
 
diff -r 3ecb9f646899 -r dab33ed17162 sys/compat/linux/arch/m68k/linux_syscallargs.h
--- a/sys/compat/linux/arch/m68k/linux_syscallargs.h    Sun Feb 17 19:35:30 2002 +0000
+++ b/sys/compat/linux/arch/m68k/linux_syscallargs.h    Sun Feb 17 19:35:45 2002 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.38 2002/02/15 16:48:01 christos Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.39 2002/02/17 19:35:45 christos Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.34 2001/05/30 11:37:27 mrg Exp 
+ * created from        NetBSD: syscalls.master,v 1.36 2002/02/17 19:35:30 christos Exp 
  */
 
 #ifndef _LINUX_SYS__SYSCALLARGS_H_
@@ -191,6 +191,16 @@
        syscallarg(linux_old_sigset_t *) set;
 };
 
+struct linux_sys_setrlimit_args {
+       syscallarg(u_int) which;
+       syscallarg(struct orlimit *) rlp;
+};
+
+struct linux_sys_getrlimit_args {
+       syscallarg(u_int) which;
+       syscallarg(struct orlimit *) rlp;
+};
+
 struct linux_sys_gettimeofday_args {
        syscallarg(struct timeval *) tp;
        syscallarg(struct timezone *) tzp;
@@ -488,6 +498,11 @@
        syscallarg(struct linux_sigaltstack *) oss;
 };
 
+struct linux_sys_ugetrlimit_args {
+       syscallarg(int) which;
+       syscallarg(struct orlimit *) rlp;
+};
+
 struct linux_sys_mmap2_args {
        syscallarg(void *) addr;
        syscallarg(size_t) len;
@@ -625,10 +640,10 @@
 int    linux_sys_sigpending(struct proc *, void *, register_t *);
 #if !defined(_KERNEL) || defined(COMPAT_43)
 int    compat_43_sys_sethostname(struct proc *, void *, register_t *);
-int    compat_43_sys_setrlimit(struct proc *, void *, register_t *);
-int    compat_43_sys_getrlimit(struct proc *, void *, register_t *);
 #else
 #endif
+int    linux_sys_setrlimit(struct proc *, void *, register_t *);
+int    linux_sys_getrlimit(struct proc *, void *, register_t *);
 int    sys_getrusage(struct proc *, void *, register_t *);
 int    linux_sys_gettimeofday(struct proc *, void *, register_t *);
 int    linux_sys_settimeofday(struct proc *, void *, register_t *);
@@ -722,6 +737,7 @@
 int    sys___getcwd(struct proc *, void *, register_t *);
 int    linux_sys_sigaltstack(struct proc *, void *, register_t *);
 int    sys___vfork14(struct proc *, void *, register_t *);
+int    linux_sys_ugetrlimit(struct proc *, void *, register_t *);
 int    linux_sys_mmap2(struct proc *, void *, register_t *);
 int    linux_sys_truncate64(struct proc *, void *, register_t *);
 int    sys_ftruncate(struct proc *, void *, register_t *);
diff -r 3ecb9f646899 -r dab33ed17162 sys/compat/linux/arch/m68k/linux_syscalls.c
--- a/sys/compat/linux/arch/m68k/linux_syscalls.c       Sun Feb 17 19:35:30 2002 +0000
+++ b/sys/compat/linux/arch/m68k/linux_syscalls.c       Sun Feb 17 19:35:45 2002 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.39 2002/02/15 16:48:01 christos Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.40 2002/02/17 19:35:45 christos Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.34 2001/05/30 11:37:27 mrg Exp 
+ * created from        NetBSD: syscalls.master,v 1.36 2002/02/17 19:35:30 christos Exp 
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.39 2002/02/15 16:48:01 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.40 2002/02/17 19:35:45 christos Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -109,13 +109,11 @@
        "sigpending",                   /* 73 = sigpending */
 #if !defined(_KERNEL) || defined(COMPAT_43)
        "sethostname",                  /* 74 = sethostname */
-       "setrlimit",                    /* 75 = setrlimit */
-       "getrlimit",                    /* 76 = getrlimit */
 #else
        "#74 (unimplemented compat_43_sys_sethostname)",                /* 74 = unimplemented compat_43_sys_sethostname */
-       "#75 (unimplemented compat_43_sys_setrlimit)",          /* 75 = unimplemented compat_43_sys_setrlimit */
-       "#76 (unimplemented compat_43_sys_getrlimit)",          /* 76 = unimplemented compat_43_sys_getrlimit */
 #endif
+       "setrlimit",                    /* 75 = setrlimit */
+       "getrlimit",                    /* 76 = getrlimit */
        "getrusage",                    /* 77 = getrusage */
        "gettimeofday",                 /* 78 = gettimeofday */
        "settimeofday",                 /* 79 = settimeofday */
@@ -238,7 +236,7 @@
        "#188 (unimplemented getpmsg)",         /* 188 = unimplemented getpmsg */
        "#189 (unimplemented putpmsg)",         /* 189 = unimplemented putpmsg */
        "__vfork14",                    /* 190 = __vfork14 */
-       "#191 (unimplemented getrlimit)",               /* 191 = unimplemented getrlimit */
+       "ugetrlimit",                   /* 191 = ugetrlimit */
        "mmap2",                        /* 192 = mmap2 */
        "truncate64",                   /* 193 = truncate64 */
        "ftruncate64",                  /* 194 = ftruncate64 */
diff -r 3ecb9f646899 -r dab33ed17162 sys/compat/linux/arch/m68k/linux_sysent.c
--- a/sys/compat/linux/arch/m68k/linux_sysent.c Sun Feb 17 19:35:30 2002 +0000
+++ b/sys/compat/linux/arch/m68k/linux_sysent.c Sun Feb 17 19:35:45 2002 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.38 2002/02/15 16:48:01 christos Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.39 2002/02/17 19:35:46 christos Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.34 2001/05/30 11:37:27 mrg Exp 
+ * created from        NetBSD: syscalls.master,v 1.36 2002/02/17 19:35:30 christos Exp 
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.38 2002/02/15 16:48:01 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.39 2002/02/17 19:35:46 christos Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_compat_netbsd.h"
@@ -185,18 +185,14 @@
 #if !defined(_KERNEL) || defined(COMPAT_43)
        { 2, s(struct compat_43_sys_sethostname_args), 0,
            compat_43_sys_sethostname },        /* 74 = sethostname */
-       { 2, s(struct compat_43_sys_setrlimit_args), 0,
-           compat_43_sys_setrlimit },          /* 75 = setrlimit */
-       { 2, s(struct compat_43_sys_getrlimit_args), 0,
-           compat_43_sys_getrlimit },          /* 76 = getrlimit */
 #else
        { 0, 0, 0,
            linux_sys_nosys },                  /* 74 = unimplemented compat_43_sys_sethostname */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 75 = unimplemented compat_43_sys_setrlimit */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 76 = unimplemented compat_43_sys_getrlimit */
 #endif
+       { 2, s(struct linux_sys_setrlimit_args), 0,
+           linux_sys_setrlimit },              /* 75 = setrlimit */
+       { 2, s(struct linux_sys_getrlimit_args), 0,
+           linux_sys_getrlimit },              /* 76 = getrlimit */
        { 2, s(struct sys_getrusage_args), 0,
            sys_getrusage },                    /* 77 = getrusage */
        { 2, s(struct linux_sys_gettimeofday_args), 0,
@@ -435,8 +431,8 @@
            linux_sys_nosys },                  /* 189 = unimplemented putpmsg */
        { 0, 0, 0,
            sys___vfork14 },                    /* 190 = __vfork14 */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 191 = unimplemented getrlimit */
+       { 2, s(struct linux_sys_ugetrlimit_args), 0,
+           linux_sys_ugetrlimit },             /* 191 = ugetrlimit */
        { 6, s(struct linux_sys_mmap2_args), 0,
            linux_sys_mmap2 },                  /* 192 = mmap2 */
        { 2, s(struct linux_sys_truncate64_args), 0,



Home | Main Index | Thread Index | Old Index