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