audk/MdeModulePkg/Bus/Usb/UsbBusDxe
Britton Chesley ed07a2bb11 MdeModulePkg/UsbBusDxe: USB issue fix when the port reset
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>
2024-07-03 12:23:26 +00:00
..
ComponentName.c MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UsbBus.c MdeModulePkg/UsbBusDxe: USB issue fix when the port reset 2024-07-03 12:23:26 +00:00
UsbBus.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UsbBusDxe.inf MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
UsbBusDxe.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
UsbBusDxeExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
UsbDesc.c MdeModulePkg: Improve formatting of DEBUG messages in UsbBusDxe 2023-03-07 07:09:20 +00:00
UsbDesc.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UsbEnumer.c MdeModulePkg: Improve formatting of DEBUG messages in UsbBusDxe 2023-03-07 07:09:20 +00:00
UsbEnumer.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UsbHub.c MdeModulePkg: Improve formatting of DEBUG messages in UsbBusDxe 2023-03-07 07:09:20 +00:00
UsbHub.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UsbUtility.c MdeModulePkg/UsbBusDxe: fix NOOPT build error 2021-12-23 01:27:49 +00:00
UsbUtility.h MdeModulePkg/UsbBusDxe: fix NOOPT build error 2021-12-23 01:27:49 +00:00