mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 15:36:04 +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);
|
||||
RtlCopyMemory(Destination, Source, ByteCount);
|
||||
}
|
||||
|
||||
|
||||
VOID
|
||||
NTAPI
|
||||
CDmaChannelInit::FreeBuffer()
|
||||
|
@ -217,7 +217,7 @@ CDmaChannelInit::PhysicalAddress(
|
|||
PHYSICAL_ADDRESS Result;
|
||||
|
||||
Address->QuadPart = m_Address.QuadPart;
|
||||
Result.QuadPart = (PtrToUlong(Address));
|
||||
Result.QuadPart = (ULONG_PTR)Address;
|
||||
return Result;
|
||||
}
|
||||
|
||||
|
@ -365,7 +365,7 @@ CDmaChannelInit::Stop()
|
|||
if (!m_DmaStarted)
|
||||
return STATUS_SUCCESS;
|
||||
|
||||
m_pAdapter->DmaOperations->FlushAdapterBuffers(m_pAdapter,
|
||||
m_pAdapter->DmaOperations->FlushAdapterBuffers(m_pAdapter,
|
||||
m_Mdl,
|
||||
m_MapRegisterBase,
|
||||
(PVOID)((ULONG_PTR)m_Mdl->StartVa + m_Mdl->ByteOffset),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue