Changes between Version 153 and Version 154 of library_stdio


Ignore:
Timestamp:
Nov 8, 2016, 5:24:52 PM (8 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • library_stdio

    v153 v154  
    386386 == __Network related system call__ ==
    387387
    388 The GIET_VM allows a user application to get and use a private NIC channel, using the CMA component (chained buffers DMA) to transfer packets to or an user buffer.
     388The GIET_VM allows a user application to get and use a private NIC channel, using the CMA component (chained buffers DMA) to transfer packets to or from an user buffer.
    389389The NIC channel and the CMA channel are registered in the threads contexts.
    390390
     
    413413
    414414 === 6) void '''giet_nic_rx_move'''( void* buffer ) ===
    415 This blocking function transfer one container (4 Kbytes)  from the kernel chbuf defined by the NIC_TX channel registered in the calling thread context to an user buffer. The <buffer> argument is the container base address in user space.
     415This blocking function transfer one container (4 Kbytes)  from the kernel chbuf defined by the NIC_RX channel registered in the calling thread context to an user buffer. The <buffer> argument is the container base address in user space.
    416416Several user threads can concurrently access the same chbuf, because the syscall handler takes the lock protecting the chbuf. It returns only when the container has been fully transfered.
    417417The calling thread exit if the buffer is not in user space, or if no allocated NIC_RX channel, or in case of timeout.