Changes between Version 55 and Version 56 of kernel_syscalls
- Timestamp:
- Dec 13, 2016, 1:37:39 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
kernel_syscalls
v55 v56 48 48 This function deschedule the calling thread. 49 49 50 === 6) void '''_sys_kthread_create'''( unsigned int * trdid , unsigned int x , unsigned int y , unsigned int p , void * function , void *arg ) ===50 === 6) void '''_sys_kthread_create'''( unsigned int * trdid , unsigned int x , unsigned int y , unsigned int p , char * name , void * function , unsigned int arg ) === 51 51 This function initializes a kernel thread context, for a core identified by the <x,y,p> arguments, in a given scheduler. 52 52 It allocate a new "ltid" and update the threads field in the scheduler. 53 It is used in kernel-init to create the NIC_TX and NIC_RXkernel threads.53 It is used in kernel-init to create the NIC_TX_MOVE and NIC_RX_MOVE kernel threads. 54 54 * '''trdid''' : pointer on buffer for allocated trdid. 55 55 * '''x''' : X cluster coordinate. 56 56 * '''y''' : Y cluster coordinate. 57 57 * '''p''' : local processor index in cluster. 58 * '''function''' : pointer on the thread entry function. 59 * '''arg''' : pointer on function argument. 58 * '''name''' : thread name (for debug). 59 * '''function''' : pointer on the entry function. 60 * '''arg''' : entry function argument value. 60 61 61 62 == __Coprocessors related syscall handlers__ ==