Changeset 683 for trunk/kernel/libk/remote_fifo.h
- Timestamp:
- Jan 13, 2021, 12:36:17 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/libk/remote_fifo.h
r563 r683 36 36 * that is used for - RPC based - inter cluster communications. 37 37 * Each FIF0 slot can contain one 64 bits integer (or one extended pointer). 38 * The number of slots is defined by the CONFIG_R EMOTE_FIFO_SLOTS parameter.38 * The number of slots is defined by the CONFIG_RPC_FIFO_SLOTS parameter. 39 39 * - The write accesses are implemented using a lock-free algorithm, as it uses 40 40 * a ticket based mechanism to handle concurrent access between multiple writers. … … 45 45 * and RPC threads cannot have local index LTID = 0. 46 46 * 47 * WARNING : Each FIFO requires 12 + (12 * CONFIG_R EMOTE_FIFO_SLOTS) bytes.47 * WARNING : Each FIFO requires 12 + (12 * CONFIG_RPC_FIFO_SLOTS) bytes. 48 48 ***********************************************************************************/ 49 49 … … 53 53 volatile uint32_t wr_id; /*! write slot index */ 54 54 volatile uint32_t rd_id; /*! read slot index */ 55 volatile uint32_t valid[CONFIG_R EMOTE_FIFO_SLOTS]; /*! empty slot if 0 */56 uint64_t data[CONFIG_R EMOTE_FIFO_SLOTS]; /*! fifo slot content */55 volatile uint32_t valid[CONFIG_RPC_FIFO_SLOTS]; /*! empty slot if 0 */ 56 uint64_t data[CONFIG_RPC_FIFO_SLOTS]; /*! fifo slot content */ 57 57 } 58 58 remote_fifo_t; … … 84 84 * the slot is empty, using a descheduling policy without blocking if required. 85 85 * It implements a watchdog, returning when the item has been successfully 86 * registered, or after CONFIG_R EMOTE_FIFO_MAX_ITERATIONS failures.86 * registered, or after CONFIG_RPC_FIFO_MAX_ITERATIONS failures. 87 87 ************************************************************************************ 88 88 * @ fifo : extended pointer to the remote fifo.
Note: See TracChangeset
for help on using the changeset viewer.