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