HalpDmaAllocateContiguousPagesFromContiguousPool

_HALP_DMA_TRANSLATION_ENTRY *__stdcall HalpDmaAllocateContiguousPagesFromContiguousPool(
        _ADAPTER_OBJECT *ChildAdapter,
        _HALP_DMA_ADAPTER_OBJECT *Adapter,
        UINT64 PageCount,
        INT64 NeedFullAllocation,
        INT64 ForLocalPool,
        UINT64 *PagesAllocated){
  _ADAPTER_OBJECT *v6; 
  UINT64 v7; 
  INT64 v8; 
  _HALP_DMA_ADAPTER_OBJECT *v9; 
  INT64 v11; 

  LOBYTE(v11) = ForLocalPool;
  if( HalpDmaGetAdapterVersion(ChildAdapter) == 2 )
    return HalpDmaAllocateContiguousPagesFromContiguousPoolV2(v6, v9, v7, v8, v11, PagesAllocated);
  else
    return HalpDmaAllocateContiguousPagesFromContiguousPoolV3(v6, v9, v7, v8, v11, PagesAllocated);
}

Referenced by:

HalpDmaAllocateLocalContiguousPool
HalpDmaAllocateMapRegisters