Repository navigation
Revert "Stop USB enumeration in case a malformed descriptor is found (#410)" - #494
Merged
Michael Kubacki (makubacki) merged 1 commit intoJul 18, 2023
Conversation
…icrosoft#410)" This reverts commit 714d41b. Some devices are dependent on this functionality and can be important sources of input during boot. Until a more robust solution is devised that can support these devices, this change is reverted. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Michael Kubacki (makubacki)
requested review from
kenlautner and
Oliver Smith-Denny (os-d)
July 18, 2023 20:38
Oliver Smith-Denny (os-d)
approved these changes
Jul 18, 2023
kenlautner
approved these changes
Jul 18, 2023
Kat Perez (kat-perez)
pushed a commit
to kat-perez/mu_basecore
that referenced
this pull request
Nov 9, 2025
## Description
The GCC build options in the INF referenced a function in the sample PRM
driver (and was apparently not caught by CI). Building on GCC breaks
without this function defined. Instead require that the PRM handler is
defined (so that GCC does not strip it out when building the binary,
seeing it not being referenced).
For each item, place an "x" in between `[` and `]` if true. Example:
`[x]`.
_(you can also check items in the GitHub UI)_
- [ ] Impacts functionality?
- **Functionality** - Does the change ultimately impact how firmware
functions?
- Examples: Add a new library, publish a new PPI, update an algorithm,
...
- [ ] Impacts security?
- **Security** - Does the change have a direct security impact on an
application,
flow, or firmware?
- Examples: Crypto algorithm change, buffer overflow fix, parameter
validation improvement, ...
- [ ] Breaking change?
- **Breaking change** - Will anyone consuming this change experience a
break
in build or boot behavior?
- Examples: Add a new library class, move a module to a different repo,
call
a function in a new library class in a pre-existing module, ...
- [ ] Includes tests?
- **Tests** - Does the change include any explicit test code?
- Examples: Unit tests, integration tests, robot tests, ...
- [ ] Includes documentation?
- **Documentation** - Does the change contain explicit documentation
additions
outside direct code modifications (and comments)?
- Examples: Update readme file, add feature readme file, link to
documentation
on an a separate Web page, ...
## How This Was Tested
Building on GCC.
## Integration Instructions
N/A.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This reverts commit 714d41b.
Some devices are dependent on this functionality and can be important
sources of input during boot. Until a more robust solution is devised
that can support these devices, this change is reverted.
flow, or firmware?
validation improvement, ...
in build or boot behavior?
a function in a new library class in a pre-existing module, ...
outside direct code modifications (and comments)?
on an a separate Web page, ...
How This Was Tested
Verified a USB mass storage device that failed to enumerate with
the change can be enumerated after reverting it.
Integration Instructions
N/A