edk2/MdeModulePkg
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
..
Application MdeModulePkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
Bus MdeModulePkg/UsbBusPei: Use dynamic buffer for USB configuration data 2026-07-21 03:50:20 +00:00
Core MdeModulePkg: Dxe Core: Correct gMemoryTypeInformation Definition 2026-07-09 12:46:51 +00:00
Include MdeModulePkg/GptLib: Extract shareable GPT parser into a library 2026-07-20 21:50:57 +00:00
Library MdeModulePkg/GptLib: Add host-based unit tests for malformed GPT input 2026-07-20 21:50:57 +00:00
Logo MdeModulePkg: Remove ARM32 Support 2025-09-25 22:04:10 +00:00
Test MdeModulePkg/GptLib: Add host-based unit tests for valid GPT behavior 2026-07-20 21:50:57 +00:00
Universal MdeModulePkg/PartitionDxe: Abort on primary GPT recovery failure 2026-07-20 21:50:57 +00:00
MdeModulePkg.ci.yaml MdeModulePkg/GptLib: Add host-based unit tests for valid GPT behavior 2026-07-20 21:50:57 +00:00
MdeModulePkg.dec MdeModulePkg: Bump the default SMBIOS version to 3.8 2026-07-21 00:02:39 +00:00
MdeModulePkg.dsc MdeModulePkg/GptLib: Extract shareable GPT parser into a library 2026-07-20 21:50:57 +00:00
MdeModulePkg.uni MdeModulePkg: Add platform limit for size in Resizable BAR 2026-02-25 03:40:14 +00:00
MdeModulePkgExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00