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