Fix an error in regression test
IsDbusCheckedRegion is used to check whether an memory operation should be checked with the ref Riscv Golden CPU. Only IO region should be checked.
This commit is contained in:
parent
aa58b5f830
commit
b21f0fb29e
|
@ -3287,7 +3287,7 @@ public:
|
||||||
stdinRestore();
|
stdinRestore();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
virtual bool isDBusCheckedRegion(uint32_t address){ return isPerifRegion();}
|
virtual bool isDBusCheckedRegion(uint32_t address){ return isPerifRegion();} // Should only check IO region
|
||||||
virtual bool isPerifRegion(uint32_t addr) { return (addr & 0xF0000000) == 0xF0000000 || (addr & 0xE0000000) == 0xE0000000;}
|
virtual bool isPerifRegion(uint32_t addr) { return (addr & 0xF0000000) == 0xF0000000 || (addr & 0xE0000000) == 0xE0000000;}
|
||||||
virtual bool isMmuRegion(uint32_t addr) { return true; }
|
virtual bool isMmuRegion(uint32_t addr) { return true; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue