ARM_Interface: Allow for partial invalidation of instruction cache
This commit is contained in:
parent
cdde8ddb04
commit
647e553f64
5 changed files with 18 additions and 0 deletions
|
@ -34,6 +34,10 @@ void ARM_DynCom::ClearInstructionCache() {
|
|||
trans_cache_buf_top = 0;
|
||||
}
|
||||
|
||||
void ARM_DynCom::InvalidateCacheRange(u32, size_t) {
|
||||
ClearInstructionCache();
|
||||
}
|
||||
|
||||
void ARM_DynCom::PageTableChanged() {
|
||||
ClearInstructionCache();
|
||||
}
|
||||
|
|
|
@ -19,6 +19,7 @@ public:
|
|||
void Step() override;
|
||||
|
||||
void ClearInstructionCache() override;
|
||||
void InvalidateCacheRange(u32 start_address, size_t length) override;
|
||||
void PageTableChanged() override;
|
||||
|
||||
void SetPC(u32 pc) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue