mirror of
https://github.com/reactos/reactos.git
synced 2024-11-17 12:27:17 +00:00
[PORTCLS]
- Remove the oldest hack in portcls - Please report any regression(s) svn path=/trunk/; revision=50850
This commit is contained in:
parent
397fb380b3
commit
80cc7f2ee8
2 changed files with 5 additions and 11 deletions
|
@ -196,18 +196,14 @@ CDmaChannelInit::MaximumBufferSize()
|
||||||
|
|
||||||
PHYSICAL_ADDRESS
|
PHYSICAL_ADDRESS
|
||||||
NTAPI
|
NTAPI
|
||||||
CDmaChannelInit::PhysicalAddress(
|
CDmaChannelInit::PhysicalAddress()
|
||||||
PPHYSICAL_ADDRESS Address)
|
|
||||||
{
|
{
|
||||||
DPRINT("CDmaChannelInit_PhysicalAdress: this %p Virtuell %p Physical High %x Low %x%\n", this, m_Buffer, m_Address.HighPart, m_Address.LowPart);
|
DPRINT("CDmaChannelInit_PhysicalAdress: this %p Virtuell %p Physical High %x Low %x%\n", this, m_Buffer, m_Address.HighPart, m_Address.LowPart);
|
||||||
|
|
||||||
PHYSICAL_ADDRESS Result;
|
return m_Address;
|
||||||
|
|
||||||
Address->QuadPart = m_Address.QuadPart;
|
|
||||||
Result.QuadPart = (PtrToUlong(Address));
|
|
||||||
return Result;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
NTAPI
|
NTAPI
|
||||||
CDmaChannelInit::SetBufferSize(
|
CDmaChannelInit::SetBufferSize(
|
||||||
|
|
|
@ -903,8 +903,7 @@ typedef IPortPinDMus *PPORTPINDMUS;
|
||||||
IN ULONG BufferSize); \
|
IN ULONG BufferSize); \
|
||||||
\
|
\
|
||||||
STDMETHODIMP_(PVOID) SystemAddress(void); \
|
STDMETHODIMP_(PVOID) SystemAddress(void); \
|
||||||
STDMETHODIMP_(PHYSICAL_ADDRESS) PhysicalAddress( \
|
STDMETHODIMP_(PHYSICAL_ADDRESS) PhysicalAddress(); \
|
||||||
IN PPHYSICAL_ADDRESS PhysicalAddressConstraint OPTIONAL); \
|
|
||||||
STDMETHODIMP_(PADAPTER_OBJECT) GetAdapterObject(void); \
|
STDMETHODIMP_(PADAPTER_OBJECT) GetAdapterObject(void); \
|
||||||
\
|
\
|
||||||
STDMETHODIMP_(void) CopyTo( \
|
STDMETHODIMP_(void) CopyTo( \
|
||||||
|
@ -950,8 +949,7 @@ typedef IPortPinDMus *PPORTPINDMUS;
|
||||||
IN ULONG BufferSize) PURE; \
|
IN ULONG BufferSize) PURE; \
|
||||||
\
|
\
|
||||||
STDMETHOD_(PVOID, SystemAddress)( THIS ) PURE; \
|
STDMETHOD_(PVOID, SystemAddress)( THIS ) PURE; \
|
||||||
STDMETHOD_(PHYSICAL_ADDRESS, PhysicalAddress)( THIS_ \
|
STDMETHOD_(PHYSICAL_ADDRESS, PhysicalAddress)( THIS) PURE; \
|
||||||
IN PPHYSICAL_ADDRESS Address) PURE; \
|
|
||||||
STDMETHOD_(PADAPTER_OBJECT, GetAdapterObject)( THIS ) PURE; \
|
STDMETHOD_(PADAPTER_OBJECT, GetAdapterObject)( THIS ) PURE; \
|
||||||
\
|
\
|
||||||
STDMETHOD_(void, CopyTo)( THIS_ \
|
STDMETHOD_(void, CopyTo)( THIS_ \
|
||||||
|
|
Loading…
Reference in a new issue