Author: janderwald
Date: Sun Feb 20 23:01:14 2011
New Revision: 50850
URL:
http://svn.reactos.org/svn/reactos?rev=50850&view=rev
Log:
[PORTCLS]
- Remove the oldest hack in portcls
- Please report any regression(s)
Modified:
trunk/reactos/drivers/wdm/audio/backpln/portcls/dma_slave.cpp
trunk/reactos/drivers/wdm/audio/backpln/portcls/interfaces.hpp
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/dma_slave.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/dma_slave.cpp [iso-8859-1] (original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/dma_slave.cpp [iso-8859-1] Sun Feb 20
23:01:14 2011
@@ -196,17 +196,13 @@
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
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/interfaces.hpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/interfaces.hpp [iso-8859-1]
(original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/interfaces.hpp [iso-8859-1] Sun Feb 20
23:01:14 2011
@@ -903,8 +903,7 @@
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 @@
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_ \