mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-22 16:30:57 +01:00
k_page_table: fix shutdown
This commit is contained in:
parent
b16fefa106
commit
875246f5b2
1 changed files with 0 additions and 7 deletions
|
@ -68,10 +68,6 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
void InvalidateEntireInstructionCache(Core::System& system) {
|
||||
system.InvalidateCpuInstructionCaches();
|
||||
}
|
||||
|
||||
template <typename AddressType>
|
||||
void InvalidateInstructionCache(Core::System& system, AddressType addr, u64 size) {
|
||||
system.InvalidateCpuInstructionCacheRange(GetInteger(addr), size);
|
||||
|
@ -435,9 +431,6 @@ void KPageTableBase::Finalize() {
|
|||
m_mapped_ipc_server_memory);
|
||||
}
|
||||
|
||||
// Invalidate the entire instruction cache.
|
||||
InvalidateEntireInstructionCache(m_system);
|
||||
|
||||
// Close the backing page table, as the destructor is not called for guest objects.
|
||||
m_impl.reset();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue