Revision df0ae475 gcell/src/include/spu/gc_jd_queue.h
| b/gcell/src/include/spu/gc_jd_queue.h | ||
|---|---|---|
| 39 | 39 |
* \param[out] item is local store copy of item at head of queue. |
| 40 | 40 |
* \returns false if the queue is empty, otherwise returns true |
| 41 | 41 |
* and sets \p item_ea and DMA's job descriptor into \p item |
| 42 |
* |
|
| 43 |
* If return is false, we're holding a lock-line reservation that |
|
| 44 |
* covers the queue. |
|
| 42 | 45 |
*/ |
| 43 | 46 |
bool |
| 44 | 47 |
gc_jd_queue_dequeue(gc_eaddr_t q, gc_eaddr_t *item_ea, |
| 45 | 48 |
int jd_tag, gc_job_desc_t *item); |
| 46 | 49 |
|
| 47 |
|
|
| 48 |
/*! |
|
| 49 |
* \brief Get a line reservation on the queue |
|
| 50 |
* |
|
| 51 |
* \param[in] q is EA address of queue structure. |
|
| 52 |
*/ |
|
| 53 |
void |
|
| 54 |
gc_jd_queue_getllar(gc_eaddr_t q); |
|
| 55 |
|
|
| 56 | 50 |
__GC_END_DECLS |
| 57 | 51 |
|
| 58 | 52 |
|
Also available in: Unified diff