Regen: addition of fdatasync().

This commit is contained in:
kleink 1998-06-05 20:36:53 +00:00
parent e9d6f5e996
commit 4648a78bba
4 changed files with 19 additions and 11 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: init_sysent.c,v 1.88 1998/05/30 22:23:30 kleink Exp $ */
/* $NetBSD: init_sysent.c,v 1.89 1998/06/05 20:36:53 kleink Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.75 1998/05/30 22:21:03 kleink Exp
* created from NetBSD: syscalls.master,v 1.76 1998/06/05 20:31:36 kleink Exp
*/
#include "fs_lfs.h"
@ -638,8 +638,8 @@ struct sysent sysent[] = {
sys_nosys }, /* 239 = unimplemented timer_getoverrun */
{ 2, s(struct sys_nanosleep_args),
sys_nanosleep }, /* 240 = nanosleep */
{ 0, 0,
sys_nosys }, /* 241 = unimplemented fktrace */
{ 1, s(struct sys_fdatasync_args),
sys_fdatasync }, /* 241 = fdatasync */
{ 0, 0,
sys_nosys }, /* 242 = unimplemented */
{ 0, 0,

View File

@ -1,10 +1,10 @@
/* $NetBSD: syscalls.c,v 1.82 1998/05/30 22:23:30 kleink Exp $ */
/* $NetBSD: syscalls.c,v 1.83 1998/06/05 20:36:53 kleink Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.75 1998/05/30 22:21:03 kleink Exp
* created from NetBSD: syscalls.master,v 1.76 1998/06/05 20:31:36 kleink Exp
*/
#if defined(_KERNEL) && !defined(_LKM)
@ -328,7 +328,7 @@ char *syscallnames[] = {
"#238 (unimplemented timer_gettime)", /* 238 = unimplemented timer_gettime */
"#239 (unimplemented timer_getoverrun)", /* 239 = unimplemented timer_getoverrun */
"nanosleep", /* 240 = nanosleep */
"#241 (unimplemented fktrace)", /* 241 = unimplemented fktrace */
"fdatasync", /* 241 = fdatasync */
"#242 (unimplemented)", /* 242 = unimplemented */
"#243 (unimplemented)", /* 243 = unimplemented */
"#244 (unimplemented)", /* 244 = unimplemented */

View File

@ -1,10 +1,10 @@
/* $NetBSD: syscall.h,v 1.82 1998/05/30 22:23:30 kleink Exp $ */
/* $NetBSD: syscall.h,v 1.83 1998/06/05 20:36:54 kleink Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.75 1998/05/30 22:21:03 kleink Exp
* created from NetBSD: syscalls.master,v 1.76 1998/06/05 20:31:36 kleink Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@ -566,6 +566,9 @@
/* syscall: "nanosleep" ret: "int" args: "const struct timespec *" "struct timespec *" */
#define SYS_nanosleep 240
/* syscall: "fdatasync" ret: "int" args: "int" */
#define SYS_fdatasync 241
/* syscall: "__posix_rename" ret: "int" args: "const char *" "const char *" */
#define SYS___posix_rename 270

View File

@ -1,10 +1,10 @@
/* $NetBSD: syscallargs.h,v 1.61 1998/05/30 22:23:30 kleink Exp $ */
/* $NetBSD: syscallargs.h,v 1.62 1998/06/05 20:36:54 kleink Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.75 1998/05/30 22:21:03 kleink Exp
* created from NetBSD: syscalls.master,v 1.76 1998/06/05 20:31:36 kleink Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
@ -990,6 +990,10 @@ struct sys_nanosleep_args {
syscallarg(struct timespec *) rmtp;
};
struct sys_fdatasync_args {
syscallarg(int) fd;
};
struct sys___posix_rename_args {
syscallarg(const char *) from;
syscallarg(const char *) to;
@ -1331,6 +1335,7 @@ int sys_clock_gettime __P((struct proc *, void *, register_t *));
int sys_clock_settime __P((struct proc *, void *, register_t *));
int sys_clock_getres __P((struct proc *, void *, register_t *));
int sys_nanosleep __P((struct proc *, void *, register_t *));
int sys_fdatasync __P((struct proc *, void *, register_t *));
int sys___posix_rename __P((struct proc *, void *, register_t *));
int sys_swapctl __P((struct proc *, void *, register_t *));
int sys_getdents __P((struct proc *, void *, register_t *));