[PORTCLS]

- Remove the oldest hack in portcls
- Please report any regression(s)

svn path=/trunk/; revision=50850
This commit is contained in:
Johannes Anderwald 2011-02-20 23:01:14 +00:00
parent 397fb380b3
commit 80cc7f2ee8
2 changed files with 5 additions and 11 deletions

View file

@ -196,18 +196,14 @@ CDmaChannelInit::MaximumBufferSize()
PHYSICAL_ADDRESS
NTAPI
CDmaChannelInit::PhysicalAddress(
PPHYSICAL_ADDRESS Address)
CDmaChannelInit::PhysicalAddress()
{
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;
Address->QuadPart = m_Address.QuadPart;
Result.QuadPart = (PtrToUlong(Address));
return Result;
return m_Address;
}
VOID
NTAPI
CDmaChannelInit::SetBufferSize(

View file

@ -903,8 +903,7 @@ typedef IPortPinDMus *PPORTPINDMUS;
IN ULONG BufferSize); \
\
STDMETHODIMP_(PVOID) SystemAddress(void); \
STDMETHODIMP_(PHYSICAL_ADDRESS) PhysicalAddress( \
IN PPHYSICAL_ADDRESS PhysicalAddressConstraint OPTIONAL); \
STDMETHODIMP_(PHYSICAL_ADDRESS) PhysicalAddress(); \
STDMETHODIMP_(PADAPTER_OBJECT) GetAdapterObject(void); \
\
STDMETHODIMP_(void) CopyTo( \
@ -950,8 +949,7 @@ typedef IPortPinDMus *PPORTPINDMUS;
IN ULONG BufferSize) PURE; \
\
STDMETHOD_(PVOID, SystemAddress)( THIS ) PURE; \
STDMETHOD_(PHYSICAL_ADDRESS, PhysicalAddress)( THIS_ \
IN PPHYSICAL_ADDRESS Address) PURE; \
STDMETHOD_(PHYSICAL_ADDRESS, PhysicalAddress)( THIS) PURE; \
STDMETHOD_(PADAPTER_OBJECT, GetAdapterObject)( THIS ) PURE; \
\
STDMETHOD_(void, CopyTo)( THIS_ \