Module Name: src Committed By: christos Date: Fri Jan 11 02:49:09 UTC 2013
Modified Files: src/sys/compat/linux/common: linux_futex.h Log Message: add the futex PI commands (not implemented yet) PI = Priotity Inheritance To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/compat/linux/common/linux_futex.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/compat/linux/common/linux_futex.h diff -u src/sys/compat/linux/common/linux_futex.h:1.5 src/sys/compat/linux/common/linux_futex.h:1.6 --- src/sys/compat/linux/common/linux_futex.h:1.5 Wed Sep 14 08:28:08 2011 +++ src/sys/compat/linux/common/linux_futex.h Thu Jan 10 21:49:09 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: linux_futex.h,v 1.5 2011/09/14 12:28:08 christos Exp $ */ +/* $NetBSD: linux_futex.h,v 1.6 2013/01/11 02:49:09 christos Exp $ */ /*- * Copyright (c) 2005 Emmanuel Dreyfus, all rights reserved. @@ -34,21 +34,28 @@ #ifndef _LINUX_FUTEX_H #define _LINUX_FUTEX_H -#define LINUX_FUTEX_WAIT 0 -#define LINUX_FUTEX_WAKE 1 -#define LINUX_FUTEX_FD 2 -#define LINUX_FUTEX_REQUEUE 3 -#define LINUX_FUTEX_CMP_REQUEUE 4 -#define LINUX_FUTEX_WAKE_OP 5 +#define LINUX_FUTEX_WAIT 0 +#define LINUX_FUTEX_WAKE 1 +#define LINUX_FUTEX_FD 2 +#define LINUX_FUTEX_REQUEUE 3 +#define LINUX_FUTEX_CMP_REQUEUE 4 +#define LINUX_FUTEX_WAKE_OP 5 +#define LINUX_FUTEX_LOCK_PI 6 +#define LINUX_FUTEX_UNLOCK_PI 7 +#define LINUX_FUTEX_TRYLOCK_PI 8 +#define LINUX_FUTEX_WAIT_BITSET 9 +#define LINUX_FUTEX_WAKE_BITSET 10 +#define LINUX_FUTEX_WAIT_REQUEUE_PI 11 +#define LINUX_FUTEX_CMP_REQUEUE_PI 12 #define LINUX_FUTEX_PRIVATE_FLAG 128 +#define LINUX_FUTEX_CLOCK_REALTIME 256 #define FUTEX_OP_SET 0 #define FUTEX_OP_ADD 1 #define FUTEX_OP_OR 2 #define FUTEX_OP_ANDN 3 #define FUTEX_OP_XOR 4 - #define FUTEX_OP_OPARG_SHIFT 8 #define FUTEX_OP_CMP_EQ 0