Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 6a9c048ba54c7e27898b861410741f5b27bfb2d6
https://github.com/tianocore/edk2/commit/6a9c048ba54c7e27898b861410741f5b27bfb2d6
Author: DC-Damien <[email protected]>
Date: 2026-07-21 (Tue, 21 Jul 2026)
Changed paths:
M MdeModulePkg/Bus/Usb/UsbBusPei/UsbPeim.c
M MdeModulePkg/Bus/Usb/UsbBusPei/UsbPeim.h
Log Message:
-----------
MdeModulePkg/UsbBusPei: Use dynamic buffer for USB configuration data
USB devices whose configuration descriptor TotalLength exceeds 1024
bytes (e.g. IR cameras with large descriptor tables) previously hit
an EFI_DEVICE_ERROR hard-limit and failed to enumerate in PEI.
Replace the fixed array with a UINT8 * pointer and dynamically
allocate the exact amount of memory required via
PeiServicesAllocatePool() after the TotalLength is learned from the
initial 4-byte descriptor probe.
Signed-off-by: Damien Chen <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits