Changes between Version 10 and Version 11 of nic_driver


Ignore:
Timestamp:
Oct 28, 2014, 7:23:00 PM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • nic_driver

    v10 v11  
    3636== __Blocking functions using a physical_memcpy__ ==
    3737
    38  === int '''_nic_sync_send'''( void* vbase ) ===
    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 '''vbase''' argument is the user buffer virtual base address.
     38 === int '''_nic_sync_send'''( unsigned long long pbuf ) ===
     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. The '''pbuf''' argument is the user buffer physical base address.
    4040
    4141Return 0 in case of success. Return -1 if buffer not mapped or not user accessible.
    4242
    43  === int '''_nic_sync_receive'''( void* vbase ) ===
    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 '''vbase''' argument is the user buffer virtual base address.
     43 === int '''_nic_sync_receive'''( unsigned long long pbuf ) ===
     44This 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.
    4545
    4646Return 0 in case of success. Return -1 if buffer not mapped or not user accessible.