Skip to content
Commit e0ac32ef authored by Tinh Nguyen's avatar Tinh Nguyen Committed by Ard Biesheuvel
Browse files

AmpereAltraPkg: Remove MemoryAllocationLib in ArmPlatformLib



PrePeiCore's Arm module just added a requirement to run all library
constructors that PrePeiCore uses. One of them is included in the
constructor of the ExtractGuidedSectionLib. This constructor will build
a HOB that is not supported "at this time" and causes an error.
We don't need to use this constructor because PrePeiCore doesn't
really need this library.

This is a workaround to avoid PrePeiCore module calling
ExtractGuidedSectionLib's constructor.

Signed-off-by: default avatarNhi Pham <nhi@os.amperecomputing.com>
parent c855d033
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment