Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys regen



details:   https://anonhg.NetBSD.org/src/rev/dc7ddeb976f3
branches:  trunk
changeset: 344841:dc7ddeb976f3
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Apr 23 23:09:27 2016 +0000

description:
regen

diffstat:

 sys/kern/init_sysent.c                    |  12 ++++++----
 sys/kern/syscalls.c                       |  10 ++++----
 sys/kern/syscalls_autoload.c              |   6 ++--
 sys/kern/systrace_args.c                  |  32 ++++++++++++++++++++++++++++++-
 sys/rump/include/rump/rump_syscalls.h     |   4 +-
 sys/rump/librump/rumpkern/rump_syscalls.c |  11 ++++-----
 sys/sys/syscall.h                         |   9 +++++--
 sys/sys/syscallargs.h                     |  15 ++++++++++++-
 8 files changed, 72 insertions(+), 27 deletions(-)

diffs (274 lines):

diff -r d6538c34ca6e -r dc7ddeb976f3 sys/kern/init_sysent.c
--- a/sys/kern/init_sysent.c    Sat Apr 23 23:08:26 2016 +0000
+++ b/sys/kern/init_sysent.c    Sat Apr 23 23:09:27 2016 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: init_sysent.c,v 1.309 2016/04/03 01:22:39 christos Exp $ */
+/* $NetBSD: init_sysent.c,v 1.310 2016/04/23 23:09:27 christos Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.283 2016/04/03 01:00:26 christos Exp
+ * created from        NetBSD: syscalls.master,v 1.284 2016/04/23 23:08:26 christos Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.309 2016/04/03 01:22:39 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.310 2016/04/23 23:09:27 christos Exp $");
 
 #include "opt_modular.h"
 #include "opt_ntp.h"
@@ -2323,8 +2323,10 @@
                .sy_call = (sy_call_t *)sys_wait6
        },              /* 481 = wait6 */
        {
-               .sy_call = sys_nosys,
-       },              /* 482 = filler */
+               ns(struct sys_clock_getcpuclockid2_args),
+               .sy_flags = SYCALL_ARG_PTR,
+               .sy_call = (sy_call_t *)sys_clock_getcpuclockid2
+       },              /* 482 = clock_getcpuclockid2 */
        {
                .sy_call = sys_nosys,
        },              /* 483 = filler */
diff -r d6538c34ca6e -r dc7ddeb976f3 sys/kern/syscalls.c
--- a/sys/kern/syscalls.c       Sat Apr 23 23:08:26 2016 +0000
+++ b/sys/kern/syscalls.c       Sat Apr 23 23:09:27 2016 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: syscalls.c,v 1.299 2016/04/03 01:22:39 christos Exp $ */
+/* $NetBSD: syscalls.c,v 1.300 2016/04/23 23:09:27 christos Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.283 2016/04/03 01:00:26 christos Exp
+ * created from        NetBSD: syscalls.master,v 1.284 2016/04/23 23:08:26 christos Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.299 2016/04/03 01:22:39 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.300 2016/04/23 23:09:27 christos Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_modular.h"
@@ -529,7 +529,7 @@
        /* 479 */       "posix_fallocate",
        /* 480 */       "fdiscard",
        /* 481 */       "wait6",
-       /* 482 */       "# filler",
+       /* 482 */       "clock_getcpuclockid2",
        /* 483 */       "# filler",
        /* 484 */       "# filler",
        /* 485 */       "# filler",
@@ -1066,7 +1066,7 @@
        /* 479 */       NULL, /* posix_fallocate */
        /* 480 */       NULL, /* fdiscard */
        /* 481 */       NULL, /* wait6 */
-       /* 482 */       NULL, /* filler */
+       /* 482 */       NULL, /* clock_getcpuclockid2 */
        /* 483 */       NULL, /* filler */
        /* 484 */       NULL, /* filler */
        /* 485 */       NULL, /* filler */
diff -r d6538c34ca6e -r dc7ddeb976f3 sys/kern/syscalls_autoload.c
--- a/sys/kern/syscalls_autoload.c      Sat Apr 23 23:08:26 2016 +0000
+++ b/sys/kern/syscalls_autoload.c      Sat Apr 23 23:09:27 2016 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: syscalls_autoload.c,v 1.18 2016/04/03 01:22:39 christos Exp $ */
+/* $NetBSD: syscalls_autoload.c,v 1.19 2016/04/23 23:09:27 christos Exp $ */
 
 /*
  * System call autoload table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.283 2016/04/03 01:00:26 christos Exp
+ * created from        NetBSD: syscalls.master,v 1.284 2016/04/23 23:08:26 christos Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: syscalls_autoload.c,v 1.18 2016/04/03 01:22:39 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: syscalls_autoload.c,v 1.19 2016/04/23 23:09:27 christos Exp $");
 
 #include <sys/proc.h>
 static struct sc_autoload netbsd_syscalls_autoload[] = {
diff -r d6538c34ca6e -r dc7ddeb976f3 sys/kern/systrace_args.c
--- a/sys/kern/systrace_args.c  Sat Apr 23 23:08:26 2016 +0000
+++ b/sys/kern/systrace_args.c  Sat Apr 23 23:09:27 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: systrace_args.c,v 1.18 2016/04/03 01:22:39 christos Exp $ */
+/* $NetBSD: systrace_args.c,v 1.19 2016/04/23 23:09:27 christos Exp $ */
 
 /*
  * System call argument to DTrace register array converstion.
@@ -3669,6 +3669,15 @@
                *n_args = 6;
                break;
        }
+       /* sys_clock_getcpuclockid2 */
+       case 482: {
+               struct sys_clock_getcpuclockid2_args *p = params;
+               iarg[0] = SCARG(p, idtype); /* idtype_t */
+               iarg[1] = SCARG(p, id); /* id_t */
+               uarg[2] = (intptr_t) SCARG(p, clock_id); /* clockid_t * */
+               *n_args = 3;
+               break;
+       }
        default:
                *n_args = 0;
                break;
@@ -9884,6 +9893,22 @@
                        break;
                };
                break;
+       /* sys_clock_getcpuclockid2 */
+       case 482:
+               switch(ndx) {
+               case 0:
+                       p = "idtype_t";
+                       break;
+               case 1:
+                       p = "id_t";
+                       break;
+               case 2:
+                       p = "clockid_t *";
+                       break;
+               default:
+                       break;
+               };
+               break;
        default:
                break;
        };
@@ -11966,6 +11991,11 @@
                if (ndx == 0 || ndx == 1)
                        p = "int";
                break;
+       /* sys_clock_getcpuclockid2 */
+       case 482:
+               if (ndx == 0 || ndx == 1)
+                       p = "int";
+               break;
        default:
                break;
        };
diff -r d6538c34ca6e -r dc7ddeb976f3 sys/rump/include/rump/rump_syscalls.h
--- a/sys/rump/include/rump/rump_syscalls.h     Sat Apr 23 23:08:26 2016 +0000
+++ b/sys/rump/include/rump/rump_syscalls.h     Sat Apr 23 23:09:27 2016 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: rump_syscalls.h,v 1.99 2016/04/03 01:22:39 christos Exp $ */
+/* $NetBSD: rump_syscalls.h,v 1.100 2016/04/23 23:09:27 christos Exp $ */
 
 /*
  * System call protos in rump namespace.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.283 2016/04/03 01:00:26 christos Exp
+ * created from        NetBSD: syscalls.master,v 1.284 2016/04/23 23:08:26 christos Exp
  */
 
 #ifndef _RUMP_RUMP_SYSCALLS_H_
diff -r d6538c34ca6e -r dc7ddeb976f3 sys/rump/librump/rumpkern/rump_syscalls.c
--- a/sys/rump/librump/rumpkern/rump_syscalls.c Sat Apr 23 23:08:26 2016 +0000
+++ b/sys/rump/librump/rumpkern/rump_syscalls.c Sat Apr 23 23:09:27 2016 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: rump_syscalls.c,v 1.126 2016/04/03 01:22:39 christos Exp $ */
+/* $NetBSD: rump_syscalls.c,v 1.127 2016/04/23 23:09:27 christos Exp $ */
 
 /*
  * System call vector and marshalling for rump.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.283 2016/04/03 01:00:26 christos Exp
+ * created from        NetBSD: syscalls.master,v 1.284 2016/04/23 23:08:26 christos Exp
  */
 
 #ifdef RUMP_CLIENT
