Changes between Version 40 and Version 41 of library_stdio


Ignore:
Timestamp:
Jan 4, 2015, 4:09:16 PM (9 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • library_stdio

    v40 v41  
    120120The NIC channel and the CMA channel are registered in the task context.
    121121
    122  === 1) int '''giet_nic_tx_alloc'''( ) ===
     122 === 1) unsigned int '''giet_nic_tx_alloc'''( ) ===
    123123This 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.
    124124The calling task exit if no available NIC_TX channel, or no available CMA channel.
    125125
    126  === 2) void '''giet_nic_rx_alloc'''( ) ===
     126 === 2) unsigned int '''giet_nic_rx_alloc'''( ) ===
    127127This 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
    128128in 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.
    129129The calling task exit if no available NIC_RX channel, or no available CMA channel.
    130130
    131  === 3) void '''giet_nic_tx_start'''( ) ===
     131 === 3) void '''giet_nic_tx_start'''( unsigned int channel ) ===
    132132This function activates both the NIC_TX channel, and the CMA channel allocated to the calling task.
    133133The 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.
    134134
    135  === 4) void '''giet_nic_rx_start'''( ) ===
     135 === 4) void '''giet_nic_rx_start'''( unsigned int channel ) ===
    136136This function activates both the NIC_RX channel, and the CMA channel allocated to the calling task.
    137137The calling task exit if no allocated NIC_RX channel or no allocated CMA channel.