mirror of https://github.com/acidanthera/audk.git
The issue with locating the expected interface and endpoint descriptors arises because `configDesc` (USB_CONFIG_DESCRIPTOR) and `IfDesc` (USB_INTERFACE_DESCRIPTOR) are incremented by structure size rather than by actual descriptor length. Specifically: - `configDesc` should be incremented by its actual length. - `IfDesc` should be incremented by its actual length. This incorrect increment causes misalignment, preventing access to the subsequent interface and endpoint descriptors. [Suggested Solution] Update the code to increment the pointers by the actual descriptor lengths, ensuring proper access to all descriptors in the USB configuration. Signed-off-by: Aniket Surekar <Aniket.Surekar@Dell.com> |
||
---|---|---|
.. | ||
DmaMem.c | ||
UsbHcMem.c | ||
UsbHcMem.h | ||
XhcPeim.c | ||
XhcPeim.h | ||
XhciPei.inf | ||
XhciPei.uni | ||
XhciPeiExtra.uni | ||
XhciReg.h | ||
XhciSched.c | ||
XhciSched.h |