Changeset 333 for soft/giet_vm/giet_drivers/mmc_driver.c
- Timestamp:
- Jun 19, 2014, 1:31:45 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_drivers/mmc_driver.c
r320 r333 12 12 // 13 13 // The (virtual) base address of the associated segment is: 14 // SEG_MMC_BASE + cluster_id * VSEG_CLUSTER_INCREMENT14 // SEG_MMC_BASE + cluster_id * PERI_CLUSTER_INCREMENT 15 15 // 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. 17 17 //////////////////////////////////////////////////////////////////////////////// 18 18 … … 42 42 #endif 43 43 44 #if !defined( VSEG_CLUSTER_INCREMENT)45 # error: You must define VSEG_CLUSTER_INCREMENT in the hard_config.h file44 #if !defined(PERI_CLUSTER_INCREMENT) 45 # error: You must define PERI_CLUSTER_INCREMENT in the hard_config.h file 46 46 #endif 47 47 … … 68 68 69 69 unsigned int* mmc_address = (unsigned int*)( SEG_MMC_BASE + 70 (cluster_xy * VSEG_CLUSTER_INCREMENT) );70 (cluster_xy * PERI_CLUSTER_INCREMENT) ); 71 71 72 72 // get the hard lock protecting exclusive access to MEMC … … 104 104 105 105 unsigned int* mmc_address = (unsigned int*)( SEG_MMC_BASE + 106 (cluster_xy * VSEG_CLUSTER_INCREMENT) );106 (cluster_xy * PERI_CLUSTER_INCREMENT) ); 107 107 108 108 // get the hard lock protecting exclusive access to MEMC
Note: See TracChangeset
for help on using the changeset viewer.