diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-11-30 14:41:07 +0000 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-11-30 16:49:11 +0000 |
commit | 2dd8fd8f7e3b7647f3dd6461d15f2ccf27bf18d2 (patch) | |
tree | 99c592eb859b2488e5bd64262ea2088240221343 /BeagleBoardPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf | |
parent | c6e51751e026c9d4e98e597cdebcd3c7b1b97281 (diff) |
EmbeddedPkg BeagleBoardPkg: move special HOB reuse libraries into platform
The BeagleBoard platform uses PeCoffLib and CustomDecompressLib
implementations that invoke the library code that resides in the PrePi
module via pointers exposed via special GUIDed HOBs. This is a nice hack,
but not necessarily something we want to carry in reference code.
So as a first step, move the libraries that expose this reused code into
BeagleBoardPkg, and remove it from EmbeddedPkg.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'BeagleBoardPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf')
-rw-r--r-- | BeagleBoardPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/BeagleBoardPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf b/BeagleBoardPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf new file mode 100644 index 0000000000..d6eb1cf0cf --- /dev/null +++ b/BeagleBoardPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf @@ -0,0 +1,44 @@ +#/** @file
+# PE/COFF Loader Library implementation that wraps a protocol passed up from
+# SEC/PEI via a HOB. This is done to save space.
+#
+# Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>
+# Portions copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR>
+# This program and the accompanying materials
+# are licensed and made available under the terms and conditions of the BSD License
+# which accompanies this distribution. The full text of the license may be found at
+# http://opensource.org/licenses/bsd-license.php
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+#
+#
+#**/
+
+[Defines]
+ INF_VERSION = 0x00010005
+ BASE_NAME = DxeHobPeCoffLib
+ FILE_GUID = 671C6FD7-99FB-4EE3-B640-4B1D463BC3B5
+ MODULE_TYPE = DXE_DRIVER
+ VERSION_STRING = 1.0
+ LIBRARY_CLASS = PeCoffLib
+ CONSTRUCTOR = DxeHobPeCoffLibConstructor
+
+
+#
+# VALID_ARCHITECTURES = IA32 X64 IPF EBC ARM
+#
+
+[Sources.common]
+ DxeHobPeCoff.c
+
+
+[Packages]
+ MdePkg/MdePkg.dec
+ EmbeddedPkg/EmbeddedPkg.dec
+
+[LibraryClasses]
+ DebugLib
+ HobLib
+
+[Protocols]
+ gPeCoffLoaderProtocolGuid
|