mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 06:02:56 +00:00
{PORTCLS]
forgot this one svn path=/trunk/; revision=56329
This commit is contained in:
parent
21f3574c5d
commit
9630a8bd29
1 changed files with 3 additions and 3 deletions
|
@ -151,7 +151,7 @@ CDmaChannelInit::CopyTo(
|
||||||
DPRINT("CDmaChannelInit_CopyTo: this %p Destination %p Source %p ByteCount %u\n", this, Destination, Source, ByteCount);
|
DPRINT("CDmaChannelInit_CopyTo: this %p Destination %p Source %p ByteCount %u\n", this, Destination, Source, ByteCount);
|
||||||
RtlCopyMemory(Destination, Source, ByteCount);
|
RtlCopyMemory(Destination, Source, ByteCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
NTAPI
|
NTAPI
|
||||||
CDmaChannelInit::FreeBuffer()
|
CDmaChannelInit::FreeBuffer()
|
||||||
|
@ -217,7 +217,7 @@ CDmaChannelInit::PhysicalAddress(
|
||||||
PHYSICAL_ADDRESS Result;
|
PHYSICAL_ADDRESS Result;
|
||||||
|
|
||||||
Address->QuadPart = m_Address.QuadPart;
|
Address->QuadPart = m_Address.QuadPart;
|
||||||
Result.QuadPart = (PtrToUlong(Address));
|
Result.QuadPart = (ULONG_PTR)Address;
|
||||||
return Result;
|
return Result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -365,7 +365,7 @@ CDmaChannelInit::Stop()
|
||||||
if (!m_DmaStarted)
|
if (!m_DmaStarted)
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
|
|
||||||
m_pAdapter->DmaOperations->FlushAdapterBuffers(m_pAdapter,
|
m_pAdapter->DmaOperations->FlushAdapterBuffers(m_pAdapter,
|
||||||
m_Mdl,
|
m_Mdl,
|
||||||
m_MapRegisterBase,
|
m_MapRegisterBase,
|
||||||
(PVOID)((ULONG_PTR)m_Mdl->StartVa + m_Mdl->ByteOffset),
|
(PVOID)((ULONG_PTR)m_Mdl->StartVa + m_Mdl->ByteOffset),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue