summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Core/Pei/GoogleTest
AgeCommit message (Collapse)AuthorFilesLines
2026-10-28MdeModulePkg/Core/Pei: Test AllocatePages memory reuseMichael D Kinney1-0/+879
Add a PEI Core host-test target and register it in MdeModulePkgHostTest.dsc. Cover Temporary Memory reuse after PeiFreePages(), search suppression without free events, active-range priority during a pending stack switch, and Permanent Memory top-down ordering. Test early best-fit selection, padding-HOB reuse, and aligned 4 KiB, 16 KiB, and 64 KiB allocation. Cover invalid memory types and unrestricted fallback for out-of-PHIT and adjacent coalesced HOBs. Verify final-fallback best-fit and HOB-list tie order. Skip padding-HOB integration when runtime granularity is no larger than default. Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>