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