Regen syscalls for AIO.

This commit is contained in:
rmind 2007-04-30 14:47:32 +00:00
parent 67d703cf25
commit 9c025db4ef
4 changed files with 114 additions and 27 deletions

View File

@ -1,14 +1,14 @@
/* $NetBSD: init_sysent.c,v 1.189 2007/03/06 16:10:17 drochner Exp $ */
/* $NetBSD: init_sysent.c,v 1.190 2007/04/30 14:47:32 rmind Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.168 2007/03/06 16:09:21 drochner Exp
* created from NetBSD: syscalls.master,v 1.169 2007/04/30 14:44:30 rmind Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.189 2007/03/06 16:10:17 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.190 2007/04/30 14:47:32 rmind Exp $");
#include "opt_ktrace.h"
#include "opt_nfsserver.h"
@ -1047,22 +1047,22 @@ struct sysent sysent[] = {
sys___fhstatvfs140 }, /* 397 = __fhstatvfs140 */
{ 3, s(struct sys___fhstat40_args), 0,
sys___fhstat40 }, /* 398 = __fhstat40 */
{ 0, 0, 0,
sys_nosys }, /* 399 = filler */
{ 0, 0, 0,
sys_nosys }, /* 400 = filler */
{ 0, 0, 0,
sys_nosys }, /* 401 = filler */
{ 0, 0, 0,
sys_nosys }, /* 402 = filler */
{ 0, 0, 0,
sys_nosys }, /* 403 = filler */
{ 0, 0, 0,
sys_nosys }, /* 404 = filler */
{ 0, 0, 0,
sys_nosys }, /* 405 = filler */
{ 0, 0, 0,
sys_nosys }, /* 406 = filler */
{ 2, s(struct sys_aio_cancel_args), 0,
sys_aio_cancel }, /* 399 = aio_cancel */
{ 1, s(struct sys_aio_error_args), 0,
sys_aio_error }, /* 400 = aio_error */
{ 2, s(struct sys_aio_fsync_args), 0,
sys_aio_fsync }, /* 401 = aio_fsync */
{ 1, s(struct sys_aio_read_args), 0,
sys_aio_read }, /* 402 = aio_read */
{ 1, s(struct sys_aio_return_args), 0,
sys_aio_return }, /* 403 = aio_return */
{ 3, s(struct sys_aio_suspend_args), 0,
sys_aio_suspend }, /* 404 = aio_suspend */
{ 1, s(struct sys_aio_write_args), 0,
sys_aio_write }, /* 405 = aio_write */
{ 4, s(struct sys_lio_listio_args), 0,
sys_lio_listio }, /* 406 = lio_listio */
{ 0, 0, 0,
sys_nosys }, /* 407 = filler */
{ 0, 0, 0,

View File

@ -1,14 +1,14 @@
/* $NetBSD: syscalls.c,v 1.185 2007/03/06 16:10:17 drochner Exp $ */
/* $NetBSD: syscalls.c,v 1.186 2007/04/30 14:47:32 rmind Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.168 2007/03/06 16:09:21 drochner Exp
* created from NetBSD: syscalls.master,v 1.169 2007/04/30 14:44:30 rmind Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.185 2007/03/06 16:10:17 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.186 2007/04/30 14:47:32 rmind Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ktrace.h"
@ -533,4 +533,12 @@ const char *const syscallnames[] = {
"__fhopen40", /* 396 = __fhopen40 */
"__fhstatvfs140", /* 397 = __fhstatvfs140 */
"__fhstat40", /* 398 = __fhstat40 */
"aio_cancel", /* 399 = aio_cancel */
"aio_error", /* 400 = aio_error */
"aio_fsync", /* 401 = aio_fsync */
"aio_read", /* 402 = aio_read */
"aio_return", /* 403 = aio_return */
"aio_suspend", /* 404 = aio_suspend */
"aio_write", /* 405 = aio_write */
"lio_listio", /* 406 = lio_listio */
};

View File

