]> git.proxmox.com Git - mirror_edk2.git/blame - EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
Updated to support passing PE/COFF and LZMA decompress up via HOBS. Currently turned...
[mirror_edk2.git] / EmbeddedPkg / Library / PrePiLib / PrePiLib.inf
CommitLineData
2ef2b01e
A
1#/** @file\r
2# Component description file for Apple Pre PI Library\r
3#\r
4# LIbrary helps you build a platform that skips PEI and loads DXE Core \r
5# directly. Helps building HOBs, reading data from the FV, and doing\r
6# decompression. \r
7#\r
8# Copyright (c) 2008, Apple, Inc.\r
9#\r
10# All rights reserved. This program and the accompanying materials\r
11# are licensed and made available under the terms and conditions of the BSD License\r
12# which accompanies this distribution. The full text of the license may be found at\r
13# http://opensource.org/licenses/bsd-license.php\r
14# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
15# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
16#\r
17#\r
18#**/\r
19\r
20[Defines]\r
21 INF_VERSION = 0x00010005\r
22 BASE_NAME = PrePiLib\r
23 FILE_GUID = 1F3A3278-82EB-4C0D-86F1-5BCDA5846CB2\r
24 MODULE_TYPE = BASE\r
25 VERSION_STRING = 1.0\r
26 LIBRARY_CLASS = PrePiLib \r
27\r
28\r
29#\r
30# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
31#\r
32\r
33[Sources.common]\r
34 FwVol.c\r
35 Hob.c\r
36 Memory.c\r
37 PrePiLib.c\r
38 ReportStatusCode.c\r
39\r
40[Packages]\r
41 MdePkg/MdePkg.dec\r
42 EmbeddedPkg/EmbeddedPkg.dec\r
43 MdeModulePkg/MdeModulePkg.dec\r
44 IntelFrameworkPkg/IntelFrameworkPkg.dec # needed to support StatusCodes\r
45 IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec # needed to support StatusCodes\r
46\r
47\r
48[LibraryClasses]\r
49 BaseLib\r
50 DebugLib\r
51 BaseMemoryLib\r
52 UefiDecompressLib\r
53 PeCoffLib\r
54 CacheMaintenanceLib\r
55 PrintLib\r
56 SerialPortLib\r
57 ExtractGuidedSectionLib\r
58\r
59[Guids]\r
60 gEfiHobMemoryAllocModuleGuid\r
61 gEfiHobMemoryAllocStackGuid\r
62 gEfiStatusCodeSpecificDataGuid\r
63 gEfiMemoryTypeInformationGuid\r
64 gEfiStatusCodeDataTypeDebugGuid\r
65\r
66[Protocols]\r
67 gEfiStatusCodeRuntimeProtocolGuid\r
e4dbec73 68 gPeCoffLoaderProtocolGuid\r
2ef2b01e
A
69 \r
70\r
71[FixedPcd.common]\r
72 gEmbeddedTokenSpaceGuid.PcdPrePiHobBase\r
73 gEmbeddedTokenSpaceGuid.PcdPrePiTempMemorySize\r
74 gEmbeddedTokenSpaceGuid.PcdPrePiBfvBaseAddress\r
75 gEmbeddedTokenSpaceGuid.PcdPrePiBfvSize\r
76 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize\r
77 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize\r
78\r
79 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory\r
80 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS\r
81 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType\r
82 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData\r
83 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode\r
84 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode\r
85 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData\r
86 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode\r
87 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData\r
88\r
89[FeaturePcd]\r
90 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob\r