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  PrePiLib.c
36  ReportStatusCode.c
37
38[Packages]
39  MdePkg/MdePkg.dec
40  EmbeddedPkg/EmbeddedPkg.dec
41  MdeModulePkg/MdeModulePkg.dec
42  IntelFrameworkPkg/IntelFrameworkPkg.dec              # needed to support StatusCodes
43  IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec  # needed to support StatusCodes
44
45
46[LibraryClasses]
47  BaseLib
48  DebugLib
49  BaseMemoryLib
50  UefiDecompressLib
51  PeCoffLib
52  CacheMaintenanceLib
53  PrintLib
54  SerialPortLib
55  ExtractGuidedSectionLib
56  TimerLib
57  PerformanceLib
58  HobLib
59
60[Guids]
61  gEfiStatusCodeSpecificDataGuid
62  gEfiMemoryTypeInformationGuid
63  gEfiStatusCodeDataTypeDebugGuid
64
65[Protocols]
66  gEfiStatusCodeRuntimeProtocolGuid
67  gPeCoffLoaderProtocolGuid
68
69
70[FixedPcd.common]
71  gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize
72  gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize
73
74  gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory
75  gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS
76  gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType
77  gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData
78  gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode
79  gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode
80  gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData
81  gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode
82  gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData
83
84[FeaturePcd]
85  gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob
86