regen: kqueue branch merge, addition of kqueue(2), kevent(2)
This commit is contained in:
parent
25cfe9dabd
commit
25f6d9c389
@ -1,14 +1,14 @@
|
||||
/* $NetBSD: init_sysent.c,v 1.133 2002/09/04 07:46:25 jdolecek Exp $ */
|
||||
/* $NetBSD: init_sysent.c,v 1.134 2002/10/23 09:18:16 jdolecek Exp $ */
|
||||
|
||||
/*
|
||||
* System call switch table.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.115 2002/09/04 07:45:41 jdolecek Exp
|
||||
* created from NetBSD: syscalls.master,v 1.116 2002/10/23 09:14:24 jdolecek Exp
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.133 2002/09/04 07:46:25 jdolecek Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.134 2002/10/23 09:18:16 jdolecek Exp $");
|
||||
|
||||
#include "opt_ktrace.h"
|
||||
#include "opt_nfsserver.h"
|
||||
@ -890,9 +890,9 @@ struct sysent sysent[] = {
|
||||
{ 3, s(struct sys_rasctl_args), 0,
|
||||
sys_rasctl }, /* 343 = rasctl */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 344 = unimplemented kqueue */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 345 = unimplemented kevent */
|
||||
sys_kqueue }, /* 344 = kqueue */
|
||||
{ 6, s(struct sys_kevent_args), 0,
|
||||
sys_kevent }, /* 345 = kevent */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 346 = filler */
|
||||
{ 0, 0, 0,
|
||||
|
@ -1,14 +1,14 @@
|
||||
/* $NetBSD: syscalls.c,v 1.128 2002/09/04 07:46:25 jdolecek Exp $ */
|
||||
/* $NetBSD: syscalls.c,v 1.129 2002/10/23 09:18:17 jdolecek Exp $ */
|
||||
|
||||
/*
|
||||
* System call names.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.115 2002/09/04 07:45:41 jdolecek Exp
|
||||
* created from NetBSD: syscalls.master,v 1.116 2002/10/23 09:14:24 jdolecek Exp
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.128 2002/09/04 07:46:25 jdolecek Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.129 2002/10/23 09:18:17 jdolecek Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_ktrace.h"
|
||||
@ -464,6 +464,6 @@ const char *const syscallnames[] = {
|
||||
"pmc_get_info", /* 341 = pmc_get_info */
|
||||
"pmc_control", /* 342 = pmc_control */
|
||||
"rasctl", /* 343 = rasctl */
|
||||
"#344 (unimplemented kqueue)", /* 344 = unimplemented kqueue */
|
||||
"#345 (unimplemented kevent)", /* 345 = unimplemented kevent */
|
||||
"kqueue", /* 344 = kqueue */
|
||||
"kevent", /* 345 = kevent */
|
||||
};
|
||||
|
@ -1,10 +1,10 @@
|
||||
/* $NetBSD: syscall.h,v 1.126 2002/09/04 07:46:26 jdolecek Exp $ */
|
||||
/* $NetBSD: syscall.h,v 1.127 2002/10/23 09:18:19 jdolecek Exp $ */
|
||||
|
||||
/*
|
||||
* System call numbers.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.115 2002/09/04 07:45:41 jdolecek Exp
|
||||
* created from NetBSD: syscalls.master,v 1.116 2002/10/23 09:14:24 jdolecek Exp
|
||||
*/
|
||||
|
||||
/* syscall: "syscall" ret: "int" args: "int" "..." */
|
||||
@ -729,5 +729,11 @@
|
||||
/* syscall: "rasctl" ret: "int" args: "caddr_t" "size_t" "int" */
|
||||
#define SYS_rasctl 343
|
||||
|
||||
/* syscall: "kqueue" ret: "int" args: */
|
||||
#define SYS_kqueue 344
|
||||
|
||||
/* syscall: "kevent" ret: "int" args: "int" "const struct kevent *" "size_t" "struct kevent *" "size_t" "const struct timespec *" */
|
||||
#define SYS_kevent 345
|
||||
|
||||
#define SYS_MAXSYSCALL 346
|
||||
#define SYS_NSYSENT 512
|
||||
|
@ -1,10 +1,10 @@
|
||||
/* $NetBSD: syscallargs.h,v 1.108 2002/09/04 07:46:27 jdolecek Exp $ */
|
||||
/* $NetBSD: syscallargs.h,v 1.109 2002/10/23 09:18:20 jdolecek Exp $ */
|
||||
|
||||
/*
|
||||
* System call argument lists.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.115 2002/09/04 07:45:41 jdolecek Exp
|
||||
* created from NetBSD: syscalls.master,v 1.116 2002/10/23 09:14:24 jdolecek Exp
|
||||
*/
|
||||
|
||||
#ifndef _SYS__SYSCALLARGS_H_
|
||||
@ -1246,6 +1246,15 @@ struct sys_rasctl_args {
|
||||
syscallarg(int) op;
|
||||
};
|
||||
|
||||
struct sys_kevent_args {
|
||||
syscallarg(int) fd;
|
||||
syscallarg(const struct kevent *) changelist;
|
||||
syscallarg(size_t) nchanges;
|
||||
syscallarg(struct kevent *) eventlist;
|
||||
syscallarg(size_t) nevents;
|
||||
syscallarg(const struct timespec *) timeout;
|
||||
};
|
||||
|
||||
/*
|
||||
* System call prototypes.
|
||||
*/
|
||||
@ -1559,4 +1568,6 @@ int sys___sigaction_sigtramp(struct proc *, void *, register_t *);
|
||||
int sys_pmc_get_info(struct proc *, void *, register_t *);
|
||||
int sys_pmc_control(struct proc *, void *, register_t *);
|
||||
int sys_rasctl(struct proc *, void *, register_t *);
|
||||
int sys_kqueue(struct proc *, void *, register_t *);
|
||||
int sys_kevent(struct proc *, void *, register_t *);
|
||||
#endif /* _SYS__SYSCALLARGS_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user