• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## @file
2#  Platform PEI driver
3#
4#  This module provides platform specific function to detect boot mode.
5#  Copyright (c) 2006 - 2016, 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  FeatureControl.c
34  Fv.c
35  MemDetect.c
36  Platform.c
37  Xen.c
38
39[Packages]
40  IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
41  MdePkg/MdePkg.dec
42  MdeModulePkg/MdeModulePkg.dec
43  UefiCpuPkg/UefiCpuPkg.dec
44  OvmfPkg/OvmfPkg.dec
45
46[Guids]
47  gEfiMemoryTypeInformationGuid
48  gEfiXenInfoGuid
49
50[LibraryClasses]
51  BaseLib
52  DebugLib
53  HobLib
54  IoLib
55  PciLib
56  PeiResourcePublicationLib
57  PeiServicesLib
58  PeiServicesTablePointerLib
59  PeimEntryPoint
60  QemuFwCfgLib
61  MtrrLib
62  PcdLib
63
64[Pcd]
65  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase
66  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize
67  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase
68  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize
69  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamBase
70  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPeiTempRamSize
71  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase
72  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesSize
73  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfLockBoxStorageBase
74  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfLockBoxStorageSize
75  gUefiOvmfPkgTokenSpaceGuid.PcdGuidedExtractHandlerTableSize
76  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId
77  gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase
78  gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize
79  gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base
80  gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size
81  gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base
82  gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size
83  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDecompressionScratchEnd
84  gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes
85  gEfiMdePkgTokenSpaceGuid.PcdGuidedExtractHandlerTableAddress
86  gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize
87  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
88  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
89  gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved
90  gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration
91  gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode
92  gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable
93  gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack
94  gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable
95  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable
96  gUefiCpuPkgTokenSpaceGuid.PcdCpuLocalApicBaseAddress
97  gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber
98  gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds
99  gUefiCpuPkgTokenSpaceGuid.PcdCpuApStackSize
100
101[FixedPcd]
102  gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress
103
104[FeaturePcd]
105  gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire
106
107[Ppis]
108  gEfiPeiMasterBootModePpiGuid
109  gEfiPeiMpServicesPpiGuid
110
111[Depex]
112  TRUE
113
114