Ignore:
Timestamp:
Dec 3, 2015, 4:38:59 PM (9 years ago)
Author:
alain
Message:

Introduce two new arguments "cluster_xy" and "coproc_type"
in the system calls related to hardware coprocessors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_libs/stdio.h

    r722 r735  
    244244    unsigned int  buffer_size;     // memory buffer size
    245245    unsigned int  buffer_vaddr;    // memory buffer virtual address
    246     unsigned int  mwmr_vaddr;      // MWMR descriptor virtual address
    247     unsigned int  lock_vaddr;      // lock for MWMR virtual address
     246    unsigned int  status_vaddr;    // MWMR status virtual address (12 bytes)
     247    unsigned int  lock_vaddr;      // MWMR lock virtual address (64 bytes)
    248248} giet_coproc_channel_t;
    249249
    250 extern void giet_coproc_alloc( unsigned int   coproc_type,
     250extern void giet_coproc_alloc( unsigned int   cluster_xy,
     251                               unsigned int   coproc_type,
    251252                               unsigned int*  coproc_info );
    252253
    253 extern void giet_coproc_release( unsigned int coproc_reg_index );
    254 
    255 extern void giet_coproc_channel_init( unsigned int            channel,
     254extern void giet_coproc_release( unsigned int cluster_xy,
     255                                 unsigned int coproc_type );
     256
     257extern void giet_coproc_channel_init( unsigned int            cluster_xy,
     258                                      unsigned int            coproc_type,
     259                                      unsigned int            channel,
    256260                                      giet_coproc_channel_t*  desc );
    257261
    258 extern void giet_coproc_run( unsigned int coproc_reg_index );
    259 
    260 extern void giet_coproc_completed();
     262extern void giet_coproc_run( unsigned int cluster_xy,
     263                             unsigned int coproc_type );
     264
     265extern void giet_coproc_completed( unsigned int cluster_xy,
     266                                   unsigned int coproc_type );
    261267
    262268//////////////////////////////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.