Changes between Version 25 and Version 26 of kernel_syscalls


Ignore:
Timestamp:
Dec 30, 2014, 5:22:07 PM (9 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • kernel_syscalls

    v25 v26  
    5959
    6060=== 2) int '''_sys_nic_start'''( unsigned int is_rx ) ===
    61 This function initializes the kernel chbuf allocated to the calling task. It allocates the distributed 4 Kbytes containers (2 containers per cluster) from the distributed kernel heap, and initializes the kernel chbuf  describing the containers status. This chbuf descriptor is allocated in the seg_kernel_data segment in cluster [0,0].
    62 It starts the NIC channel allocated to the calling task, and starts the CMA transfer between the NIC chbuf and the distributed kernel chbuf. The CMA component is configured in OUT_OF_ORDER transfer mode (non blocking when a DST buffer is full.
     61This function initializes the kernel chbuf allocated to the calling task. It allocates the distributed 4 Kbytes containers (one container per cluster) from the distributed kernel heap, and initializes the kernel chbuf  describing the containers status. This chbuf descriptor is allocated in the seg_kernel_data segment in cluster [0,0].
     62It starts the NIC channel allocated to the calling task, and starts the CMA transfer between the NIC chbuf and the distributed kernel chbuf. The CMA component is configured in OUT_OF_ORDER transfer mode (non blocking when a SRC or DST container is not available).
    6363 * '''is_rx''' : boolean (RX transfer if non zero)
    6464Returns 0 if success. Returns -1 if no NIC channel or no CMA channel allocated to the calling task.