Changes between Version 19 and Version 20 of kernel_syscalls


Ignore:
Timestamp:
Nov 17, 2014, 10:29:03 AM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • kernel_syscalls

    v19 v20  
    5353These 4 functions can be used for both a NIC_RX or NIC_TX channel, depending on the '''is_rx''' argument.
    5454
    55 === 1) int '''_sys_nic_alloc'''( unsigned int is_rx, unsigned int mac4, unsigned int mac2 ) ===
    56 This function allocates a private NIC_RX or NIC_TX channel, the associated chbuf, and a private CMA channel to the calling task, and register these channel indexes in the task context.
     55=== 1) int '''_sys_nic_alloc'''( unsigned int is_rx ) ===
     56This function allocates a private NIC_RX or NIC_TX channel, the associated chbuf, and a private CMA channel to the calling task. It register these channel indexes in the task context.
    5757 * '''is_isr''' : boolean (RX transfer if non zero)
    5858Returns 0 if success. Return -1 if no NIC channel available, or if no CMA channel available.