Changes between Version 50 and Version 51 of kernel_syscalls


Ignore:
Timestamp:
Dec 4, 2016, 11:53:56 PM (8 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • kernel_syscalls

    v50 v51  
    55[[PageOutline]]
    66
    7 == Applications related syscall handlers ==
     7== __Applications related syscall handlers__ ==
    88
    99These functions can be used to dynamically activate / deactivate an application.
     
    1717These functions implement a subset of the POSIX threads API.
    1818
    19 == Threads related syscall handlers ==
     19== __Threads related syscall handlers__ ==
    2020
    2121=== 1) int '''_sys_pthread_create'''( pthread_t* buffer , void* function ) ===
     
    2929=== 5) int '''_sys_pthread_yield'''( ) ===
    3030
    31 == Coprocessors related syscall handlers ==
     31== __Coprocessors related syscall handlers__ ==
    3232
    3333These functions are used to access coprocessors connected to the VCI network with a ''vci_mwmr_dma'' controller.
     
    7979
    8080
    81 == TTY related syscall handlers ==
     81== __TTY related syscall handlers__ ==
    8282
    8383=== 1) int '''_sys_tty_alloc'''( unsigned int shared ) ===
     
    107107
    108108
    109 == TIMER retated syscall handlers ==
     109== __TIMER retated syscall handlers__ ==
    110110
    111111=== 1) int '''_sys_tim_alloc'''() ===
     
    136136
    137137
    138 == NIC related syscall handlers ==
     138== __NIC related syscall handlers__ ==
    139139
    140140=== 1) void '''_sys_nic_init'''( ) ===
     
    179179Returns number of bytes read if success / returns -1 if error
    180180
    181 
    182 == FBF related syscall handlers ==
     181=== 8) void '''_sys_nic_tx_move'''( unsigned int channel ) ===
     182This function is executed by the NIC_TX kernel thread. It continuously move a stream of ETH paquets from the NIC_TX_FIFO (associated to a given NIC channel) to the NIC_TX_QUEUE (associated to the same channel).
     183The NIC_TX_QUEUE implementation depends on the available NIC hardware (it is implemented as a CHBUF for the VciMasterNic component).
     184It blocks if the source TX_FIFO is empty or if the dest TX_QUEUE is full.In this first implementation, the blocking uses a busy-waiting policy, but this should be replaced by a descheduling policy.
     185 * '''channel''' : NIC channel index.
     186
     187=== 9) void '''_sys_nic_rx_move'''( unsigned int channel ) ===
     188This function is executed by the NIC_RX kernel thread. It continuously move a stream of ETH paquets from the NIC_RX_QUEUE (associated to a given NIC channel) to several NIC_RX_FIFOs (one per socket).
     189The NIC_RX_QUEUE implementation depends on the available NIC hardware (it is implemented as a CHBUF for the VciMasterNic component).
     190It blocks if the source RX_QUEUE is empty or if the dest TX_FIFO is full. In this first implementation, the blocking uses a busy-waiting policy, but this should be replaced by a descheduling policy.
     191 * '''channel''' : NIC channel index.
     192
     193== __FBF related syscall handlers__ ==
    183194
    184195 === 1) int '''_sys_fbf_size'''( unsigned int* width , unsigned int* height ) ===
     
    254265
    255266
    256 == Miscelaneous syscall handlers ==
     267== __Miscelaneous syscall handlers__ ==
    257268
    258269=== 1) int '''_sys_ukn'''() ===