Source-Changes-HG archive

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

[src/trunk]: src/sys Regen for _lwp_gettid(2).



details:   https://anonhg.NetBSD.org/src/rev/5797699d8d6b
branches:  trunk
changeset: 850455:5797699d8d6b
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat Apr 04 20:27:27 2020 +0000

description:
Regen for _lwp_gettid(2).

diffstat:

 sys/compat/netbsd32/netbsd32_syscall.h           |   7 +++++--
 sys/compat/netbsd32/netbsd32_syscallargs.h       |   6 ++++--
 sys/compat/netbsd32/netbsd32_syscalls.c          |  10 +++++-----
 sys/compat/netbsd32/netbsd32_syscalls_autoload.c |   6 +++---
 sys/compat/netbsd32/netbsd32_sysent.c            |  10 +++++-----
 sys/compat/netbsd32/netbsd32_systrace_args.c     |  12 +++++++++++-
 sys/kern/init_sysent.c                           |  10 +++++-----
 sys/kern/syscalls.c                              |  10 +++++-----
 sys/kern/syscalls_autoload.c                     |   6 +++---
 sys/kern/systrace_args.c                         |  12 +++++++++++-
 sys/rump/include/rump/rump_syscalls.h            |   4 ++--
 sys/rump/librump/rumpkern/rump_syscalls.c        |  11 +++++------
 sys/sys/syscall.h                                |   7 +++++--
 sys/sys/syscallargs.h                            |   6 ++++--
 14 files changed, 73 insertions(+), 44 deletions(-)

diffs (truncated from 419 to 300 lines):

diff -r ae7110380f64 -r 5797699d8d6b sys/compat/netbsd32/netbsd32_syscall.h
--- a/sys/compat/netbsd32/netbsd32_syscall.h    Sat Apr 04 20:21:53 2020 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscall.h    Sat Apr 04 20:27:27 2020 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscall.h,v 1.150 2020/03/12 15:03:15 pgoyette Exp $ */
+/* $NetBSD: netbsd32_syscall.h,v 1.151 2020/04/04 20:27:27 thorpej Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.133 2020/03/12 15:02:29 pgoyette Exp
+ * created from        NetBSD: syscalls.master,v 1.134 2020/04/04 20:20:12 thorpej Exp
  */
 
 #ifndef _NETBSD32_SYS_SYSCALL_H_
@@ -875,6 +875,9 @@
 /* syscall: "netbsd32__lwp_ctl" ret: "int" args: "int" "netbsd32_pointer_t" */
 #define        NETBSD32_SYS_netbsd32__lwp_ctl  325
 
+/* syscall: "_lwp_gettid" ret: "lwptid_t" args: */
+#define        NETBSD32_SYS__lwp_gettid        326
+
                                /* 330 is obsolete netbsd32_sa_register */
                                /* 331 is obsolete netbsd32_sa_stacks */
                                /* 332 is obsolete sa_enable */
diff -r ae7110380f64 -r 5797699d8d6b sys/compat/netbsd32/netbsd32_syscallargs.h
--- a/sys/compat/netbsd32/netbsd32_syscallargs.h        Sat Apr 04 20:21:53 2020 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscallargs.h        Sat Apr 04 20:27:27 2020 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscallargs.h,v 1.149 2020/03/12 15:03:15 pgoyette Exp $ */
+/* $NetBSD: netbsd32_syscallargs.h,v 1.150 2020/04/04 20:27:27 thorpej Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.133 2020/03/12 15:02:29 pgoyette Exp
+ * created from        NetBSD: syscalls.master,v 1.134 2020/04/04 20:20:12 thorpej Exp
  */
 
 #ifndef _NETBSD32_SYS_SYSCALLARGS_H_
@@ -3214,6 +3214,8 @@
 
 int    netbsd32__lwp_ctl(struct lwp *, const struct netbsd32__lwp_ctl_args *, register_t *);
 
+int    sys__lwp_gettid(struct lwp *, const void *, register_t *);
+
 int    netbsd32___sigaction_sigtramp(struct lwp *, const struct netbsd32___sigaction_sigtramp_args *, register_t *);
 
 int    netbsd32_rasctl(struct lwp *, const struct netbsd32_rasctl_args *, register_t *);
diff -r ae7110380f64 -r 5797699d8d6b sys/compat/netbsd32/netbsd32_syscalls.c
--- a/sys/compat/netbsd32/netbsd32_syscalls.c   Sat Apr 04 20:21:53 2020 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscalls.c   Sat Apr 04 20:27:27 2020 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: netbsd32_syscalls.c,v 1.149 2020/03/12 15:03:15 pgoyette Exp $ */
+/* $NetBSD: netbsd32_syscalls.c,v 1.150 2020/04/04 20:27:27 thorpej Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.133 2020/03/12 15:02:29 pgoyette Exp
+ * created from        NetBSD: syscalls.master,v 1.134 2020/04/04 20:20:12 thorpej Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.149 2020/03/12 15:03:15 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.150 2020/04/04 20:27:27 thorpej Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -360,7 +360,7 @@
        /* 323 */       "netbsd32__lwp_setname",
        /* 324 */       "netbsd32__lwp_getname",
        /* 325 */       "netbsd32__lwp_ctl",
