Changes between Version 37 and Version 38 of kernel_syscalls


Ignore:
Timestamp:
Apr 8, 2015, 11:10:11 PM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • kernel_syscalls

    v37 v38  
    1010
    1111These functions are used to access coprocessors connected to the VCI network with a ''vci_mwmr_dma'' controller.
    12 They make the assumption that there is only one hardware coprocessor of a given type in a given cluster, and a coprocessor
    13 can be identified by the two (cluster_xy , coproc_type) variables.
     12They make the assumption that there is only one hardware coprocessor per cluster, and a coprocessor can be identified by the cluster coordinates.
    1413
    1514The following structure (defined in the stdio.h file) is used to define a specific TO_COPROC / FROM_COPROC channel.
     
    3231In this implementation, the the requested coprocessor must be in the same cluster as the processor running the calling task.
    3332
    34 === 2) int '''_sys_coproc_release'''( unsigned int cluster_xy  ,  unsigned int coproc_type ) ===
     33=== 2) int '''_sys_coproc_release'''( unsigned int cluster_xy  ) ===
    3534This function des-allocates a previously allocated coprocessor.
    3635 * ''' cluster_xy''' : cluster coordinates.
    37  * '''coproc_type''' : requested processor type.
    38 
    39 === 3) int '''_sys_coproc_channel_init'''( unsigned int  cluster_xy  ,  unsigned int coproc_type  ,  unsigned int channel ,  giet_coproc_channel_t*  desc ) ===
     36
     37=== 3) int '''_sys_coproc_channel_init'''( unsigned int  cluster_xy  ,  unsigned int channel ,  giet_coproc_channel_t*  desc ) ===
    4038This function initializes specific TO_COPROC or FROM_COPROC communication channel.
    4139 * '''cluster_xy''' : cluster coordinates.
    42  * '''coproc_type''' : coprocessor type.
    4340 * '''channel''' : channel index.
    4441 * '''desc''' : pointer on the channel descriptor.
    4542
    46 === 4) int '''_sys_coproc_channel_start'''( unsigned int  cluster_xy  ,  unsigned int coproc_type  ,  unsigned int channel ) ===
     43=== 4) int '''_sys_coproc_channel_start'''( unsigned int  cluster_xy  ,  unsigned int channel ) ===
    4744This function starts a specific TO_COPROC / FROM_COPROC communication channel.
    4845 * '''cluster_xy''' : cluster coordinates.
    49  * '''coproc_type''' : coprocessor type.
    5046 * '''channel''' : channel index.
    5147
    52 === 5) int '''_sys_coproc_channel_stop'''( unsigned int  cluster_xy  ,  unsigned int coproc_type  ,  unsigned int  channel ) ===
     48=== 5) int '''_sys_coproc_channel_stop'''( unsigned int  cluster_xc  ,  unsigned int  channel ) ===
    5349This function stops a specific TO_COPROC / FROM_COPROC communication channel.
    54  * '''cluster_xy''' : cluster coordinates.
    55  * '''coproc_type''' : coprocessor type.
     50 * '''cluster_xy''' : cluster coordinates.
    5651 * '''channel''' : channel index.
    5752
    58 === 6) int '''_sys_coproc_completed'''( unsigned int cluster_xy ,  unsigned int coproc_type ) ===
     53=== 6) int '''_sys_coproc_completed'''( unsigned int cluster_xy ) ===
    5954This blocking function returns only when the
    6055 * '''cluster_xy''' : cluster coordinates.
    61  * '''coproc_type''' : coprocessor type.
    6256
    6357
     
    236230
    237231
    238