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/9b50807a0725
branches:  trunk
changeset: 580945:9b50807a0725
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Mon May 16 21:18:18 2005 +0000

description:
Regen.

diffstat:

 sys/compat/linux/arch/alpha/linux_syscall.h       |  16 +++++++++-
 sys/compat/linux/arch/alpha/linux_syscallargs.h   |  34 +++++++++++++++++++++-
 sys/compat/linux/arch/alpha/linux_syscalls.c      |  14 ++++----
 sys/compat/linux/arch/alpha/linux_sysent.c        |  22 +++++++-------
 sys/compat/linux/arch/amd64/linux_syscall.h       |  16 +++++++++-
 sys/compat/linux/arch/amd64/linux_syscallargs.h   |  34 +++++++++++++++++++++-
 sys/compat/linux/arch/amd64/linux_syscalls.c      |  14 ++++----
 sys/compat/linux/arch/amd64/linux_sysent.c        |  22 +++++++-------
 sys/compat/linux/arch/arm/linux_syscall.h         |  16 +++++++++-
 sys/compat/linux/arch/arm/linux_syscallargs.h     |  34 +++++++++++++++++++++-
 sys/compat/linux/arch/arm/linux_syscalls.c        |  14 ++++----
 sys/compat/linux/arch/arm/linux_sysent.c          |  22 +++++++-------
 sys/compat/linux/arch/i386/linux_syscall.h        |  16 +++++++++-
 sys/compat/linux/arch/i386/linux_syscallargs.h    |  34 +++++++++++++++++++++-
 sys/compat/linux/arch/i386/linux_syscalls.c       |  14 ++++----
 sys/compat/linux/arch/i386/linux_sysent.c         |  22 +++++++-------
 sys/compat/linux/arch/mips/linux_syscall.h        |  16 +++++++++-
 sys/compat/linux/arch/mips/linux_syscallargs.h    |  34 +++++++++++++++++++++-
 sys/compat/linux/arch/mips/linux_syscalls.c       |  14 ++++----
 sys/compat/linux/arch/mips/linux_sysent.c         |  22 +++++++-------
 sys/compat/linux/arch/powerpc/linux_syscall.h     |  16 +++++++++-
 sys/compat/linux/arch/powerpc/linux_syscallargs.h |  34 +++++++++++++++++++++-
 sys/compat/linux/arch/powerpc/linux_syscalls.c    |  14 ++++----
 sys/compat/linux/arch/powerpc/linux_sysent.c      |  22 +++++++-------
 24 files changed, 384 insertions(+), 132 deletions(-)

diffs (truncated from 1044 to 300 lines):

diff -r 01ba8370b14f -r 9b50807a0725 sys/compat/linux/arch/alpha/linux_syscall.h
--- a/sys/compat/linux/arch/alpha/linux_syscall.h       Mon May 16 21:17:11 2005 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscall.h       Mon May 16 21:18:18 2005 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.56 2005/05/16 16:03:58 fvdl Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.57 2005/05/16 21:18:19 fvdl Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.50 2005/05/16 16:02:19 fvdl Exp
+ * created from        NetBSD: syscalls.master,v 1.51 2005/05/16 21:17:11 fvdl Exp
  */
 
 /* syscall: "syscall" ret: "int" args: */
@@ -547,5 +547,17 @@
 /* syscall: "exit_group" ret: "int" args: "int" */
 #define        LINUX_SYS_exit_group    405
 
+/* syscall: "clock_settime" ret: "int" args: "clockid_t" "struct linux_timespec *" */
+#define        LINUX_SYS_clock_settime 419
+
+/* syscall: "clock_gettime" ret: "int" args: "clockid_t" "struct linux_timespec *" */
+#define        LINUX_SYS_clock_gettime 420
+
+/* syscall: "clock_getres" ret: "int" args: "clockid_t" "struct linux_timespec *" */
+#define        LINUX_SYS_clock_getres  421
+
+/* syscall: "clock_nanosleep" ret: "int" args: "clockid_t" "int" "struct linux_timespec *" "struct linux_timespec *" */
+#define        LINUX_SYS_clock_nanosleep       422
+
 #define        LINUX_SYS_MAXSYSCALL    438
 #define        LINUX_SYS_NSYSENT       512
