Changes between Version 3 and Version 4 of mmc_driver
- Timestamp:
- Jan 20, 2015, 7:07:22 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
mmc_driver
v3 v4 8 8 The ''vci_mem_cache'' component is a L2 cache controller specifically designed for the TSAR architecture. 9 9 It contains 3 types of addressable registers: 10 * '''configuration registers''' support software based cachecoherence between L2 and L3 caches.11 * '''instrumentation registers''' define various hardware event counters 12 * '''error report registers''' contain s variousinformations on address errors reported by the L2 cache.10 * '''configuration registers''' support coherence between L2 and L3 caches. 11 * '''instrumentation registers''' define various hardware event counters. 12 * '''error report registers''' contain informations on address errors reported by the L2 cache. 13 13 14 14 The MMC component is a replicated peripheral, as it exist one MMC component per cluster. … … 21 21 The addressable registers map and command codes are defined [source:soft/giet_vm/giet_drivers/mmc_driver.h here]. 22 22 23 == Configuration registers access functions==23 == Configuration registers == 24 24 25 25 === void '''_mmc_inval'''( unsigned long long buf_paddr, unsigned int buf_length ) === … … 29 29 This function copies to external RAM all cache lines covering a memory buffer defined by the physical base address, and the length, if they are dirty. The buffer address MSB are used to compute the cluster index. 30 30 31 == Instrumentation registers access functions ==31 == Instrumentation registers == 32 32 33 33 === unsigned int '''_mmc_get_instrument'''( unsigned int x, unsigned int y, unsigned int reg ) === … … 37 37 * '''reg''' register index 38 38 39 == Error registers access functions==39 == Error registers == 40 40 41 41 === void '''_mmc_isr'''( unsigned int irq_type, unsigned int irq_id, unsigned int channel ) ===