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