mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-11 19:12:56 +00:00
spin_lock: Invalidate runtime generated code
Not doing this can result in cache related heisenbugs.
This commit is contained in:
@@ -68,6 +68,7 @@ void SpinLockImpl::Initialize() {
|
||||
code.RET();
|
||||
|
||||
mem.protect();
|
||||
mem.invalidate_all();
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user