Changes between Version 40 and Version 41 of library_stdio
- Timestamp:
- Jan 4, 2015, 4:09:16 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
library_stdio
v40 v41 120 120 The NIC channel and the CMA channel are registered in the task context. 121 121 122 === 1) int '''giet_nic_tx_alloc'''( ) ===122 === 1) unsigned int '''giet_nic_tx_alloc'''( ) === 123 123 This function allocates a private NIC_TX channel (coming with the associated kernel NIC_TX chbuf), and a private CMA channel to the calling task. It registers both indexes in the calling task context, and returns the NIC channel index, as this channel can be shared by severals tasks of a parallel multi-tasks application. 124 124 The calling task exit if no available NIC_TX channel, or no available CMA channel. 125 125 126 === 2) void'''giet_nic_rx_alloc'''( ) ===126 === 2) unsigned int '''giet_nic_rx_alloc'''( ) === 127 127 This function allocates a private NIC_RX channel (coming with the associated kernel NIC_RX chbuf), and a private CMA channel to the calling task. It registers both indexes 128 128 in the calling task context, and returns the NIC channel index, as this channel can be shared by severals tasks of a parallel multi-tasks application. 129 129 The calling task exit if no available NIC_RX channel, or no available CMA channel. 130 130 131 === 3) void '''giet_nic_tx_start'''( ) ===131 === 3) void '''giet_nic_tx_start'''( unsigned int channel ) === 132 132 This function activates both the NIC_TX channel, and the CMA channel allocated to the calling task. 133 133 The calling task exit if no allocated NIC_TX channel or no allocated CMA channel, or if the NIC channel argument does not fit the channel allocated to the calling task. 134 134 135 === 4) void '''giet_nic_rx_start'''( ) ===135 === 4) void '''giet_nic_rx_start'''( unsigned int channel ) === 136 136 This function activates both the NIC_RX channel, and the CMA channel allocated to the calling task. 137 137 The calling task exit if no allocated NIC_RX channel or no allocated CMA channel.