patina-v6.0.2
What's Changed
-
Refactor GIC code for better error handling @joschock (#606)
Change Details
## Description
Updates gic_manager and hw_interrupt_protocol code for cleaner error handling using Result<T, EfiError> returns instead of efi::Status and cleaning up visibility of various functions.
- Impacts functionality?
- Impacts security?
- Breaking change?
- Includes tests?
- Includes documentation?
How This Was Tested
Verfiied GIC initialization succeeds on AArch64 hw as before this refactor.
Integration Instructions
N/A - no changes to interfaces consumed outside of patina_internal_cpu.
</blockquote> <hr> </details>
-
chore: Release 6.0.1 @joschock (#605)
Change Details
## Description
6.0.1 release
- Impacts functionality?
- Impacts security?
- Breaking change?
- Includes tests?
- Includes documentation?
How This Was Tested
N/A
Integration Instructions
N/A
</blockquote> <hr> </details>
🐛 Bug Fixes
-
patina\_dxe\_core: Only Unmap Page 0 If It Exists @os-d (#610)
Change Details
## Description
This patch updates the logic to unmap page 0 after resource HOBs are added. It previously attempted to always do it, but on some platforms page 0 does not exist (in which case the page table will not map it anyway). This checks if the memory exists before attempting to unmap, so it does not cause a debug_assert.
- Impacts functionality?
- Impacts security?
- Breaking change?
- Includes tests?
- Includes documentation?
How This Was Tested
Tested on a physical platform that did not have page 0 mapped and was hitting the debug_assert. It no longer is. Also tested on Q35 and SBSA booting to Windows.
Integration Instructions
N/A.
</blockquote> <hr> </details>
Full Changelog: patina-v6.0.1...v6.0.2