v2025110002.0.1
What's Changed
-
[REBASE \& FF] AdvLoggerPkg: PeiCore Instance: Use Local PeiMain.h @os-d (#909)
Change Details
## Description
The PEI Core AdvLoggerLib instance relies on PeiMain.h which defines the PEI_CORE_INSTANCE structure. A special PlatformBlob is added there to use stack space for the adv logger info pointer. This avoids a HOB lookup for every log.
However, edk2's PeiMain.h has been updated to use a private header in PeiMain.h. This is pulled into mu_basecore, which then breaks building this library because it doesn't have access to the private header.
Using PEI_CORE_INSTANCE to host the advanced logger pointer has always been a hack; it will be separately addressed and removed, but in the meantime, this library needs to continue to work.
This copies PeiMain.h, removes the use of the private header, and consumes it in the PeiCore instance of AdvLoggerLib.
- Impacts functionality?
- Impacts security?
- Breaking change?
- Includes tests?
- Includes documentation?
How This Was Tested
Booting patina-qemu to shell with the PEI memory bin changes cherry-picked.
Integration Instructions
N/A.
</blockquote> <hr> </details>
Full Changelog: v2025110002.0.0...v2025110002.0.1