Link Here
|
141 |
int (*fenceWait) (struct _MMFence * mf, unsigned flushMask, |
141 |
int (*fenceWait) (struct _MMFence * mf, unsigned flushMask, |
142 |
unsigned flags); |
142 |
unsigned flags); |
143 |
unsigned (*fenceError) (struct _MMFence * mf); |
143 |
unsigned (*fenceError) (struct _MMFence * mf); |
144 |
void (*fenceDestroy) (struct _MMFence * mf); |
144 |
/* void (*fenceDestroy) (struct _MMFence * mf); */ |
145 |
} MMManager; |
145 |
} MMManager; |
146 |
|
146 |
|
147 |
/* |
147 |
/* |
Link Here
|
204 |
return mf->man->fenceEmit(mf, class, type, flags); |
204 |
return mf->man->fenceEmit(mf, class, type, flags); |
205 |
} |
205 |
} |
206 |
|
206 |
|
|
|
207 |
/* |
207 |
static inline void |
208 |
static inline void |
208 |
mmFenceUnReference(struct _MMFence **mfP) |
209 |
mmFenceUnReference(struct _MMFence **mfP) |
209 |
{ |
210 |
{ |
Link Here
|
214 |
} |
215 |
} |
215 |
*mfP = NULL; |
216 |
*mfP = NULL; |
216 |
} |
217 |
} |
|
|
218 |
*/ |
217 |
|
219 |
|
218 |
static inline struct _MMFence * |
220 |
static inline struct _MMFence * |
219 |
mmFenceReference(struct _MMFence *mf) |
221 |
mmFenceReference(struct _MMFence *mf) |