Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/netbsd32 regen
details: https://anonhg.NetBSD.org/src/rev/b62dbfc88034
branches: trunk
changeset: 347926:b62dbfc88034
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Sep 23 14:12:24 2016 +0000
description:
regen
diffstat:
sys/compat/netbsd32/netbsd32_syscall.h | 12 ++-
sys/compat/netbsd32/netbsd32_syscallargs.h | 25 +++++++-
sys/compat/netbsd32/netbsd32_syscalls.c | 14 ++--
sys/compat/netbsd32/netbsd32_syscalls_autoload.c | 6 +-
sys/compat/netbsd32/netbsd32_sysent.c | 18 +++--
sys/compat/netbsd32/netbsd32_systrace_args.c | 74 +++++++++++++++++++++++-
6 files changed, 125 insertions(+), 24 deletions(-)
diffs (285 lines):
diff -r e1ddd9fc340f -r b62dbfc88034 sys/compat/netbsd32/netbsd32_syscall.h
--- a/sys/compat/netbsd32/netbsd32_syscall.h Fri Sep 23 14:12:00 2016 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscall.h Fri Sep 23 14:12:24 2016 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscall.h,v 1.123 2016/09/10 08:19:58 skrll Exp $ */
+/* $NetBSD: netbsd32_syscall.h,v 1.124 2016/09/23 14:12:24 skrll Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.113 2016/09/10 08:18:45 skrll Exp
+ * created from NetBSD: syscalls.master,v 1.114 2016/09/23 14:10:28 skrll Exp
*/
#ifndef _NETBSD32_SYS_SYSCALL_H_
@@ -1257,6 +1257,12 @@
/* syscall: "netbsd32_fdiscard" ret: "int" args: "int" "int" "netbsd32_off_t" "netbsd32_off_t" */
#define NETBSD32_SYS_netbsd32_fdiscard 480
-#define NETBSD32_SYS_MAXSYSCALL 481
+/* syscall: "netbsd32_wait6" ret: "int" args: "idtype_t" "id_t" "netbsd32_intp" "int" "netbsd32_wrusagep_t" "netbsd32_siginfop_t" */
+#define NETBSD32_SYS_netbsd32_wait6 481
+
+/* syscall: "netbsd32_clock_getcpuclockid2" ret: "int" args: "idtype_t" "id_t" "netbsd32_clockidp_t" */
+#define NETBSD32_SYS_netbsd32_clock_getcpuclockid2 482
+
+#define NETBSD32_SYS_MAXSYSCALL 483
#define NETBSD32_SYS_NSYSENT 512
#endif /* _NETBSD32_SYS_SYSCALL_H_ */
diff -r e1ddd9fc340f -r b62dbfc88034 sys/compat/netbsd32/netbsd32_syscallargs.h
--- a/sys/compat/netbsd32/netbsd32_syscallargs.h Fri Sep 23 14:12:00 2016 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscallargs.h Fri Sep 23 14:12:24 2016 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscallargs.h,v 1.123 2016/09/10 08:19:58 skrll Exp $ */
+/* $NetBSD: netbsd32_syscallargs.h,v 1.124 2016/09/23 14:12:24 skrll Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.113 2016/09/10 08:18:45 skrll Exp
+ * created from NetBSD: syscalls.master,v 1.114 2016/09/23 14:10:28 skrll Exp
*/
#ifndef _NETBSD32_SYS_SYSCALLARGS_H_
@@ -2583,6 +2583,23 @@
};
check_syscall_args(netbsd32_fdiscard)
+struct netbsd32_wait6_args {
+ syscallarg(idtype_t) idtype;
+ syscallarg(id_t) id;
+ syscallarg(netbsd32_intp) status;
+ syscallarg(int) options;
+ syscallarg(netbsd32_wrusagep_t) wru;
+ syscallarg(netbsd32_siginfop_t) info;
+};
+check_syscall_args(netbsd32_wait6)
+
+struct netbsd32_clock_getcpuclockid2_args {
+ syscallarg(idtype_t) idtype;
+ syscallarg(id_t) id;
+ syscallarg(netbsd32_clockidp_t) clock_id;
+};
+check_syscall_args(netbsd32_clock_getcpuclockid2)
+
/*
* System call prototypes.
*/
@@ -3402,4 +3419,8 @@
int netbsd32_fdiscard(struct lwp *, const struct netbsd32_fdiscard_args *, register_t *);
+int netbsd32_wait6(struct lwp *, const struct netbsd32_wait6_args *, register_t *);
+
+int netbsd32_clock_getcpuclockid2(struct lwp *, const struct netbsd32_clock_getcpuclockid2_args *, register_t *);
+
#endif /* _NETBSD32_SYS_SYSCALLARGS_H_ */
diff -r e1ddd9fc340f -r b62dbfc88034 sys/compat/netbsd32/netbsd32_syscalls.c
--- a/sys/compat/netbsd32/netbsd32_syscalls.c Fri Sep 23 14:12:00 2016 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscalls.c Fri Sep 23 14:12:24 2016 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: netbsd32_syscalls.c,v 1.122 2016/09/10 08:19:58 skrll Exp $ */
+/* $NetBSD: netbsd32_syscalls.c,v 1.123 2016/09/23 14:12:24 skrll Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.113 2016/09/10 08:18:45 skrll Exp
+ * created from NetBSD: syscalls.master,v 1.114 2016/09/23 14:10:28 skrll Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.122 2016/09/10 08:19:58 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.123 2016/09/23 14:12:24 skrll Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@@ -522,8 +522,8 @@
/* 478 */ "netbsd32____lwp_park60",
/* 479 */ "netbsd32_posix_fallocate",
/* 480 */ "netbsd32_fdiscard",
- /* 481 */ "# filler",
- /* 482 */ "# filler",
+ /* 481 */ "netbsd32_wait6",
+ /* 482 */ "netbsd32_clock_getcpuclockid2",
/* 483 */ "# filler",
/* 484 */ "# filler",
/* 485 */ "# filler",
@@ -1052,8 +1052,8 @@
/* 478 */ "_lwp_park",
/* 479 */ "posix_fallocate",
/* 480 */ "fdiscard",
- /* 481 */ NULL, /* filler */
- /* 482 */ NULL, /* filler */
+ /* 481 */ "wait6",
+ /* 482 */ "clock_getcpuclockid2",
/* 483 */ NULL, /* filler */
/* 484 */ NULL, /* filler */
/* 485 */ NULL, /* filler */
diff -r e1ddd9fc340f -r b62dbfc88034 sys/compat/netbsd32/netbsd32_syscalls_autoload.c
--- a/sys/compat/netbsd32/netbsd32_syscalls_autoload.c Fri Sep 23 14:12:00 2016 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscalls_autoload.c Fri Sep 23 14:12:24 2016 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: netbsd32_syscalls_autoload.c,v 1.5 2016/09/10 08:19:58 skrll Exp $ */
+/* $NetBSD: netbsd32_syscalls_autoload.c,v 1.6 2016/09/23 14:12:25 skrll Exp $ */
/*
* System call autoload table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.113 2016/09/10 08:18:45 skrll Exp
+ * created from NetBSD: syscalls.master,v 1.114 2016/09/23 14:10:28 skrll Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls_autoload.c,v 1.5 2016/09/10 08:19:58 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls_autoload.c,v 1.6 2016/09/23 14:12:25 skrll Exp $");
#include <sys/proc.h>
static struct sc_autoload netbsd32_syscalls_autoload[] = {
diff -r e1ddd9fc340f -r b62dbfc88034 sys/compat/netbsd32/netbsd32_sysent.c
--- a/sys/compat/netbsd32/netbsd32_sysent.c Fri Sep 23 14:12:00 2016 +0000
+++ b/sys/compat/netbsd32/netbsd32_sysent.c Fri Sep 23 14:12:24 2016 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: netbsd32_sysent.c,v 1.122 2016/09/10 08:19:58 skrll Exp $ */
+/* $NetBSD: netbsd32_sysent.c,v 1.123 2016/09/23 14:12:25 skrll Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.113 2016/09/10 08:18:45 skrll Exp
+ * created from NetBSD: syscalls.master,v 1.114 2016/09/23 14:10:28 skrll Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.122 2016/09/10 08:19:58 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.123 2016/09/23 14:12:25 skrll Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -1962,11 +1962,13 @@
.sy_call = (sy_call_t *)netbsd32_fdiscard
}, /* 480 = netbsd32_fdiscard */
{
- .sy_call = sys_nosys,
- }, /* 481 = filler */
- {
- .sy_call = sys_nosys,
- }, /* 482 = filler */
+ ns(struct netbsd32_wait6_args),
+ .sy_call = (sy_call_t *)netbsd32_wait6
+ }, /* 481 = netbsd32_wait6 */
+ {
+ ns(struct netbsd32_clock_getcpuclockid2_args),
+ .sy_call = (sy_call_t *)netbsd32_clock_getcpuclockid2
+ }, /* 482 = netbsd32_clock_getcpuclockid2 */
{
.sy_call = sys_nosys,
}, /* 483 = filler */
diff -r e1ddd9fc340f -r b62dbfc88034 sys/compat/netbsd32/netbsd32_systrace_args.c
--- a/sys/compat/netbsd32/netbsd32_systrace_args.c Fri Sep 23 14:12:00 2016 +0000
+++ b/sys/compat/netbsd32/netbsd32_systrace_args.c Fri Sep 23 14:12:24 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_systrace_args.c,v 1.13 2016/09/10 08:19:58 skrll Exp $ */
+/* $NetBSD: netbsd32_systrace_args.c,v 1.14 2016/09/23 14:12:25 skrll Exp $ */
/*
* System call argument to DTrace register array converstion.
@@ -3450,6 +3450,27 @@
*n_args = 4;
break;
}
+ /* netbsd32_wait6 */
+ case 481: {
+ struct netbsd32_wait6_args *p = params;
+ iarg[0] = SCARG(p, idtype); /* idtype_t */
+ iarg[1] = SCARG(p, id); /* id_t */
+ uarg[2] = (intptr_t) SCARG(p, status).i32; /* netbsd32_intp */
+ iarg[3] = SCARG(p, options); /* int */
+ uarg[4] = (intptr_t) SCARG(p, wru).i32; /* netbsd32_wrusagep_t */
+ uarg[5] = (intptr_t) SCARG(p, info).i32; /* netbsd32_siginfop_t */
+ *n_args = 6;
+ break;
+ }
+ /* netbsd32_clock_getcpuclockid2 */
+ case 482: {
+ struct netbsd32_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).i32; /* netbsd32_clockidp_t */
+ *n_args = 3;
+ break;
+ }
default:
*n_args = 0;
break;
@@ -9297,6 +9318,47 @@
break;
};
break;
+ /* netbsd32_wait6 */
+ case 481:
+ switch(ndx) {
+ case 0:
+ p = "idtype_t";
+ break;
+ case 1:
+ p = "id_t";
+ break;
+ case 2:
+ p = "netbsd32_intp";
+ break;
+ case 3:
+ p = "int";
+ break;
+ case 4:
+ p = "netbsd32_wrusagep_t";
+ break;
+ case 5:
+ p = "netbsd32_siginfop_t";
+ break;
+ default:
+ break;
+ };
+ break;
+ /* netbsd32_clock_getcpuclockid2 */
+ case 482:
+ switch(ndx) {
+ case 0:
+ p = "idtype_t";
+ break;
+ case 1:
+ p = "id_t";
+ break;
+ case 2:
+ p = "netbsd32_clockidp_t";
+ break;
+ default:
+ break;
+ };
+ break;
default:
break;
};
@@ -11254,6 +11316,16 @@
if (ndx == 0 || ndx == 1)
p = "int";
break;
+ /* netbsd32_wait6 */
+ case 481:
+ if (ndx == 0 || ndx == 1)
+ p = "int";
+ break;
+ /* netbsd32_clock_getcpuclockid2 */
+ case 482:
+ if (ndx == 0 || ndx == 1)
+ p = "int";
+ break;
default:
break;
};
Home |
Main Index |
Thread Index |
Old Index