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

Function NotifyMapViewOfSection

Source/Windows/ARM64EC/Module.cpp:886–898  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

884}
885
886NTSTATUS NotifyMapViewOfSection(void* Unk1, void* Address, void* Unk2, SIZE_T Size, ULONG AllocType, ULONG Prot) {
887 if (!InvalidationTracker || !GetCPUArea().ThreadState()) {
888 return STATUS_SUCCESS;
889 }
890
891 {
892 std::scoped_lock Lock(ThreadCreationMutex);
893 HandleImageMap(reinterpret_cast<uint64_t>(Address));
894 }
895
896
897 return STATUS_SUCCESS;
898}
899
900void NotifyUnmapViewOfSection(void* Address, BOOL After, NTSTATUS Status) {
901 if (!InvalidationTracker || !GetCPUArea().ThreadState()) {

Callers

nothing calls this directly

Calls 2

GetCPUAreaFunction · 0.85
HandleImageMapFunction · 0.70

Tested by

no test coverage detected