Author: akhaldi
Date: Sun Jan 29 20:30:58 2017
New Revision: 73627

URL: http://svn.reactos.org/svn/reactos?rev=73627&view=rev
Log:
[0.4.4] Add a hack by Thomas to avoid MmGetPhysicalAddress failures during USB 
transfers. CORE-9224

Modified:
    branches/ros-branch-0_4_4/reactos/drivers/usb/usbehci/usb_request.cpp
    branches/ros-branch-0_4_4/reactos/drivers/usb/usbohci/usb_request.cpp

Modified: branches/ros-branch-0_4_4/reactos/drivers/usb/usbehci/usb_request.cpp
URL: 
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_4_4/reactos/drivers/usb/usbehci/usb_request.cpp?rev=73627&r1=73626&r2=73627&view=diff
==============================================================================
--- branches/ros-branch-0_4_4/reactos/drivers/usb/usbehci/usb_request.cpp       
[iso-8859-1] (original)
+++ branches/ros-branch-0_4_4/reactos/drivers/usb/usbehci/usb_request.cpp       
[iso-8859-1] Sun Jan 29 20:30:58 2017
@@ -601,6 +601,7 @@
         //
         // get address
         //
+        *(volatile char *)TransferBuffer; // HACK for CORE-9224
         Address = MmGetPhysicalAddress(TransferBuffer);
 
         //

Modified: branches/ros-branch-0_4_4/reactos/drivers/usb/usbohci/usb_request.cpp
URL: 
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_4_4/reactos/drivers/usb/usbohci/usb_request.cpp?rev=73627&r1=73626&r2=73627&view=diff
==============================================================================
--- branches/ros-branch-0_4_4/reactos/drivers/usb/usbohci/usb_request.cpp       
[iso-8859-1] (original)
+++ branches/ros-branch-0_4_4/reactos/drivers/usb/usbohci/usb_request.cpp       
[iso-8859-1] Sun Jan 29 20:30:58 2017
@@ -771,6 +771,7 @@
         //
         // get physical page
         //
+        *(volatile char *)Buffer; // HACK for CORE-9224
         Page = MmGetPhysicalAddress(Buffer).LowPart;
 
         //


Reply via email to