]> git.proxmox.com Git - mirror_edk2.git/blob - EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
EmbeddedPkg: Introduce PrePiMemoryAllocationLib
[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. All rights reserved.<BR>
9 #
10 # 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 PrePiLib.c
37 ReportStatusCode.c
38
39 [Packages]
40 MdePkg/MdePkg.dec
41 EmbeddedPkg/EmbeddedPkg.dec
42 MdeModulePkg/MdeModulePkg.dec
43 IntelFrameworkPkg/IntelFrameworkPkg.dec # needed to support StatusCodes
44 IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec # needed to support StatusCodes
45
46
47 [LibraryClasses]
48 BaseLib
49 DebugLib
50 BaseMemoryLib
51 UefiDecompressLib
52 PeCoffLib
53 CacheMaintenanceLib
54 PrintLib
55 SerialPortLib
56 ExtractGuidedSectionLib
57 TimerLib
58 PerformanceLib
59
60
61 [Guids]
62 gEfiHobMemoryAllocModuleGuid
63 gEfiHobMemoryAllocStackGuid
64 gEfiStatusCodeSpecificDataGuid
65 gEfiMemoryTypeInformationGuid
66 gEfiStatusCodeDataTypeDebugGuid
67
68 [Protocols]
69 gEfiStatusCodeRuntimeProtocolGuid
70 gPeCoffLoaderProtocolGuid
71
72
73 [FixedPcd.common]
74 gEmbeddedTokenSpaceGuid.PcdPrePiHobBase
75 gEmbeddedTokenSpaceGuid.PcdPrePiTempMemorySize
76 gEmbeddedTokenSpaceGuid.PcdPrePiBfvBaseAddress
77 gEmbeddedTokenSpaceGuid.PcdPrePiBfvSize
78 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize
79 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize
80
81 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory
82 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS
83 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType
84 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData
85 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode
86 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode
87 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData
88 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode
89 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData
90
91 [FeaturePcd]
92 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob