summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorad <ad@NetBSD.org>2007-08-07 19:01:23 +0000
committerad <ad@NetBSD.org>2007-08-07 19:01:23 +0000
commit06f7ccf01d2d1316d7d2f67ffbaf5c5ee7cd5533 (patch)
tree66db7ae5291149fe722a0ce6f022b7d33f88d0e1
parent830ab6bb3c11a2738184b6a65da4afcb8f31c203 (diff)
Regen.
-rw-r--r--sys/compat/netbsd32/netbsd32_syscall.h6
-rw-r--r--sys/compat/netbsd32/netbsd32_syscallargs.h7
-rw-r--r--sys/compat/netbsd32/netbsd32_syscalls.c6
-rw-r--r--sys/compat/netbsd32/netbsd32_sysent.c24
-rw-r--r--sys/kern/init_sysent.c12
-rw-r--r--sys/kern/syscalls.c6
-rw-r--r--sys/sys/syscall.h6
-rw-r--r--sys/sys/syscallargs.h7
8 files changed, 38 insertions, 36 deletions
diff --git a/sys/compat/netbsd32/netbsd32_syscall.h b/sys/compat/netbsd32/netbsd32_syscall.h
index c0982cb7145..0bcb94c6edd 100644
--- a/sys/compat/netbsd32/netbsd32_syscall.h
+++ b/sys/compat/netbsd32/netbsd32_syscall.h
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscall.h,v 1.66 2007/03/04 07:54:08 christos Exp $ */
+/* $NetBSD: netbsd32_syscall.h,v 1.67 2007/08/07 19:01:23 ad Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.58 2007/03/04 06:01:27 christos Exp
+ * created from NetBSD: syscalls.master,v 1.60 2007/08/07 19:00:42 ad Exp
*/
#ifndef _netbsd32_SYS_SYSCALL_H_
@@ -912,7 +912,7 @@
/* syscall: "netbsd32__lwp_detach" ret: "int" args: "lwpid_t" */
#define netbsd32_SYS_netbsd32__lwp_detach 319
-/* syscall: "netbsd32__lwp_park" ret: "int" args: "const netbsd32_timespecp_t" "netbsd32_ucontextp" "const netbsd32_voidp" */
+/* syscall: "netbsd32__lwp_park" ret: "int" args: "const netbsd32_timespecp_t" "lwpid_t" "const netbsd32_voidp" "const netbsd32_voidp" */
#define netbsd32_SYS_netbsd32__lwp_park 320
/* syscall: "netbsd32__lwp_unpark" ret: "int" args: "lwpid_t" "const netbsd32_voidp" */
diff --git a/sys/compat/netbsd32/netbsd32_syscallargs.h b/sys/compat/netbsd32/netbsd32_syscallargs.h
index 892c86de8fe..ae1aa49ec28 100644
--- a/sys/compat/netbsd32/netbsd32_syscallargs.h
+++ b/sys/compat/netbsd32/netbsd32_syscallargs.h
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscallargs.h,v 1.66 2007/03/04 07:54:08 christos Exp $ */
+/* $NetBSD: netbsd32_syscallargs.h,v 1.67 2007/08/07 19:01:23 ad Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.58 2007/03/04 06:01:27 christos Exp
+ * created from NetBSD: syscalls.master,v 1.60 2007/08/07 19:00:42 ad Exp
*/
#ifndef _netbsd32_SYS_SYSCALLARGS_H_
@@ -1387,8 +1387,9 @@ struct netbsd32__lwp_detach_args {
struct netbsd32__lwp_park_args {
syscallarg(const netbsd32_timespecp_t) ts;
- syscallarg(netbsd32_ucontextp) ucp;
+ syscallarg(lwpid_t) unpark;
syscallarg(const netbsd32_voidp) hint;
+ syscallarg(const netbsd32_voidp) unparkhint;
};
struct netbsd32__lwp_unpark_args {
diff --git a/sys/compat/netbsd32/netbsd32_syscalls.c b/sys/compat/netbsd32/netbsd32_syscalls.c
index 74084d59c09..775deeed58e 100644
--- a/sys/compat/netbsd32/netbsd32_syscalls.c
+++ b/sys/compat/netbsd32/netbsd32_syscalls.c
@@ -1,14 +1,14 @@
-/* $NetBSD: netbsd32_syscalls.c,v 1.65 2007/03/04 07:54:08 christos Exp $ */
+/* $NetBSD: netbsd32_syscalls.c,v 1.66 2007/08/07 19:01:24 ad Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.58 2007/03/04 06:01:27 christos Exp
+ * created from NetBSD: syscalls.master,v 1.60 2007/08/07 19:00:42 ad Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.65 2007/03/04 07:54:08 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.66 2007/08/07 19:01:24 ad Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
diff --git a/sys/compat/netbsd32/netbsd32_sysent.c b/sys/compat/netbsd32/netbsd32_sysent.c
index 20cc75c8ae6..f03675ec76b 100644
--- a/sys/compat/netbsd32/netbsd32_sysent.c
+++ b/sys/compat/netbsd32/netbsd32_sysent.c
@@ -1,14 +1,14 @@
-/* $NetBSD: netbsd32_sysent.c,v 1.65 2007/03/04 07:54:08 christos Exp $ */
+/* $NetBSD: netbsd32_sysent.c,v 1.66 2007/08/07 19:01:24 ad Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.58 2007/03/04 06:01:27 christos Exp
+ * created from NetBSD: syscalls.master,v 1.60 2007/08/07 19:00:42 ad Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.65 2007/03/04 07:54:08 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.66 2007/08/07 19:01:24 ad Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ktrace.h"
@@ -857,27 +857,27 @@ struct sysent netbsd32_sysent[] = {
sys__lwp_exit }, /* 310 = _lwp_exit */
{ 0, 0, SYCALL_MPSAFE | 0,
sys__lwp_self }, /* 311 = _lwp_self */
- { 2, s(struct netbsd32__lwp_wait_args), 0,
+ { 2, s(struct netbsd32__lwp_wait_args), SYCALL_MPSAFE | 0,
netbsd32__lwp_wait }, /* 312 = netbsd32__lwp_wait */
- { 1, s(struct netbsd32__lwp_suspend_args), 0,
+ { 1, s(struct netbsd32__lwp_suspend_args), SYCALL_MPSAFE | 0,
netbsd32__lwp_suspend }, /* 313 = netbsd32__lwp_suspend */
- { 1, s(struct netbsd32__lwp_continue_args), 0,
+ { 1, s(struct netbsd32__lwp_continue_args), SYCALL_MPSAFE | 0,
netbsd32__lwp_continue }, /* 314 = netbsd32__lwp_continue */
- { 1, s(struct netbsd32__lwp_wakeup_args), 0,
+ { 1, s(struct netbsd32__lwp_wakeup_args), SYCALL_MPSAFE | 0,
netbsd32__lwp_wakeup }, /* 315 = netbsd32__lwp_wakeup */
{ 0, 0, SYCALL_MPSAFE | 0,
sys__lwp_getprivate }, /* 316 = _lwp_getprivate */
- { 1, s(struct netbsd32__lwp_setprivate_args), 0,
+ { 1, s(struct netbsd32__lwp_setprivate_args), SYCALL_MPSAFE | 0,
netbsd32__lwp_setprivate }, /* 317 = netbsd32__lwp_setprivate */
{ 2, s(struct netbsd32__lwp_kill_args), 0,
netbsd32__lwp_kill }, /* 318 = netbsd32__lwp_kill */
- { 1, s(struct netbsd32__lwp_detach_args), 0,
+ { 1, s(struct netbsd32__lwp_detach_args), SYCALL_MPSAFE | 0,
netbsd32__lwp_detach }, /* 319 = netbsd32__lwp_detach */
- { 3, s(struct netbsd32__lwp_park_args), 0,
+ { 4, s(struct netbsd32__lwp_park_args), SYCALL_MPSAFE | 0,
netbsd32__lwp_park }, /* 320 = netbsd32__lwp_park */
- { 2, s(struct netbsd32__lwp_unpark_args), 0,
+ { 2, s(struct netbsd32__lwp_unpark_args), SYCALL_MPSAFE | 0,
netbsd32__lwp_unpark }, /* 321 = netbsd32__lwp_unpark */
- { 3, s(struct netbsd32__lwp_unpark_all_args), 0,
+ { 3, s(struct netbsd32__lwp_unpark_all_args), SYCALL_MPSAFE | 0,
netbsd32__lwp_unpark_all }, /* 322 = netbsd32__lwp_unpark_all */
{ 0, 0, 0,
sys_nosys }, /* 323 = unimplemented */
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index 8a9afde571b..246bea3a668 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_sysent.c
@@ -1,14 +1,14 @@
-/* $NetBSD: init_sysent.c,v 1.195 2007/08/07 12:48:52 ad Exp $ */
+/* $NetBSD: init_sysent.c,v 1.196 2007/08/07 19:01:24 ad Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.174 2007/08/07 12:48:30 ad Exp
+ * created from NetBSD: syscalls.master,v 1.175 2007/08/07 19:00:42 ad Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.195 2007/08/07 12:48:52 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.196 2007/08/07 19:01:24 ad Exp $");
#include "opt_ktrace.h"
#include "opt_nfsserver.h"
@@ -676,11 +676,11 @@ struct sysent sysent[] = {
{ 0, 0, 0,
sys_nosys }, /* 231 = excluded shmget */
#endif
- { 2, s(struct sys_clock_gettime_args), 0,
+ { 2, s(struct sys_clock_gettime_args), SYCALL_MPSAFE | 0,
sys_clock_gettime }, /* 232 = clock_gettime */
{ 2, s(struct sys_clock_settime_args), 0,
sys_clock_settime }, /* 233 = clock_settime */
- { 2, s(struct sys_clock_getres_args), 0,
+ { 2, s(struct sys_clock_getres_args), SYCALL_MPSAFE | 0,
sys_clock_getres }, /* 234 = clock_getres */
{ 3, s(struct sys_timer_create_args), 0,
sys_timer_create }, /* 235 = timer_create */
@@ -895,7 +895,7 @@ struct sysent sysent[] = {
sys__lwp_kill }, /* 318 = _lwp_kill */
{ 1, s(struct sys__lwp_detach_args), SYCALL_MPSAFE | 0,
sys__lwp_detach }, /* 319 = _lwp_detach */
- { 3, s(struct sys__lwp_park_args), SYCALL_MPSAFE | 0,
+ { 4, s(struct sys__lwp_park_args), SYCALL_MPSAFE | 0,
sys__lwp_park }, /* 320 = _lwp_park */
{ 2, s(struct sys__lwp_unpark_args), SYCALL_MPSAFE | 0,
sys__lwp_unpark }, /* 321 = _lwp_unpark */
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index 4f758232d1a..a98742bf076 100644
--- a/sys/kern/syscalls.c
+++ b/sys/kern/syscalls.c
@@ -1,14 +1,14 @@
-/* $NetBSD: syscalls.c,v 1.188 2007/07/17 18:03:10 joerg Exp $ */
+/* $NetBSD: syscalls.c,v 1.189 2007/08/07 19:01:24 ad Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.171 2007/07/17 17:42:07 joerg Exp
+ * created from NetBSD: syscalls.master,v 1.175 2007/08/07 19:00:42 ad Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.188 2007/07/17 18:03:10 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.189 2007/08/07 19:01:24 ad Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ktrace.h"
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index b20194e3380..065ac5378e5 100644
--- a/sys/sys/syscall.h
+++ b/sys/sys/syscall.h
@@ -1,10 +1,10 @@
-/* $NetBSD: syscall.h,v 1.186 2007/07/17 18:03:10 joerg Exp $ */
+/* $NetBSD: syscall.h,v 1.187 2007/08/07 19:01:24 ad Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.171 2007/07/17 17:42:07 joerg Exp
+ * created from NetBSD: syscalls.master,v 1.175 2007/08/07 19:00:42 ad Exp
*/
#ifndef _SYS_SYSCALL_H_
@@ -934,7 +934,7 @@
/* syscall: "_lwp_detach" ret: "int" args: "lwpid_t" */
#define SYS__lwp_detach 319
-/* syscall: "_lwp_park" ret: "int" args: "const struct timespec *" "struct __ucontext *" "const void *" */
+/* syscall: "_lwp_park" ret: "int" args: "const struct timespec *" "lwpid_t" "const void *" "const void *" */
#define SYS__lwp_park 320
/* syscall: "_lwp_unpark" ret: "int" args: "lwpid_t" "const void *" */
diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h
index 1b0ffc1e464..f3b1bc0069c 100644
--- a/sys/sys/syscallargs.h
+++ b/sys/sys/syscallargs.h
@@ -1,10 +1,10 @@
-/* $NetBSD: syscallargs.h,v 1.168 2007/07/17 18:03:10 joerg Exp $ */
+/* $NetBSD: syscallargs.h,v 1.169 2007/08/07 19:01:24 ad Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.171 2007/07/17 17:42:07 joerg Exp
+ * created from NetBSD: syscalls.master,v 1.175 2007/08/07 19:00:42 ad Exp
*/
#ifndef _SYS_SYSCALLARGS_H_
@@ -1397,8 +1397,9 @@ struct sys__lwp_detach_args {
struct sys__lwp_park_args {
syscallarg(const struct timespec *) ts;
- syscallarg(struct __ucontext *) ucp;
+ syscallarg(lwpid_t) unpark;
syscallarg(const void *) hint;
+ syscallarg(const void *) unparkhint;
};
struct sys__lwp_unpark_args {