Changes between Version 11 and Version 12 of nic_driver


Ignore:
Timestamp:
Oct 29, 2014, 6:35:23 PM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • nic_driver

    v11 v12  
    3636== __Blocking functions using a physical_memcpy__ ==
    3737
    38  === int '''_nic_sync_send'''( unsigned long long pbuf ) ===
    39 This blocking function uses a physical_memcpy() to transfer one container (4 Kbytes) from a single user buffer to the NIC channel allocated to the calling task. The '''pbuf''' argument is the user buffer physical base address.
    40 
     38 === int '''_nic_sync_send'''( unsigned int channel,  unsigned long long user_paddr ) ===
     39This blocking function uses a physical_memcpy() to transfer one container (4 Kbytes) from a single user buffer to the NIC channel allocated to the calling task.
     40 * '''channel''' : NIC channel index
     41 * '''user_paddr''':  user buffer physical base address
    4142Return 0 in case of success. Return -1 if buffer not mapped or not user accessible.
    4243
    43  === int '''_nic_sync_receive'''( unsigned long long pbuf ) ===
    44 This blocking function uses a physical_memcpy() to transfer one container (4 Kbytes) from the NIC channel allocated to the calling task, to a single user buffer. The '''pbuf''' argument is the user buffer vphysical base address.
    45 
     44 === int '''_nic_sync_receive'''( unsigned int channel,  unsigned long long user_paddr ) ===
     45This blocking function uses a physical_memcpy() to transfer one container (4 Kbytes) from the NIC channel allocated to the calling task, to a single user buffer.
     46 * '''channel''' : NIC channel index
     47 * '''user_paddr''':  user buffer physical base address
    4648Return 0 in case of success. Return -1 if buffer not mapped or not user accessible.
    4749