Changes between Version 13 and Version 14 of kernel_syscalls


Ignore:
Timestamp:
Nov 9, 2014, 10:18:50 PM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • kernel_syscalls

    v13 v14  
    6767Returns -1 if no NIC_RX channel or no CMA channel allocated to the calling task.
    6868
    69 === int '''_sys_nic_rx_move'''( void* vbuf ) ===
     69=== int '''_sys_nic_rx_move'''( void* buffer ) ===
    7070This 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.
    7272It is blocking if the kernel NIC_RX chbuf is empty, with a time-out limit.
    7373Returns 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.
    7474
    75 === int '''_sys_nic_tx_move'''( void* vbuf ) ===
     75=== int '''_sys_nic_tx_move'''( void* buffer ) ===
    7676This 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.
    7878It is blocking if the kernel NIC_TX chbuf is full, with a time-out limit.
    7979Returns 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.