Changeset 333 for soft/giet_vm/giet_drivers/mwr_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/mwr_driver.c
r320 r333 11 11 // 12 12 // The (virtual) base address of the associated segment is: 13 // SEG_MWR_BASE + cluster_xy * VSEG_CLUSTER_INCREMENT13 // SEG_MWR_BASE + cluster_xy * PERI_CLUSTER_INCREMENT 14 14 // 15 // SEG_MWR_BASE and VSEG_CLUSTER_INCREMENT must be defined in hard_config.h15 // SEG_MWR_BASE and PERI_CLUSTER_INCREMENT must be defined in hard_config.h 16 16 //////////////////////////////////////////////////////////////////////////////// 17 17 … … 41 41 #endif 42 42 43 #if !defined( VSEG_CLUSTER_INCREMENT)44 # error: You must define VSEG_CLUSTER_INCREMENT in the hard_config.h file43 #if !defined(PERI_CLUSTER_INCREMENT) 44 # error: You must define PERI_CLUSTER_INCREMENT in the hard_config.h file 45 45 #endif 46 46 … … 75 75 // compute base address 76 76 unsigned int* mwr_address = (unsigned int*) ( SEG_MWR_BASE + 77 (cluster_xy * VSEG_CLUSTER_INCREMENT) );77 (cluster_xy * PERI_CLUSTER_INCREMENT) ); 78 78 79 79 unsigned int lsb = (unsigned int)channel_pbase;
Note: See TracChangeset
for help on using the changeset viewer.