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 (versioned mq_* calls)
details: https://anonhg.NetBSD.org/src/rev/ba000f9d9640
branches: trunk
changeset: 338984:ba000f9d9640
user: martin <martin%NetBSD.org@localhost>
date: Sun Jun 21 08:29:52 2015 +0000
description:
regen (versioned mq_* calls)
diffstat:
sys/compat/netbsd32/netbsd32_syscall.h | 10 ++-
sys/compat/netbsd32/netbsd32_syscallargs.h | 26 ++++++++-
sys/compat/netbsd32/netbsd32_syscalls.c | 10 +-
sys/compat/netbsd32/netbsd32_sysent.c | 18 +++--
sys/compat/netbsd32/netbsd32_systrace_args.c | 78 +++++++++++++++++++++++++++-
5 files changed, 124 insertions(+), 18 deletions(-)
diffs (259 lines):
diff -r 9330ecb0010d -r ba000f9d9640 sys/compat/netbsd32/netbsd32_syscall.h
--- a/sys/compat/netbsd32/netbsd32_syscall.h Sun Jun 21 08:28:36 2015 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscall.h Sun Jun 21 08:29:52 2015 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscall.h,v 1.113 2015/06/20 19:56:24 martin Exp $ */
+/* $NetBSD: netbsd32_syscall.h,v 1.114 2015/06/21 08:29:52 martin Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.104 2015/06/20 19:55:07 martin Exp
+ * created from NetBSD: syscalls.master,v 1.105 2015/06/21 08:28:36 martin Exp
*/
#ifndef _NETBSD32_SYS_SYSCALL_H_
@@ -1144,6 +1144,12 @@
/* syscall: "netbsd32_____sigtimedwait50" ret: "int" args: "const netbsd32_sigsetp_t" "netbsd32_siginfop_t" "netbsd32_timespecp_t" */
#define NETBSD32_SYS_netbsd32_____sigtimedwait50 431
+/* syscall: "netbsd32___mq_timedsend50" ret: "int" args: "mqd_t" "const netbsd32_charp" "netbsd32_size_t" "unsigned" "const netbsd32_timespecp_t" */
+#define NETBSD32_SYS_netbsd32___mq_timedsend50 432
+
+/* syscall: "netbsd32___mq_timedreceive50" ret: "netbsd32_ssize_t" args: "mqd_t" "netbsd32_charp" "netbsd32_size_t" "netbsd32_uintp" "const netbsd32_timespecp_t" */
+#define NETBSD32_SYS_netbsd32___mq_timedreceive50 433
+
/* syscall: "compat_60_netbsd32__lwp_park" ret: "int" args: "const netbsd32_timespecp_t" "lwpid_t" "const netbsd32_voidp" "const netbsd32_voidp" */
#define NETBSD32_SYS_compat_60_netbsd32__lwp_park 434
diff -r 9330ecb0010d -r ba000f9d9640 sys/compat/netbsd32/netbsd32_syscallargs.h
--- a/sys/compat/netbsd32/netbsd32_syscallargs.h Sun Jun 21 08:28:36 2015 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscallargs.h Sun Jun 21 08:29:52 2015 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscallargs.h,v 1.113 2015/06/20 19:56:24 martin Exp $ */
+/* $NetBSD: netbsd32_syscallargs.h,v 1.114 2015/06/21 08:29:52 martin Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.104 2015/06/20 19:55:07 martin Exp
+ * created from NetBSD: syscalls.master,v 1.105 2015/06/21 08:28:36 martin Exp
*/
#ifndef _NETBSD32_SYS_SYSCALLARGS_H_
@@ -2228,6 +2228,24 @@
};
check_syscall_args(netbsd32_____sigtimedwait50)
+struct netbsd32___mq_timedsend50_args {
+ syscallarg(mqd_t) mqdes;
+ syscallarg(const netbsd32_charp) msg_ptr;
+ syscallarg(netbsd32_size_t) msg_len;
+ syscallarg(unsigned) msg_prio;
+ syscallarg(const netbsd32_timespecp_t) abs_timeout;
+};
+check_syscall_args(netbsd32___mq_timedsend50)
+
+struct netbsd32___mq_timedreceive50_args {
+ syscallarg(mqd_t) mqdes;
+ syscallarg(netbsd32_charp) msg_ptr;
+ syscallarg(netbsd32_size_t) msg_len;
+ syscallarg(netbsd32_uintp) msg_prio;
+ syscallarg(const netbsd32_timespecp_t) abs_timeout;
+};
+check_syscall_args(netbsd32___mq_timedreceive50)
+
struct compat_60_netbsd32__lwp_park_args {
syscallarg(const netbsd32_timespecp_t) ts;
syscallarg(lwpid_t) unpark;
@@ -3305,6 +3323,10 @@
int netbsd32_____sigtimedwait50(struct lwp *, const struct netbsd32_____sigtimedwait50_args *, register_t *);
+int netbsd32___mq_timedsend50(struct lwp *, const struct netbsd32___mq_timedsend50_args *, register_t *);
+
+int netbsd32___mq_timedreceive50(struct lwp *, const struct netbsd32___mq_timedreceive50_args *, register_t *);
+
int compat_60_netbsd32__lwp_park(struct lwp *, const struct compat_60_netbsd32__lwp_park_args *, register_t *);
int netbsd32___kevent50(struct lwp *, const struct netbsd32___kevent50_args *, register_t *);
diff -r 9330ecb0010d -r ba000f9d9640 sys/compat/netbsd32/netbsd32_syscalls.c
--- a/sys/compat/netbsd32/netbsd32_syscalls.c Sun Jun 21 08:28:36 2015 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscalls.c Sun Jun 21 08:29:52 2015 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: netbsd32_syscalls.c,v 1.112 2015/06/20 19:56:24 martin Exp $ */
+/* $NetBSD: netbsd32_syscalls.c,v 1.113 2015/06/21 08:29:52 martin Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.104 2015/06/20 19:55:07 martin Exp
+ * created from NetBSD: syscalls.master,v 1.105 2015/06/21 08:28:36 martin Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.112 2015/06/20 19:56:24 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.113 2015/06/21 08:29:52 martin Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@@ -513,8 +513,8 @@
/* 429 */ "netbsd32___clock_getres50",
/* 430 */ "netbsd32___nanosleep50",
/* 431 */ "netbsd32_____sigtimedwait50",
- /* 432 */ "#432 (unimplemented netbsd32___mq_timedsend50)",
- /* 433 */ "#433 (unimplemented netbsd32___mq_timedreceive50)",
+ /* 432 */ "netbsd32___mq_timedsend50",
+ /* 433 */ "netbsd32___mq_timedreceive50",
/* 434 */ "compat_60_netbsd32__lwp_park",
/* 435 */ "netbsd32___kevent50",
/* 436 */ "netbsd32___pselect50",
diff -r 9330ecb0010d -r ba000f9d9640 sys/compat/netbsd32/netbsd32_sysent.c
--- a/sys/compat/netbsd32/netbsd32_sysent.c Sun Jun 21 08:28:36 2015 +0000
+++ b/sys/compat/netbsd32/netbsd32_sysent.c Sun Jun 21 08:29:52 2015 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: netbsd32_sysent.c,v 1.112 2015/06/20 19:56:24 martin Exp $ */
+/* $NetBSD: netbsd32_sysent.c,v 1.113 2015/06/21 08:29:52 martin Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.104 2015/06/20 19:55:07 martin Exp
+ * created from NetBSD: syscalls.master,v 1.105 2015/06/21 08:28:36 martin Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.112 2015/06/20 19:56:24 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.113 2015/06/21 08:29:52 martin Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -1840,11 +1840,13 @@
.sy_call = (sy_call_t *)netbsd32_____sigtimedwait50
}, /* 431 = netbsd32_____sigtimedwait50 */
{
- .sy_call = sys_nosys,
- }, /* 432 = filler */
- {
- .sy_call = sys_nosys,
- }, /* 433 = filler */
+ ns(struct netbsd32___mq_timedsend50_args),
+ .sy_call = (sy_call_t *)netbsd32___mq_timedsend50
+ }, /* 432 = netbsd32___mq_timedsend50 */
+ {
+ ns(struct netbsd32___mq_timedreceive50_args),
+ .sy_call = (sy_call_t *)netbsd32___mq_timedreceive50
+ }, /* 433 = netbsd32___mq_timedreceive50 */
{
ns(struct compat_60_netbsd32__lwp_park_args),
.sy_call = (sy_call_t *)compat_60(netbsd32__lwp_park)
diff -r 9330ecb0010d -r ba000f9d9640 sys/compat/netbsd32/netbsd32_systrace_args.c
--- a/sys/compat/netbsd32/netbsd32_systrace_args.c Sun Jun 21 08:28:36 2015 +0000
+++ b/sys/compat/netbsd32/netbsd32_systrace_args.c Sun Jun 21 08:29:52 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_systrace_args.c,v 1.3 2015/06/20 19:56:24 martin Exp $ */
+/* $NetBSD: netbsd32_systrace_args.c,v 1.4 2015/06/21 08:29:52 martin Exp $ */
/*
* System call argument to DTrace register array converstion.
@@ -2993,6 +2993,28 @@
*n_args = 3;
break;
}
+ /* netbsd32___mq_timedsend50 */
+ case 432: {
+ struct netbsd32___mq_timedsend50_args *p = params;
+ iarg[0] = SCARG(p, mqdes); /* mqd_t */
+ uarg[1] = (intptr_t) SCARG(p, msg_ptr).i32; /* const netbsd32_charp */
+ iarg[2] = SCARG(p, msg_len); /* netbsd32_size_t */
+ uarg[3] = SCARG(p, msg_prio); /* unsigned */
+ uarg[4] = (intptr_t) SCARG(p, abs_timeout).i32; /* const netbsd32_timespecp_t */
+ *n_args = 5;
+ break;
+ }
+ /* netbsd32___mq_timedreceive50 */
+ case 433: {
+ struct netbsd32___mq_timedreceive50_args *p = params;
+ iarg[0] = SCARG(p, mqdes); /* mqd_t */
+ uarg[1] = (intptr_t) SCARG(p, msg_ptr).i32; /* netbsd32_charp */
+ iarg[2] = SCARG(p, msg_len); /* netbsd32_size_t */
+ uarg[3] = (intptr_t) SCARG(p, msg_prio).i32; /* netbsd32_uintp */
+ uarg[4] = (intptr_t) SCARG(p, abs_timeout).i32; /* const netbsd32_timespecp_t */
+ *n_args = 5;
+ break;
+ }
/* netbsd32__lwp_park */
case 434: {
struct compat_60_netbsd32__lwp_park_args *p = params;
@@ -8404,6 +8426,50 @@
break;
};
break;
+ /* netbsd32___mq_timedsend50 */
+ case 432:
+ switch(ndx) {
+ case 0:
+ p = "mqd_t";
+ break;
+ case 1:
+ p = "const netbsd32_charp";
+ break;
+ case 2:
+ p = "netbsd32_size_t";
+ break;
+ case 3:
+ p = "unsigned";
+ break;
+ case 4:
+ p = "const netbsd32_timespecp_t";
+ break;
+ default:
+ break;
+ };
+ break;
+ /* netbsd32___mq_timedreceive50 */
+ case 433:
+ switch(ndx) {
+ case 0:
+ p = "mqd_t";
+ break;
+ case 1:
+ p = "netbsd32_charp";
+ break;
+ case 2:
+ p = "netbsd32_size_t";
+ break;
+ case 3:
+ p = "netbsd32_uintp";
+ break;
+ case 4:
+ p = "const netbsd32_timespecp_t";
+ break;
+ default:
+ break;
+ };
+ break;
/* netbsd32__lwp_park */
case 434:
switch(ndx) {
@@ -10899,6 +10965,16 @@
if (ndx == 0 || ndx == 1)
p = "int";
break;
+ /* netbsd32___mq_timedsend50 */
+ case 432:
+ if (ndx == 0 || ndx == 1)
+ p = "int";
+ break;
+ /* netbsd32___mq_timedreceive50 */
+ case 433:
+ if (ndx == 0 || ndx == 1)
+ p = "netbsd32_ssize_t";
+ break;
/* netbsd32__lwp_park */
case 434:
if (ndx == 0 || ndx == 1)
Home |
Main Index |
Thread Index |
Old Index