Changeset 298 for soft/giet_vm/giet_drivers/mmc_driver.c
- Timestamp:
- Apr 3, 2014, 2:00:10 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_drivers/mmc_driver.c
r297 r298 123 123 unsigned int channel ) // unused 124 124 { 125 _printf("[GIET ERROR] MMC IRQ received, but _mmc_isr() not implemented...\n"); 125 unsigned int procid = _get_procid(); 126 unsigned int cluster_xy = procid / NB_PROCS_MAX; 127 unsigned int lpid = procid % NB_PROCS_MAX; 128 unsigned int x = cluster_xy >> Y_WIDTH; 129 unsigned int y = cluster_xy & ((1<<Y_WIDTH)-1); 130 131 _printf("[GIET ERROR] MMC IRQ received by processor[%d,%d,%d]" 132 " but _mmc_isr() not implemented...\n", x, y, lpid ); 126 133 } 127 134
Note: See TracChangeset
for help on using the changeset viewer.