-       /* 326 */       "#326 (unimplemented)",
+       /* 326 */       "_lwp_gettid",
        /* 327 */       "#327 (unimplemented)",
        /* 328 */       "#328 (unimplemented)",
        /* 329 */       "#329 (unimplemented)",
@@ -885,7 +885,7 @@
        /* 323 */       "_lwp_setname",
        /* 324 */       "_lwp_getname",
        /* 325 */       "_lwp_ctl",
-       /* 326 */       NULL, /* unimplemented */
+       /* 326 */       NULL, /* _lwp_gettid */
        /* 327 */       NULL, /* unimplemented */
        /* 328 */       NULL, /* unimplemented */
        /* 329 */       NULL, /* unimplemented */
diff -r ae7110380f64 -r 5797699d8d6b sys/compat/netbsd32/netbsd32_syscalls_autoload.c
--- a/sys/compat/netbsd32/netbsd32_syscalls_autoload.c  Sat Apr 04 20:21:53 2020 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscalls_autoload.c  Sat Apr 04 20:27:27 2020 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: netbsd32_syscalls_autoload.c,v 1.29 2020/03/12 15:03:15 pgoyette Exp $ */
+/* $NetBSD: netbsd32_syscalls_autoload.c,v 1.30 2020/04/04 20:27:27 thorpej Exp $ */
 
 /*
  * System call autoload table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.133 2020/03/12 15:02:29 pgoyette Exp
+ * created from        NetBSD: syscalls.master,v 1.134 2020/04/04 20:20:12 thorpej Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls_autoload.c,v 1.29 2020/03/12 15:03:15 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls_autoload.c,v 1.30 2020/04/04 20:27:27 thorpej Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_compat_netbsd.h"
diff -r ae7110380f64 -r 5797699d8d6b sys/compat/netbsd32/netbsd32_sysent.c
--- a/sys/compat/netbsd32/netbsd32_sysent.c     Sat Apr 04 20:21:53 2020 +0000
+++ b/sys/compat/netbsd32/netbsd32_sysent.c     Sat Apr 04 20:27:27 2020 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: netbsd32_sysent.c,v 1.148 2020/03/12 15:03:15 pgoyette Exp $ */
+/* $NetBSD: netbsd32_sysent.c,v 1.149 2020/04/04 20:27:27 thorpej Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.133 2020/03/12 15:02:29 pgoyette Exp
+ * created from        NetBSD: syscalls.master,v 1.134 2020/04/04 20:20:12 thorpej Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.148 2020/03/12 15:03:15 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.149 2020/04/04 20:27:27 thorpej Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_compat_netbsd.h"
@@ -1385,8 +1385,8 @@
                .sy_call = (sy_call_t *)netbsd32__lwp_ctl
        },              /* 325 = netbsd32__lwp_ctl */
        {
-               .sy_call = sys_nosys,
-       },              /* 326 = filler */
+               .sy_call = (sy_call_t *)sys__lwp_gettid
+       },              /* 326 = _lwp_gettid */
        {
                .sy_call = sys_nosys,
        },              /* 327 = filler */
diff -r ae7110380f64 -r 5797699d8d6b sys/compat/netbsd32/netbsd32_systrace_args.c
--- a/sys/compat/netbsd32/netbsd32_systrace_args.c      Sat Apr 04 20:21:53 2020 +0000
+++ b/sys/compat/netbsd32/netbsd32_systrace_args.c      Sat Apr 04 20:27:27 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_systrace_args.c,v 1.40 2020/03/12 15:03:15 pgoyette Exp $ */
+/* $NetBSD: netbsd32_systrace_args.c,v 1.41 2020/04/04 20:27:27 thorpej Exp $ */
 
 /*
  * System call argument to DTrace register array converstion.
@@ -2313,6 +2313,11 @@
                *n_args = 2;
                break;
        }
+       /* sys__lwp_gettid */
+       case 326: {
+               *n_args = 0;
+               break;
+       }
        /* netbsd32___sigaction_sigtramp */
        case 340: {
                const struct netbsd32___sigaction_sigtramp_args *p = params;
@@ -7311,6 +7316,9 @@
                        break;
                };
                break;
+       /* sys__lwp_gettid */
+       case 326:
+               break;
        /* netbsd32___sigaction_sigtramp */
        case 340:
                switch(ndx) {
@@ -10860,6 +10868,8 @@
                if (ndx == 0 || ndx == 1)
                        p = "int";
                break;
+       /* sys__lwp_gettid */
+       case 326:
        /* netbsd32___sigaction_sigtramp */
        case 340:
                if (ndx == 0 || ndx == 1)
diff -r ae7110380f64 -r 5797699d8d6b sys/kern/init_sysent.c
--- a/sys/kern/init_sysent.c    Sat Apr 04 20:21:53 2020 +0000
+++ b/sys/kern/init_sysent.c    Sat Apr 04 20:27:27 2020 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: init_sysent.c,v 1.327 2020/01/21 02:38:25 pgoyette Exp $ */
+/* $NetBSD: init_sysent.c,v 1.328 2020/04/04 20:27:27 thorpej Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.297 2020/01/21 02:37:16 pgoyette Exp
+ * created from        NetBSD: syscalls.master,v 1.298 2020/04/04 20:20:12 thorpej Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.327 2020/01/21 02:38:25 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.328 2020/04/04 20:27:27 thorpej Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_modular.h"
@@ -1597,8 +1597,8 @@
                .sy_call = (sy_call_t *)sys__lwp_ctl
        },              /* 325 = _lwp_ctl */
        {
-               .sy_call = sys_nosys,
-       },              /* 326 = filler */
+               .sy_call = (sy_call_t *)sys__lwp_gettid
+       },              /* 326 = _lwp_gettid */
        {
                .sy_call = sys_nosys,
        },              /* 327 = filler */
diff -r ae7110380f64 -r 5797699d8d6b sys/kern/syscalls.c
--- a/sys/kern/syscalls.c       Sat Apr 04 20:21:53 2020 +0000
+++ b/sys/kern/syscalls.c       Sat Apr 04 20:27:27 2020 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: syscalls.c,v 1.315 2020/01/21 02:38:25 pgoyette Exp $ */
+/* $NetBSD: syscalls.c,v 1.316 2020/04/04 20:27:27 thorpej Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.297 2020/01/21 02:37:16 pgoyette Exp
+ * created from        NetBSD: syscalls.master,v 1.298 2020/04/04 20:20:12 thorpej Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.315 2020/01/21 02:38:25 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.316 2020/04/04 20:27:27 thorpej Exp $");
 
 #if defined(_KERNEL_OPT)
 #ifdef _KERNEL_OPT
@@ -371,7 +371,7 @@
        /* 323 */       "_lwp_setname",
        /* 324 */       "_lwp_getname",
        /* 325 */       "_lwp_ctl",
-       /* 326 */       "#326 (unimplemented)",
+       /* 326 */       "_lwp_gettid",
        /* 327 */       "#327 (unimplemented)",
        /* 328 */       "#328 (unimplemented)",
        /* 329 */       "#329 (unimplemented)",
@@ -908,7 +908,7 @@
        /* 323 */       NULL, /* _lwp_setname */
        /* 324 */       NULL, /* _lwp_getname */
        /* 325 */       NULL, /* _lwp_ctl */
-       /* 326 */       NULL, /* unimplemented */
+       /* 326 */       NULL, /* _lwp_gettid */
        /* 327 */       NULL, /* unimplemented */
        /* 328 */       NULL, /* unimplemented */
        /* 329 */       NULL, /* unimplemented */
diff -r ae7110380f64 -r 5797699d8d6b sys/kern/syscalls_autoload.c
--- a/sys/kern/syscalls_autoload.c      Sat Apr 04 20:21:53 2020 +0000
+++ b/sys/kern/syscalls_autoload.c      Sat Apr 04 20:27:27 2020 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: syscalls_autoload.c,v 1.32 2020/01/21 02:38:25 pgoyette Exp $ */
+/* $NetBSD: syscalls_autoload.c,v 1.33 2020/04/04 20:27:27 thorpej Exp $ */
 
 /*
  * System call autoload table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.297 2020/01/21 02:37:16 pgoyette Exp
+ * created from        NetBSD: syscalls.master,v 1.298 2020/04/04 20:20:12 thorpej Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: syscalls_autoload.c,v 1.32 2020/01/21 02:38:25 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: syscalls_autoload.c,v 1.33 2020/04/04 20:27:27 thorpej Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_modular.h"
diff -r ae7110380f64 -r 5797699d8d6b sys/kern/systrace_args.c
--- a/sys/kern/systrace_args.c  Sat Apr 04 20:21:53 2020 +0000
+++ b/sys/kern/systrace_args.c  Sat Apr 04 20:27:27 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: systrace_args.c,v 1.34 2020/01/21 02:38:25 pgoyette Exp $ */
+/* $NetBSD: systrace_args.c,v 1.35 2020/04/04 20:27:27 thorpej Exp $ */
 
 /*
  * System call argument to DTrace register array converstion.
@@ -2374,6 +2374,11 @@
                *n_args = 2;
                break;
        }
+       /* sys__lwp_gettid */
+       case 326: {
+               *n_args = 0;
+               break;
+       }
        /* sys_sa_register */
        case 330: {
                const struct compat_60_sys_sa_register_args *p = params;
@@ -7592,6 +7597,9 @@
                        break;
                };
                break;



Home | Main Index | Thread Index | Old Index