Ignore:
Timestamp:
Apr 3, 2014, 2:00:10 PM (10 years ago)
Author:
alain
Message:

Introducing pic driver and rdk driver

File:
1 edited

Legend:

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

    r297 r298  
    123123               unsigned int channel )  // unused
    124124{
    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 );
    126133}
    127134
Note: See TracChangeset for help on using the changeset viewer.