v2023020003.0.0
What's Changed
-
Update HelloWorldRustDxe to permit compiling for unit tests @joschock (#341)
Change Details
## Description
Update HelloWorldRustDxe to allow compiling tests.
- Impacts functionality?
- Impacts security?
- Breaking change?
- Includes tests?
- adds a sample unit test for the HelloWorldRustDxe driver.
- Includes documentation?
How This Was Tested
Cargo test executes sample unit test as expected.
Build for UEFI target and execution QEMU work as expected.Integration Instructions
N/A
⚠️ Breaking Changes
-
Add PCD to allow device exclusions for UsbHidDxe @joschock (#340)
Change Details
## Description
Adds a PCD for configuring device exclusions for UsbHidDxe. Prior to this change, the UsbHidDxe driver included logic to exclude keyboard devices from being handled by HID, due to other parts of the stack not being fully implemented yet. This removes that code and replaces it with a PCD list that the platform integrator can use to disable particular devices as desired for the platform.
- Impacts functionality?
- Changes how UsbHidDxe exclusions are handled.
- Impacts security?
- Breaking change?
Previously keyboard exclusion was hard-coded; to replicate this behavior platforms will need to add a PCD specification in the DSC files to exclude keyboards. See Integration Instructions below for more details. - Includes tests?
- Includes documentation?
How This Was Tested
Verified with functional testing of several different exclusions in Qemu Q35.
Integration Instructions
To replicate existing behavior, platforms will need to add PCD specification to the DSC like the following to exclude USB keyboards:
[PcdsFixedAtBuild]
gHidPkgTokenSpaceGuid.PcdExcludedHidDevices|{0x3, 0x1, 0x1, 0x0, 0x0, 0x0}
- Impacts functionality?
Full Changelog: v2023020002.1.0...v2023020003.0.0