diff options
author | davidxu <davidxu@FreeBSD.org> | 2012-08-17 02:26:31 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2012-08-17 02:26:31 +0000 |
commit | 3f0806aa1fc8c8dc2f294421d558472faec7fd3f (patch) | |
tree | 0a8a4e31773d219b58db16ff36859c4d3d4eb6cc /sys/compat/freebsd32/syscalls.master | |
parent | 71de2d67ba40838ccc3b3d8320d1513b40220ec4 (diff) | |
download | FreeBSD-src-3f0806aa1fc8c8dc2f294421d558472faec7fd3f.zip FreeBSD-src-3f0806aa1fc8c8dc2f294421d558472faec7fd3f.tar.gz |
Implement syscall clock_getcpuclockid2, so we can get a clock id
for process, thread or others we want to support.
Use the syscall to implement POSIX API clock_getcpuclock and
pthread_getcpuclockid.
PR: 168417
Diffstat (limited to 'sys/compat/freebsd32/syscalls.master')
-rw-r--r-- | sys/compat/freebsd32/syscalls.master | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/compat/freebsd32/syscalls.master b/sys/compat/freebsd32/syscalls.master index 97f09d0..478558a 100644 --- a/sys/compat/freebsd32/syscalls.master +++ b/sys/compat/freebsd32/syscalls.master @@ -457,7 +457,8 @@ 244 AUE_NULL UNIMPL nosys 245 AUE_NULL UNIMPL nosys 246 AUE_NULL UNIMPL nosys -247 AUE_NULL UNIMPL nosys +247 AUE_NULL NOPROTO { int clock_getcpuclockid2(id_t id,\ + int which, clockid_t *clock_id); } 248 AUE_NULL UNIMPL ntp_gettime 249 AUE_NULL UNIMPL nosys ; syscall numbers initially used in OpenBSD |