Ignore:
Timestamp:
Oct 4, 2014, 3:35:35 PM (10 years ago)
Author:
alain
Message:

Introducing fixed format (X_WIDTH / Y_WIDTH / P_WIDTH) for processor index.

File:
1 edited

Legend:

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

    r390 r431  
    1515
    1616/////////////////
    17 int giet_procid()
    18 {
    19     return sys_call( SYSCALL_PROCID,
    20                      0, 0, 0, 0 );
     17void giet_proc_xyp( unsigned int* cluster_x,
     18                    unsigned int* cluster_y,
     19                    unsigned int* lpid )
     20{
     21    sys_call( SYSCALL_PROCID,
     22              (unsigned int)cluster_x,
     23              (unsigned int)cluster_y,
     24              (unsigned int)lpid,
     25               0 );
    2126}
    2227
Note: See TracChangeset for help on using the changeset viewer.