]> git.proxmox.com Git - mirror_edk2.git/commit
ArmVirtPkg/PrePi: don't export PE/COFF and LZMA libraries via HOBs
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 24 Nov 2017 09:43:50 +0000 (09:43 +0000)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 27 Nov 2017 18:22:35 +0000 (18:22 +0000)
commit2c936d7c39ba4305e2da39ef2059326802a42bd2
treee93fb7378aebdb0967672829c261981e5a6163d7
parentd1de487dd2e77f4741abcbd71d19a8c93971fda0
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>
ArmVirtPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf
ArmVirtPkg/PrePi/LzmaDecompress.h [deleted file]
ArmVirtPkg/PrePi/PrePi.c