MmMapIoSpace

VOID *__stdcall MmMapIoSpace(_LARGE_INTEGER PhysicalAddress, UINT64 NumberOfBytes, _MEMORY_CACHING_TYPE CacheType){
  int v3; 
  UINT64 v4; 

  v3 = (unsigned __int8)CacheType;
  if( (unsigned __int8)CacheType >= (unsigned int)MmMaximumCacheType )
    return 0i64;
  v4 = 64i64;
  if( v3 != 1 )
  {
    v4 = 576i64;
    if( v3 == 2 )
      v4 = 1028i64;
  }
  return MmMapIoSpaceEx(PhysicalAddress, NumberOfBytes, v4);
}

Referenced by:

No references.