Changes between Version 153 and Version 154 of library_stdio
- Timestamp:
- Nov 8, 2016, 5:24:52 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
library_stdio
v153 v154 386 386 == __Network related system call__ == 387 387 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.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 from an user buffer. 389 389 The NIC channel and the CMA channel are registered in the threads contexts. 390 390 … … 413 413 414 414 === 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.415 This 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. 416 416 Several 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. 417 417 The calling thread exit if the buffer is not in user space, or if no allocated NIC_RX channel, or in case of timeout.