HalpDmaAllocateContiguousPagesFromContiguousPool

__int64 __fastcall HalpDmaAllocateContiguousPagesFromContiguousPool(
        __int64 a1,
        __int64 a2,
        __int64 a3,
        __int64 a4,
        char a5,
        ULONG *a6){
  __int64 v6; 
  ULONG v7; 
  char v8; 
  __int64 v9; 
  if( (unsigned int)HalpDmaGetAdapterVersion(a1) == 2 )
    return HalpDmaAllocateContiguousPagesFromContiguousPoolV2(v6, v9, v7, v8, a5, a6);
  else
    return HalpDmaAllocateContiguousPagesFromContiguousPoolV3(v6, v9, v7, v8, a5, a6);
}

Referenced by:

HalpDmaAllocateLocalContiguousPool
HalpDmaAllocateMapRegisters