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/cb9d21e68c55
branches:  trunk
changeset: 816391:cb9d21e68c55
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jul 03 14:26:47 2016 +0000

description:
regen

diffstat:

 sys/kern/init_sysent.c                    |    11 +-
 sys/kern/syscalls.c                       |    10 +-
 sys/kern/syscalls_autoload.c              |     6 +-
 sys/kern/systrace_args.c                  |    24 +-
 sys/rump/include/rump/rump_syscalls.h     |  1160 ++++++++++++++--------------
 sys/rump/librump/rumpkern/rump_syscalls.c |    11 +-
 sys/sys/syscall.h                         |     7 +-
 sys/sys/syscallargs.h                     |    13 +-
 8 files changed, 638 insertions(+), 604 deletions(-)

diffs (truncated from 1662 to 300 lines):

diff -r f23c4b9a3920 -r cb9d21e68c55 sys/kern/init_sysent.c
--- a/sys/kern/init_sysent.c    Sun Jul 03 14:24:58 2016 +0000
+++ b/sys/kern/init_sysent.c    Sun Jul 03 14:26:47 2016 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: init_sysent.c,v 1.311 2016/05/06 10:19:40 pooka Exp $ */
+/* $NetBSD: init_sysent.c,v 1.312 2016/07/03 14:26:47 christos Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.284 2016/04/23 23:08:26 christos Exp
+ * created from        NetBSD: syscalls.master,v 1.285 2016/07/03 14:24:59 christos Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.311 2016/05/06 10:19:40 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.312 2016/07/03 14:26:47 christos Exp $");
 
 #include "opt_modular.h"
 #include "opt_ntp.h"
@@ -1682,8 +1682,9 @@
                .sy_call = (sy_call_t *)sys_sched_yield
        },              /* 350 = sched_yield */
        {
-               .sy_call = sys_nosys,
-       },              /* 351 = filler */
+               ns(struct sys__sched_protect_args),
+               .sy_call = (sy_call_t *)sys__sched_protect
+       },              /* 351 = _sched_protect */
        {
                .sy_call = sys_nosys,
        },              /* 352 = filler */
diff -r f23c4b9a3920 -r cb9d21e68c55 sys/kern/syscalls.c
--- a/sys/kern/syscalls.c       Sun Jul 03 14:24:58 2016 +0000
+++ b/sys/kern/syscalls.c       Sun Jul 03 14:26:47 2016 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: syscalls.c,v 1.301 2016/05/06 10:19:40 pooka Exp $ */
+/* $NetBSD: syscalls.c,v 1.302 2016/07/03 14:26:47 christos Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.284 2016/04/23 23:08:26 christos Exp
+ * created from        NetBSD: syscalls.master,v 1.285 2016/07/03 14:24:59 christos Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.301 2016/05/06 10:19:40 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.302 2016/07/03 14:26:47 christos Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_modular.h"
@@ -394,7 +394,7 @@
        /* 348 */       "_sched_setaffinity",
        /* 349 */       "_sched_getaffinity",
        /* 350 */       "sched_yield",
-       /* 351 */       "#351 (unimplemented)",
+       /* 351 */       "_sched_protect",
        /* 352 */       "#352 (unimplemented)",
        /* 353 */       "#353 (unimplemented)",
        /* 354 */       "fsync_range",
@@ -931,7 +931,7 @@
        /* 348 */       NULL, /* _sched_setaffinity */
        /* 349 */       NULL, /* _sched_getaffinity */
        /* 350 */       NULL, /* sched_yield */
-       /* 351 */       NULL, /* unimplemented */
+       /* 351 */       NULL, /* _sched_protect */
        /* 352 */       NULL, /* unimplemented */
        /* 353 */       NULL, /* unimplemented */
        /* 354 */       NULL, /* fsync_range */
