Ignore:
Timestamp:
Jul 10, 2015, 12:34:31 PM (9 years ago)
Author:
alain
Message:

cosmetic

File:
1 edited

Legend:

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

    r576 r603  
    162162    unsigned int p       = procid & ((1<<P_WIDTH)-1);
    163163
    164 #if GIET_DEBUG_IOC_DRIVER
    165 if (_get_proctime() > GIET_DEBUG_IOC_DRIVER)
     164#if GIET_DEBUG_IOC
     165if (_get_proctime() > GIET_DEBUG_IOC)
    166166_printf("\n[DEBUG HBA] _hba_access() : P[%d,%d,%d] enters at cycle %d\n"
    167167        "  use_irq = %d / to_mem = %d / lba = %x / paddr = %l / count = %d\n",
     
    246246        _hba_set_register( HBA_PXCI, (1<<cmd_id) );
    247247
    248 #if GIET_DEBUG_IOC_DRIVER
    249 if (_get_proctime() > GIET_DEBUG_IOC_DRIVER)
     248#if GIET_DEBUG_IOC
     249if (_get_proctime() > GIET_DEBUG_IOC)
    250250_printf("\n[DEBUG HBA] _hba_access() : P[%d,%d,%d] get slot %d in Cmd List "
    251251        " at cycle %d / polling\n",
     
    260260            pxci = _hba_get_register( HBA_PXCI );
    261261
    262 #if GIET_DEBUG_IOC_DRIVER
    263 if (_get_proctime() > GIET_DEBUG_IOC_DRIVER)
     262#if GIET_DEBUG_IOC
     263if (_get_proctime() > GIET_DEBUG_IOC)
    264264_printf("\n[DEBUG HBA] _hba_access() : P[%d,%d,%d] wait on HBA_PXCI / pxci = %x\n",
    265265        x , y , p , pxci );
     
    285285    {
    286286
    287 #if GIET_DEBUG_IOC_DRIVER
    288 if (_get_proctime() > GIET_DEBUG_IOC_DRIVER)
     287#if GIET_DEBUG_IOC
     288if (_get_proctime() > GIET_DEBUG_IOC)
    289289_printf("\n[DEBUG HBA] _hba_access() : P[%d,%d,%d] get slot %d in Cmd List "
    290290        "at cycle %d / descheduling\n",
     
    315315        _ctx_switch();                     
    316316
    317 #if GIET_DEBUG_IOC_DRIVER
    318 if (_get_proctime() > GIET_DEBUG_IOC_DRIVER)
     317#if GIET_DEBUG_IOC
     318if (_get_proctime() > GIET_DEBUG_IOC)
    319319_printf("\n[DEBUG HBA] _hba_access() : task %d on P[%d,%d,%d] resume at cycle %d\n",
    320320        ltid , x , y , p , _get_proctime() );
     
    332332    release_success = _hba_cmd_release(cmd_id);
    333333
    334 #if GIET_DEBUG_IOC_DRIVER
    335 if (_get_proctime() > GIET_DEBUG_IOC_DRIVER)
     334#if GIET_DEBUG_IOC
     335if (_get_proctime() > GIET_DEBUG_IOC)
    336336_printf("\n[DEBUG HBA] _hba_access() : P[%d,%d,%d] release slot %d in Cmd List "
    337337        "and exit at cycle %d\n",
     
    452452                           0 );          // don't force context switch
    453453
    454 #if GIET_DEBUG_IOC_DRIVER 
    455 if (_get_proctime() > GIET_DEBUG_IOC_DRIVER)
     454#if GIET_DEBUG_IOC 
     455if (_get_proctime() > GIET_DEBUG_IOC)
    456456_printf("\n[DEBUG HBA] _hba_isr() : command %d completed at cycle %d\n"
    457457        "  resume task %d running on P[%d,%d,%d]\n",
Note: See TracChangeset for help on using the changeset viewer.