Ignore:
Timestamp:
Mar 2, 2016, 3:08:27 PM (9 years ago)
Author:
meunier
Message:
  • Bug fixes in Rosenfeld
File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_drivers/bdv_driver.c

    r728 r798  
    253253    unsigned int ltid    = (_bdv_trdid      ) & 0xFF;
    254254
    255     // Reset NORUN_MASK_IOC bit 
     255    // Reset NORUN_MASK_IOC bit
    256256    static_scheduler_t* psched  = (static_scheduler_t*)_schedulers[x][y][p];
    257257    unsigned int*       ptr     = &psched->context[ltid].slot[CTX_NORUN_ID];
     
    263263                   0 );          // don't force context switch
    264264
    265 #if GIET_DEBUG_IOC 
    266 unsigned int pid  = _get_procid();
    267 unsigned int c_x  = pid >> (Y_WIDTH + P_WIDTH);
    268 unsigned int c_y  = (pid >> P_WIDTH) & ((1<<Y_WIDTH)-1);
    269 unsigned int c_p  = pid & ((1<<P_WIDTH)-1);
    270 if ( _get_proctime() > GIET_DEBUG_IOC )
    271 _printf("\n[BDV DEBUG] Processor[%d,%d,%d] enters _bdv_isr() at cycle %d\n"
    272         "  for thread %d running on P[%d,%d,%d] / bdv_status = %x\n",
    273         c_x , c_y , c_p , _get_proctime() ,
    274         ltid , x , y , p , status );
     265#if GIET_DEBUG_IOC
     266    unsigned int pid  = _get_procid();
     267    unsigned int c_x  = pid >> (Y_WIDTH + P_WIDTH);
     268    unsigned int c_y  = (pid >> P_WIDTH) & ((1<<Y_WIDTH)-1);
     269    unsigned int c_p  = pid & ((1<<P_WIDTH)-1);
     270    if ( _get_proctime() > GIET_DEBUG_IOC )
     271        _printf("\n[BDV DEBUG] Processor[%d,%d,%d] enters _bdv_isr() at cycle %d\n"
     272                "  for thread %d running on P[%d,%d,%d] / bdv_status = %x\n",
     273                c_x , c_y , c_p , _get_proctime() ,
     274                ltid , x , y , p , status );
    275275#endif
    276276
Note: See TracChangeset for help on using the changeset viewer.