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