diff -r f23c4b9a3920 -r cb9d21e68c55 sys/kern/syscalls_autoload.c
--- a/sys/kern/syscalls_autoload.c      Sun Jul 03 14:24:58 2016 +0000
+++ b/sys/kern/syscalls_autoload.c      Sun Jul 03 14:26:47 2016 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: syscalls_autoload.c,v 1.20 2016/05/06 10:19:40 pooka Exp $ */
+/* $NetBSD: syscalls_autoload.c,v 1.21 2016/07/03 14:26:47 christos Exp $ */
 
 /*
  * System call autoload table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.284 2016/04/23 23:08:26 christos Exp
+ * created from        NetBSD: syscalls.master,v 1.285 2016/07/03 14:24:59 christos Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: syscalls_autoload.c,v 1.20 2016/05/06 10:19:40 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: syscalls_autoload.c,v 1.21 2016/07/03 14:26:47 christos Exp $");
 
 #include <sys/proc.h>
 static struct sc_autoload netbsd_syscalls_autoload[] = {
diff -r f23c4b9a3920 -r cb9d21e68c55 sys/kern/systrace_args.c
--- a/sys/kern/systrace_args.c  Sun Jul 03 14:24:58 2016 +0000
+++ b/sys/kern/systrace_args.c  Sun Jul 03 14:26:47 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: systrace_args.c,v 1.20 2016/05/06 10:19:40 pooka Exp $ */
+/* $NetBSD: systrace_args.c,v 1.21 2016/07/03 14:26:47 christos Exp $ */
 
 /*
  * System call argument to DTrace register array converstion.
@@ -2519,6 +2519,13 @@
                *n_args = 0;
                break;
        }
+       /* sys__sched_protect */
+       case 351: {
+               struct sys__sched_protect_args *p = params;
+               iarg[0] = SCARG(p, priority); /* int */
+               *n_args = 1;
+               break;
+       }
        /* sys_fsync_range */
        case 354: {
                struct sys_fsync_range_args *p = params;
@@ -7802,6 +7809,16 @@
        /* sys_sched_yield */
        case 350:
                break;
+       /* sys__sched_protect */
+       case 351:
+               switch(ndx) {
+               case 0:
+                       p = "int";
+                       break;
+               default:
+                       break;
+               };
+               break;
        /* sys_fsync_range */
        case 354:
                switch(ndx) {
@@ -11373,6 +11390,11 @@
                break;
        /* sys_sched_yield */
        case 350:
+       /* sys__sched_protect */
+       case 351:
+               if (ndx == 0 || ndx == 1)
+                       p = "int";
+               break;
        /* sys_fsync_range */
        case 354:
                if (ndx == 0 || ndx == 1)
diff -r f23c4b9a3920 -r cb9d21e68c55 sys/rump/include/rump/rump_syscalls.h
--- a/sys/rump/include/rump/rump_syscalls.h     Sun Jul 03 14:24:58 2016 +0000
+++ b/sys/rump/include/rump/rump_syscalls.h     Sun Jul 03 14:26:47 2016 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: rump_syscalls.h,v 1.101 2016/05/06 10:19:40 pooka Exp $ */
+/* $NetBSD: rump_syscalls.h,v 1.102 2016/07/03 14:26:48 christos Exp $ */
 
 /*
  * System call protos in rump namespace.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.284 2016/04/23 23:08:26 christos Exp
+ * created from        NetBSD: syscalls.master,v 1.285 2016/07/03 14:24:59 christos Exp
  */
 
 #ifndef _RUMP_RUMP_SYSCALLS_H_
@@ -16,292 +16,80 @@
 
 #include <rump/rump_syscalls_compat.h>
 
-#ifndef RUMP_SYS_RENAME_FGETXATTR
-#define RUMP_SYS_RENAME_FGETXATTR rump___sysimpl_fgetxattr
-#endif
-
-#ifndef RUMP_SYS_RENAME_IOCTL
-#define RUMP_SYS_RENAME_IOCTL rump___sysimpl_ioctl
-#endif
-
-#ifndef RUMP_SYS_RENAME_GETPPID
-#define RUMP_SYS_RENAME_GETPPID rump___sysimpl_getppid
-#endif
-
-#ifndef RUMP_SYS_RENAME___QUOTACTL
-#define RUMP_SYS_RENAME___QUOTACTL rump___sysimpl___quotactl
-#endif
-
-#ifndef RUMP_SYS_RENAME_GETPGID
-#define RUMP_SYS_RENAME_GETPGID rump___sysimpl_getpgid
-#endif
-
-#ifndef RUMP_SYS_RENAME___SETLOGIN
-#define RUMP_SYS_RENAME___SETLOGIN rump___sysimpl___setlogin
-#endif
-
-#ifndef RUMP_SYS_RENAME_SETEUID
-#define RUMP_SYS_RENAME_SETEUID rump___sysimpl_seteuid
-#endif
-
-#ifndef RUMP_SYS_RENAME_GETPEERNAME
-#define RUMP_SYS_RENAME_GETPEERNAME rump___sysimpl_getpeername
-#endif
-
-#ifndef RUMP_SYS_RENAME_SYMLINK
-#define RUMP_SYS_RENAME_SYMLINK rump___sysimpl_symlink
-#endif
-
-#ifndef RUMP_SYS_RENAME_GETUID_WITH_EUID
-#define RUMP_SYS_RENAME_GETUID_WITH_EUID rump___sysimpl_getuid
+#ifndef RUMP_SYS_RENAME_FKTRACE
+#define RUMP_SYS_RENAME_FKTRACE rump___sysimpl_fktrace
 #endif
 
-#ifndef RUMP_SYS_RENAME_TIMER_GETTIME
-#define RUMP_SYS_RENAME_TIMER_GETTIME rump___sysimpl_timer_gettime50
-#endif
-
-#ifndef RUMP_SYS_RENAME_READ
-#define RUMP_SYS_RENAME_READ rump___sysimpl_read
-#endif
-
-#ifndef RUMP_SYS_RENAME_EXTATTR_GET_FILE
-#define RUMP_SYS_RENAME_EXTATTR_GET_FILE rump___sysimpl_extattr_get_file
-#endif
-
-#ifndef RUMP_SYS_RENAME_EXTATTR_LIST_FD
-#define RUMP_SYS_RENAME_EXTATTR_LIST_FD rump___sysimpl_extattr_list_fd
-#endif
-
-#ifndef RUMP_SYS_RENAME_SETRLIMIT
-#define RUMP_SYS_RENAME_SETRLIMIT rump___sysimpl_setrlimit
+#ifndef RUMP_SYS_RENAME_GETSID
+#define RUMP_SYS_RENAME_GETSID rump___sysimpl_getsid
 #endif
 
-#ifndef RUMP_SYS_RENAME_GETPID_WITH_PPID
-#define RUMP_SYS_RENAME_GETPID_WITH_PPID rump___sysimpl_getpid
-#endif
-
-#ifndef RUMP_SYS_RENAME_SETGID
-#define RUMP_SYS_RENAME_SETGID rump___sysimpl_setgid
-#endif
-
-#ifndef RUMP_SYS_RENAME_LISTEN
-#define RUMP_SYS_RENAME_LISTEN rump___sysimpl_listen
+#ifndef RUMP_SYS_RENAME_RECVMMSG
+#define RUMP_SYS_RENAME_RECVMMSG rump___sysimpl_recvmmsg
 #endif
 
-#ifndef RUMP_SYS_RENAME_SYNC
-#define RUMP_SYS_RENAME_SYNC rump___sysimpl_sync
-#endif
-
-#ifndef RUMP_SYS_RENAME_FUTIMENS
-#define RUMP_SYS_RENAME_FUTIMENS rump___sysimpl_futimens
-#endif
-
-#ifndef RUMP_SYS_RENAME_MKNODAT
-#define RUMP_SYS_RENAME_MKNODAT rump___sysimpl_mknodat
-#endif
-
-#ifndef RUMP_SYS_RENAME_PIPE2
-#define RUMP_SYS_RENAME_PIPE2 rump___sysimpl_pipe2
+#ifndef RUMP_SYS_RENAME_UTIMENSAT
+#define RUMP_SYS_RENAME_UTIMENSAT rump___sysimpl_utimensat
 #endif
 
 #ifndef RUMP_SYS_RENAME_CHFLAGS
 #define RUMP_SYS_RENAME_CHFLAGS rump___sysimpl_chflags
 #endif
 
-#ifndef RUMP_SYS_RENAME_EXTATTR_GET_FD
-#define RUMP_SYS_RENAME_EXTATTR_GET_FD rump___sysimpl_extattr_get_fd
-#endif
-
-#ifndef RUMP_SYS_RENAME_LLISTXATTR
-#define RUMP_SYS_RENAME_LLISTXATTR rump___sysimpl_llistxattr
-#endif
-
-#ifndef RUMP_SYS_RENAME_POLLTS
-#define RUMP_SYS_RENAME_POLLTS rump___sysimpl_pollts50
-#endif
-
-#ifndef RUMP_SYS_RENAME_EXTATTR_LIST_FILE
-#define RUMP_SYS_RENAME_EXTATTR_LIST_FILE rump___sysimpl_extattr_list_file
-#endif
-
-#ifndef RUMP_SYS_RENAME_CONNECT
-#define RUMP_SYS_RENAME_CONNECT rump___sysimpl_connect
-#endif
-
-#ifndef RUMP_SYS_RENAME_LUTIMES
-#define RUMP_SYS_RENAME_LUTIMES rump___sysimpl_lutimes50
-#endif
-
-#ifndef RUMP_SYS_RENAME_FSETXATTR
-#define RUMP_SYS_RENAME_FSETXATTR rump___sysimpl_fsetxattr
-#endif
-
-#ifndef RUMP_SYS_RENAME_KQUEUE
-#define RUMP_SYS_RENAME_KQUEUE rump___sysimpl_kqueue
-#endif
-
-#ifndef RUMP_SYS_RENAME_FLISTXATTR
-#define RUMP_SYS_RENAME_FLISTXATTR rump___sysimpl_flistxattr
-#endif



Home | Main Index | Thread Index | Old Index