edk2/EmbeddedPkg/Library/PrePiMemoryAllocationLib
Oliver Smith-Denny 198c9bf506 EmbeddedPkg: PrePiMemoryAllocationLib: Add AllocateCopyPool
ArmVirtPkg uses PrePiMemoryAllocationLib and PeiServicesLib in
the same module. PeiServicesLib depends on MemoryAllocationLib,
fulfilled by PrePiMemoryAllocationLib in this instance. However,
PeiServicesLib uses AllocateCopyPool() which is not provided in
PrePiMemoryAllocationLib. CLANGPDB AARCH64 finds this as a link
error. Other toolchains are optimizing the call out since that
code path is not used in this module.

This adds AllocateCopyPool() to PrePiMemoryAllocationLib to
satisfy the dependency.

Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
2026-01-15 17:10:46 +00:00
..
MemoryAllocationLib.c EmbeddedPkg: PrePiMemoryAllocationLib: Add AllocateCopyPool 2026-01-15 17:10:46 +00:00
PrePiMemoryAllocationLib.inf EmbeddedPkg: Drop ARM32 Support 2025-09-25 22:04:10 +00:00