mirror of https://github.com/acidanthera/audk.git
BZ #4456 Fixed a bug which led to an ASSERT due to the USB device context being maintained after a port reset, but the underlying XHCI context was uninitialized. Specifically, Xhc->UsbDevContext is freed after a reset and only re-allocates the default [0] enpoint transfer ring. In order to avoid a memory leak, device enumeration is performed after freeing the necessary buffers. This allocates the Xhc->UsbDevContext for all endpoints of the USB device. Signed-off-by: Britton Chesley <Brit.Chesley@amd.com> |
||
---|---|---|
.. | ||
ComponentName.c | ||
UsbBus.c | ||
UsbBus.h | ||
UsbBusDxe.inf | ||
UsbBusDxe.uni | ||
UsbBusDxeExtra.uni | ||
UsbDesc.c | ||
UsbDesc.h | ||
UsbEnumer.c | ||
UsbEnumer.h | ||
UsbHub.c | ||
UsbHub.h | ||
UsbUtility.c | ||
UsbUtility.h |