Changes between Version 33 and Version 34 of WikiStart
- Timestamp:
- Oct 10, 2014, 3:03:47 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v33 v34 7 7 == __B) Peripherals Drivers__ == 8 8 9 The GIET_VM supports two types of peripheral components: '''External peripherals''' are located in one single cluster identified by the [X_IO,Y_IO] variables,'''Internal peripherals''' are replicated in all clusters.9 The GIET_VM supports two types of peripheral components: '''External peripherals''' are located in one single cluster (called ''cluster_io'', and identified by the ''X_IO,Y_IO'' variables); '''Internal peripherals''' are replicated in all clusters. 10 10 11 11 Each driver xxx_driver define two low-level functions ''_xxx_get_register()'' and ''_xxx_set_register()'' 12 to access the peripheral addressable registers. These functions are in charge to compute the p hysical addresses, taking into account the cluster extension if required.12 to access the peripheral addressable registers. These functions are in charge to compute the peripheral physical addresses, taking into account the cluster extension if required: 13 13 14 14 * '''External peripherals''': Accesses use virtual addresses if the MMU (Memory management Unit) is activated, or physical addresses if it is not. In this case, the physical address is computed as pbase = SEG_XXX_BASE + cluster_io << 32.