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