diff -r 01ba8370b14f -r 9b50807a0725 sys/compat/linux/arch/alpha/linux_syscallargs.h
--- a/sys/compat/linux/arch/alpha/linux_syscallargs.h   Mon May 16 21:17:11 2005 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscallargs.h   Mon May 16 21:18:18 2005 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.55 2005/05/16 16:03:58 fvdl Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.56 2005/05/16 21:18:19 fvdl Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.50 2005/05/16 16:02:19 fvdl Exp
+ * created from        NetBSD: syscalls.master,v 1.51 2005/05/16 21:17:11 fvdl Exp
  */
 
 #ifndef _LINUX_SYS__SYSCALLARGS_H_
@@ -687,6 +687,28 @@
        syscallarg(int) error_code;
 };
 
+struct linux_sys_clock_settime_args {
+       syscallarg(clockid_t) which;
+       syscallarg(struct linux_timespec *) tp;
+};
+
+struct linux_sys_clock_gettime_args {
+       syscallarg(clockid_t) which;
+       syscallarg(struct linux_timespec *) tp;
+};
+
+struct linux_sys_clock_getres_args {
+       syscallarg(clockid_t) which;
+       syscallarg(struct linux_timespec *) tp;
+};
+
+struct linux_sys_clock_nanosleep_args {
+       syscallarg(clockid_t) which;
+       syscallarg(int) flags;
+       syscallarg(struct linux_timespec *) rqtp;
+       syscallarg(struct linux_timespec *) rmtp;
+};
+
 /*
  * System call prototypes.
  */
@@ -1085,4 +1107,12 @@
 
 int    linux_sys_exit_group(struct lwp *, void *, register_t *);
 
+int    linux_sys_clock_settime(struct lwp *, void *, register_t *);
+
+int    linux_sys_clock_gettime(struct lwp *, void *, register_t *);
+
+int    linux_sys_clock_getres(struct lwp *, void *, register_t *);
+
+int    linux_sys_clock_nanosleep(struct lwp *, void *, register_t *);
+
 #endif /* _LINUX_SYS__SYSCALLARGS_H_ */
diff -r 01ba8370b14f -r 9b50807a0725 sys/compat/linux/arch/alpha/linux_syscalls.c
--- a/sys/compat/linux/arch/alpha/linux_syscalls.c      Mon May 16 21:17:11 2005 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscalls.c      Mon May 16 21:18:18 2005 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.57 2005/05/16 16:03:58 fvdl Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.58 2005/05/16 21:18:18 fvdl Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.50 2005/05/16 16:02:19 fvdl Exp
+ * created from        NetBSD: syscalls.master,v 1.51 2005/05/16 21:17:11 fvdl Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.57 2005/05/16 16:03:58 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.58 2005/05/16 21:18:18 fvdl Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -478,10 +478,10 @@
        "#416 (unimplemented timer_gettime)",           /* 416 = unimplemented timer_gettime */
        "#417 (unimplemented timer_getoverrun)",                /* 417 = unimplemented timer_getoverrun */
        "#418 (unimplemented timer_delete)",            /* 418 = unimplemented timer_delete */
-       "#419 (unimplemented clock_settime)",           /* 419 = unimplemented clock_settime */
-       "#420 (unimplemented clock_gettime)",           /* 420 = unimplemented clock_gettime */
-       "#421 (unimplemented clock_getres)",            /* 421 = unimplemented clock_getres */
-       "#422 (unimplemented clock_nanosleep)",         /* 422 = unimplemented clock_nanosleep */
+       "clock_settime",                        /* 419 = clock_settime */
+       "clock_gettime",                        /* 420 = clock_gettime */
+       "clock_getres",                 /* 421 = clock_getres */
+       "clock_nanosleep",                      /* 422 = clock_nanosleep */
        "#423 (unimplemented semtimedop)",              /* 423 = unimplemented semtimedop */
        "#424 (unimplemented tgkill)",          /* 424 = unimplemented tgkill */
        "#425 (unimplemented stat64)",          /* 425 = unimplemented stat64 */
