MmAllocateContiguousMemory

VOID *__stdcall MmAllocateContiguousMemory(UINT64 NumberOfBytes, _LARGE_INTEGER HighestAcceptableAddress){
  unsigned __int64 v2; 
  UINT64 ProtectionMask; 
  UINT64 PreferredNode; 
  UINT64 v6; 

  v2 = (unsigned __int64)HighestAcceptableAddress.QuadPart >> 12;
  LODWORD(PreferredNode) = 0x80000000;
  LODWORD(ProtectionMask) = 6;
  if( v2 > 0xFFFFFFFFFi64 )
    v2 = 0xFFFFFFFFFi64;
  return MiAllocateContiguousMemory(NumberOfBytes, 0i64, v2, 0i64, ProtectionMask, PreferredNode, v6);
}

Referenced by:

No references.