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> |
||
---|---|---|
.. | ||
UsbBotPei | ||
UsbBusDxe | ||
UsbBusPei | ||
UsbKbDxe | ||
UsbMassStorageDxe | ||
UsbMouseAbsolutePointerDxe | ||
UsbMouseDxe | ||
UsbNetwork |