HalpAllocateEarlyPages

PVOID __stdcall HalpAllocateEarlyPages(_LOADER_PARAMETER_BLOCK *LoaderBlock, UINT64 *PhysicalAddress){
  UINT64 *v2; 
  UINT64 *v3; 
  MEMORY_CACHING_TYPE v4; 
  UINT64 v5; 
  UINT64 v6; 
  PVOID result; 
  v3 = v2;
  v4 = (int)PhysicalAddress;
  v5 = HalpAllocPhysicalMemory(LoaderBlock, 0i64);
  v6 = v5;
  if( !v5 )
    return 0i64;
  result = (PVOID)HalpMap((LARGE_INTEGER)v5, v4, 1u);
  if( !result )
    return 0i64;
  *v3 = v6;
  return result;
}

Referenced by:

No references.