Add clock_* POSIX functions.

This commit is contained in:
fvdl 2005-05-16 21:17:11 +00:00
parent 98fcd5ac03
commit fe3dd48a91
6 changed files with 60 additions and 30 deletions

View File

@ -1,4 +1,4 @@
$NetBSD: syscalls.master,v 1.50 2005/05/16 16:02:19 fvdl Exp $ $NetBSD: syscalls.master,v 1.51 2005/05/16 21:17:11 fvdl Exp $
; ;
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 ; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@ -654,10 +654,15 @@
416 UNIMPL timer_gettime 416 UNIMPL timer_gettime
417 UNIMPL timer_getoverrun 417 UNIMPL timer_getoverrun
418 UNIMPL timer_delete 418 UNIMPL timer_delete
419 UNIMPL clock_settime 419 STD { int linux_sys_clock_settime(clockid_t which, \
420 UNIMPL clock_gettime struct linux_timespec *tp); }
421 UNIMPL clock_getres 420 STD { int linux_sys_clock_gettime(clockid_t which, \
422 UNIMPL clock_nanosleep struct linux_timespec *tp); }
421 STD { int linux_sys_clock_getres(clockid_t which, \
struct linux_timespec *tp); }
422 STD { int linux_sys_clock_nanosleep(clockid_t which, \
int flags, struct linux_timespec *rqtp, \
struct linux_timespec *rmtp); }
423 UNIMPL semtimedop 423 UNIMPL semtimedop
424 UNIMPL tgkill 424 UNIMPL tgkill
425 UNIMPL stat64 425 UNIMPL stat64

View File

@ -1,4 +1,4 @@
$NetBSD: syscalls.master,v 1.2 2005/05/16 16:02:20 fvdl Exp $ $NetBSD: syscalls.master,v 1.3 2005/05/16 21:17:11 fvdl Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 ; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@ -375,10 +375,15 @@
224 UNIMPL timer_gettime 224 UNIMPL timer_gettime
225 UNIMPL timer_getoverrun 225 UNIMPL timer_getoverrun
226 UNIMPL timer_delete 226 UNIMPL timer_delete
227 UNIMPL clock_settime 227 STD { int linux_sys_clock_settime(clockid_t which, \
228 UNIMPL clock_gettime struct linux_timespec *tp); }
229 UNIMPL clock_getres 228 STD { int linux_sys_clock_gettime(clockid_t which, \
230 UNIMPL clock_nanosleep struct linux_timespec *tp); }
229 STD { int linux_sys_clock_getres(clockid_t which, \
struct linux_timespec *tp); }
230 STD { int linux_sys_clock_nanosleep(clockid_t which, \
int flags, struct linux_timespec *rqtp, \
struct linux_timespec *rmtp); }
231 STD { int linux_sys_exit_group(int error_code); } 231 STD { int linux_sys_exit_group(int error_code); }
232 UNIMPL epoll_wait 232 UNIMPL epoll_wait
233 UNIMPL epoll_ctl 233 UNIMPL epoll_ctl

View File

@ -1,4 +1,4 @@
$NetBSD: syscalls.master,v 1.21 2005/05/16 16:02:20 fvdl Exp $ $NetBSD: syscalls.master,v 1.22 2005/05/16 21:17:11 fvdl Exp $
; Derived from sys/compat/linux/arch/*/syscalls.master ; Derived from sys/compat/linux/arch/*/syscalls.master
; and from Linux 2.4.12 arch/arm/kernel/calls.S ; and from Linux 2.4.12 arch/arm/kernel/calls.S
@ -425,10 +425,15 @@
259 UNIMPL timer_gettime 259 UNIMPL timer_gettime
260 UNIMPL timer_getoverrun 260 UNIMPL timer_getoverrun
261 UNIMPL timer_delete 261 UNIMPL timer_delete
262 UNIMPL clock_settime 262 STD { int linux_sys_clock_settime(clockid_t which, \
263 UNIMPL clock_gettime struct linux_timespec *tp); }
264 UNIMPL clock_getres 263 STD { int linux_sys_clock_gettime(clockid_t which, \
265 UNIMPL clock_nanosleep struct linux_timespec *tp); }
264 STD { int linux_sys_clock_getres(clockid_t which, \
struct linux_timespec *tp); }
265 STD { int linux_sys_clock_nanosleep(clockid_t which, \
int flags, struct linux_timespec *rqtp, \
struct linux_timespec *rmtp); }
266 STD { int linux_sys_statfs64(const char *path, \ 266 STD { int linux_sys_statfs64(const char *path, \
size_t sz, struct linux_statfs64 *sp); } size_t sz, struct linux_statfs64 *sp); }
267 STD { int linux_sys_fstatfs64(int fd, \ 267 STD { int linux_sys_fstatfs64(int fd, \

View File

@ -1,4 +1,4 @@
$NetBSD: syscalls.master,v 1.72 2005/05/16 16:02:20 fvdl Exp $ $NetBSD: syscalls.master,v 1.73 2005/05/16 21:17:11 fvdl Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 ; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@ -422,10 +422,15 @@
261 UNIMPL timer_gettime 261 UNIMPL timer_gettime
262 UNIMPL timer_getoverrun 262 UNIMPL timer_getoverrun
263 UNIMPL timer_delete 263 UNIMPL timer_delete
264 UNIMPL clock_settime 264 STD { int linux_sys_clock_settime(clockid_t which, \
265 UNIMPL clock_gettime struct linux_timespec *tp); }
266 UNIMPL clock_getres 265 STD { int linux_sys_clock_gettime(clockid_t which, \
267 UNIMPL clock_nanosleep struct linux_timespec *tp); }
266 STD { int linux_sys_clock_getres(clockid_t which, \
struct linux_timespec *tp); }
267 STD { int linux_sys_clock_nanosleep(clockid_t which, \
int flags, struct linux_timespec *rqtp, \
struct linux_timespec *rmtp); }
268 STD { int linux_sys_statfs64(const char *path, \ 268 STD { int linux_sys_statfs64(const char *path, \
size_t sz, struct linux_statfs64 *sp); } size_t sz, struct linux_statfs64 *sp); }
269 STD { int linux_sys_fstatfs64(int fd, \ 269 STD { int linux_sys_fstatfs64(int fd, \

View File

@ -1,4 +1,4 @@
$NetBSD: syscalls.master,v 1.18 2005/05/16 16:02:20 fvdl Exp $ $NetBSD: syscalls.master,v 1.19 2005/05/16 21:17:11 fvdl Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 ; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@ -438,10 +438,15 @@
259 UNIMPL timer_gettime 259 UNIMPL timer_gettime
260 UNIMPL timer_getoverrun 260 UNIMPL timer_getoverrun
261 UNIMPL timer_delete 261 UNIMPL timer_delete
262 UNIMPL clock_settime 262 STD { int linux_sys_clock_settime(clockid_t which, \
263 UNIMPL clock_gettime struct linux_timespec *tp); }
264 UNIMPL clock_getres 263 STD { int linux_sys_clock_gettime(clockid_t which, \
265 UNIMPL clock_nanosleep struct linux_timespec *tp); }
264 STD { int linux_sys_clock_getres(clockid_t which, \
struct linux_timespec *tp); }
265 STD { int linux_sys_clock_nanosleep(clockid_t which, \
int flags, struct linux_timespec *rqtp, \
struct linux_timespec *rmtp); }
266 UNIMPL tgkill 266 UNIMPL tgkill
267 UNIMPL utimes 267 UNIMPL utimes
268 UNIMPL mbind 268 UNIMPL mbind

View File

@ -1,4 +1,4 @@
$NetBSD: syscalls.master,v 1.22 2005/05/16 16:02:20 fvdl Exp $ $NetBSD: syscalls.master,v 1.23 2005/05/16 21:17:11 fvdl Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 ; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@ -423,10 +423,15 @@
242 UNIMPL timer_gettime 242 UNIMPL timer_gettime
243 UNIMPL timer_getoverrun 243 UNIMPL timer_getoverrun
244 UNIMPL timer_delete 244 UNIMPL timer_delete
245 UNIMPL clock_settime 245 STD { int linux_sys_clock_settime(clockid_t which, \
246 UNIMPL clock_gettime struct linux_timespec *tp); }
247 UNIMPL clock_getres 246 STD { int linux_sys_clock_gettime(clockid_t which, \
248 UNIMPL clock_nanosleep struct linux_timespec *tp); }
247 STD { int linux_sys_clock_getres(clockid_t which, \
struct linux_timespec *tp); }
248 STD { int linux_sys_clock_nanosleep(clockid_t which, \
int flags, struct linux_timespec *rqtp, \
struct linux_timespec *rmtp); }
249 UNIMPL swapcontext 249 UNIMPL swapcontext
250 UNIMPL tgkill 250 UNIMPL tgkill
251 UNIMPL utimes 251 UNIMPL utimes