Ignore:
Timestamp:
Feb 8, 2015, 1:12:23 PM (10 years ago)
Author:
alain
Message:

1) Introduce access functions to MMC intrumentation registers.
2) Use _printf for error or debug messages.

File:
1 edited

Legend:

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

    r481 r496  
    4848// in the DMA component contained in cluster "cluster_xy"
    4949///////////////////////////////////////////////////////////////////////////////
     50
     51#if NB_DMA_CHANNELS > 0
    5052static
    5153unsigned int _dma_get_register( unsigned int cluster_xy, // cluster index
     
    6163    return ioread32( (void*)vaddr );
    6264}
     65#endif
    6366
    6467///////////////////////////////////////////////////////////////////////////////
     
    6669// in the DMA component contained in cluster "cluster_xy"
    6770///////////////////////////////////////////////////////////////////////////////
     71
     72#if NB_DMA_CHANNELS > 0
    6873static
    6974void _dma_set_register( unsigned int cluster_xy,       // cluster index
     
    8085    iowrite32( (void*)vaddr, value );
    8186}
     87#endif
    8288
    8389////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.