mirror of
https://github.com/reactos/reactos.git
synced 2024-10-22 13:56:16 +00:00
76310d7679
- Modify BuildBulkTransferQueueHead to support TransferBufferLengths larger than PAGE_SIZE * 5. - Acquire a SpinLock before adding QueueHeads to AsyncList and PendingList. - Dont request a new QueueHead for incomplete transfers in QueueHeadCompletion, as the memory for the just completed QueueHead has not been released yet. Doing so overwrites the m_TransferDescriptor[x] members with new address resulting in memory leaks. Instead request a new QueueHead after the QueueHead has been freed in QueueHeadCleanup. - Fix a bug where a QueueHead was removed from the m_CompletedRequestAsyncList instead of the m_PendingRequestAsyncList. - Temporary hackfix InternalCalculateTransferLength to return the TransferBufferLength. This hack will be removed as soon as possible. - With these changes the hub and ehci driver allow viewing content of and transfers to/from usb disks. svn path=/branches/usb-bringup/; revision=51684 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
hardware.cpp | ||
hardware.h | ||
hcd_controller.cpp | ||
hub_controller.cpp | ||
interfaces.h | ||
memory_manager.cpp | ||
misc.cpp | ||
purecall.cpp | ||
usb_device.cpp | ||
usb_queue.cpp | ||
usb_request.cpp | ||
usbehci.cpp | ||
usbehci.h | ||
usbehci.rc |