HalMapIoSpace

UINT64 __stdcall HalMapIoSpace(
        _LARGE_INTEGER PhysicalAddress,
        UINT64 NumberOfBytes,
        _MEMORY_CACHING_TYPE CacheType,
        UINT8 a4){
  UINT64 Protection; 

  if( (unsigned int)CacheType > MmCached )
    return 0i64;
  LODWORD(Protection) = 4;
  return HalpMap(
           PhysicalAddress,
           (_MEMORY_CACHING_TYPE)((NumberOfBytes + 4095) >> 12),
           (_MEMORY_CACHING_TYPE)(CacheType == MmCached),
           0,
           Protection);
}

Referenced by:

ExtEnvAllocatePhysicalMemory
HalpAcpiSetupPmRegister
HalpApicInitializeIoUnit
HalpApicInitializeLocalUnit
HalpHpetDiscover
HalpHpetInitialize
HalpHvTimerInitialize
HalpIommuAllocateAndZeroPageTable
HalpIvtProcessDrhdEntry
HalpPmTimerInitialize
HalpSfiTimerInitialize
HsaInitializeInterruptRemapping
HsaInitializeIommu
IvtInitializeIdentityMappings
IvtInitializeIommu
WdHwCreateHardwareRegister