Changeset 313 for soft/giet_vm/giet_drivers/dma_driver.c
- Timestamp:
- Apr 21, 2014, 5:46:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_drivers/dma_driver.c
r298 r313 195 195 #if NB_DMA_CHANNELS > 0 196 196 197 unsigned int procid = _get_procid();197 unsigned int procid = _get_procid(); 198 198 unsigned int cluster_xy = procid/NB_PROCS_MAX; 199 199 unsigned int channel_id = procid%NB_PROCS_MAX; … … 208 208 209 209 _printf("\n[DMA DEBUG] Processor[%d,%d,%d] enters _dma_copy() at cycle %d\n" 210 " - vspace_id = %d\n" 211 " - cluster_xy = %x\n" 212 " - channel_id = %d\n" 213 " - dest = %x\n" 214 " - source = %x\n" 215 " - bytes = %x\n", 216 x, y, channel_id, _get_proctime(), vspace_id, cluster_xy, 217 (unsigned int)dest, (unsigned int)source, size ); 210 " - vspace_id = %d\n" 211 " - src_vaddr = %x\n" 212 " - dst_vaddr = %x\n" 213 " - bytes = %x\n", 214 x, y, channel_id, _get_proctime(), vspace_id, 215 (unsigned int)source, (unsigned int)dest, size ); 218 216 #endif 219 217 … … 257 255 258 256 #if GIET_DEBUG_DMA_DRIVER 259 _printf(" - src_paddr = %llx\n"260 " - dst_paddr = %llx\n",257 _printf(" - src_paddr = %l\n" 258 " - dst_paddr = %l\n", 261 259 src_paddr, dst_paddr ); 262 260 #endif
Note: See TracChangeset
for help on using the changeset viewer.