diff -r 01ba8370b14f -r 9b50807a0725 sys/compat/linux/arch/alpha/linux_sysent.c
--- a/sys/compat/linux/arch/alpha/linux_sysent.c        Mon May 16 21:17:11 2005 +0000
+++ b/sys/compat/linux/arch/alpha/linux_sysent.c        Mon May 16 21:18:18 2005 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.56 2005/05/16 16:03:58 fvdl Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.57 2005/05/16 21:18:18 fvdl Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.50 2005/05/16 16:02:19 fvdl Exp
+ * created from        NetBSD: syscalls.master,v 1.51 2005/05/16 21:17:11 fvdl Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.56 2005/05/16 16:03:58 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.57 2005/05/16 21:18:18 fvdl Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_sysv.h"
@@ -909,14 +909,14 @@
            linux_sys_nosys },                  /* 417 = unimplemented timer_getoverrun */
        { 0, 0, 0,
            linux_sys_nosys },                  /* 418 = unimplemented timer_delete */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 419 = unimplemented clock_settime */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 420 = unimplemented clock_gettime */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 421 = unimplemented clock_getres */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 422 = unimplemented clock_nanosleep */
+       { 2, s(struct linux_sys_clock_settime_args), 0,
+           linux_sys_clock_settime },          /* 419 = clock_settime */
+       { 2, s(struct linux_sys_clock_gettime_args), 0,
+           linux_sys_clock_gettime },          /* 420 = clock_gettime */
+       { 2, s(struct linux_sys_clock_getres_args), 0,
+           linux_sys_clock_getres },           /* 421 = clock_getres */
+       { 4, s(struct linux_sys_clock_nanosleep_args), 0,
+           linux_sys_clock_nanosleep },        /* 422 = clock_nanosleep */
        { 0, 0, 0,
            linux_sys_nosys },                  /* 423 = unimplemented semtimedop */
        { 0, 0, 0,
diff -r 01ba8370b14f -r 9b50807a0725 sys/compat/linux/arch/amd64/linux_syscall.h
--- a/sys/compat/linux/arch/amd64/linux_syscall.h       Mon May 16 21:17:11 2005 +0000
+++ b/sys/compat/linux/arch/amd64/linux_syscall.h       Mon May 16 21:18:18 2005 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.2 2005/05/16 16:03:58 fvdl Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.3 2005/05/16 21:18:19 fvdl Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.2 2005/05/16 16:02:20 fvdl Exp
+ * created from        NetBSD: syscalls.master,v 1.3 2005/05/16 21:17:11 fvdl Exp
  */
 
 /* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
@@ -496,6 +496,18 @@
 /* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */
 #define        LINUX_SYS_getdents64    217
 
+/* syscall: "clock_settime" ret: "int" args: "clockid_t" "struct linux_timespec *" */
+#define        LINUX_SYS_clock_settime 227
+
+/* syscall: "clock_gettime" ret: "int" args: "clockid_t" "struct linux_timespec *" */
+#define        LINUX_SYS_clock_gettime 228
+
+/* syscall: "clock_getres" ret: "int" args: "clockid_t" "struct linux_timespec *" */
+#define        LINUX_SYS_clock_getres  229
+
+/* syscall: "clock_nanosleep" ret: "int" args: "clockid_t" "int" "struct linux_timespec *" "struct linux_timespec *" */
+#define        LINUX_SYS_clock_nanosleep       230
+
 /* syscall: "exit_group" ret: "int" args: "int" */
 #define        LINUX_SYS_exit_group    231
 
diff -r 01ba8370b14f -r 9b50807a0725 sys/compat/linux/arch/amd64/linux_syscallargs.h
--- a/sys/compat/linux/arch/amd64/linux_syscallargs.h   Mon May 16 21:17:11 2005 +0000
+++ b/sys/compat/linux/arch/amd64/linux_syscallargs.h   Mon May 16 21:18:18 2005 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.2 2005/05/16 16:03:58 fvdl Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.3 2005/05/16 21:18:19 fvdl Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.2 2005/05/16 16:02:20 fvdl Exp
+ * created from        NetBSD: syscalls.master,v 1.3 2005/05/16 21:17:11 fvdl Exp
  */
 
 #ifndef _LINUX_SYS__SYSCALLARGS_H_
@@ -612,6 +612,28 @@
        syscallarg(unsigned int) count;
 };
 
