Changes between Version 36 and Version 37 of library_stdio


Ignore:
Timestamp:
Nov 12, 2014, 1:24:22 PM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • library_stdio

    v36 v37  
    137137
    138138 === 5) void '''giet_nic_tx_move'''( void* buffer ) ===
    139 This blocking function requires to transfer one container (4K bytes)  from an user space buffer to the Network Controller.
     139This blocking function requires to transfer one container (GIET_NIC_CHBUF_SIZE bytes)  from an user buffer to the kernel chbuf allocated to the calling task.
    140140 * '''buffer'''  is the container base address in user space.
     141Several user tasks can concurrently access the same chbuf, because the syscall handler takes the lock protecting the chbuf.
    141142It returns only when the container has been fully transfered.
    142143The calling task exit if no NIC channel allocated to the task, or in case of timeout.
    143144
    144145 === 6) void '''giet_nic_rx_move'''( void* buffer ) ===
    145 This blocking function requires to transfer one container (4K bytes)  from  the Network Controller to an user space buffer.
     146This blocking function requires to transfer one container (GIET_NIC_CHBUF_SIZE bytes)  from  the kernel chbuf allocated to the calling task to an user buffer.
    146147 * '''buffer''' is the container base address in user space.
     148Several user tasks can concurrently access the same chbuf, because the syscall handler takes the lock protecting the chbuf.
    147149It returns only when the container has been fully transfered.
    148150The calling task exit if no NIC channel allocated to the task, or in case of timeout.