summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2015-07-22 10:04:53 +0000
committered <ed@FreeBSD.org>2015-07-22 10:04:53 +0000
commitdf82c1e80119dbaf2b3c5e016df404c5c61f65f1 (patch)
treedac2ce11faaabd6da54e956239c6107651f60086 /sys/compat
parentd8c34e18a351c7858cc9204d92c8db8c8232d2ee (diff)
downloadFreeBSD-src-df82c1e80119dbaf2b3c5e016df404c5c61f65f1.zip
FreeBSD-src-df82c1e80119dbaf2b3c5e016df404c5c61f65f1.tar.gz
Import upstream changes to the system call definitions.
Support has been added for providing the scope of a futex operation, whether the futex is local to the process or shared between processes.
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/cloudabi64/syscalls.master7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/compat/cloudabi64/syscalls.master b/sys/compat/cloudabi64/syscalls.master
index d2c797a..ba1df9a 100644
--- a/sys/compat/cloudabi64/syscalls.master
+++ b/sys/compat/cloudabi64/syscalls.master
@@ -21,6 +21,7 @@
2 AUE_NULL STD { void cloudabi_sys_condvar_signal( \
cloudabi_condvar_t *condvar, \
+ cloudabi_futexscope_t scope, \
cloudabi_nthreads_t nwaiters); }
3 AUE_NULL STD { void cloudabi_sys_fd_close( \
@@ -130,7 +131,8 @@
cloudabi_ulflags_t flag); }
31 AUE_NULL STD { void cloudabi_sys_lock_unlock( \
- cloudabi_lock_t *lock); }
+ cloudabi_lock_t *lock, \
+ cloudabi_futexscope_t scope); }
32 AUE_NULL STD { void cloudabi_sys_mem_advise( \
void *addr, size_t len, \
@@ -206,6 +208,7 @@
53 AUE_NULL STD { cloudabi_tid_t cloudabi64_sys_thread_create( \
cloudabi64_threadattr_t *attr); }
54 AUE_NULL STD { void cloudabi_sys_thread_exit( \
- cloudabi_lock_t *lock); }
+ cloudabi_lock_t *lock, \
+ cloudabi_futexscope_t scope); }
55 AUE_NULL STD { void cloudabi_sys_thread_tcb_set(void *tcb); }
56 AUE_NULL STD { void cloudabi_sys_thread_yield(); }
OpenPOWER on IntegriCloud