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