- added __sigtimedwait(2)
- g/c sigwaitinfo(2) slot, move sigqueue(2) slot and free slot #246
This commit is contained in:
jdolecek 2003-02-15 20:56:48 +00:00
parent c58bfd1c36
commit fa2b78c32c
4 changed files with 27 additions and 17 deletions

View File

@ -1,14 +1,14 @@
/* $NetBSD: init_sysent.c,v 1.142 2003/01/24 01:28:06 thorpej Exp $ */
/* $NetBSD: init_sysent.c,v 1.143 2003/02/15 20:56:49 jdolecek Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.126 2003/01/24 01:27:21 thorpej Exp
* created from NetBSD: syscalls.master,v 1.127 2003/02/15 20:54:39 jdolecek Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.142 2003/01/24 01:28:06 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.143 2003/02/15 20:56:49 jdolecek Exp $");
#include "opt_ktrace.h"
#include "opt_nfsserver.h"
@ -671,12 +671,12 @@ struct sysent sysent[] = {
sys_mlockall }, /* 242 = mlockall */
{ 0, 0, 0,
sys_munlockall }, /* 243 = munlockall */
{ 3, s(struct sys___sigtimedwait_args), 0,
sys___sigtimedwait }, /* 244 = __sigtimedwait */
{ 0, 0, 0,
sys_nosys }, /* 244 = unimplemented sys_sigwaitinfo */
sys_nosys }, /* 245 = unimplemented sys_sigqueue */
{ 0, 0, 0,
sys_nosys }, /* 245 = unimplemented sys_sigtimedwait */
{ 0, 0, 0,
sys_nosys }, /* 246 = unimplemented sys_sigqueue */
sys_nosys }, /* 246 = unimplemented */
#if defined(P1003_1B_SEMAPHORE) || !defined(_KERNEL)
{ 2, s(struct sys__ksem_init_args), 0,
sys__ksem_init }, /* 247 = _ksem_init */

View File

@ -1,14 +1,14 @@
/* $NetBSD: syscalls.c,v 1.137 2003/01/24 01:28:07 thorpej Exp $ */
/* $NetBSD: syscalls.c,v 1.138 2003/02/15 20:56:49 jdolecek Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.126 2003/01/24 01:27:21 thorpej Exp
* created from NetBSD: syscalls.master,v 1.127 2003/02/15 20:54:39 jdolecek Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.137 2003/01/24 01:28:07 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.138 2003/02/15 20:56:49 jdolecek Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ktrace.h"
@ -350,9 +350,9 @@ const char *const syscallnames[] = {
"fdatasync", /* 241 = fdatasync */
"mlockall", /* 242 = mlockall */
"munlockall", /* 243 = munlockall */
"#244 (unimplemented sys_sigwaitinfo)", /* 244 = unimplemented sys_sigwaitinfo */
"#245 (unimplemented sys_sigtimedwait)", /* 245 = unimplemented sys_sigtimedwait */
"#246 (unimplemented sys_sigqueue)", /* 246 = unimplemented sys_sigqueue */
"__sigtimedwait", /* 244 = __sigtimedwait */
"#245 (unimplemented sys_sigqueue)", /* 245 = unimplemented sys_sigqueue */
"#246 (unimplemented)", /* 246 = unimplemented */
#if defined(P1003_1B_SEMAPHORE) || !defined(_KERNEL)
"_ksem_init", /* 247 = _ksem_init */
"_ksem_open", /* 248 = _ksem_open */

View File

@ -1,10 +1,10 @@
/* $NetBSD: syscall.h,v 1.135 2003/01/24 01:28:05 thorpej Exp $ */
/* $NetBSD: syscall.h,v 1.136 2003/02/15 20:56:48 jdolecek Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.126 2003/01/24 01:27:21 thorpej Exp
* created from NetBSD: syscalls.master,v 1.127 2003/02/15 20:54:39 jdolecek Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@ -617,6 +617,9 @@
/* syscall: "munlockall" ret: "int" args: */
#define SYS_munlockall 243
/* syscall: "__sigtimedwait" ret: "int" args: "const sigset_t *" "siginfo_t *" "struct timespec *" */
#define SYS___sigtimedwait 244
/* syscall: "_ksem_init" ret: "int" args: "unsigned int" "semid_t *" */
#define SYS__ksem_init 247

View File

@ -1,10 +1,10 @@
/* $NetBSD: syscallargs.h,v 1.117 2003/01/24 01:28:06 thorpej Exp $ */
/* $NetBSD: syscallargs.h,v 1.118 2003/02/15 20:56:48 jdolecek Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.126 2003/01/24 01:27:21 thorpej Exp
* created from NetBSD: syscalls.master,v 1.127 2003/02/15 20:54:39 jdolecek Exp
*/
#ifndef _SYS__SYSCALLARGS_H_
@ -1053,6 +1053,12 @@ struct sys_mlockall_args {
syscallarg(int) flags;
};
struct sys___sigtimedwait_args {
syscallarg(const sigset_t *) set;
syscallarg(siginfo_t *) info;
syscallarg(struct timespec *) timeout;
};
struct sys__ksem_init_args {
syscallarg(unsigned int) value;
syscallarg(semid_t *) idp;
@ -1642,6 +1648,7 @@ int sys_nanosleep(struct lwp *, void *, register_t *);
int sys_fdatasync(struct lwp *, void *, register_t *);
int sys_mlockall(struct lwp *, void *, register_t *);
int sys_munlockall(struct lwp *, void *, register_t *);
int sys___sigtimedwait(struct lwp *, void *, register_t *);
#if defined(P1003_1B_SEMAPHORE) || !defined(_KERNEL)
int sys__ksem_init(struct lwp *, void *, register_t *);
int sys__ksem_open(struct lwp *, void *, register_t *);