MCPcopy Create free account
hub / github.com/FEX-Emu/FEX / BTCpu64FlushInstructionCache

Function BTCpu64FlushInstructionCache

Source/Windows/ARM64EC/Module.cpp:926–933  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

924}
925
926void BTCpu64FlushInstructionCache(const void* Address, SIZE_T Size) {
927 if (!InvalidationTracker || !GetCPUArea().ThreadState()) {
928 return;
929 }
930
931 std::scoped_lock Lock(ThreadCreationMutex);
932 InvalidationTracker->InvalidateAlignedInterval(reinterpret_cast<uint64_t>(Address), static_cast<uint64_t>(Size), false);
933}
934
935void BTCpu64NotifyMemoryDirty(void* Address, SIZE_T Size) {
936 if (!InvalidationTracker || !GetCPUArea().ThreadState()) {

Callers

nothing calls this directly

Calls 2

GetCPUAreaFunction · 0.85

Tested by

no test coverage detected