OvmfPkg/PlatformPei: Detect S3 support for QEMU / KVM
[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 - 2013, 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 MdePkg/MdePkg.dec
40 MdeModulePkg/MdeModulePkg.dec
41 UefiCpuPkg/UefiCpuPkg.dec
42 OvmfPkg/OvmfPkg.dec
43
44 [Guids]
45 gEfiMemoryTypeInformationGuid
46 gEfiXenInfoGuid
47
48 [LibraryClasses]
49 DebugLib
50 HobLib
51 IoLib
52 PciLib
53 PeiResourcePublicationLib
54 PeiServicesLib
55 PeiServicesTablePointerLib
56 PeimEntryPoint
57 QemuFwCfgLib
58 MtrrLib
59 PcdLib
60
61 [Pcd]
62 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase
63 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize
64 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase
65 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize
66 gUefiOvmfPkgTokenSpaceGuid.PcdAcpiPmBaseAddress
67 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize
68 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
69 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
70 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved
71 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration
72 gUefiCpuPkgTokenSpaceGuid.PcdCpuLocalApicBaseAddress
73
74 [Ppis]
75 gEfiPeiMasterBootModePpiGuid
76
77 [Depex]
78 TRUE
79