File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -223,15 +223,6 @@ void processor_t::step(size_t n)
223223 }
224224 }
225225
226- if (extension_enabled (EXT_ZICCID)) {
227- // Ziccid requires stores eventually become visible to instruction fetch,
228- // so periodically flush the I$
229- if (ziccid_flush_count-- == 0 ) {
230- ziccid_flush_count += ZICCID_FLUSH_PERIOD;
231- _mmu->flush_icache ();
232- }
233- }
234-
235226 while (n > 0 ) {
236227 size_t instret = 0 ;
237228 reg_t pc = state.pc ;
Original file line number Diff line number Diff line change @@ -414,9 +414,6 @@ class processor_t : public abstract_device_t
414414 static const size_t OPCODE_CACHE_SIZE = 4095 ;
415415 opcode_cache_entry_t opcode_cache[OPCODE_CACHE_SIZE];
416416
417- unsigned ziccid_flush_count = 0 ;
418- static const unsigned ZICCID_FLUSH_PERIOD = 10 ;
419-
420417 void take_pending_interrupt () { take_interrupt (state.mip ->read () & state.mie ->read ()); }
421418 void take_interrupt (reg_t mask); // take first enabled interrupt in mask
422419 void take_trap (trap_t & t, reg_t epc); // take an exception
You can’t perform that action at this time.
0 commit comments