patina-v20.0.3
What's Changed
-
patina\_smbios: Add Type 16, Type 17, and Type 19 SMBIOS record types @kat-perez (#1334)
Change Details
## Description
Add
Type16PhysicalMemoryArray(Physical Memory Array),Type17MemoryDevice(Memory Device), andType19MemoryArrayMappedAddress(Memory Array Mapped Address) structs to thepatina_smbioscrate. Field layouts verified against EDK2SMBIOS_TABLE_TYPE16/17/19, targeting SMBIOS 3.9 (includes 3.7+ PMIC/RCD fields on Type 17).- Impacts functionality?
- Impacts security?
- Breaking change?
- Includes tests?
- Includes documentation?
How This Was Tested
Integrated into SBSA
patina-dxe-core-qemuwith a local patch and verified with patina-qemu smbiosviewIntegration Instructions
use
patina_smbios::smbios_record::{Type16PhysicalMemoryArray, Type17MemoryDevice, Type19MemoryArrayMappedAddress};
-
[REBASE \& FF] patina\_debugger: Fix use of crate without "alloc" and fix associated issues @cfernald (#1331)
Change Details
## Description
Currently the alloc feature attempts to prevent use of the alloc features but does not actually remove the use of the alloc crate. This means that it is quite easy to accidentally use the alloc crate and break this use case.
Additionally, it makes it too easy to accidentally add heap allocations where they shouldn't be, such as by using
format!in a monitor command. This feature also helps increase awareness of when heap allocations are used which is important for the debugger which runs in limited environments.The commit removes use of the
alloccrate when theallocfeature is not enabled, and removes all code leveraging it.Issue #1318
- Impacts functionality?
- Impacts security?
- Breaking change?
- Includes tests?
- Includes documentation?
How This Was Tested
Tested on local build and Q35
Integration Instructions
N/A
-
patina\_dxe\_core: Add version static for offline inspection @cfernald (#1335)
Change Details
## Description
Adds a static global to the root of the DXE core that can be used to determine the version. This is useful for offline inspection, like the debugger for determining the patina version which is needed to know how to inspect other global state. This commit creates this string to ensure its presence for future use.
- Impacts functionality?
- Impacts security?
- Breaking change?
- Includes tests?
- Includes documentation?
How This Was Tested
N/A
Integration Instructions
N/A
-
Add summary line to Recorder output @joschock (#1332)
Change Details
## Description
Adds a summary line to the test runner Recorder output.
also fixes an unused import warning when patina_test is not enabled.
- Impacts functionality?
- Impacts security?
- Breaking change?
- Includes tests?
- Includes documentation?
How This Was Tested
Compiled and observed output as expected.
Integration Instructions
N/A
-
patina\_smbios: Add Type 4 and Type 7 SMBIOS record types @kat-perez (#1329)
Change Details
## Description
Add
Type4ProcessorInformation(Processor Information) andType7CacheInformation(Cache Information) structs to thepatina_smbioscrate- Impacts functionality?
- Impacts security?
- Breaking change?
- Includes tests?
- Includes documentation?
How This Was Tested
Integrated into SBSA
patina-dxe-core-qemuIntegration Instructions
use
patina_smbios::smbios_record::{Type4ProcessorInformation, Type7CacheInformation};
📖 Documentation Updates
-
RFC [FCP]: Propose Downstream Build Options Solution @os-d (#1295)
Change Details
## Description
This adds an RFC to propose a solution to the problem of unifying platforms' toolchain configurations when building Patina.
- Impacts functionality?
- Impacts security?
- Breaking change?
- Includes tests?
- Includes documentation?
How This Was Tested
N/A.
Integration Instructions
N/A.
Full Changelog: patina-v20.0.2...v20.0.3