@ -1,10 +1,10 @@
/* $NetBSD: syscall.h,v 1.183 2007/03/06 16:10:17 drochner Exp $ */
/* $NetBSD: syscall.h,v 1.184 2007/04/30 14:47:32 rmind Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.168 2007/03/06 16:09:21 drochner Exp
* created from NetBSD: syscalls.master,v 1.169 2007/04/30 14:44:30 rmind Exp
*/
#ifndef _SYS_SYSCALL_H_
@ -1120,6 +1120,30 @@
/* syscall: "__fhstat40" ret: "int" args: "const void *" "size_t" "struct stat *" */
#define SYS___fhstat40 398
#define SYS_MAXSYSCALL 399
/* syscall: "aio_cancel" ret: "int" args: "int" "struct aiocb *" */
#define SYS_aio_cancel 399
/* syscall: "aio_error" ret: "int" args: "const struct aiocb *" */
#define SYS_aio_error 400
/* syscall: "aio_fsync" ret: "int" args: "int" "struct aiocb *" */
#define SYS_aio_fsync 401
/* syscall: "aio_read" ret: "int" args: "struct aiocb *" */
#define SYS_aio_read 402
/* syscall: "aio_return" ret: "int" args: "struct aiocb *" */
#define SYS_aio_return 403
/* syscall: "aio_suspend" ret: "int" args: "const struct aiocb *const *" "int" "const struct timespec *" */
#define SYS_aio_suspend 404
/* syscall: "aio_write" ret: "int" args: "struct aiocb *" */
#define SYS_aio_write 405
/* syscall: "lio_listio" ret: "int" args: "int" "struct aiocb *const *" "int" "struct sigevent *" */
#define SYS_lio_listio 406
#define SYS_MAXSYSCALL 407
#define SYS_NSYSENT 512
#endif /* _SYS_SYSCALL_H_ */

View File

@ -1,10 +1,10 @@
/* $NetBSD: syscallargs.h,v 1.165 2007/03/06 16:10:18 drochner Exp $ */
/* $NetBSD: syscallargs.h,v 1.166 2007/04/30 14:47:33 rmind Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.168 2007/03/06 16:09:21 drochner Exp
* created from NetBSD: syscalls.master,v 1.169 2007/04/30 14:44:30 rmind Exp
*/
#ifndef _SYS_SYSCALLARGS_H_
@ -1740,6 +1740,45 @@ struct sys___fhstat40_args {
syscallarg(struct stat *) sb;
};
struct sys_aio_cancel_args {
syscallarg(int) fildes;
syscallarg(struct aiocb *) aiocbp;
};
struct sys_aio_error_args {
syscallarg(const struct aiocb *) aiocbp;
};
struct sys_aio_fsync_args {
syscallarg(int) op;
syscallarg(struct aiocb *) aiocbp;
};
struct sys_aio_read_args {
syscallarg(struct aiocb *) aiocbp;
};
struct sys_aio_return_args {
syscallarg(struct aiocb *) aiocbp;
};
struct sys_aio_suspend_args {
syscallarg(const struct aiocb *const *) list;
syscallarg(int) nent;
syscallarg(const struct timespec *) timeout;
};
struct sys_aio_write_args {
syscallarg(struct aiocb *) aiocbp;
};
struct sys_lio_listio_args {
syscallarg(int) mode;
syscallarg(struct aiocb *const *) list;
syscallarg(int) nent;
syscallarg(struct sigevent *) sig;
};
/*
* System call prototypes.
*/
@ -2465,4 +2504,20 @@ int sys___fhstatvfs140(struct lwp *, void *, register_t *);
int sys___fhstat40(struct lwp *, void *, register_t *);
int sys_aio_cancel(struct lwp *, void *, register_t *);
int sys_aio_error(struct lwp *, void *, register_t *);
int sys_aio_fsync(struct lwp *, void *, register_t *);
int sys_aio_read(struct lwp *, void *, register_t *);
int sys_aio_return(struct lwp *, void *, register_t *);
int sys_aio_suspend(struct lwp *, void *, register_t *);
int sys_aio_write(struct lwp *, void *, register_t *);
int sys_lio_listio(struct lwp *, void *, register_t *);
#endif /* _SYS_SYSCALLARGS_H_ */