Changes between Version 50 and Version 51 of kernel_syscalls
- Timestamp:
- Dec 4, 2016, 11:53:56 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
kernel_syscalls
v50 v51 5 5 [[PageOutline]] 6 6 7 == Applications related syscall handlers==7 == __Applications related syscall handlers__ == 8 8 9 9 These functions can be used to dynamically activate / deactivate an application. … … 17 17 These functions implement a subset of the POSIX threads API. 18 18 19 == Threads related syscall handlers==19 == __Threads related syscall handlers__ == 20 20 21 21 === 1) int '''_sys_pthread_create'''( pthread_t* buffer , void* function ) === … … 29 29 === 5) int '''_sys_pthread_yield'''( ) === 30 30 31 == Coprocessors related syscall handlers==31 == __Coprocessors related syscall handlers__ == 32 32 33 33 These functions are used to access coprocessors connected to the VCI network with a ''vci_mwmr_dma'' controller. … … 79 79 80 80 81 == TTY related syscall handlers==81 == __TTY related syscall handlers__ == 82 82 83 83 === 1) int '''_sys_tty_alloc'''( unsigned int shared ) === … … 107 107 108 108 109 == TIMER retated syscall handlers==109 == __TIMER retated syscall handlers__ == 110 110 111 111 === 1) int '''_sys_tim_alloc'''() === … … 136 136 137 137 138 == NIC related syscall handlers==138 == __NIC related syscall handlers__ == 139 139 140 140 === 1) void '''_sys_nic_init'''( ) === … … 179 179 Returns number of bytes read if success / returns -1 if error 180 180 181 182 == FBF related syscall handlers == 181 === 8) void '''_sys_nic_tx_move'''( unsigned int channel ) === 182 This 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). 183 The NIC_TX_QUEUE implementation depends on the available NIC hardware (it is implemented as a CHBUF for the VciMasterNic component). 184 It 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 ) === 188 This 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). 189 The NIC_RX_QUEUE implementation depends on the available NIC hardware (it is implemented as a CHBUF for the VciMasterNic component). 190 It 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__ == 183 194 184 195 === 1) int '''_sys_fbf_size'''( unsigned int* width , unsigned int* height ) === … … 254 265 255 266 256 == Miscelaneous syscall handlers==267 == __Miscelaneous syscall handlers__ == 257 268 258 269 === 1) int '''_sys_ukn'''() ===