Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys regen: kqueue branch merge, addition of kqueue(2), keven...
details: https://anonhg.NetBSD.org/src/rev/87739844be67
branches: trunk
changeset: 538606:87739844be67
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Wed Oct 23 09:18:16 2002 +0000
description:
regen: kqueue branch merge, addition of kqueue(2), kevent(2)
diffstat:
sys/kern/init_sysent.c | 12 ++++++------
sys/kern/syscalls.c | 10 +++++-----
sys/sys/syscall.h | 10 ++++++++--
sys/sys/syscallargs.h | 15 +++++++++++++--
4 files changed, 32 insertions(+), 15 deletions(-)
diffs (131 lines):
diff -r 11be05d7e3a4 -r 87739844be67 sys/kern/init_sysent.c
--- a/sys/kern/init_sysent.c Wed Oct 23 09:16:46 2002 +0000
+++ b/sys/kern/init_sysent.c Wed Oct 23 09:18:16 2002 +0000
@@ -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 @@
{ 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,
diff -r 11be05d7e3a4 -r 87739844be67 sys/kern/syscalls.c
--- a/sys/kern/syscalls.c Wed Oct 23 09:16:46 2002 +0000
+++ b/sys/kern/syscalls.c Wed Oct 23 09:18:16 2002 +0000
@@ -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 @@
"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 */
};
diff -r 11be05d7e3a4 -r 87739844be67 sys/sys/syscall.h
--- a/sys/sys/syscall.h Wed Oct 23 09:16:46 2002 +0000
+++ b/sys/sys/syscall.h Wed Oct 23 09:18:16 2002 +0000
@@ -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
diff -r 11be05d7e3a4 -r 87739844be67 sys/sys/syscallargs.h
--- a/sys/sys/syscallargs.h Wed Oct 23 09:16:46 2002 +0000
+++ b/sys/sys/syscallargs.h Wed Oct 23 09:18:16 2002 +0000
@@ -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 @@
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_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_ */
Home |
Main Index |
Thread Index |
Old Index