diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1997-08-29 20:15:45 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1997-08-29 20:15:45 +0000 |
commit | 9f149d1ae0cb70f162fee0a4b2e4fd70673ed9e0 (patch) | |
tree | 92d29987e621e45f99f641841b967807e21bd5f8 /sys/compat/svr4 | |
parent | f60d4f438a9218da02ad7fd5fd8a60bb372796fa (diff) |
regen for clock_gettime(2), clock_settime(2), clock_getres(2), microsleep(2)
Diffstat (limited to 'sys/compat/svr4')
-rw-r--r-- | sys/compat/svr4/svr4_syscall.h | 6 | ||||
-rw-r--r-- | sys/compat/svr4/svr4_syscallargs.h | 6 | ||||
-rw-r--r-- | sys/compat/svr4/svr4_syscalls.c | 10 | ||||
-rw-r--r-- | sys/compat/svr4/svr4_sysent.c | 18 |
4 files changed, 24 insertions, 16 deletions
diff --git a/sys/compat/svr4/svr4_syscall.h b/sys/compat/svr4/svr4_syscall.h index ad3811e5cbf..fa04a6b117d 100644 --- a/sys/compat/svr4/svr4_syscall.h +++ b/sys/compat/svr4/svr4_syscall.h @@ -2,7 +2,7 @@ * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.15 1997/08/29 19:55:57 kstailey Exp + * created from OpenBSD: syscalls.master,v 1.16 1997/08/29 20:15:07 kstailey Exp */ #define SVR4_SYS_syscall 0 @@ -123,6 +123,10 @@ #define SVR4_SYS_pread 173 #define SVR4_SYS_pwrite 174 #define SVR4_SYS_acl 185 +#define SVR4_SYS_clock_gettime 191 +#define SVR4_SYS_clock_settime 192 +#define SVR4_SYS_clock_getres 193 +#define SVR4_SYS_nanosleep 199 #define SVR4_SYS_facl 200 #define SVR4_SYS_setreuid 202 #define SVR4_SYS_setregid 203 diff --git a/sys/compat/svr4/svr4_syscallargs.h b/sys/compat/svr4/svr4_syscallargs.h index 4bcb75e3bc7..5ed8e662637 100644 --- a/sys/compat/svr4/svr4_syscallargs.h +++ b/sys/compat/svr4/svr4_syscallargs.h @@ -2,7 +2,7 @@ * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.15 1997/08/29 19:55:57 kstailey Exp + * created from OpenBSD: syscalls.master,v 1.16 1997/08/29 20:15:07 kstailey Exp */ #define syscallarg(x) union { x datum; register_t pad; } @@ -477,6 +477,10 @@ int sys_setitimer __P((struct proc *, void *, register_t *)); int svr4_sys_pread __P((struct proc *, void *, register_t *)); int svr4_sys_pwrite __P((struct proc *, void *, register_t *)); int svr4_sys_acl __P((struct proc *, void *, register_t *)); +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 svr4_sys_facl __P((struct proc *, void *, register_t *)); int compat_43_sys_setreuid __P((struct proc *, void *, register_t *)); int compat_43_sys_setregid __P((struct proc *, void *, register_t *)); diff --git a/sys/compat/svr4/svr4_syscalls.c b/sys/compat/svr4/svr4_syscalls.c index 4af1bae9804..23cf2595df6 100644 --- a/sys/compat/svr4/svr4_syscalls.c +++ b/sys/compat/svr4/svr4_syscalls.c @@ -2,7 +2,7 @@ * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.15 1997/08/29 19:55:57 kstailey Exp + * created from OpenBSD: syscalls.master,v 1.16 1997/08/29 20:15:07 kstailey Exp */ char *svr4_syscallnames[] = { @@ -213,15 +213,15 @@ char *svr4_syscallnames[] = { "#188 (unimplemented processor_info)", /* 188 = unimplemented processor_info */ "#189 (unimplemented p_online)", /* 189 = unimplemented p_online */ "#190 (unimplemented sigqueue)", /* 190 = unimplemented sigqueue */ - "#191 (unimplemented clock_gettime)", /* 191 = unimplemented clock_gettime */ - "#192 (unimplemented clock_settime)", /* 192 = unimplemented clock_settime */ - "#193 (unimplemented clock_getres)", /* 193 = unimplemented clock_getres */ + "clock_gettime", /* 191 = clock_gettime */ + "clock_settime", /* 192 = clock_settime */ + "clock_getres", /* 193 = clock_getres */ "#194 (unimplemented timer_create)", /* 194 = unimplemented timer_create */ "#195 (unimplemented timer_delete)", /* 195 = unimplemented timer_delete */ "#196 (unimplemented timer_settime)", /* 196 = unimplemented timer_settime */ "#197 (unimplemented timer_gettime)", /* 197 = unimplemented timer_gettime */ "#198 (unimplemented timer_getoverrun)", /* 198 = unimplemented timer_getoverrun */ - "#199 (unimplemented nanosleep)", /* 199 = unimplemented nanosleep */ + "nanosleep", /* 199 = nanosleep */ "facl", /* 200 = facl */ "#201 (unimplemented door)", /* 201 = unimplemented door */ "setreuid", /* 202 = setreuid */ diff --git a/sys/compat/svr4/svr4_sysent.c b/sys/compat/svr4/svr4_sysent.c index 42a9ff25237..db454865820 100644 --- a/sys/compat/svr4/svr4_sysent.c +++ b/sys/compat/svr4/svr4_sysent.c @@ -2,7 +2,7 @@ * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.15 1997/08/29 19:55:57 kstailey Exp + * created from OpenBSD: syscalls.master,v 1.16 1997/08/29 20:15:07 kstailey Exp */ #include <sys/param.h> @@ -441,12 +441,12 @@ struct sysent svr4_sysent[] = { sys_nosys }, /* 189 = unimplemented p_online */ { 0, 0, sys_nosys }, /* 190 = unimplemented sigqueue */ - { 0, 0, - sys_nosys }, /* 191 = unimplemented clock_gettime */ - { 0, 0, - sys_nosys }, /* 192 = unimplemented clock_settime */ - { 0, 0, - sys_nosys }, /* 193 = unimplemented clock_getres */ + { 2, s(struct sys_clock_gettime_args), + sys_clock_gettime }, /* 191 = clock_gettime */ + { 2, s(struct sys_clock_settime_args), + sys_clock_settime }, /* 192 = clock_settime */ + { 2, s(struct sys_clock_getres_args), + sys_clock_getres }, /* 193 = clock_getres */ { 0, 0, sys_nosys }, /* 194 = unimplemented timer_create */ { 0, 0, @@ -457,8 +457,8 @@ struct sysent svr4_sysent[] = { sys_nosys }, /* 197 = unimplemented timer_gettime */ { 0, 0, sys_nosys }, /* 198 = unimplemented timer_getoverrun */ - { 0, 0, - sys_nosys }, /* 199 = unimplemented nanosleep */ + { 2, s(struct sys_nanosleep_args), + sys_nanosleep }, /* 199 = nanosleep */ { 4, s(struct svr4_sys_facl_args), svr4_sys_facl }, /* 200 = facl */ { 0, 0, |