Changeset 279 for trunk/kernel/libk/remote_fifo.h
- Timestamp:
- Jul 27, 2017, 12:23:29 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/libk/remote_fifo.h
r68 r279 40 40 * 41 41 * WARNING : the number of slots is statically defined by the global 42 * configuration parameter CONFIG_REMOTE_FIFO_SLOTS for all fifos ,requiring43 * 12 * CONFIG_REMOTE_FIFO_SLOTS bytes for each FIFO.42 * configuration parameter CONFIG_REMOTE_FIFO_SLOTS for all fifos. requiring 43 * Each FIFO requires 8 + (12 * CONFIG_REMOTE_FIFO_SLOTS) bytes. 44 44 ***********************************************************************************/ 45 45 … … 67 67 ************************************************************************************ 68 68 * @ fifo : pointer to the local fifo. 69 * @ item : pointer on destination buffer for extracted item. 70 * @ size : actual number of bytes in one item. 69 * @ item : [out] pointer on buffer for extracted item. 71 70 * @ return 0 on success, EAGAIN if the buffer is empty. 72 71 ***********************************************************************************/ … … 78 77 * by an extended pointer. 79 78 * This function gets a write ticket using a remote_atomic_increment on the 80 * write slot index andwaits until the slot is empty, using a descheduling81 * policy (without blocking).79 * write slot. Then, it waits until the slot is empty, using a descheduling 80 * policy without blocking. 82 81 ************************************************************************************ 83 82 * @ fifo : extended pointer to the fifo in remote cluster. 84 * @ item : pointer on a local buffer containing theitem to be stored.83 * @ item : item to be stored. 85 84 * @ first : [out] true if first item registered in remote fifo. 86 85 * @ return 0 on success / EBUSY if a contention has been detected. 87 86 ***********************************************************************************/ 88 87 error_t remote_fifo_put_item( xptr_t fifo, 89 uint64_t *item,88 uint64_t item, 90 89 bool_t * first ); 91 90
Note: See TracChangeset
for help on using the changeset viewer.