Ignore:
Timestamp:
Jun 19, 2014, 1:31:45 PM (10 years ago)
Author:
alain
Message:

Cosmetic

File:
1 edited

Legend:

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

    r320 r333  
    1212//
    1313// The (virtual) base address of the associated segment is:
    14 //       SEG_MMC_BASE + cluster_id * VSEG_CLUSTER_INCREMENT
     14//       SEG_MMC_BASE + cluster_id * PERI_CLUSTER_INCREMENT
    1515//
    16 // SEG_MMC_BASE and VSEG_CLUSTER_INCREMENT must be defined in hard_config.h.
     16// SEG_MMC_BASE and PERI_CLUSTER_INCREMENT must be defined in hard_config.h.
    1717////////////////////////////////////////////////////////////////////////////////
    1818
     
    4242#endif
    4343
    44 #if !defined(VSEG_CLUSTER_INCREMENT)
    45 # error: You must define VSEG_CLUSTER_INCREMENT in the hard_config.h file
     44#if !defined(PERI_CLUSTER_INCREMENT)
     45# error: You must define PERI_CLUSTER_INCREMENT in the hard_config.h file
    4646#endif
    4747
     
    6868
    6969    unsigned int* mmc_address = (unsigned int*)( SEG_MMC_BASE +
    70                                 (cluster_xy * VSEG_CLUSTER_INCREMENT) );
     70                                (cluster_xy * PERI_CLUSTER_INCREMENT) );
    7171
    7272    // get the hard lock protecting exclusive access to MEMC
     
    104104
    105105    unsigned int* mmc_address = (unsigned int*)( SEG_MMC_BASE +
    106                                 (cluster_xy * VSEG_CLUSTER_INCREMENT) );
     106                                (cluster_xy * PERI_CLUSTER_INCREMENT) );
    107107
    108108    // get the hard lock protecting exclusive access to MEMC
Note: See TracChangeset for help on using the changeset viewer.