summaryrefslogtreecommitdiff
path: root/syncconst.h
diff options
context:
space:
mode:
authorJames Jones <jajones@nvidia.com>2010-02-12 16:38:08 -0800
committerJames Jones <jajones@nvidia.com>2010-12-03 16:50:32 -0800
commitd079ee210726d2407fa9c8cf99555daf2d96023a (patch)
tree311a603e3fb4b6ce40319b7ddf3dc9bebbffe2d3 /syncconst.h
parent9ba2065b63ea0e61a17b8221ad454c02a1755373 (diff)
Initial Fence Sync support
Defines the protocol for creation and basic management of binary state sync objects. The following operations are defined: -Creation -Destruction -Trigger -Reset Signed-off-by: James Jones <jajones@nvidia.com> Reviewed-by: Aaron Plattner <aplattner@nvidia.com> Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'syncconst.h')
-rw-r--r--syncconst.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/syncconst.h b/syncconst.h
index 926b60c..3acc387 100644
--- a/syncconst.h
+++ b/syncconst.h
@@ -54,7 +54,7 @@ PERFORMANCE OF THIS SOFTWARE.
#define SYNC_NAME "SYNC"
#define SYNC_MAJOR_VERSION 3
-#define SYNC_MINOR_VERSION 0
+#define SYNC_MINOR_VERSION 1
#define XSyncCounterNotify 0
@@ -65,7 +65,8 @@ PERFORMANCE OF THIS SOFTWARE.
#define XSyncBadCounter 0L
#define XSyncBadAlarm 1L
-#define XSyncNumberErrors (XSyncBadAlarm + 1)
+#define XSyncBadFence 2L
+#define XSyncNumberErrors (XSyncBadFence + 1)
/*
* Flags for Alarm Attributes
@@ -172,6 +173,7 @@ typedef enum {
typedef XID XSyncCounter;
typedef XID XSyncAlarm;
+typedef XID XSyncFence;
typedef struct _XSyncValue {
int hi;
unsigned int lo;