| 80 | } |
| 81 | |
| 82 | void LookupCache::ClearCache() { |
| 83 | auto lk = Shared->AcquireLock(); |
| 84 | |
| 85 | // Clear L1 and L2 by clearing the full cache. |
| 86 | FEXCore::Allocator::VirtualDontNeed(reinterpret_cast<void*>(PagePointer), TotalCacheSize, false); |
| 87 | |
| 88 | Shared->ClearCache(lk); |
| 89 | } |
| 90 | |
| 91 | void GuestToHostMap::ClearCache(const LockToken&) { |
| 92 | // Allocate a new pointer from the BlockLinks pma again. |
nothing calls this directly
no test coverage detected