]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/OvmfPkgIa32.dsc
Vlv2TbltDevicePkg/AcpiPlatform: Remove unused variables
[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
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
49ba9447 296\r
86fef5b4 297[LibraryClasses.common.UEFI_APPLICATION]\r
988e5986
GS
298 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
299 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
86fef5b4 300 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
301 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
79c098b6 302 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
b90aefa9 303!ifdef $(DEBUG_ON_SERIAL_PORT)\r
86fef5b4 304 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 305!else\r
306 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
307!endif\r
c47ed6fc 308 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
86fef5b4 309\r
988e5986
GS
310[LibraryClasses.common.DXE_SMM_DRIVER]\r
311 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
312 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
67d86594 313 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
fc5b5e5c 314 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
67d86594
LE
315 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
316 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
8dbe742d
LE
317 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
318!ifdef $(DEBUG_ON_SERIAL_PORT)\r
319 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
320!else\r
321 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
322!endif\r
c30ff8f4 323 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
cbd5d723
MK
324!ifdef $(SOURCE_DEBUG_ENABLE)\r
325 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf\r
326!endif\r
46df0216 327 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
c47ed6fc 328 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
988e5986
GS
329\r
330[LibraryClasses.common.SMM_CORE]\r
331 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
332 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
f25cb158
LE
333 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf\r
334 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r
335 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
336 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
337 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
338 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r
339!ifdef $(DEBUG_ON_SERIAL_PORT)\r
340 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
341!else\r
342 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
343!endif\r
c47ed6fc 344 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
988e5986 345\r
49ba9447 346################################################################################\r
347#\r
348# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
349#\r
350################################################################################\r
7b202cb0 351[PcdsFeatureFlag]\r
eccc28bf 352 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE\r
e8d1b8d8 353 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
354 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE\r
8fa729a8
LG
355 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE\r
356 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r
8fa729a8
LG
357 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
358 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
259d8714 359 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE\r
e05061c5 360!if $(SECURE_BOOT_ENABLE) == TRUE\r
361 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE\r
362!endif\r
1f695483
LE
363!if $(SMM_REQUIRE) == TRUE\r
364 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE\r
896d3dcf 365 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE\r
1f695483 366!endif\r
49ba9447 367\r
7b202cb0 368[PcdsFixedAtBuild]\r
e6d3b270 369 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r
670a64e7 370 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
49ba9447 371 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10\r
372 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6\r
373 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32\r
fd4ba547 374 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r
f5404a3e 375 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800\r
9a089978 376 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000\r
49ba9447 377\r
49ba9447 378 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
379\r
49ba9447 380 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
cf23c02a
LE
381\r
382 # DEBUG_INIT 0x00000001 // Initialization\r
383 # DEBUG_WARN 0x00000002 // Warnings\r
384 # DEBUG_LOAD 0x00000004 // Load events\r
385 # DEBUG_FS 0x00000008 // EFI File system\r
386 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)\r
387 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)\r
388 # DEBUG_INFO 0x00000040 // Informational debug messages\r
389 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers\r
390 # DEBUG_VARIABLE 0x00000100 // Variable\r
391 # DEBUG_BM 0x00000400 // Boot Manager\r
392 # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r
393 # DEBUG_NET 0x00004000 // SNP Driver\r
394 # DEBUG_UNDI 0x00010000 // UNDI Driver\r
395 # DEBUG_LOADFILE 0x00020000 // LoadFile\r
396 # DEBUG_EVENT 0x00080000 // Event messages\r
397 # DEBUG_GCD 0x00100000 // Global Coherency Database changes\r
398 # DEBUG_CACHE 0x00200000 // Memory range cachability changes\r
399 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may\r
400 # // significantly impact boot performance\r
401 # DEBUG_ERROR 0x80000000 // Error\r
49ba9447 402 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
cf23c02a 403\r
c6efcc2a 404!ifdef $(SOURCE_DEBUG_ENABLE)\r
405 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
406!else\r
49ba9447 407 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
c6efcc2a 408!endif\r
409\r
7b8fe635
LE
410 # This PCD is used to set the base address of the PCI express hierarchy. It\r
411 # is only consulted when OVMF runs on Q35. In that case it is programmed into\r
412 # the PCIEXBAR register.\r
413 #\r
414 # On Q35 machine types that QEMU intends to support in the long term, QEMU\r
415 # never lets the RAM below 4 GB exceed 2 GB.\r
416 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0x80000000\r
417\r
670a64e7 418!ifdef $(SOURCE_DEBUG_ENABLE)\r
c6efcc2a 419 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
670a64e7 420!endif\r
49ba9447 421\r
9bef3cdc 422!ifndef $(USE_OLD_SHELL)\r
345a0c8f 423 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }\r
345a0c8f 424!endif\r
425\r
9b1e3788
PB
426!if $(SMM_REQUIRE) == TRUE\r
427 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01\r
bb0f18b0 428 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000\r
0d0c245d 429 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000\r
9b1e3788
PB
430!endif\r
431\r
1fea9ddb
LE
432!if $(SECURE_BOOT_ENABLE) == TRUE\r
433 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00\r
434!endif\r
435\r
7ca126ff 436 # IRQs 5, 9, 10, 11 are level-triggered\r
437 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20\r
438\r
79c098b6
RN
439 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf\r
440 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
441\r
49ba9447 442################################################################################\r
443#\r
444# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
445#\r
446################################################################################\r
447\r
7b202cb0 448[PcdsDynamicDefault]\r
77ba993c 449 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
e3130268 450 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
27f58ea1 451 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
452 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
447d2641 453 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE\r
c4341e3a
LE
454 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800\r
455 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600\r
a1726e30 456 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE\r
d55004da 457 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r
c4df7fd0
LE
458 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0\r
459 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0\r
03845e90
LE
460 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0\r
461 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0\r
27f58ea1 462\r
86a9c7a7 463 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0\r
49ba9447 464\r
848834cb 465 # Set video resolution for text setup.\r
86a9c7a7
RN
466 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640\r
467 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480\r
848834cb 468\r
37baf06b 469 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208\r
c3db5a8c 470 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0\r
6fbef93e 471 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE\r
37baf06b 472\r
d26753f8 473 # Noexec settings for DXE.\r
d20b06a3 474 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE\r
c075d250 475 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE\r
d26753f8 476\r
49ba9447 477################################################################################\r
478#\r
479# Components Section - list of all EDK II Modules needed by this Platform.\r
480#\r
481################################################################################\r
7b202cb0 482[Components]\r
497cbb53
JJ
483 OvmfPkg/ResetVector/ResetVector.inf\r
484\r
49ba9447 485 #\r
486 # SEC Phase modules\r
487 #\r
c1c2669c 488 OvmfPkg/Sec/SecMain.inf {\r
489 <LibraryClasses>\r
490 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
491 }\r
49ba9447 492\r
493 #\r
494 # PEI Phase modules\r
495 #\r
496 MdeModulePkg/Core/Pei/PeiMain.inf\r
497 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
498 <LibraryClasses>\r
499 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
500 }\r
a6d594c5
CS
501 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf\r
502 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf\r
d26753f8
LE
503 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {\r
504 <LibraryClasses>\r
505 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
506 }\r
77ba993c 507\r
508 OvmfPkg/PlatformPei/PlatformPei.inf {\r
509 <LibraryClasses>\r
510 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
511 }\r
5fb6fc0f
LE
512 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {\r
513 <LibraryClasses>\r
514 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
67d86594
LE
515!if $(SMM_REQUIRE) == TRUE\r
516 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf\r
517!endif\r
5fb6fc0f 518 }\r
9d560947
LE
519!if $(SMM_REQUIRE) == TRUE\r
520 OvmfPkg/SmmAccess/SmmAccessPei.inf {\r
521 <LibraryClasses>\r
522 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
523 }\r
524!endif\r
f0e6a56a
LE
525 UefiCpuPkg/CpuMpPei/CpuMpPei.inf {\r
526 <LibraryClasses>\r
527 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
528 }\r
49ba9447 529\r
530 #\r
531 # DXE Phase modules\r
532 #\r
533 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
534 <LibraryClasses>\r
535 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
5c3481b0 536 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
49ba9447 537 }\r
538\r
a6d594c5
CS
539 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
540 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r
49ba9447 541 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
542 <LibraryClasses>\r
543 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
544 }\r
545\r
546 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
8cee3de7 547\r
548!if $(SECURE_BOOT_ENABLE) == TRUE\r
549 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
550 <LibraryClasses>\r
551 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
8cee3de7 552 }\r
553!else\r
49ba9447 554 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
8cee3de7 555!endif\r
556\r
e6d3b270 557 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
49ba9447 558 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf\r
73cbc580 559 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
49ba9447 560 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
561 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf\r
855743f7 562 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf\r
8aba40b7 563 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf\r
4014885f
LE
564 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {\r
565 <LibraryClasses>\r
566 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf\r
567 }\r
447d2641
WL
568 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r
569 <LibraryClasses>\r
570 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
571 }\r
49ba9447 572 PcAtChipsetPkg/KbcResetDxe/Reset.inf\r
170ef2d9
GS
573 MdeModulePkg/Universal/Metronome/Metronome.inf\r
574 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
ba502ef4 575 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf\r
79c098b6
RN
576 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
577 <LibraryClasses>\r
a3cd5cd5 578 NULL|MdeModulePkg/Library/BmpImageDecoderLib/BmpImageDecoderLib.inf\r
79c098b6
RN
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
584 MdeModulePkg/Application/UiApp/UiApp.inf {\r
585 <LibraryClasses>\r
586 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
587 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
588 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
589!ifdef $(CSM_ENABLE)\r
590 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
591 NULL|IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf\r
592!endif\r
593 }\r
efd82c57 594 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf\r
56f65ed8 595 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r
8456a7da 596 OvmfPkg/Virtio10Dxe/Virtio10.inf\r
fd51d759 597 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
37078a63 598 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
b38ec3cd 599 OvmfPkg/VirtioRngDxe/VirtioRng.inf\r
d9fdfd85 600 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf\r
e65e8802 601 OvmfPkg/XenBusDxe/XenBusDxe.inf\r
de671da8 602 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf\r
49ba9447 603 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
604 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
605 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
606 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
607 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
c4341e3a
LE
608 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r
609 <LibraryClasses>\r
610 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
611 }\r
49ba9447 612 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
5c3481b0
RN
613 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
614 <LibraryClasses>\r
615 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
616 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
617 }\r
86fef5b4 618 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
49ba9447 619 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
620 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
00f18da1 621 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r
49ba9447 622 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
aa47e529 623 FatPkg/EnhancedFatDxe/Fat.inf\r
49ba9447 624 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
625 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
b82802b8
RJ
626 OvmfPkg/SataControllerDxe/SataControllerDxe.inf\r
627 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
628 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
8ae3832d 629 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r
49ba9447 630 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
631 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
56af21cb 632 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
999a815e 633 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
49ba9447 634\r
eaf4f336 635 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {\r
636 <LibraryClasses>\r
637 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
638 }\r
49ba9447 639\r
640 #\r
641 # ISA Support\r
642 #\r
643 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf\r
644 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf\r
645 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf\r
646 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf\r
647 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf\r
648\r
fb511817 649 #\r
650 # SMBIOS Support\r
651 #\r
98937dc2
LE
652 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {\r
653 <LibraryClasses>\r
654 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf\r
655 }\r
fb511817 656 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
657\r
49ba9447 658 #\r
659 # ACPI Support\r
660 #\r
661 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
7d2bd150 662 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf\r
49ba9447 663 OvmfPkg/AcpiTables/AcpiTables.inf\r
b017b1b2 664 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
93900400 665 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
7416f4eb 666\r
667 #\r
668 # Network Support\r
669 #\r
7416f4eb 670 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf\r
671 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r
672 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf\r
673 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf\r
674 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r
675 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r
7416f4eb 676 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf\r
677 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf\r
7416f4eb 678 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf\r
36c6413f
GL
679!if $(NETWORK_IP6_ENABLE) == TRUE\r
680 NetworkPkg/Ip6Dxe/Ip6Dxe.inf\r
681 NetworkPkg/TcpDxe/TcpDxe.inf\r
682 NetworkPkg/Udp6Dxe/Udp6Dxe.inf\r
683 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf\r
684 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf\r
685 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
686!if $(SECURE_BOOT_ENABLE) == TRUE\r
687 NetworkPkg/IScsiDxe/IScsiDxe.inf\r
688!else\r
689 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
690!endif\r
691!else\r
692 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf\r
7416f4eb 693 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
694 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
ab44a6e8
GCPL
695!endif\r
696!if $(HTTP_BOOT_ENABLE) == TRUE\r
697 NetworkPkg/DnsDxe/DnsDxe.inf\r
1a85139d 698 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf\r
ab44a6e8
GCPL
699 NetworkPkg/HttpDxe/HttpDxe.inf\r
700 NetworkPkg/HttpBootDxe/HttpBootDxe.inf\r
36c6413f 701!endif\r
7a1f5947 702 OvmfPkg/VirtioNetDxe/VirtioNet.inf\r
152d9a6b 703\r
689562cd 704 #\r
705 # Usb Support\r
706 #\r
707 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
708 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
47e57f4f 709 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
689562cd 710 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
711 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
712 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
713\r
4b3d663f 714!ifdef $(CSM_ENABLE)\r
e04cca1d
PB
715 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {\r
716 <LibraryClasses>\r
717 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
718 }\r
4b3d663f 719 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
720 OvmfPkg/Csm/Csm16/Csm16.inf\r
721!endif\r
722\r
9bef3cdc 723!ifndef $(USE_OLD_SHELL)\r
345a0c8f 724 ShellPkg/Application/Shell/Shell.inf {\r
725 <LibraryClasses>\r
726 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
727 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
728 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
729 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
730 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
731 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
732 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
733 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
96302b80
GL
734!if $(NETWORK_IP6_ENABLE) == TRUE\r
735 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r
736!endif\r
b2f88ffd 737 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf\r
345a0c8f 738 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
345a0c8f 739 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
ae591c14 740 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
345a0c8f 741 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
742# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf\r
743# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf\r
9fc9f4d8 744 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
345a0c8f 745\r
746 <PcdsFixedAtBuild>\r
747 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
748 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
749 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
750 }\r
751!endif\r
752\r
8cee3de7 753!if $(SECURE_BOOT_ENABLE) == TRUE\r
8714a631 754 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
8cee3de7 755!endif\r
d945a8ba
LE
756\r
757 OvmfPkg/PlatformDxe/Platform.inf\r
c5b7c805
LE
758\r
759!if $(SMM_REQUIRE) == TRUE\r
760 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf\r
c40e1a0c 761 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf\r
92b87f1c 762 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf\r
f25cb158
LE
763\r
764 #\r
765 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)\r
766 #\r
767 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf\r
768\r
769 #\r
770 # SMM_CORE\r
771 #\r
772 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf\r
8dbe742d
LE
773\r
774 #\r
775 # Privileged drivers (DXE_SMM_DRIVER modules)\r
776 #\r
777 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r
67d86594
LE
778 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {\r
779 <LibraryClasses>\r
780 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf\r
781 }\r
0d5d4205
LE
782 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {\r
783 <LibraryClasses>\r
784 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf\r
785 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
786 }\r
1b0a8e62
LE
787\r
788 #\r
46df0216
LE
789 # Variable driver stack (SMM)\r
790 #\r
791 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf\r
792 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf\r
793 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {\r
794 <LibraryClasses>\r
795 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
796 }\r
797 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf\r
798\r
799!else\r
800\r
801 #\r
802 # Variable driver stack (non-SMM)\r
1b0a8e62
LE
803 #\r
804 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
805 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r
806 <LibraryClasses>\r
807 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r
808 }\r
809 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
810 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
811 <LibraryClasses>\r
812 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
813 }\r
46df0216 814!endif\r