Changeset 603 for soft/giet_vm/giet_drivers/hba_driver.c
- Timestamp:
- Jul 10, 2015, 12:34:31 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_drivers/hba_driver.c
r576 r603 162 162 unsigned int p = procid & ((1<<P_WIDTH)-1); 163 163 164 #if GIET_DEBUG_IOC _DRIVER165 if (_get_proctime() > GIET_DEBUG_IOC _DRIVER)164 #if GIET_DEBUG_IOC 165 if (_get_proctime() > GIET_DEBUG_IOC) 166 166 _printf("\n[DEBUG HBA] _hba_access() : P[%d,%d,%d] enters at cycle %d\n" 167 167 " use_irq = %d / to_mem = %d / lba = %x / paddr = %l / count = %d\n", … … 246 246 _hba_set_register( HBA_PXCI, (1<<cmd_id) ); 247 247 248 #if GIET_DEBUG_IOC _DRIVER249 if (_get_proctime() > GIET_DEBUG_IOC _DRIVER)248 #if GIET_DEBUG_IOC 249 if (_get_proctime() > GIET_DEBUG_IOC) 250 250 _printf("\n[DEBUG HBA] _hba_access() : P[%d,%d,%d] get slot %d in Cmd List " 251 251 " at cycle %d / polling\n", … … 260 260 pxci = _hba_get_register( HBA_PXCI ); 261 261 262 #if GIET_DEBUG_IOC _DRIVER263 if (_get_proctime() > GIET_DEBUG_IOC _DRIVER)262 #if GIET_DEBUG_IOC 263 if (_get_proctime() > GIET_DEBUG_IOC) 264 264 _printf("\n[DEBUG HBA] _hba_access() : P[%d,%d,%d] wait on HBA_PXCI / pxci = %x\n", 265 265 x , y , p , pxci ); … … 285 285 { 286 286 287 #if GIET_DEBUG_IOC _DRIVER288 if (_get_proctime() > GIET_DEBUG_IOC _DRIVER)287 #if GIET_DEBUG_IOC 288 if (_get_proctime() > GIET_DEBUG_IOC) 289 289 _printf("\n[DEBUG HBA] _hba_access() : P[%d,%d,%d] get slot %d in Cmd List " 290 290 "at cycle %d / descheduling\n", … … 315 315 _ctx_switch(); 316 316 317 #if GIET_DEBUG_IOC _DRIVER318 if (_get_proctime() > GIET_DEBUG_IOC _DRIVER)317 #if GIET_DEBUG_IOC 318 if (_get_proctime() > GIET_DEBUG_IOC) 319 319 _printf("\n[DEBUG HBA] _hba_access() : task %d on P[%d,%d,%d] resume at cycle %d\n", 320 320 ltid , x , y , p , _get_proctime() ); … … 332 332 release_success = _hba_cmd_release(cmd_id); 333 333 334 #if GIET_DEBUG_IOC _DRIVER335 if (_get_proctime() > GIET_DEBUG_IOC _DRIVER)334 #if GIET_DEBUG_IOC 335 if (_get_proctime() > GIET_DEBUG_IOC) 336 336 _printf("\n[DEBUG HBA] _hba_access() : P[%d,%d,%d] release slot %d in Cmd List " 337 337 "and exit at cycle %d\n", … … 452 452 0 ); // don't force context switch 453 453 454 #if GIET_DEBUG_IOC _DRIVER455 if (_get_proctime() > GIET_DEBUG_IOC _DRIVER)454 #if GIET_DEBUG_IOC 455 if (_get_proctime() > GIET_DEBUG_IOC) 456 456 _printf("\n[DEBUG HBA] _hba_isr() : command %d completed at cycle %d\n" 457 457 " resume task %d running on P[%d,%d,%d]\n",
Note: See TracChangeset
for help on using the changeset viewer.