diff options
| author | DC-Damien <damien.chen@dell.com> | 2026-06-05 11:29:15 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-07-21 06:50:20 +0300 |
| commit | 6a9c048ba54c7e27898b861410741f5b27bfb2d6 (patch) | |
| tree | 6be3be8b9e767ea273d774293e50db7278463e0a /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c | |
| parent | 0adb357ab7bfe7e5f4df94ea5076f4f5eeb725be (diff) | |
| download | edk2-6a9c048ba54c7e27898b861410741f5b27bfb2d6.tar.xz | |
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>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptSave.c')
0 files changed, 0 insertions, 0 deletions
