Changeset 563 for trunk/kernel/libk/remote_fifo.h
- Timestamp:
- Oct 4, 2018, 11:16:13 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/libk/remote_fifo.h
r457 r563 62 62 * It can only initialise a local FIFO. 63 63 ************************************************************************************ 64 * @ fifo : pointer to the local fifo.64 * @ fifo : local pointer to the local fifo. 65 65 ***********************************************************************************/ 66 void local_fifo_init( remote_fifo_t * fifo );66 void remote_fifo_init( remote_fifo_t * fifo ); 67 67 68 68 /************************************************************************************ … … 71 71 * The read slot index is incremented. 72 72 ************************************************************************************ 73 * @ fifo : pointer to the local fifo.73 * @ fifo : local pointer to the local fifo. 74 74 * @ item : [out] pointer on buffer for extracted item. 75 75 * @ return 0 on success, EAGAIN if the buffer is empty. 76 76 ***********************************************************************************/ 77 error_t local_fifo_get_item( remote_fifo_t * fifo,78 uint64_t * item );77 error_t remote_fifo_get_item( remote_fifo_t * fifo, 78 uint64_t * item ); 79 79 80 80 /************************************************************************************ … … 86 86 * registered, or after CONFIG_REMOTE_FIFO_MAX_ITERATIONS failures. 87 87 ************************************************************************************ 88 * @ fifo : extended pointer to the fifo in remote cluster.88 * @ fifo : extended pointer to the remote fifo. 89 89 * @ item : item to be stored. 90 90 * @ return 0 on success / EBUSY if a contention has been detected. … … 96 96 * Query if local fifo is empty 97 97 ************************************************************************************ 98 * @ fifo : pointer to thefifo.98 * @ fifo : local pointer to the local fifo. 99 99 * @ return true if the fifo is empty, false otherwise. 100 100 ***********************************************************************************/ 101 bool_t local_fifo_is_empty( remote_fifo_t * fifo );101 bool_t remote_fifo_is_empty( remote_fifo_t * fifo ); 102 102 103 103 /************************************************************************************ 104 104 * Query if remote fifo is full 105 105 ************************************************************************************ 106 * @ fifo : pointer to the fifo in remote cluster. 107 * @ cxy : remote cluster index. 106 * @ fifo : extended pointer to the remote fifo. 108 107 * @ return true if the fifo is full, false otherwise. 109 108 ***********************************************************************************/ … … 113 112 * Query number ot items in remote fifo. 114 113 ************************************************************************************ 115 * @ fifo : pointer to the fifo in remote cluster. 116 * @ cxy : remote cluster index. 114 * @ fifo : extended pointer to the remote fifo. 117 115 * @ return number of items. 118 116 ***********************************************************************************/
Note: See TracChangeset
for help on using the changeset viewer.