]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/OvmfPkgIa32X64.dsc
OvmfPkg/OvmfPkg.fdf.inc: extract VARS_LIVE_SIZE and VARS_SPARE_SIZE macros
[mirror_edk2.git] / OvmfPkg / OvmfPkgIa32X64.dsc
CommitLineData
7b202cb0 1## @file\r
49ba9447 2# EFI/Framework Open Virtual Machine Firmware (OVMF) platform\r
3#\r
4b2fb798 4# Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>\r
a6d594c5 5# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
49ba9447 6#\r
56d7640a 7# This program and the accompanying materials\r
49ba9447 8# are licensed and made available under the terms and conditions of the BSD License\r
9# which accompanies this distribution. The full text of the license may be found at\r
10# http://opensource.org/licenses/bsd-license.php\r
11#\r
12# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14#\r
7b202cb0 15##\r
49ba9447 16\r
17################################################################################\r
18#\r
19# Defines Section - statements that will be processed to create a Makefile.\r
20#\r
21################################################################################\r
22[Defines]\r
23 PLATFORM_NAME = Ovmf\r
24 PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b\r
25 PLATFORM_VERSION = 0.1\r
713b7b5e 26 DSC_SPECIFICATION = 0x00010005\r
49ba9447 27 OUTPUT_DIRECTORY = Build/Ovmf3264\r
28 SUPPORTED_ARCHITECTURES = IA32|X64\r
27214228 29 BUILD_TARGETS = NOOPT|DEBUG|RELEASE\r
49ba9447 30 SKUID_IDENTIFIER = DEFAULT\r
31 FLASH_DEFINITION = OvmfPkg/OvmfPkgIa32X64.fdf\r
32\r
e05061c5 33 #\r
34 # Defines for default states. These can be changed on the command line.\r
35 # -D FLAG=VALUE\r
36 #\r
37 DEFINE SECURE_BOOT_ENABLE = FALSE\r
36c6413f 38 DEFINE NETWORK_IP6_ENABLE = FALSE\r
ab44a6e8 39 DEFINE HTTP_BOOT_ENABLE = FALSE\r
1f695483 40 DEFINE SMM_REQUIRE = FALSE\r
315d9d08 41 DEFINE TLS_ENABLE = FALSE\r
e05061c5 42\r
21027073
LE
43 #\r
44 # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to\r
45 # one of the supported values, in place of any of the convenience macros, is\r
46 # permitted.\r
47 #\r
48!ifdef $(FD_SIZE_1MB)\r
49 DEFINE FD_SIZE_IN_KB = 1024\r
50!else\r
51!ifdef $(FD_SIZE_2MB)\r
52 DEFINE FD_SIZE_IN_KB = 2048\r
53!else\r
54 DEFINE FD_SIZE_IN_KB = 2048\r
55!endif\r
56!endif\r
57\r
0bc7e56d 58[BuildOptions]\r
0b5a5022 59 GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
152d9a6b 60 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
61 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
62 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
4a8266f5 63 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse\r
bbcafc44 64!ifdef $(SOURCE_DEBUG_ENABLE)\r
65 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
66 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
67 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
68!endif\r
ddd89cd5 69\r
b78736bd
LE
70 #\r
71 # Disable deprecated APIs.\r
72 #\r
73 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES\r
74 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES\r
75 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r
76\r
ddd89cd5
AB
77[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]\r
78 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r
aa47e529 79\r
2f790bcb
JY
80# Force PE/COFF sections to be aligned at 4KB boundaries to support page level\r
81# protection of DXE_SMM_DRIVER/SMM_CORE modules\r
82[BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]\r
83 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r
84\r
49ba9447 85################################################################################\r
86#\r
87# SKU Identification section - list of all SKU IDs supported by this Platform.\r
88#\r
89################################################################################\r
90[SkuIds]\r
91 0|DEFAULT\r
92\r
93################################################################################\r
94#\r
95# Library Class section - list of all Library Classes needed by this Platform.\r
96#\r
97################################################################################\r
7b202cb0 98[LibraryClasses]\r
49ba9447 99 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
170ef2d9 100 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf\r
49ba9447 101 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
4a8266f5 102 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r
49ba9447 103 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
104 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
105 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
106 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
107 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
49ba9447 108 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
109 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
110 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
111 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
79c098b6 112 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
79c098b6 113 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r
a3cd5cd5 114 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf\r
79c098b6 115 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
49ba9447 116 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
117 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
cd455669 118 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
49ba9447 119 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
120 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
c47ed6fc 121 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
49ba9447 122 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
75f45331 123 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf\r
49ba9447 124 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
1630c6df 125 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
49ba9447 126 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf\r
127 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
86fef5b4 128 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
129 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
130 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
131 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
132 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
863986b3 133 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf\r
14b21de9 134 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf\r
ae591c14 135 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
284af948 136 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
8273af4e 137 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
7416f4eb 138 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
139 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf\r
140 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf\r
141 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf\r
689562cd 142 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
b043ebc2 143 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf\r
f1ec65ba 144 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf\r
263559b8 145 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf\r
3c0a051f 146 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf\r
67d86594 147!if $(SMM_REQUIRE) == FALSE\r
6a7cba79 148 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf\r
67d86594 149!endif\r
56af21cb 150 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
ead94b1f 151 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
c6efcc2a 152\r
153!ifdef $(SOURCE_DEBUG_ENABLE)\r
154 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf\r
155 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf\r
156!else\r
42a83e80 157 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
158 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
c6efcc2a 159!endif\r
152d9a6b 160\r
7ca30a6a 161 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf\r
decb365b 162 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf\r
8cee3de7 163 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
164\r
8cee3de7 165 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
df453e1b 166!if $(TLS_ENABLE) == TRUE\r
8cee3de7 167 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
df453e1b
LE
168!else\r
169 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf\r
170!endif\r
6d0f8941
GL
171\r
172!if $(SECURE_BOOT_ENABLE) == TRUE\r
173 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf\r
0d28d286 174 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf\r
285542eb 175 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r
285542eb
SZ
176!else\r
177 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
178 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r
8cee3de7 179!endif\r
68ef1ad7 180 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r
8cee3de7 181\r
32e22f20
GL
182!if $(NETWORK_IP6_ENABLE) == TRUE\r
183 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf\r
184!endif\r
185\r
ab44a6e8
GCPL
186!if $(HTTP_BOOT_ENABLE) == TRUE\r
187 HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf\r
188!endif\r
189\r
315d9d08
GL
190!if $(TLS_ENABLE) == TRUE\r
191 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf\r
192!endif\r
193\r
b017b1b2
LE
194 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf\r
195 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf\r
48cc4d0c 196 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r
df040c00 197 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf\r
b017b1b2 198\r
8cee3de7 199[LibraryClasses.common]\r
8cee3de7 200 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
7416f4eb 201\r
49ba9447 202[LibraryClasses.common.SEC]\r
170ef2d9 203 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf\r
c90decb9 204 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf\r
b90aefa9 205!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 206 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 207!else\r
208 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
209!endif\r
abec2e51 210 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
fcd7e677 211 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf\r
c6efcc2a 212!ifdef $(SOURCE_DEBUG_ENABLE)\r
213 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
214!endif\r
42a83e80 215 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
216 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
217 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
218 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
85a32c71 219 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
49ba9447 220\r
221[LibraryClasses.common.PEI_CORE]\r
49ba9447 222 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
223 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
224 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
225 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
226 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
abec2e51 227 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
1630c6df 228 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
49ba9447 229 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
b90aefa9 230!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 231 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 232!else\r
233 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
234!endif\r
49ba9447 235 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
236\r
237[LibraryClasses.common.PEIM]\r
49ba9447 238 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
239 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
240 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
241 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
242 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
abec2e51 243 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
1630c6df 244 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
49ba9447 245 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
b90aefa9 246!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 247 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 248!else\r
249 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
250!endif\r
49ba9447 251 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
252 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r
253 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
c6efcc2a 254!ifdef $(SOURCE_DEBUG_ENABLE)\r
255 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
256!endif\r
f0e6a56a 257 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf\r
f4c59f42 258 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf\r
b7f2e82c 259 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf\r
49ba9447 260\r
261[LibraryClasses.common.DXE_CORE]\r
49ba9447 262 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
263 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
264 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
abec2e51 265 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
b90aefa9 266!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 267 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 268!else\r
269 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
270!endif\r
49ba9447 271 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
c6efcc2a 272!ifdef $(SOURCE_DEBUG_ENABLE)\r
273 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
274!endif\r
85a32c71 275 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
c075d250 276 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
49ba9447 277\r
278[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
988e5986 279 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
170ef2d9 280 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
49ba9447 281 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
282 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
283 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
abec2e51 284 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
b90aefa9 285!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 286 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 287!else\r
288 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
289!endif\r
49ba9447 290 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
8cee3de7 291 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
c47ed6fc 292 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
b7f2e82c 293 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf\r
49ba9447 294\r
295[LibraryClasses.common.UEFI_DRIVER]\r
988e5986
GS
296 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
297 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
49ba9447 298 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
299 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
300 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
abec2e51 301 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
b90aefa9 302!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 303 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 304!else\r
305 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
306!endif\r
49ba9447 307 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
c47ed6fc 308 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
49ba9447 309\r
310[LibraryClasses.common.DXE_DRIVER]\r
988e5986 311 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
170ef2d9 312 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
49ba9447 313 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
49ba9447 314 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
abec2e51 315 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
49ba9447 316 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
b90aefa9 317!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 318 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 319!else\r
320 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
321!endif\r
49ba9447 322 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
323 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf\r
324 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf\r
325 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf\r
79c098b6 326 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r
d85c5e31 327 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf\r
85a32c71 328 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
67d86594
LE
329!if $(SMM_REQUIRE) == TRUE\r
330 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf\r
331!else\r
6a7cba79 332 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf\r
67d86594 333!endif\r
34511266
JJ
334!ifdef $(SOURCE_DEBUG_ENABLE)\r
335 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
336!endif\r
c47ed6fc 337 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
f4c59f42 338 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
b7f2e82c 339 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf\r
49ba9447 340\r
86fef5b4 341[LibraryClasses.common.UEFI_APPLICATION]\r
988e5986
GS
342 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
343 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
86fef5b4 344 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
345 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
79c098b6 346 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
b90aefa9 347!ifdef $(DEBUG_ON_SERIAL_PORT)\r
86fef5b4 348 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 349!else\r
350 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
351!endif\r
c47ed6fc 352 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
86fef5b4 353\r
988e5986
GS
354[LibraryClasses.common.DXE_SMM_DRIVER]\r
355 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
356 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
67d86594 357 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
fc5b5e5c 358 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
67d86594
LE
359 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
360 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
8dbe742d
LE
361 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
362!ifdef $(DEBUG_ON_SERIAL_PORT)\r
363 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
364!else\r
365 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
366!endif\r
c30ff8f4 367 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
cbd5d723
MK
368!ifdef $(SOURCE_DEBUG_ENABLE)\r
369 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf\r
370!endif\r
46df0216 371 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
c47ed6fc 372 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
988e5986
GS
373\r
374[LibraryClasses.common.SMM_CORE]\r
375 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
376 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
f25cb158
LE
377 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf\r
378 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r
379 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
380 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
381 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
382 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r
383!ifdef $(DEBUG_ON_SERIAL_PORT)\r
384 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
385!else\r
386 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
387!endif\r
c47ed6fc 388 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
988e5986 389\r
49ba9447 390################################################################################\r
391#\r
392# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
393#\r
394################################################################################\r
7b202cb0 395[PcdsFeatureFlag]\r
eccc28bf 396 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE\r
e8d1b8d8 397 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
398 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE\r
8fa729a8
LG
399 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE\r
400 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE\r
8fa729a8
LG
401 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
402 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
259d8714 403 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE\r
e05061c5 404!if $(SECURE_BOOT_ENABLE) == TRUE\r
405 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE\r
406!endif\r
1f695483
LE
407!if $(SMM_REQUIRE) == TRUE\r
408 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE\r
896d3dcf 409 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE\r
1f695483 410!endif\r
8fa729a8 411\r
7b202cb0 412[PcdsFixedAtBuild]\r
e6d3b270 413 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r
670a64e7 414 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
49ba9447 415 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10\r
416 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6\r
417 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32\r
fd4ba547 418 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r
f5404a3e 419 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800\r
9a089978 420 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000\r
49ba9447 421\r
49ba9447 422 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
423\r
49ba9447 424 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
cf23c02a
LE
425\r
426 # DEBUG_INIT 0x00000001 // Initialization\r
427 # DEBUG_WARN 0x00000002 // Warnings\r
428 # DEBUG_LOAD 0x00000004 // Load events\r
429 # DEBUG_FS 0x00000008 // EFI File system\r
430 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)\r
431 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)\r
432 # DEBUG_INFO 0x00000040 // Informational debug messages\r
433 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers\r
434 # DEBUG_VARIABLE 0x00000100 // Variable\r
435 # DEBUG_BM 0x00000400 // Boot Manager\r
436 # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r
437 # DEBUG_NET 0x00004000 // SNP Driver\r
438 # DEBUG_UNDI 0x00010000 // UNDI Driver\r
439 # DEBUG_LOADFILE 0x00020000 // LoadFile\r
440 # DEBUG_EVENT 0x00080000 // Event messages\r
441 # DEBUG_GCD 0x00100000 // Global Coherency Database changes\r
442 # DEBUG_CACHE 0x00200000 // Memory range cachability changes\r
443 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may\r
444 # // significantly impact boot performance\r
445 # DEBUG_ERROR 0x80000000 // Error\r
49ba9447 446 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
cf23c02a 447\r
c6efcc2a 448!ifdef $(SOURCE_DEBUG_ENABLE)\r
449 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
450!else\r
49ba9447 451 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
c6efcc2a 452!endif\r
453\r
7b8fe635
LE
454 # This PCD is used to set the base address of the PCI express hierarchy. It\r
455 # is only consulted when OVMF runs on Q35. In that case it is programmed into\r
456 # the PCIEXBAR register.\r
457 #\r
458 # On Q35 machine types that QEMU intends to support in the long term, QEMU\r
459 # never lets the RAM below 4 GB exceed 2 GB.\r
460 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0x80000000\r
461\r
670a64e7 462!ifdef $(SOURCE_DEBUG_ENABLE)\r
c6efcc2a 463 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
670a64e7 464!endif\r
49ba9447 465\r
1a4232b7 466[PcdsFixedAtBuild.X64]\r
4b2fb798
JW
467!if $(HTTP_BOOT_ENABLE) == TRUE\r
468 gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE\r
469!endif\r
470\r
9bef3cdc 471!ifndef $(USE_OLD_SHELL)\r
345a0c8f 472 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }\r
345a0c8f 473!endif\r
474\r
9b1e3788 475!if $(SMM_REQUIRE) == TRUE\r
0d0c245d 476 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000\r
9b1e3788
PB
477!endif\r
478\r
1fea9ddb
LE
479!if $(SECURE_BOOT_ENABLE) == TRUE\r
480 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00\r
481!endif\r
482\r
7ca126ff 483 # IRQs 5, 9, 10, 11 are level-triggered\r
484 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20\r
485\r
79c098b6
RN
486 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf\r
487 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
488\r
49ba9447 489################################################################################\r
490#\r
491# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
492#\r
493################################################################################\r
494\r
7b202cb0 495[PcdsDynamicDefault]\r
77ba993c 496 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
e3130268 497 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
27f58ea1 498 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
499 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
447d2641 500 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE\r
c4341e3a
LE
501 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800\r
502 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600\r
a1726e30 503 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE\r
d55004da 504 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r
c4df7fd0
LE
505 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0\r
506 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0\r
03845e90
LE
507 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0\r
508 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0\r
7e5b1b67
LE
509 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0\r
510 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000\r
27f58ea1 511\r
86a9c7a7 512 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0\r
49ba9447 513\r
848834cb 514 # Set video resolution for text setup.\r
86a9c7a7
RN
515 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640\r
516 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480\r
848834cb 517\r
37baf06b 518 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208\r
c3db5a8c 519 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0\r
6fbef93e 520 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE\r
37baf06b 521\r
d26753f8 522 # Noexec settings for DXE.\r
d20b06a3 523 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE\r
c075d250 524 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE\r
d26753f8 525\r
45a70db3
LE
526 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.\r
527 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64\r
528 gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|50000\r
529\r
22d7be69
LE
530!if $(SMM_REQUIRE) == TRUE\r
531 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01\r
532 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000\r
533!endif\r
534\r
49ba9447 535################################################################################\r
536#\r
537# Components Section - list of all EDK II Modules needed by this Platform.\r
538#\r
539################################################################################\r
540[Components.IA32]\r
497cbb53
JJ
541 OvmfPkg/ResetVector/ResetVector.inf\r
542\r
49ba9447 543 #\r
544 # SEC Phase modules\r
545 #\r
c1c2669c 546 OvmfPkg/Sec/SecMain.inf {\r
547 <LibraryClasses>\r
d2daa3db 548 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
c1c2669c 549 }\r
49ba9447 550\r
551 #\r
552 # PEI Phase modules\r
553 #\r
554 MdeModulePkg/Core/Pei/PeiMain.inf\r
555 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
556 <LibraryClasses>\r
557 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
558 }\r
a6d594c5
CS
559 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf\r
560 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf\r
d26753f8
LE
561 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {\r
562 <LibraryClasses>\r
563 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
564 }\r
77ba993c 565\r
566 OvmfPkg/PlatformPei/PlatformPei.inf {\r
567 <LibraryClasses>\r
568 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
569 }\r
5fb6fc0f
LE
570 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {\r
571 <LibraryClasses>\r
572 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
67d86594
LE
573!if $(SMM_REQUIRE) == TRUE\r
574 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf\r
575!endif\r
5fb6fc0f 576 }\r
9d560947
LE
577!if $(SMM_REQUIRE) == TRUE\r
578 OvmfPkg/SmmAccess/SmmAccessPei.inf {\r
579 <LibraryClasses>\r
580 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
581 }\r
582!endif\r
f0e6a56a
LE
583 UefiCpuPkg/CpuMpPei/CpuMpPei.inf {\r
584 <LibraryClasses>\r
585 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
586 }\r
49ba9447 587\r
588[Components.X64]\r
589 #\r
590 # DXE Phase modules\r
591 #\r
592 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
593 <LibraryClasses>\r
d2daa3db 594 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
863986b3 595 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
49ba9447 596 }\r
597\r
a6d594c5
CS
598 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
599 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r
49ba9447 600 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
601 <LibraryClasses>\r
602 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
603 }\r
604\r
605 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
8cee3de7 606\r
607!if $(SECURE_BOOT_ENABLE) == TRUE\r
608 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
609 <LibraryClasses>\r
610 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
8cee3de7 611 }\r
612!else\r
49ba9447 613 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
8cee3de7 614!endif\r
615\r
e6d3b270 616 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
49ba9447 617 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf\r
73cbc580 618 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
49ba9447 619 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
620 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf\r
855743f7 621 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf\r
8aba40b7 622 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf\r
4014885f
LE
623 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {\r
624 <LibraryClasses>\r
625 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf\r
626 }\r
447d2641
WL
627 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r
628 <LibraryClasses>\r
629 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
630 }\r
f90472e1 631 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
170ef2d9
GS
632 MdeModulePkg/Universal/Metronome/Metronome.inf\r
633 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
ba502ef4 634 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf\r
79c098b6
RN
635 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
636 <LibraryClasses>\r
637!ifdef $(CSM_ENABLE)\r
638 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf\r
639 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
640!endif\r
641 }\r
ab970515 642 MdeModulePkg/Logo/LogoDxe.inf\r
79c098b6
RN
643 MdeModulePkg/Application/UiApp/UiApp.inf {\r
644 <LibraryClasses>\r
645 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
646 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
647 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
648!ifdef $(CSM_ENABLE)\r
649 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
650 NULL|IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf\r
651!endif\r
652 }\r
efd82c57 653 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf\r
56f65ed8 654 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r
8456a7da 655 OvmfPkg/Virtio10Dxe/Virtio10.inf\r
fd51d759 656 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
37078a63 657 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
b38ec3cd 658 OvmfPkg/VirtioRngDxe/VirtioRng.inf\r
d9fdfd85 659 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf\r
e65e8802 660 OvmfPkg/XenBusDxe/XenBusDxe.inf\r
de671da8 661 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf\r
49ba9447 662 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
663 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
664 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
665 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
666 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
c4341e3a
LE
667 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r
668 <LibraryClasses>\r
669 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
670 }\r
49ba9447 671 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
863986b3
RN
672 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
673 <LibraryClasses>\r
674 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
675 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
676 }\r
86fef5b4 677 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
49ba9447 678 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
679 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
00f18da1 680 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r
49ba9447 681 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
aa47e529 682 FatPkg/EnhancedFatDxe/Fat.inf\r
49ba9447 683 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
684 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
b82802b8
RJ
685 OvmfPkg/SataControllerDxe/SataControllerDxe.inf\r
686 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
687 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
8ae3832d 688 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r
49ba9447 689 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
690 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
56af21cb 691 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
999a815e 692 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
49ba9447 693\r
bd52d4ff 694 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf\r
b3eab015 695 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf\r
49ba9447 696\r
697 #\r
698 # ISA Support\r
699 #\r
700 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf\r
701 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf\r
702 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf\r
703 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf\r
704 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf\r
705\r
fb511817 706 #\r
707 # SMBIOS Support\r
708 #\r
98937dc2
LE
709 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {\r
710 <LibraryClasses>\r
711 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf\r
712 }\r
fb511817 713 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
714\r
49ba9447 715 #\r
716 # ACPI Support\r
717 #\r
718 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
7d2bd150 719 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf\r
49ba9447 720 OvmfPkg/AcpiTables/AcpiTables.inf\r
b017b1b2 721 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
93900400 722 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
6e5e544f 723 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf\r
7416f4eb 724\r
725 #\r
726 # Network Support\r
727 #\r
7416f4eb 728 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf\r
729 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r
730 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf\r
731 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf\r
732 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r
733 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r
7416f4eb 734 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf\r
735 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf\r
7416f4eb 736 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf\r
36c6413f
GL
737!if $(NETWORK_IP6_ENABLE) == TRUE\r
738 NetworkPkg/Ip6Dxe/Ip6Dxe.inf\r
739 NetworkPkg/TcpDxe/TcpDxe.inf\r
740 NetworkPkg/Udp6Dxe/Udp6Dxe.inf\r
741 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf\r
742 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf\r
743 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
36c6413f 744 NetworkPkg/IScsiDxe/IScsiDxe.inf\r
36c6413f
GL
745!else\r
746 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf\r
7416f4eb 747 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
748 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
ab44a6e8
GCPL
749!endif\r
750!if $(HTTP_BOOT_ENABLE) == TRUE\r
751 NetworkPkg/DnsDxe/DnsDxe.inf\r
1a85139d 752 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf\r
ab44a6e8
GCPL
753 NetworkPkg/HttpDxe/HttpDxe.inf\r
754 NetworkPkg/HttpBootDxe/HttpBootDxe.inf\r
315d9d08
GL
755!endif\r
756!if $(TLS_ENABLE) == TRUE\r
757 NetworkPkg/TlsDxe/TlsDxe.inf\r
758 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf\r
36c6413f 759!endif\r
7a1f5947 760 OvmfPkg/VirtioNetDxe/VirtioNet.inf\r
152d9a6b 761\r
689562cd 762 #\r
763 # Usb Support\r
764 #\r
765 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
766 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
47e57f4f 767 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
689562cd 768 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
769 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
770 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
771\r
4b3d663f 772!ifdef $(CSM_ENABLE)\r
e04cca1d
PB
773 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {\r
774 <LibraryClasses>\r
775 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
776 }\r
4b3d663f 777 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
778 OvmfPkg/Csm/Csm16/Csm16.inf\r
779!endif\r
780\r
9bef3cdc 781!ifndef $(USE_OLD_SHELL)\r
345a0c8f 782 ShellPkg/Application/Shell/Shell.inf {\r
783 <LibraryClasses>\r
784 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
785 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
786 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
787 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
788 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
789 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
790 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
791 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
96302b80
GL
792!if $(NETWORK_IP6_ENABLE) == TRUE\r
793 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r
794!endif\r
b2f88ffd 795 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf\r
345a0c8f 796 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
345a0c8f 797 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
ae591c14 798 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
345a0c8f 799 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
800# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf\r
801# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf\r
9fc9f4d8 802 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
345a0c8f 803\r
804 <PcdsFixedAtBuild>\r
805 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
806 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
807 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
808 }\r
809!endif\r
810\r
8cee3de7 811!if $(SECURE_BOOT_ENABLE) == TRUE\r
8714a631 812 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
8cee3de7 813!endif\r
d945a8ba
LE
814\r
815 OvmfPkg/PlatformDxe/Platform.inf\r
c5b7c805
LE
816\r
817!if $(SMM_REQUIRE) == TRUE\r
818 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf\r
c40e1a0c 819 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf\r
92b87f1c 820 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf\r
f25cb158
LE
821\r
822 #\r
823 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)\r
824 #\r
825 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf\r
826\r
827 #\r
828 # SMM_CORE\r
829 #\r
830 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf\r
8dbe742d
LE
831\r
832 #\r
833 # Privileged drivers (DXE_SMM_DRIVER modules)\r
834 #\r
835 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r
67d86594
LE
836 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {\r
837 <LibraryClasses>\r
838 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf\r
839 }\r
0d5d4205
LE
840 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {\r
841 <LibraryClasses>\r
842 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf\r
843 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
844 }\r
1b0a8e62
LE
845\r
846 #\r
46df0216
LE
847 # Variable driver stack (SMM)\r
848 #\r
849 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf\r
850 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf\r
851 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {\r
852 <LibraryClasses>\r
853 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
854 }\r
855 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf\r
856\r
857!else\r
858\r
859 #\r
860 # Variable driver stack (non-SMM)\r
1b0a8e62
LE
861 #\r
862 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
863 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r
864 <LibraryClasses>\r
865 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r
866 }\r
867 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
868 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
869 <LibraryClasses>\r
870 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
871 }\r
46df0216 872!endif\r