This commit is contained in:
christos 2013-03-29 01:10:13 +00:00
parent d727dbe767
commit 698e9d4d95
4 changed files with 39 additions and 22 deletions

View File

@ -1,14 +1,14 @@
/* $NetBSD: init_sysent.c,v 1.270 2012/10/02 01:46:20 christos Exp $ */
/* $NetBSD: init_sysent.c,v 1.271 2013/03/29 01:10:13 christos Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.261 2012/10/02 01:44:28 christos Exp
* created from NetBSD: syscalls.master,v 1.262 2013/03/29 01:08:17 christos Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.270 2012/10/02 01:46:20 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.271 2013/03/29 01:10:13 christos Exp $");
#include "opt_modular.h"
#include "opt_ntp.h"
@ -1046,8 +1046,8 @@ struct sysent sysent[] = {
(sy_call_t *)sys_nomodule }, /* 432 = __mq_timedsend50 */
{ ns(struct sys___mq_timedreceive50_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_nomodule }, /* 433 = __mq_timedreceive50 */
{ ns(struct sys____lwp_park50_args), SYCALL_ARG_PTR,
(sy_call_t *)sys____lwp_park50 }, /* 434 = ___lwp_park50 */
{ ns(struct compat_60_sys__lwp_park_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_nomodule }, /* 434 = compat_60__lwp_park */
{ ns(struct sys___kevent50_args), SYCALL_ARG_PTR,
(sy_call_t *)sys___kevent50 }, /* 435 = __kevent50 */
{ ns(struct sys___pselect50_args), SYCALL_ARG_PTR,
@ -1154,8 +1154,8 @@ struct sysent sysent[] = {
(sy_call_t *)sys_sendmmsg }, /* 476 = sendmmsg */
{ ns(struct sys_clock_nanosleep_args), SYCALL_ARG_PTR,
(sy_call_t *)sys_clock_nanosleep }, /* 477 = clock_nanosleep */
{ 0, 0, 0,
sys_nosys }, /* 478 = filler */
{ ns(struct sys____lwp_park60_args), SYCALL_ARG_PTR,
(sy_call_t *)sys____lwp_park60 }, /* 478 = ___lwp_park60 */
{ 0, 0, 0,
sys_nosys }, /* 479 = filler */
{ 0, 0, 0,

View File

@ -1,14 +1,14 @@
/* $NetBSD: syscalls.c,v 1.261 2012/10/02 01:46:21 christos Exp $ */
/* $NetBSD: syscalls.c,v 1.262 2013/03/29 01:10:13 christos Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.261 2012/10/02 01:44:28 christos Exp
* created from NetBSD: syscalls.master,v 1.262 2013/03/29 01:08:17 christos Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.261 2012/10/02 01:46:21 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.262 2013/03/29 01:10:13 christos Exp $");
#if defined(_KERNEL_OPT)
#include "opt_modular.h"
@ -507,7 +507,7 @@ const char *const syscallnames[] = {
/* 431 */ "____sigtimedwait50",
/* 432 */ "__mq_timedsend50",
/* 433 */ "__mq_timedreceive50",
/* 434 */ "___lwp_park50",
/* 434 */ "compat_60__lwp_park",
/* 435 */ "__kevent50",
/* 436 */ "__pselect50",
/* 437 */ "__pollts50",
@ -567,7 +567,7 @@ const char *const syscallnames[] = {
/* 475 */ "recvmmsg",
/* 476 */ "sendmmsg",
/* 477 */ "clock_nanosleep",
/* 478 */ "# filler",
/* 478 */ "___lwp_park60",
/* 479 */ "# filler",
/* 480 */ "# filler",
/* 481 */ "# filler",

View File

@ -1,10 +1,10 @@
/* $NetBSD: syscall.h,v 1.257 2012/10/02 01:46:20 christos Exp $ */
/* $NetBSD: syscall.h,v 1.258 2013/03/29 01:10:22 christos Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.261 2012/10/02 01:44:28 christos Exp
* created from NetBSD: syscalls.master,v 1.262 2013/03/29 01:08:17 christos Exp
*/
#ifndef _SYS_SYSCALL_H_
@ -1215,8 +1215,8 @@
/* syscall: "__mq_timedreceive50" ret: "ssize_t" args: "mqd_t" "char *" "size_t" "unsigned *" "const struct timespec *" */
#define SYS___mq_timedreceive50 433
/* syscall: "___lwp_park50" ret: "int" args: "const struct timespec *" "lwpid_t" "const void *" "const void *" */
#define SYS____lwp_park50 434
/* syscall: "compat_60__lwp_park" ret: "int" args: "const struct timespec *" "lwpid_t" "const void *" "const void *" */
#define SYS_compat_60__lwp_park 434
/* syscall: "__kevent50" ret: "int" args: "int" "const struct kevent *" "size_t" "struct kevent *" "size_t" "const struct timespec *" */
#define SYS___kevent50 435
@ -1361,6 +1361,9 @@
/* syscall: "clock_nanosleep" ret: "int" args: "clockid_t" "int" "const struct timespec *" "struct timespec *" */
#define SYS_clock_nanosleep 477
#define SYS_MAXSYSCALL 478
/* syscall: "___lwp_park60" ret: "int" args: "clockid_t" "int" "const struct timespec *" "lwpid_t" "const void *" "const void *" */
#define SYS____lwp_park60 478
#define SYS_MAXSYSCALL 479
#define SYS_NSYSENT 512
#endif /* _SYS_SYSCALL_H_ */

View File

@ -1,10 +1,10 @@
/* $NetBSD: syscallargs.h,v 1.240 2012/10/02 01:46:20 christos Exp $ */
/* $NetBSD: syscallargs.h,v 1.241 2013/03/29 01:10:22 christos Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.261 2012/10/02 01:44:28 christos Exp
* created from NetBSD: syscalls.master,v 1.262 2013/03/29 01:08:17 christos Exp
*/
#ifndef _SYS_SYSCALLARGS_H_
@ -2828,13 +2828,13 @@ check_syscall_args(sys___mq_timedreceive50)
#endif /* !RUMP_CLIENT */
#ifndef RUMP_CLIENT
struct sys____lwp_park50_args {
struct compat_60_sys__lwp_park_args {
syscallarg(const struct timespec *) ts;
syscallarg(lwpid_t) unpark;
syscallarg(const void *) hint;
syscallarg(const void *) unparkhint;
};
check_syscall_args(sys____lwp_park50)
check_syscall_args(compat_60_sys__lwp_park)
#endif /* !RUMP_CLIENT */
struct sys___kevent50_args {
@ -3188,6 +3188,18 @@ struct sys_clock_nanosleep_args {
check_syscall_args(sys_clock_nanosleep)
#endif /* !RUMP_CLIENT */
#ifndef RUMP_CLIENT
struct sys____lwp_park60_args {
syscallarg(clockid_t) clock_id;
syscallarg(int) flags;
syscallarg(const struct timespec *) ts;
syscallarg(lwpid_t) unpark;
syscallarg(const void *) hint;
syscallarg(const void *) unparkhint;
};
check_syscall_args(sys____lwp_park60)
#endif /* !RUMP_CLIENT */
/*
* System call prototypes.
*/
@ -3985,7 +3997,7 @@ int sys___mq_timedsend50(struct lwp *, const struct sys___mq_timedsend50_args *,
int sys___mq_timedreceive50(struct lwp *, const struct sys___mq_timedreceive50_args *, register_t *);
int sys____lwp_park50(struct lwp *, const struct sys____lwp_park50_args *, register_t *);
int compat_60_sys__lwp_park(struct lwp *, const struct compat_60_sys__lwp_park_args *, register_t *);
int sys___kevent50(struct lwp *, const struct sys___kevent50_args *, register_t *);
@ -4083,5 +4095,7 @@ int sys_sendmmsg(struct lwp *, const struct sys_sendmmsg_args *, register_t *);
int sys_clock_nanosleep(struct lwp *, const struct sys_clock_nanosleep_args *, register_t *);
int sys____lwp_park60(struct lwp *, const struct sys____lwp_park60_args *, register_t *);
#endif /* !RUMP_CLIENT */
#endif /* _SYS_SYSCALLARGS_H_ */