@@ -15,7 +15,7 @@
 
 #ifdef __NetBSD__
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_syscalls.c,v 1.126 2016/04/03 01:22:39 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_syscalls.c,v 1.127 2016/04/23 23:09:27 christos Exp $");
 
 #include <sys/fstypes.h>
 #include <sys/proc.h>
@@ -8383,9 +8383,8 @@
                .sy_call = (sy_call_t *)rumpns_enosys,
 },             /* 481 = wait6 */
        {
-               .sy_flags = SYCALL_NOSYS,
-               .sy_call = (sy_call_t *)rumpns_enosys,
-       },              /* 482 = filler */
+               .sy_call = (sy_call_t *)rumpns_enosys,
+},             /* 482 = clock_getcpuclockid2 */
        {
                .sy_flags = SYCALL_NOSYS,
                .sy_call = (sy_call_t *)rumpns_enosys,
diff -r d6538c34ca6e -r dc7ddeb976f3 sys/sys/syscall.h
--- a/sys/sys/syscall.h Sat Apr 23 23:08:26 2016 +0000
+++ b/sys/sys/syscall.h Sat Apr 23 23:09:27 2016 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: syscall.h,v 1.293 2016/04/03 01:22:39 christos Exp $ */
+/* $NetBSD: syscall.h,v 1.294 2016/04/23 23:09:27 christos Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.283 2016/04/03 01:00:26 christos Exp
+ * created from        NetBSD: syscalls.master,v 1.284 2016/04/23 23:08:26 christos Exp
  */
 
 #ifndef _SYS_SYSCALL_H_
@@ -1328,6 +1328,9 @@
 /* syscall: "wait6" ret: "int" args: "idtype_t" "id_t" "int *" "int" "struct wrusage *" "siginfo_t *" */
 #define        SYS_wait6       481
 
-#define        SYS_MAXSYSCALL  482
+/* syscall: "clock_getcpuclockid2" ret: "int" args: "idtype_t" "id_t" "clockid_t *" */
+#define        SYS_clock_getcpuclockid2        482
+
+#define        SYS_MAXSYSCALL  483
 #define        SYS_NSYSENT     512
 #endif /* _SYS_SYSCALL_H_ */
diff -r d6538c34ca6e -r dc7ddeb976f3 sys/sys/syscallargs.h
--- a/sys/sys/syscallargs.h     Sat Apr 23 23:08:26 2016 +0000
+++ b/sys/sys/syscallargs.h     Sat Apr 23 23:09:27 2016 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: syscallargs.h,v 1.277 2016/04/03 01:22:39 christos Exp $ */
+/* $NetBSD: syscallargs.h,v 1.278 2016/04/23 23:09:27 christos Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.283 2016/04/03 01:00:26 christos Exp
+ * created from        NetBSD: syscalls.master,v 1.284 2016/04/23 23:08:26 christos Exp
  */
 
 #ifndef _SYS_SYSCALLARGS_H_
@@ -3141,6 +3141,15 @@
 check_syscall_args(sys_wait6)
 #endif /* !RUMP_CLIENT */
 
+#ifndef RUMP_CLIENT
+struct sys_clock_getcpuclockid2_args {
+       syscallarg(idtype_t) idtype;
+       syscallarg(id_t) id;
+       syscallarg(clockid_t *) clock_id;
+};
+check_syscall_args(sys_clock_getcpuclockid2)
+#endif /* !RUMP_CLIENT */
+
 /*
  * System call prototypes.
  */
@@ -4017,5 +4026,7 @@
 
 int    sys_wait6(struct lwp *, const struct sys_wait6_args *, register_t *);
 
+int    sys_clock_getcpuclockid2(struct lwp *, const struct sys_clock_getcpuclockid2_args *, register_t *);
+
 #endif /* !RUMP_CLIENT */
 #endif /* _SYS_SYSCALLARGS_H_ */



Home | Main Index | Thread Index | Old Index