Changes between Version 13 and Version 14 of kernel_syscalls
- Timestamp:
- Nov 9, 2014, 10:18:50 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
kernel_syscalls
v13 v14 67 67 Returns -1 if no NIC_RX channel or no CMA channel allocated to the calling task. 68 68 69 === int '''_sys_nic_rx_move'''( void* vbuf) ===69 === int '''_sys_nic_rx_move'''( void* buffer ) === 70 70 This function moves one 4kbytes container from the private kernel NIC_RX chbuf allocated to the calling task, to an user buffer. 71 * ''' vbuf''' is the user buffer virtual base address.71 * '''buffer''' is the user buffer virtual base address. 72 72 It is blocking if the kernel NIC_RX chbuf is empty, with a time-out limit. 73 73 Returns 0 if success, returns -1 if the user buffer address is illegal, or if there is no NIC_RX channel allocated to the calling task, or if the timeout is elapsed. 74 74 75 === int '''_sys_nic_tx_move'''( void* vbuf) ===75 === int '''_sys_nic_tx_move'''( void* buffer ) === 76 76 This function moves one 4kbytes container from an user buffer, to the private kernel NIC_TX chbuf allocated to the calling task. 77 * ''' vbuf''' is the user buffer virtual base address.77 * '''buffer''' is the user buffer virtual base address. 78 78 It is blocking if the kernel NIC_TX chbuf is full, with a time-out limit. 79 79 Returns 0 if success, returns -1 if the user buffer address is illegal, or if there is no NIC_TX channel allocated to the calling task, or if the timeout is elapsed.