HalReadDmaCounter
ULONG __stdcall HalReadDmaCounter(PDMA_ADAPTER DmaAdapter){
int(__fastcall **p_BuildMdlFromScatterGatherList)(_DMA_ADAPTER *, _SCATTER_GATHER_LIST *, _MDL *, _MDL **);
ULONG v3;
struct _KLOCK_QUEUE_HANDLE LockHandle;
p_BuildMdlFromScatterGatherList = &DmaAdapter[9].DmaOperations->BuildMdlFromScatterGatherList;
memset(&LockHandle, 0, sizeof(LockHandle));
KeAcquireInStackQueuedSpinLock((UINT64 *)p_BuildMdlFromScatterGatherList, &LockHandle);
v3 = (*(__int64(__fastcall **)(_DMA_OPERATIONS *))(DmaDispatch + 56))(DmaAdapter[26].DmaOperations);
KeReleaseInStackQueuedSpinLockFromDpcLevel(&LockHandle);
__writecr8(LockHandle.OldIrql);
return v3;
}Referenced by:
No references.