Changeset 657 for trunk/hal/tsar_mips32/drivers/soclib_mmc.h
- Timestamp:
- Mar 18, 2020, 11:16:59 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/drivers/soclib_mmc.h
r626 r657 2 2 * soclib_mmc.h - TSAR L2 cache driver definition. 3 3 * 4 * Author Alain Greiner (2016,2017,2018,2019) 4 * Author Alain Greiner (2016,2017,2018,2019),2020) 5 5 * 6 6 * Copyright (c) UPMC Sorbonne Universites … … 49 49 }; 50 50 51 enum SoclibMemCacheConfigCmd 52 { 53 SOCLIB_MMC_CC_NOP = 0, 54 SOCLIB_MMC_CC_INVAL = 1, 55 SOCLIB_MMC_CC_SYNC = 2, 56 }; 57 58 // CONFIG Registers indexes 51 59 enum SoclibMemCacheCCRegs 52 60 { … … 57 65 }; 58 66 59 enum SoclibMemCacheConfigCmd 60 { 61 SOCLIB_MMC_CC_NOP = 0, 62 SOCLIB_MMC_CC_INVAL = 1, 63 SOCLIB_MMC_CC_SYNC = 2, 64 }; 65 67 // INSTRU Registers indexes 66 68 enum SoclibMemCacheInstrRegs 67 69 { … … 143 145 }; 144 146 147 // ERROR registers indexes 145 148 enum SoclibMemCacheRerrorRegs 146 149 { … … 157 160 158 161 /******************************************************************************************** 159 * This function initializes the SOCLIB_MMC peripheral hardware registers related160 * to error signaling.It enables the MMC peripheral IRQ.162 * This function initializes the SOCLIB_MMC peripheral hardware registers. 163 * It enables the MMC peripheral IRQ. 161 164 ******************************************************************************************** 162 165 * @ chdev : local pointer on the MMC chdev descriptor. … … 175 178 /******************************************************************************************** 176 179 * This Interrupt Service Routine is executed when the MMC IRQ signals a faulty address. 177 * The ISR should access the vci_mem_cache componentto get the faulty physical address180 * The ISR should access the relevant MMC register to get the faulty physical address 178 181 * and the associated SRCID, and acknowledges the IRQ. 179 182 ********************************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.