Changes between Version 36 and Version 37 of library_stdio
- Timestamp:
- Nov 12, 2014, 1:24:22 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
library_stdio
v36 v37 137 137 138 138 === 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.139 This 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. 140 140 * '''buffer''' is the container base address in user space. 141 Several user tasks can concurrently access the same chbuf, because the syscall handler takes the lock protecting the chbuf. 141 142 It returns only when the container has been fully transfered. 142 143 The calling task exit if no NIC channel allocated to the task, or in case of timeout. 143 144 144 145 === 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 spacebuffer.146 This 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. 146 147 * '''buffer''' is the container base address in user space. 148 Several user tasks can concurrently access the same chbuf, because the syscall handler takes the lock protecting the chbuf. 147 149 It returns only when the container has been fully transfered. 148 150 The calling task exit if no NIC channel allocated to the task, or in case of timeout.