MCPcopy Create free account
hub / github.com/NoMercy-ac/NoMercy / MapPhysicalMemory

Function MapPhysicalMemory

Source/Client/NM_Sys/API/MemoryUtils.cpp:328–331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326
327 _IRQL_requires_max_(DISPATCH_LEVEL)
328 PVOID MapPhysicalMemory(PVOID64 PhysicalAddress, SIZE_T Size)
329 {
330 return MmMapIoSpace(*reinterpret_cast<PHYSICAL_ADDRESS*>(&PhysicalAddress), Size, MmNonCached);
331 }
332
333 _IRQL_requires_max_(DISPATCH_LEVEL)
334 VOID UnmapPhysicalMemory(PVOID64 MappedPhysicalMemory, SIZE_T Size)

Callers 3

ReadPhysicalMemoryFunction · 0.85
WritePhysicalMemoryFunction · 0.85
KbMapPhysicalMemoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected