Changeset 809 for trunk/modules/vci_cc_vcache_wrapper/caba
- Timestamp:
- Sep 18, 2014, 4:33:30 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/vci_cc_vcache_wrapper/caba/source/src/vci_cc_vcache_wrapper.cpp
r789 r809 1205 1205 if (not tlb_flags.u && (m_ireq.mode == iss_t::MODE_USER)) 1206 1206 { 1207 r_mmu_ietr = MMU_READ_PRIVILEGE_VIOLATION; 1208 r_mmu_ibvar = m_ireq.addr; 1209 m_irsp.valid = true; 1210 m_irsp.error = true; 1211 m_irsp.instruction = 0; 1207 1208 #if DEBUG_ICACHE 1209 if ( m_debug_icache_fsm ) 1210 std::cout << " <PROC " << name() << " ICACHE_IDLE> MMU Privilege Violation" 1211 << " : PADDR = " << std::hex << paddr << std::endl; 1212 #endif 1213 r_mmu_ietr = MMU_READ_PRIVILEGE_VIOLATION; 1214 r_mmu_ibvar = m_ireq.addr; 1215 m_irsp.valid = true; 1216 m_irsp.error = true; 1217 m_irsp.instruction = 0; 1212 1218 break; 1213 1219 } 1214 1220 else if (not tlb_flags.x) 1215 1221 { 1216 r_mmu_ietr = MMU_READ_EXEC_VIOLATION; 1217 r_mmu_ibvar = m_ireq.addr; 1218 m_irsp.valid = true; 1219 m_irsp.error = true; 1220 m_irsp.instruction = 0; 1222 1223 #if DEBUG_ICACHE 1224 if ( m_debug_icache_fsm ) 1225 std::cout << " <PROC " << name() << " ICACHE_IDLE> MMU Executable Violation" 1226 << " : PADDR = " << std::hex << paddr << std::endl; 1227 #endif 1228 r_mmu_ietr = MMU_READ_EXEC_VIOLATION; 1229 r_mmu_ibvar = m_ireq.addr; 1230 m_irsp.valid = true; 1231 m_irsp.error = true; 1232 m_irsp.instruction = 0; 1221 1233 break; 1222 1234 }
Note: See TracChangeset
for help on using the changeset viewer.