+struct linux_sys_clock_settime_args {
+       syscallarg(clockid_t) which;
+       syscallarg(struct linux_timespec *) tp;
+};
+
+struct linux_sys_clock_gettime_args {
+       syscallarg(clockid_t) which;
+       syscallarg(struct linux_timespec *) tp;
+};
+
+struct linux_sys_clock_getres_args {
+       syscallarg(clockid_t) which;
+       syscallarg(struct linux_timespec *) tp;
+};
+
+struct linux_sys_clock_nanosleep_args {
+       syscallarg(clockid_t) which;
+       syscallarg(int) flags;
+       syscallarg(struct linux_timespec *) rqtp;
+       syscallarg(struct linux_timespec *) rmtp;
+};
+
 struct linux_sys_exit_group_args {
        syscallarg(int) error_code;
 };
@@ -946,6 +968,14 @@
 
 int    linux_sys_getdents64(struct lwp *, void *, register_t *);
 
+int    linux_sys_clock_settime(struct lwp *, void *, register_t *);
+
+int    linux_sys_clock_gettime(struct lwp *, void *, register_t *);
+
+int    linux_sys_clock_getres(struct lwp *, void *, register_t *);
+
+int    linux_sys_clock_nanosleep(struct lwp *, void *, register_t *);
+
 int    linux_sys_exit_group(struct lwp *, void *, register_t *);
 
 int    linux_sys_nosys(struct lwp *, void *, register_t *);
diff -r 01ba8370b14f -r 9b50807a0725 sys/compat/linux/arch/amd64/linux_syscalls.c
--- a/sys/compat/linux/arch/amd64/linux_syscalls.c      Mon May 16 21:17:11 2005 +0000
+++ b/sys/compat/linux/arch/amd64/linux_syscalls.c      Mon May 16 21:18:18 2005 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.2 2005/05/16 16:03:58 fvdl Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.3 2005/05/16 21:18:19 fvdl Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.2 2005/05/16 16:02:20 fvdl Exp
+ * created from        NetBSD: syscalls.master,v 1.3 2005/05/16 21:17:11 fvdl Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.2 2005/05/16 16:03:58 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.3 2005/05/16 21:18:19 fvdl Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -257,10 +257,10 @@
        "#224 (unimplemented timer_gettime)",           /* 224 = unimplemented timer_gettime */
        "#225 (unimplemented timer_getoverrun)",                /* 225 = unimplemented timer_getoverrun */
        "#226 (unimplemented timer_delete)",            /* 226 = unimplemented timer_delete */
-       "#227 (unimplemented clock_settime)",           /* 227 = unimplemented clock_settime */
-       "#228 (unimplemented clock_gettime)",           /* 228 = unimplemented clock_gettime */
-       "#229 (unimplemented clock_getres)",            /* 229 = unimplemented clock_getres */
-       "#230 (unimplemented clock_nanosleep)",         /* 230 = unimplemented clock_nanosleep */
+       "clock_settime",                        /* 227 = clock_settime */
+       "clock_gettime",                        /* 228 = clock_gettime */
+       "clock_getres",                 /* 229 = clock_getres */
+       "clock_nanosleep",                      /* 230 = clock_nanosleep */



Home | Main Index | Thread Index | Old Index