patina-v14.1.0
What's Changed
-
patina\_internal\_depex: Set prints to debug instead of trace @zurcher (#950)
Change Details
## Description
Change depex prints to
debug!instead oftrace!to remove file path and line numbers from depex prints.
MapLevel::DebugtoDEBUG_LEVEL_INFOto allow log filtering based on AdvancedLogger init arguments instead of PCD Debug Print levels. By default, the existing Q35 and SBSA instantiations of logger usemax_level: log::LevelFilter::Info, so they will not see any added prints due to the new Debug level mapping.Size change of a local build with
max_level_debugfeature flag set: from 1973248 to 1981440 bytes.- Impacts functionality?
- Impacts security?
- Breaking change?
- Includes tests?
- Includes documentation?
How This Was Tested
Verified target_filters and max_level arguments work correctly to enable and disable Depex prints.
Integration Instructions
Patina consumers can use the target_filters and max_level arguments of Advanced Logger to enable Depex logs:
("patina_internal_depex", log::LevelFilter::Debug)
-
Cleanup Resc Desc HOB v1 Feature @os-d (#977)
Change Details
## Description
The PR to add a feature to include the Resc Desc HOB v1 was merged before all PR feedback was resolved. This resolves that feedback.
- Impacts functionality?
- Impacts security?
- Breaking change?
- Includes tests?
- Includes documentation?
How This Was Tested
N/A.
Integration Instructions
N/A.
-
chore: Update repo version to 14.0.0 @[patina-automation[bot]](https://github.com/apps/patina-automation) (#979)
Change Details
An automatically created pull request to update the version of the repo due to a release.
🚀 Features & ✨ Enhancements
-
Change the behavior of unimplemented system tables functions from panic to return error. @joschock (#988)
Change Details
## Description
Change the behavior of unimplemented system table functions from
unimplemented!()panic to return error (or nothing, in the event that no return is specified). This will improve compatibility with existing UEFI code that relies on this behavior.This is consistent with PI spec language in V1.9 Volume 2 Section 9.5 (https://uefi.org/specs/PI/1.9/V2_DXE_Foundation.html#handing-control-to-dxe-dispatcher).
Closes #987
- Impacts functionality?
- Impacts security?
- Breaking change?
- Includes tests?
- Includes documentation?
How This Was Tested
Builds/passes unit tests. Confirmed boot on hardware.
Integration Instructions
No functional change except that code that (probably incorrectly) calls the un-implemented functions will now receive an error code instead of a panic.
📖 Documentation Updates
-
docs/dev/testing.md: Update test instructions @makubacki (#989)
Change Details
## Description
Provide additional background and guidance on choosing a testing strategy.
Update unit test coverage requirements to state that 80% patch coverage is required.
- Impacts functionality?
- Impacts security?
- Breaking change?
- Includes tests?
- Includes documentation?
How This Was Tested
cargo make cspell- markdown lint
Integration Instructions
- N/A
-
Add missing crate readmes [Rebase \& FF] @makubacki (#983)
Change Details
## Description
Closes #910
Adds a readme to any crate missing one. This makes it easier to understand the component when looking at the source code and keeps the documentation closer to the code so it's easier to maintain.
Some of the information for the debugger and performance crates was consolidated from existing mdbook documentation.
- Impacts functionality?
- Impacts security?
- Breaking change?
- Includes tests?
- Includes documentation?
How This Was Tested
cargo make cspell- markdown lint
Integration Instructions
- N/A
Full Changelog: patina-v14.0.0...v14.1.0