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