Changeset 426 for soft/giet_vm/giet_drivers/ioc_driver.c
- Timestamp:
- Oct 4, 2014, 3:16:21 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_drivers/ioc_driver.c
r413 r426 94 94 #if GIET_DEBUG_IOC_DRIVER 95 95 unsigned int procid = _get_procid(); 96 unsigned int cid = procid / NB_PROCS_MAX; 97 unsigned int lpid = procid % NB_PROCS_MAX; 98 unsigned int x = cid >> Y_WIDTH; 99 unsigned int y = cid & ((1<<Y_WIDTH) - 1); 100 96 unsigned int x = procid >> (Y_WIDTH + P_WIDTH); 97 unsigned int y = (procid >> P_WIDTH) & ((1<<Y_WIDTH)-1); 98 unsigned int p = procid & ((1<<P_WIDTH)-1); 101 99 _printf("\n[IOC DEBUG] _ioc_access() : P[%d,%d,%d] enters at cycle %d\n" 102 100 " - channel = %d\n" … … 105 103 " - sectors = %d\n" 106 104 " - lba = %x\n", 107 x, y, lpid, _get_proctime(), channel, mode, buf_vaddr, count, lba );105 x, y, p, _get_proctime(), channel, mode, buf_vaddr, count, lba ); 108 106 #endif 109 107
Note: See TracChangeset
for help on using the changeset viewer.