summaryrefslogtreecommitdiff
path: root/miext/sync/misyncstr.h
diff options
context:
space:
mode:
Diffstat (limited to 'miext/sync/misyncstr.h')
-rw-r--r--miext/sync/misyncstr.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/miext/sync/misyncstr.h b/miext/sync/misyncstr.h
index ad69e8eca..084ca4c82 100644
--- a/miext/sync/misyncstr.h
+++ b/miext/sync/misyncstr.h
@@ -28,13 +28,12 @@
#ifndef _MISYNCSTR_H_
#define _MISYNCSTR_H_
+#include <stdint.h>
#include "dix.h"
#include "misync.h"
#include "scrnintstr.h"
#include <X11/extensions/syncconst.h>
-#define CARD64 XSyncValue /* XXX temporary! need real 64 bit values for Alpha */
-
/* Sync object types */
#define SYNC_COUNTER 0
#define SYNC_FENCE 1
@@ -49,7 +48,7 @@ typedef struct _SyncObject {
typedef struct _SyncCounter {
SyncObject sync; /* Common sync object data */
- CARD64 value; /* counter value */
+ int64_t value; /* counter value */
struct _SysCounterInfo *pSysCounterInfo; /* NULL if not a system counter */
} SyncCounter;
@@ -63,12 +62,12 @@ struct _SyncFence {
struct _SyncTrigger {
SyncObject *pSync;
- CARD64 wait_value; /* wait value */
+ int64_t wait_value; /* wait value */
unsigned int value_type; /* Absolute or Relative */
unsigned int test_type; /* transition or Comparision type */
- CARD64 test_value; /* trigger event threshold value */
+ int64_t test_value; /* trigger event threshold value */
Bool (*CheckTrigger) (struct _SyncTrigger * /*pTrigger */ ,
- CARD64 /*newval */
+ int64_t /*newval */
);
void (*TriggerFired) (struct _SyncTrigger * /*pTrigger */
);