]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/OvmfPkgIa32X64.dsc
OvmfPkg: add DxePciLibI440FxQ35
[mirror_edk2.git] / OvmfPkg / OvmfPkgIa32X64.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
49ba9447 5#\r
56d7640a 6# This program and the accompanying materials\r
49ba9447 7# are licensed and made available under the terms and conditions of the BSD License\r
8# which accompanies this distribution. The full text of the license may be found at\r
9# http://opensource.org/licenses/bsd-license.php\r
10#\r
11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13#\r
7b202cb0 14##\r
49ba9447 15\r
16################################################################################\r
17#\r
18# Defines Section - statements that will be processed to create a Makefile.\r
19#\r
20################################################################################\r
21[Defines]\r
22 PLATFORM_NAME = Ovmf\r
23 PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b\r
24 PLATFORM_VERSION = 0.1\r
713b7b5e 25 DSC_SPECIFICATION = 0x00010005\r
49ba9447 26 OUTPUT_DIRECTORY = Build/Ovmf3264\r
27 SUPPORTED_ARCHITECTURES = IA32|X64\r
28 BUILD_TARGETS = DEBUG|RELEASE\r
29 SKUID_IDENTIFIER = DEFAULT\r
30 FLASH_DEFINITION = OvmfPkg/OvmfPkgIa32X64.fdf\r
31\r
e05061c5 32 #\r
33 # Defines for default states. These can be changed on the command line.\r
34 # -D FLAG=VALUE\r
35 #\r
36 DEFINE SECURE_BOOT_ENABLE = FALSE\r
36c6413f 37 DEFINE NETWORK_IP6_ENABLE = FALSE\r
ab44a6e8 38 DEFINE HTTP_BOOT_ENABLE = FALSE\r
1f695483 39 DEFINE SMM_REQUIRE = FALSE\r
4014885f 40 DEFINE USE_OLD_PCI_HOST = 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
bbcafc44 48!ifdef $(SOURCE_DEBUG_ENABLE)\r
49 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
50 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
51 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
52!endif\r
ddd89cd5
AB
53\r
54[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]\r
55 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r
bbcafc44 56 \r
49ba9447 57################################################################################\r
58#\r
59# SKU Identification section - list of all SKU IDs supported by this Platform.\r
60#\r
61################################################################################\r
62[SkuIds]\r
63 0|DEFAULT\r
64\r
65################################################################################\r
66#\r
67# Library Class section - list of all Library Classes needed by this Platform.\r
68#\r
69################################################################################\r
7b202cb0 70[LibraryClasses]\r
49ba9447 71 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
170ef2d9 72 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf\r
49ba9447 73 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
4a8266f5 74 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r
49ba9447 75 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
76 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
77 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
78 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
79 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
49ba9447 80 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
81 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
82 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
83 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
49ba9447 84 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf\r
85 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
86 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
cd455669 87 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
49ba9447 88 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
89 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
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
863986b3 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
c6efcc2a 119\r
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
7416f4eb 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
49ba9447 179\r
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
49ba9447 216\r
217[LibraryClasses.common.DXE_CORE]\r
49ba9447 218 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
219 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
220 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
abec2e51 221 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
b90aefa9 222!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 223 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 224!else\r
225 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
226!endif\r
49ba9447 227 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
c6efcc2a 228!ifdef $(SOURCE_DEBUG_ENABLE)\r
229 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
230!endif\r
85a32c71 231 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
c075d250 232 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
49ba9447 233\r
234[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
988e5986 235 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
170ef2d9 236 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
49ba9447 237 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
238 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
239 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
abec2e51 240 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
b90aefa9 241!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 242 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 243!else\r
244 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
245!endif\r
49ba9447 246 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
8cee3de7 247!if $(SECURE_BOOT_ENABLE) == TRUE\r
248 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
249!endif\r
49ba9447 250\r
251[LibraryClasses.common.UEFI_DRIVER]\r
988e5986
GS
252 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
253 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
49ba9447 254 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
255 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
256 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
abec2e51 257 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
b90aefa9 258!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 259 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 260!else\r
261 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
262!endif\r
49ba9447 263 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
264\r
265[LibraryClasses.common.DXE_DRIVER]\r
988e5986 266 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
170ef2d9 267 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
49ba9447 268 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
49ba9447 269 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
abec2e51 270 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
49ba9447 271 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
b90aefa9 272!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 273 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 274!else\r
275 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
276!endif\r
49ba9447 277 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
278 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf\r
279 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf\r
280 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf\r
281 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf\r
85a32c71 282 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
67d86594
LE
283!if $(SMM_REQUIRE) == TRUE\r
284 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf\r
285!else\r
6a7cba79 286 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf\r
67d86594 287!endif\r
34511266
JJ
288!ifdef $(SOURCE_DEBUG_ENABLE)\r
289 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
290!endif\r
cca7475b 291 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf\r
cf621821
DB
292!if $(SECURE_BOOT_ENABLE) == TRUE\r
293 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
294!endif\r
49ba9447 295\r
86fef5b4 296[LibraryClasses.common.UEFI_APPLICATION]\r
988e5986
GS
297 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
298 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
86fef5b4 299 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
300 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
b90aefa9 301!ifdef $(DEBUG_ON_SERIAL_PORT)\r
86fef5b4 302 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 303!else\r
304 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
305!endif\r
86fef5b4 306\r
988e5986
GS
307[LibraryClasses.common.DXE_SMM_DRIVER]\r
308 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
309 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
67d86594 310 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
fc5b5e5c 311 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
67d86594
LE
312 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
313 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
8dbe742d
LE
314 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
315!ifdef $(DEBUG_ON_SERIAL_PORT)\r
316 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
317!else\r
318 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
319!endif\r
c30ff8f4 320 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
cbd5d723
MK
321!ifdef $(SOURCE_DEBUG_ENABLE)\r
322 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf\r
323!endif\r
46df0216 324 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
988e5986
GS
325\r
326[LibraryClasses.common.SMM_CORE]\r
327 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
328 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
f25cb158
LE
329 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf\r
330 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r
331 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
332 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
333 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
334 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r
335!ifdef $(DEBUG_ON_SERIAL_PORT)\r
336 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
337!else\r
338 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
339!endif\r
988e5986 340\r
49ba9447 341################################################################################\r
342#\r
343# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
344#\r
345################################################################################\r
7b202cb0 346[PcdsFeatureFlag]\r
e8d1b8d8 347 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
348 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE\r
8fa729a8
LG
349 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE\r
350 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE\r
8fa729a8
LG
351 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
352 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
e05061c5 353!if $(SECURE_BOOT_ENABLE) == TRUE\r
354 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE\r
355!endif\r
1f695483
LE
356!if $(SMM_REQUIRE) == TRUE\r
357 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE\r
896d3dcf 358 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE\r
1f695483 359!endif\r
8fa729a8 360\r
7b202cb0 361[PcdsFixedAtBuild]\r
e6d3b270 362 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r
670a64e7 363 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
49ba9447 364 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10\r
365 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6\r
366 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32\r
fd4ba547 367 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r
49ba9447 368 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000\r
9a089978 369 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000\r
49ba9447 370\r
49ba9447 371 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
372\r
49ba9447 373 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
cf23c02a
LE
374\r
375 # DEBUG_INIT 0x00000001 // Initialization\r
376 # DEBUG_WARN 0x00000002 // Warnings\r
377 # DEBUG_LOAD 0x00000004 // Load events\r
378 # DEBUG_FS 0x00000008 // EFI File system\r
379 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)\r
380 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)\r
381 # DEBUG_INFO 0x00000040 // Informational debug messages\r
382 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers\r
383 # DEBUG_VARIABLE 0x00000100 // Variable\r
384 # DEBUG_BM 0x00000400 // Boot Manager\r
385 # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r
386 # DEBUG_NET 0x00004000 // SNP Driver\r
387 # DEBUG_UNDI 0x00010000 // UNDI Driver\r
388 # DEBUG_LOADFILE 0x00020000 // LoadFile\r
389 # DEBUG_EVENT 0x00080000 // Event messages\r
390 # DEBUG_GCD 0x00100000 // Global Coherency Database changes\r
391 # DEBUG_CACHE 0x00200000 // Memory range cachability changes\r
392 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may\r
393 # // significantly impact boot performance\r
394 # DEBUG_ERROR 0x80000000 // Error\r
49ba9447 395 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
cf23c02a 396\r
c6efcc2a 397!ifdef $(SOURCE_DEBUG_ENABLE)\r
398 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
399!else\r
49ba9447 400 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
c6efcc2a 401!endif\r
402\r
7b8fe635
LE
403 # This PCD is used to set the base address of the PCI express hierarchy. It\r
404 # is only consulted when OVMF runs on Q35. In that case it is programmed into\r
405 # the PCIEXBAR register.\r
406 #\r
407 # On Q35 machine types that QEMU intends to support in the long term, QEMU\r
408 # never lets the RAM below 4 GB exceed 2 GB.\r
409 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0x80000000\r
410\r
670a64e7 411!ifdef $(SOURCE_DEBUG_ENABLE)\r
c6efcc2a 412 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
670a64e7 413!endif\r
49ba9447 414\r
9bef3cdc 415!ifndef $(USE_OLD_SHELL)\r
345a0c8f 416 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }\r
345a0c8f 417!endif\r
418\r
171ea2ea 419[PcdsFixedAtBuild.X64]\r
9b1e3788
PB
420!if $(SMM_REQUIRE) == TRUE\r
421 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01\r
bb0f18b0 422 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000\r
9b1e3788
PB
423!endif\r
424\r
1fea9ddb
LE
425!if $(SECURE_BOOT_ENABLE) == TRUE\r
426 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00\r
427!endif\r
428\r
7ca126ff 429 # IRQs 5, 9, 10, 11 are level-triggered\r
430 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20\r
431\r
49ba9447 432################################################################################\r
433#\r
434# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
435#\r
436################################################################################\r
437\r
7b202cb0 438[PcdsDynamicDefault]\r
77ba993c 439 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
e3130268 440 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
27f58ea1 441 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
442 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
447d2641 443 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE\r
c4341e3a
LE
444 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800\r
445 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600\r
d55004da 446 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r
03845e90
LE
447 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0\r
448 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0\r
27f58ea1 449\r
86a9c7a7 450 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0\r
49ba9447 451\r
848834cb 452 # Set video resolution for text setup.\r
86a9c7a7
RN
453 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640\r
454 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480\r
848834cb 455\r
37baf06b 456 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208\r
c3db5a8c 457 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0\r
6fbef93e 458 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE\r
37baf06b 459\r
d26753f8 460 # Noexec settings for DXE.\r
d20b06a3 461 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE\r
c075d250 462 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE\r
d26753f8 463\r
49ba9447 464################################################################################\r
465#\r
466# Components Section - list of all EDK II Modules needed by this Platform.\r
467#\r
468################################################################################\r
469[Components.IA32]\r
497cbb53
JJ
470 OvmfPkg/ResetVector/ResetVector.inf\r
471\r
49ba9447 472 #\r
473 # SEC Phase modules\r
474 #\r
c1c2669c 475 OvmfPkg/Sec/SecMain.inf {\r
476 <LibraryClasses>\r
477 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
478 }\r
49ba9447 479\r
480 #\r
481 # PEI Phase modules\r
482 #\r
483 MdeModulePkg/Core/Pei/PeiMain.inf\r
484 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
485 <LibraryClasses>\r
486 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
487 }\r
488 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf\r
d26753f8
LE
489 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {\r
490 <LibraryClasses>\r
491 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
492 }\r
77ba993c 493\r
494 OvmfPkg/PlatformPei/PlatformPei.inf {\r
495 <LibraryClasses>\r
496 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
497 }\r
5fb6fc0f
LE
498 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {\r
499 <LibraryClasses>\r
500 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
67d86594
LE
501!if $(SMM_REQUIRE) == TRUE\r
502 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf\r
503!endif\r
5fb6fc0f 504 }\r
9d560947
LE
505!if $(SMM_REQUIRE) == TRUE\r
506 OvmfPkg/SmmAccess/SmmAccessPei.inf {\r
507 <LibraryClasses>\r
508 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
509 }\r
510!endif\r
49ba9447 511\r
512[Components.X64]\r
513 #\r
514 # DXE Phase modules\r
515 #\r
516 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
517 <LibraryClasses>\r
518 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
863986b3 519 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
49ba9447 520 }\r
521\r
522 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf\r
523 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
524 <LibraryClasses>\r
525 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
526 }\r
527\r
528 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
8cee3de7 529\r
530!if $(SECURE_BOOT_ENABLE) == TRUE\r
531 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
532 <LibraryClasses>\r
533 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
8cee3de7 534 }\r
535!else\r
49ba9447 536 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
8cee3de7 537!endif\r
538\r
e6d3b270 539 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
49ba9447 540 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf\r
73cbc580 541 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
49ba9447 542 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
543 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf\r
4014885f 544!if $(USE_OLD_PCI_HOST) == TRUE\r
d52bde1c 545 OvmfPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf\r
4014885f
LE
546!else\r
547 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {\r
548 <LibraryClasses>\r
549 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf\r
550 }\r
551!endif\r
447d2641
WL
552 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r
553 <LibraryClasses>\r
554 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
555 }\r
49ba9447 556 PcAtChipsetPkg/KbcResetDxe/Reset.inf\r
170ef2d9
GS
557 MdeModulePkg/Universal/Metronome/Metronome.inf\r
558 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
c1c2669c 559 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
49ba9447 560 <LibraryClasses>\r
8016da21 561!ifdef $(CSM_ENABLE)\r
562 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf\r
563!endif\r
49ba9447 564 }\r
565\r
efd82c57 566 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf\r
56f65ed8 567 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r
fd51d759 568 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
37078a63 569 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
b38ec3cd 570 OvmfPkg/VirtioRngDxe/VirtioRng.inf\r
d9fdfd85 571 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf\r
e65e8802 572 OvmfPkg/XenBusDxe/XenBusDxe.inf\r
de671da8 573 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf\r
49ba9447 574 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
575 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
576 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
577 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
578 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
c4341e3a
LE
579 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r
580 <LibraryClasses>\r
581 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
582 }\r
49ba9447 583 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
863986b3
RN
584 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
585 <LibraryClasses>\r
586 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
587 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
588 }\r
86fef5b4 589 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
49ba9447 590 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
591 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
592 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
593 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
594 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
b82802b8
RJ
595 OvmfPkg/SataControllerDxe/SataControllerDxe.inf\r
596 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
597 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
8ae3832d 598 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r
49ba9447 599 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
600 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
56af21cb 601 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
999a815e 602 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
49ba9447 603\r
eaf4f336 604 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {\r
605 <LibraryClasses>\r
606 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
607 }\r
49ba9447 608\r
609 #\r
610 # ISA Support\r
611 #\r
612 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf\r
613 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf\r
614 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf\r
615 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf\r
616 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf\r
617\r
fb511817 618 #\r
619 # SMBIOS Support\r
620 #\r
98937dc2
LE
621 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {\r
622 <LibraryClasses>\r
623 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf\r
624 }\r
fb511817 625 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
626\r
49ba9447 627 #\r
628 # ACPI Support\r
629 #\r
630 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
7d2bd150 631 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf\r
49ba9447 632 OvmfPkg/AcpiTables/AcpiTables.inf\r
389cbceb 633 OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf\r
b017b1b2 634 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
93900400 635 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
7416f4eb 636\r
637 #\r
638 # Network Support\r
639 #\r
7416f4eb 640 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf\r
641 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r
642 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf\r
643 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf\r
644 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r
645 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r
7416f4eb 646 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf\r
647 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf\r
7416f4eb 648 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf\r
36c6413f
GL
649!if $(NETWORK_IP6_ENABLE) == TRUE\r
650 NetworkPkg/Ip6Dxe/Ip6Dxe.inf\r
651 NetworkPkg/TcpDxe/TcpDxe.inf\r
652 NetworkPkg/Udp6Dxe/Udp6Dxe.inf\r
653 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf\r
654 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf\r
655 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
656!if $(SECURE_BOOT_ENABLE) == TRUE\r
657 NetworkPkg/IScsiDxe/IScsiDxe.inf\r
658!else\r
659 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
660!endif\r
661!else\r
662 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf\r
7416f4eb 663 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
664 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
ab44a6e8
GCPL
665!endif\r
666!if $(HTTP_BOOT_ENABLE) == TRUE\r
667 NetworkPkg/DnsDxe/DnsDxe.inf\r
1a85139d 668 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf\r
ab44a6e8
GCPL
669 NetworkPkg/HttpDxe/HttpDxe.inf\r
670 NetworkPkg/HttpBootDxe/HttpBootDxe.inf\r
36c6413f 671!endif\r
7a1f5947 672 OvmfPkg/VirtioNetDxe/VirtioNet.inf\r
152d9a6b 673\r
689562cd 674 #\r
675 # Usb Support\r
676 #\r
677 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
678 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
47e57f4f 679 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
689562cd 680 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
681 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
682 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
683\r
4b3d663f 684!ifdef $(CSM_ENABLE)\r
e04cca1d
PB
685 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {\r
686 <LibraryClasses>\r
687 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
688 }\r
4b3d663f 689 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
690 OvmfPkg/Csm/Csm16/Csm16.inf\r
691!endif\r
692\r
9bef3cdc 693!ifndef $(USE_OLD_SHELL)\r
345a0c8f 694 ShellPkg/Application/Shell/Shell.inf {\r
695 <LibraryClasses>\r
696 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
697 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
698 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
699 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
700 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
701 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
702 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
703 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
96302b80
GL
704!if $(NETWORK_IP6_ENABLE) == TRUE\r
705 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r
706!endif\r
b2f88ffd 707 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf\r
345a0c8f 708 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
345a0c8f 709 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
ae591c14
DM
710 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
711 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
345a0c8f 712 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
713# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf\r
714# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf\r
9fc9f4d8 715 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
345a0c8f 716\r
717 <PcdsFixedAtBuild>\r
718 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
719 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
720 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
721 }\r
722!endif\r
723\r
8cee3de7 724!if $(SECURE_BOOT_ENABLE) == TRUE\r
8714a631 725 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
8cee3de7 726!endif\r
d945a8ba
LE
727\r
728 OvmfPkg/PlatformDxe/Platform.inf\r
c5b7c805
LE
729\r
730!if $(SMM_REQUIRE) == TRUE\r
731 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf\r
c40e1a0c 732 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf\r
92b87f1c 733 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf\r
f25cb158
LE
734\r
735 #\r
736 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)\r
737 #\r
738 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf\r
739\r
740 #\r
741 # SMM_CORE\r
742 #\r
743 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf\r
8dbe742d
LE
744\r
745 #\r
746 # Privileged drivers (DXE_SMM_DRIVER modules)\r
747 #\r
748 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r
67d86594
LE
749 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {\r
750 <LibraryClasses>\r
751 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf\r
752 }\r
0d5d4205
LE
753 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {\r
754 <LibraryClasses>\r
755 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf\r
756 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
757 }\r
1b0a8e62
LE
758\r
759 #\r
46df0216
LE
760 # Variable driver stack (SMM)\r
761 #\r
762 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf\r
763 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf\r
764 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {\r
765 <LibraryClasses>\r
766 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
767 }\r
768 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf\r
769\r
770!else\r
771\r
772 #\r
773 # Variable driver stack (non-SMM)\r
1b0a8e62
LE
774 #\r
775 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
776 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r
777 <LibraryClasses>\r
778 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r
779 }\r
780 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
781 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
782 <LibraryClasses>\r
783 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
784 }\r
46df0216 785!endif\r