mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 21:00:17 +02:00
Wow64: Ensure extended volatile metadata is removed
Was missing this, matches the arm64ec side.
This commit is contained in:
1 file changed
+5
-1
@@ -1003,7 +1003,11 @@ NTSTATUS BTCpuNotifyMapViewOfSection(void* Unk1, void* Address, void* Unk2, SIZE
|
||||
void BTCpuNotifyUnmapViewOfSection(void* Address, BOOL After, ULONG Status) {
|
||||
if (!After) {
|
||||
ThreadCreationMutex.lock();
|
||||
InvalidationTracker->InvalidateContainingSection(reinterpret_cast<uint64_t>(Address), true);
|
||||
auto [Start, Size] = InvalidationTracker->InvalidateContainingSection(reinterpret_cast<uint64_t>(Address), true);
|
||||
if (Size) {
|
||||
std::scoped_lock Lock(CTX->GetCodeInvalidationMutex());
|
||||
CTX->RemoveForceTSOInformation(Start, Size);
|
||||
}
|
||||
} else {
|
||||
ThreadCreationMutex.unlock();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user