edk2/MdeModulePkg/Bus
DC-Damien 6a9c048ba5 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 <damien.chen@dell.com>
2026-07-21 03:50:20 +00:00
..
Ata MdeModulePkg: Cleanup debug print readability 2026-05-06 10:43:05 +00:00
I2c/I2cDxe MdeModulePkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
Isa MdeModulePkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
Pci MdeModulePkg/PciBusDxe: Honor SpecificFlag for PMem64 in UpdatePciInfo 2026-07-17 09:03:00 +00:00
Scsi MdeModulePkg,MdePkg: Send I/O without FUA if necessary 2026-05-06 08:04:12 +00:00
Sd MdeModulePkg: SdBlockIoPei: Fix uninitialized variable warnings 2026-06-24 14:49:50 +00:00
Spi MdeModulePkg: SpiNorFlashJedecSfdp: Fix uninitialized variable warnings 2026-06-24 14:49:50 +00:00
Ufs MdeModulePkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
Usb MdeModulePkg/UsbBusPei: Use dynamic buffer for USB configuration data 2026-07-21 03:50:20 +00:00