From 3bd1fd2afe320a1980d74192a9bba4bbd8808661 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 8 Mar 2012 21:55:45 +0000 Subject: [PATCH] Add entry for _ksem_timedwait. --- sys/compat/netbsd32/syscalls.master | 7 ++++--- sys/kern/syscalls.master | 5 +++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/sys/compat/netbsd32/syscalls.master b/sys/compat/netbsd32/syscalls.master index bc999a4e5c17..33a37da71b4e 100644 --- a/sys/compat/netbsd32/syscalls.master +++ b/sys/compat/netbsd32/syscalls.master @@ -1,4 +1,4 @@ - $NetBSD: syscalls.master,v 1.92 2012/02/19 17:08:02 rmind Exp $ + $NetBSD: syscalls.master,v 1.93 2012/03/08 21:55:45 joerg Exp $ ; from: NetBSD: syscalls.master,v 1.81 1998/07/05 08:49:50 jonathan Exp ; @(#)syscalls.master 8.2 (Berkeley) 1/13/94 @@ -531,7 +531,8 @@ 254 STD { int|netbsd32||_ksem_getvalue(netbsd32_intptr_t id, \ netbsd32_intp value); } 255 STD { int|netbsd32||_ksem_destroy(netbsd32_intptr_t id); } -256 UNIMPL sys__ksem_timedwait +256 STD { int|netbsd32||_ksem_timedwait(intptr_t id, \ + const netbsd32_timespecp_t abstime); } #else 247 EXCL sys__ksem_init 248 EXCL sys__ksem_open @@ -542,7 +543,7 @@ 253 EXCL sys__ksem_trywait 254 EXCL sys__ksem_getvalue 255 EXCL sys__ksem_destroy -256 UNIMPL sys__ksem_timedwait +256 EXCL sys__ksem_timedwait #endif 257 UNIMPL 258 UNIMPL diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master index 612f1256a81a..06847fd9ceb4 100644 --- a/sys/kern/syscalls.master +++ b/sys/kern/syscalls.master @@ -1,4 +1,4 @@ - $NetBSD: syscalls.master,v 1.257 2012/02/19 17:50:28 matt Exp $ + $NetBSD: syscalls.master,v 1.258 2012/03/08 21:55:45 joerg Exp $ ; @(#)syscalls.master 8.2 (Berkeley) 1/13/94 @@ -494,7 +494,8 @@ 254 STD MODULAR RUMP { int|sys||_ksem_getvalue(intptr_t id, \ unsigned int *value); } 255 STD MODULAR RUMP { int|sys||_ksem_destroy(intptr_t id); } -256 UNIMPL sys__ksem_timedwait +256 STD MODULAR RUMP { int|sys||_ksem_timedwait(intptr_t id, \ + const struct timespec *abstime); } 257 STD MODULAR { mqd_t|sys||mq_open(const char * name, int oflag, \ mode_t mode, struct mq_attr *attr); } 258 STD MODULAR { int|sys||mq_close(mqd_t mqdes); }