OvmfPkg: Add section of memory to use for PEI on S3 resume
[mirror_edk2.git] / OvmfPkg / PlatformPei / PlatformPei.inf
1 ## @file
2 # Platform PEI driver
3 #
4 # This module provides platform specific function to detect boot mode.
5 # Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
6 #
7 # This program and the accompanying materials
8 # are licensed and made available under the terms and conditions of the BSD License
9 # which accompanies this distribution. The full text of the license may be found at
10 # http://opensource.org/licenses/bsd-license.php
11 #
12 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 #
15 ##
16
17 [Defines]
18 INF_VERSION = 0x00010005
19 BASE_NAME = PlatformPei
20 FILE_GUID = 222c386d-5abc-4fb4-b124-fbb82488acf4
21 MODULE_TYPE = PEIM
22 VERSION_STRING = 1.0
23 ENTRY_POINT = InitializePlatform
24
25 #
26 # The following information is for reference only and not required by the build tools.
27 #
28 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
29 #
30
31 [Sources]
32 Cmos.c
33 Fv.c
34 MemDetect.c
35 Platform.c
36 Xen.c
37
38 [Packages]
39 IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
40 MdePkg/MdePkg.dec
41 MdeModulePkg/MdeModulePkg.dec
42 UefiCpuPkg/UefiCpuPkg.dec
43 OvmfPkg/OvmfPkg.dec
44
45 [Guids]
46 gEfiMemoryTypeInformationGuid
47 gEfiXenInfoGuid
48
49 [LibraryClasses]
50 DebugLib
51 HobLib
52 IoLib
53 PciLib
54 PeiResourcePublicationLib
55 PeiServicesLib
56 PeiServicesTablePointerLib
57 PeimEntryPoint
58 QemuFwCfgLib
59 MtrrLib
60 PcdLib
61
62 [Pcd]
63 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase
64 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize
65 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase
66 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize
67 gUefiOvmfPkgTokenSpaceGuid.PcdAcpiPmBaseAddress
68 gUefiOvmfPkgTokenSpaceGuid.PcdS3AcpiReservedMemoryBase
69 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdS3AcpiReservedMemorySize
70 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize
71 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
72 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
73 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved
74 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration
75 gUefiCpuPkgTokenSpaceGuid.PcdCpuLocalApicBaseAddress
76
77 [Ppis]
78 gEfiPeiMasterBootModePpiGuid
79
80 [Depex]
81 TRUE
82