diff options
author | Mats O Jansson <maja@cvs.openbsd.org> | 2001-11-27 19:35:27 +0000 |
---|---|---|
committer | Mats O Jansson <maja@cvs.openbsd.org> | 2001-11-27 19:35:27 +0000 |
commit | 633062cc7147949f2aa1da2fc7a6e2a02ed3580c (patch) | |
tree | c3ad087ccdaebb9236112c512f32d2933895f7cc | |
parent | 82cd484d6d26f005574ab3e0d67a16418d113ed3 (diff) |
sync. -moj
-rw-r--r-- | sys/compat/freebsd/freebsd_syscall.h | 7 | ||||
-rw-r--r-- | sys/compat/freebsd/freebsd_syscallargs.h | 5 | ||||
-rw-r--r-- | sys/compat/freebsd/freebsd_syscalls.c | 6 | ||||
-rw-r--r-- | sys/compat/freebsd/freebsd_sysent.c | 8 |
4 files changed, 15 insertions, 11 deletions
diff --git a/sys/compat/freebsd/freebsd_syscall.h b/sys/compat/freebsd/freebsd_syscall.h index 8760edf2d7c..221c2a0ea18 100644 --- a/sys/compat/freebsd/freebsd_syscall.h +++ b/sys/compat/freebsd/freebsd_syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: freebsd_syscall.h,v 1.16 2001/08/26 04:14:26 deraadt Exp $ */ +/* $OpenBSD: freebsd_syscall.h,v 1.17 2001/11/27 19:35:26 maja Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.15 2001/02/02 19:45:09 tholo Exp + * created from OpenBSD: syscalls.master,v 1.16 2001/11/27 19:34:20 maja Exp */ /* syscall: "syscall" ret: "int" args: */ @@ -593,6 +593,9 @@ /* syscall: "shmget" ret: "int" args: "key_t" "int" "int" */ #define FREEBSD_SYS_shmget 231 +/* syscall: "clock_gettime" ret: "int" args: "clockid_t" "struct timespec *" */ +#define FREEBSD_SYS_clock_gettime 232 + /* syscall: "nanosleep" ret: "int" args: "const struct timespec *" "struct timespec *" */ #define FREEBSD_SYS_nanosleep 240 diff --git a/sys/compat/freebsd/freebsd_syscallargs.h b/sys/compat/freebsd/freebsd_syscallargs.h index 5cb9693afa0..1aee323deea 100644 --- a/sys/compat/freebsd/freebsd_syscallargs.h +++ b/sys/compat/freebsd/freebsd_syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: freebsd_syscallargs.h,v 1.17 2001/08/26 04:14:26 deraadt Exp $ */ +/* $OpenBSD: freebsd_syscallargs.h,v 1.18 2001/11/27 19:35:26 maja Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.15 2001/02/02 19:45:09 tholo Exp + * created from OpenBSD: syscalls.master,v 1.16 2001/11/27 19:34:20 maja Exp */ #ifdef syscallarg @@ -488,6 +488,7 @@ int sys_shmdt __P((struct proc *, void *, register_t *)); int sys_shmget __P((struct proc *, void *, register_t *)); #else #endif +int sys_clock_gettime __P((struct proc *, void *, register_t *)); int sys_nanosleep __P((struct proc *, void *, register_t *)); int sys_minherit __P((struct proc *, void *, register_t *)); int sys_rfork __P((struct proc *, void *, register_t *)); diff --git a/sys/compat/freebsd/freebsd_syscalls.c b/sys/compat/freebsd/freebsd_syscalls.c index cf41723eb8c..0ba281e452e 100644 --- a/sys/compat/freebsd/freebsd_syscalls.c +++ b/sys/compat/freebsd/freebsd_syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: freebsd_syscalls.c,v 1.16 2001/08/26 04:14:26 deraadt Exp $ */ +/* $OpenBSD: freebsd_syscalls.c,v 1.17 2001/11/27 19:35:26 maja Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.15 2001/02/02 19:45:09 tholo Exp + * created from OpenBSD: syscalls.master,v 1.16 2001/11/27 19:34:20 maja Exp */ char *freebsd_syscallnames[] = { @@ -300,7 +300,7 @@ char *freebsd_syscallnames[] = { "#230 (unimplemented sys_shmdt)", /* 230 = unimplemented sys_shmdt */ "#231 (unimplemented sys_shmget)", /* 231 = unimplemented sys_shmget */ #endif - "#232 (unimplemented)", /* 232 = unimplemented */ + "clock_gettime", /* 232 = clock_gettime */ "#233 (unimplemented)", /* 233 = unimplemented */ "#234 (unimplemented)", /* 234 = unimplemented */ "#235 (unimplemented timer_create)", /* 235 = unimplemented timer_create */ diff --git a/sys/compat/freebsd/freebsd_sysent.c b/sys/compat/freebsd/freebsd_sysent.c index 70506fde1c9..96a57a62c90 100644 --- a/sys/compat/freebsd/freebsd_sysent.c +++ b/sys/compat/freebsd/freebsd_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: freebsd_sysent.c,v 1.17 2001/08/26 04:14:26 deraadt Exp $ */ +/* $OpenBSD: freebsd_sysent.c,v 1.18 2001/11/27 19:35:26 maja Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.15 2001/02/02 19:45:09 tholo Exp + * created from OpenBSD: syscalls.master,v 1.16 2001/11/27 19:34:20 maja Exp */ #include <sys/param.h> @@ -567,8 +567,8 @@ struct sysent freebsd_sysent[] = { { 0, 0, sys_nosys }, /* 231 = unimplemented sys_shmget */ #endif - { 0, 0, - sys_nosys }, /* 232 = unimplemented */ + { 2, s(struct sys_clock_gettime_args), + sys_clock_gettime }, /* 232 = clock_gettime */ { 0, 0, sys_nosys }, /* 233 = unimplemented */ { 0, 0, |