From 2cebf2397e8adad59e3f7dd275955b53e64ae5c5 Mon Sep 17 00:00:00 2001 From: kstailey Date: Fri, 17 Sep 1999 13:42:36 +0000 Subject: regen --- sys/compat/netbsd/netbsd_syscall.h | 7 +++++-- sys/compat/netbsd/netbsd_syscallargs.h | 9 +++++++-- sys/compat/netbsd/netbsd_syscalls.c | 6 +++--- sys/compat/netbsd/netbsd_sysent.c | 8 ++++---- 4 files changed, 19 insertions(+), 11 deletions(-) (limited to 'sys/compat') diff --git a/sys/compat/netbsd/netbsd_syscall.h b/sys/compat/netbsd/netbsd_syscall.h index 98ac26348ce..a06dcbf4e30 100644 --- a/sys/compat/netbsd/netbsd_syscall.h +++ b/sys/compat/netbsd/netbsd_syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: netbsd_syscall.h,v 1.6 1999/09/17 12:14:59 kstailey Exp $ */ +/* $OpenBSD: netbsd_syscall.h,v 1.7 1999/09/17 13:42:35 kstailey Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.6 1999/09/17 12:13:47 kstailey Exp + * created from; OpenBSD: syscalls.master,v 1.7 1999/09/17 13:41:29 kstailey Exp */ /* syscall: "syscall" ret: "int" args: "int" "..." */ @@ -622,6 +622,9 @@ /* syscall: "nanosleep" ret: "int" args: "const struct timespec *" "struct timespec *" */ #define NETBSD_SYS_nanosleep 240 +/* syscall: "fdatasync" ret: "int" args: "int" */ +#define NETBSD_SYS_fdatasync 241 + /* syscall: "getdents" ret: "int" args: "int" "char *" "size_t" */ #define NETBSD_SYS_getdents 272 diff --git a/sys/compat/netbsd/netbsd_syscallargs.h b/sys/compat/netbsd/netbsd_syscallargs.h index d0faba9d8df..0c660ee4a72 100644 --- a/sys/compat/netbsd/netbsd_syscallargs.h +++ b/sys/compat/netbsd/netbsd_syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: netbsd_syscallargs.h,v 1.6 1999/09/17 12:14:59 kstailey Exp $ */ +/* $OpenBSD: netbsd_syscallargs.h,v 1.7 1999/09/17 13:42:35 kstailey Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.6 1999/09/17 12:13:47 kstailey Exp + * created from; OpenBSD: syscalls.master,v 1.7 1999/09/17 13:41:29 kstailey Exp */ #define syscallarg(x) union { x datum; register_t pad; } @@ -25,6 +25,10 @@ struct netbsd_sys_pwrite_args { syscallarg(off_t) offset; }; +struct netbsd_sys_fdatasync_args { + syscallarg(int) fd; +}; + struct netbsd_sys_getdents_args { syscallarg(int) fd; syscallarg(char *) buf; @@ -349,6 +353,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 netbsd_sys_fdatasync __P((struct proc *, void *, register_t *)); int netbsd_sys_getdents __P((struct proc *, void *, register_t *)); int sys_minherit __P((struct proc *, void *, register_t *)); int sys_lchown __P((struct proc *, void *, register_t *)); diff --git a/sys/compat/netbsd/netbsd_syscalls.c b/sys/compat/netbsd/netbsd_syscalls.c index 0448d8373e7..973e5ce4c34 100644 --- a/sys/compat/netbsd/netbsd_syscalls.c +++ b/sys/compat/netbsd/netbsd_syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: netbsd_syscalls.c,v 1.6 1999/09/17 12:14:59 kstailey Exp $ */ +/* $OpenBSD: netbsd_syscalls.c,v 1.7 1999/09/17 13:42:35 kstailey Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.6 1999/09/17 12:13:47 kstailey Exp + * created from; OpenBSD: syscalls.master,v 1.7 1999/09/17 13:41:29 kstailey Exp */ char *netbsd_syscallnames[] = { @@ -323,7 +323,7 @@ char *netbsd_syscallnames[] = { "#238 (unimplemented timer_gettime)", /* 238 = unimplemented timer_gettime */ "#239 (unimplemented timer_getoverrun)", /* 239 = unimplemented timer_getoverrun */ "nanosleep", /* 240 = nanosleep */ - "#241 (unimplemented)", /* 241 = unimplemented */ + "fdatasync", /* 241 = fdatasync */ "#242 (unimplemented)", /* 242 = unimplemented */ "#243 (unimplemented)", /* 243 = unimplemented */ "#244 (unimplemented)", /* 244 = unimplemented */ diff --git a/sys/compat/netbsd/netbsd_sysent.c b/sys/compat/netbsd/netbsd_sysent.c index 5ffa036dc01..32e58a0578e 100644 --- a/sys/compat/netbsd/netbsd_sysent.c +++ b/sys/compat/netbsd/netbsd_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: netbsd_sysent.c,v 1.6 1999/09/17 12:14:59 kstailey Exp $ */ +/* $OpenBSD: netbsd_sysent.c,v 1.7 1999/09/17 13:42:35 kstailey Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.6 1999/09/17 12:13:47 kstailey Exp + * created from; OpenBSD: syscalls.master,v 1.7 1999/09/17 13:41:29 kstailey Exp */ #include @@ -613,8 +613,8 @@ struct sysent netbsd_sysent[] = { sys_nosys }, /* 239 = unimplemented timer_getoverrun */ { 2, s(struct sys_nanosleep_args), sys_nanosleep }, /* 240 = nanosleep */ - { 0, 0, - sys_nosys }, /* 241 = unimplemented */ + { 1, s(struct netbsd_sys_fdatasync_args), + netbsd_sys_fdatasync }, /* 241 = fdatasync */ { 0, 0, sys_nosys }, /* 242 = unimplemented */ { 0, 0, -- cgit v1.2.3