diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-11-24 09:43:50 +0000 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-11-27 18:22:35 +0000 |
commit | 2c936d7c39ba4305e2da39ef2059326802a42bd2 (patch) | |
tree | e93fb7378aebdb0967672829c261981e5a6163d7 /ArmVirtPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf | |
parent | d1de487dd2e77f4741abcbd71d19a8c93971fda0 (diff) | |
download | edk2-2c936d7c39ba4305e2da39ef2059326802a42bd2.tar.gz edk2-2c936d7c39ba4305e2da39ef2059326802a42bd2.tar.bz2 edk2-2c936d7c39ba4305e2da39ef2059326802a42bd2.zip |
ArmVirtPkg/PrePi: don't export PE/COFF and LZMA libraries via HOBs
The PrePi code we inherited from ArmPlatformPkg contains a rather
obscure optimization, where entry points of the PE/COFF and LZMA
handling routines are recorded in special HOBs, allowing DXE core
to call into that code directly rather than carry its own copy of
these libraries.
Given that no ArmVirtPkg platforms actually include the library
resolutions* that take advantage of these optimizations, let's not
bother with them, and remove the associated code.
* EmbeddedPkg/Library/LzmaHobCustomDecompressLib/LzmaHobCustomDecompressLib.inf
EmbeddedPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'ArmVirtPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf')
-rwxr-xr-x | ArmVirtPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ArmVirtPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf b/ArmVirtPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf index 58290d2d1b..b3a3f5da06 100755 --- a/ArmVirtPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf +++ b/ArmVirtPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf @@ -51,7 +51,6 @@ SerialPortLib
ExtractGuidedSectionLib
LzmaDecompressLib
- PeCoffGetEntryPointLib
PrePiLib
MemoryAllocationLib
HobLib
|