]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/OvmfPkgX64.dsc
OvmfPkg/UefiCpuPkg/UefiPayloadPkg: Rename VmgExitLib to CcExitLib
[mirror_edk2.git] / OvmfPkg / OvmfPkgX64.dsc
CommitLineData
7b202cb0 1## @file\r
49ba9447 2# EFI/Framework Open Virtual Machine Firmware (OVMF) platform\r
3#\r
7fda517c 4# Copyright (c) 2006 - 2022, Intel Corporation. All rights reserved.<BR>\r
a6d594c5 5# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
435a05af 6# Copyright (c) Microsoft Corporation.\r
49ba9447 7#\r
b26f0cf9 8# SPDX-License-Identifier: BSD-2-Clause-Patent\r
49ba9447 9#\r
7b202cb0 10##\r
49ba9447 11\r
12################################################################################\r
13#\r
14# Defines Section - statements that will be processed to create a Makefile.\r
15#\r
16################################################################################\r
17[Defines]\r
18 PLATFORM_NAME = Ovmf\r
19 PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b\r
20 PLATFORM_VERSION = 0.1\r
713b7b5e 21 DSC_SPECIFICATION = 0x00010005\r
49ba9447 22 OUTPUT_DIRECTORY = Build/OvmfX64\r
23 SUPPORTED_ARCHITECTURES = X64\r
27214228 24 BUILD_TARGETS = NOOPT|DEBUG|RELEASE\r
49ba9447 25 SKUID_IDENTIFIER = DEFAULT\r
7416f4eb 26 FLASH_DEFINITION = OvmfPkg/OvmfPkgX64.fdf\r
49ba9447 27\r
e05061c5 28 #\r
29 # Defines for default states. These can be changed on the command line.\r
30 # -D FLAG=VALUE\r
31 #\r
32 DEFINE SECURE_BOOT_ENABLE = FALSE\r
1f695483 33 DEFINE SMM_REQUIRE = FALSE\r
46bb8120 34 DEFINE SOURCE_DEBUG_ENABLE = FALSE\r
b4757580
GH
35\r
36!include OvmfPkg/OvmfTpmDefines.dsc.inc\r
e05061c5 37\r
e61f3f4e
OS
38 #\r
39 # Shell can be useful for debugging but should not be enabled for production\r
40 #\r
41 DEFINE BUILD_SHELL = TRUE\r
42\r
63119504
FS
43 #\r
44 # Network definition\r
45 #\r
46 DEFINE NETWORK_TLS_ENABLE = FALSE\r
47 DEFINE NETWORK_IP6_ENABLE = FALSE\r
48 DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE\r
49 DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE\r
0cbf1b77 50 DEFINE NETWORK_ISCSI_ENABLE = TRUE\r
63119504
FS
51\r
52!include NetworkPkg/NetworkDefines.dsc.inc\r
53\r
478c07d4
LA
54 #\r
55 # Device drivers\r
56 #\r
57783adf
MK
57 DEFINE PVSCSI_ENABLE = FALSE\r
58 DEFINE MPT_SCSI_ENABLE = FALSE\r
e94d04a0 59 DEFINE LSI_SCSI_ENABLE = FALSE\r
478c07d4 60\r
21027073
LE
61 #\r
62 # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to\r
63 # one of the supported values, in place of any of the convenience macros, is\r
64 # permitted.\r
65 #\r
66!ifdef $(FD_SIZE_1MB)\r
67 DEFINE FD_SIZE_IN_KB = 1024\r
68!else\r
69!ifdef $(FD_SIZE_2MB)\r
70 DEFINE FD_SIZE_IN_KB = 2048\r
b24fca05
LE
71!else\r
72!ifdef $(FD_SIZE_4MB)\r
73 DEFINE FD_SIZE_IN_KB = 4096\r
21027073 74!else\r
1c47fcd4 75 DEFINE FD_SIZE_IN_KB = 4096\r
21027073
LE
76!endif\r
77!endif\r
b24fca05 78!endif\r
21027073 79\r
deee7a10
MX
80 #\r
81 # Define the FILE_GUID of CpuMpPei/CpuDxe for unique-processor version.\r
82 #\r
83 DEFINE UP_CPU_PEI_GUID = 280251c4-1d09-4035-9062-839acb5f18c1\r
84 DEFINE UP_CPU_DXE_GUID = 6490f1c5-ebcc-4665-8892-0075b9bb49b7\r
85\r
0bc7e56d 86[BuildOptions]\r
152d9a6b 87 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG\r
88 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
89 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG\r
0769224a 90!if $(TOOL_CHAIN_TAG) != "XCODE5" && $(TOOL_CHAIN_TAG) != "CLANGPDB"\r
4a8266f5 91 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse\r
4a64cbda 92!endif\r
46bb8120 93!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
bbcafc44 94 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
95 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
96 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable\r
97!endif\r
f037af6e 98 RELEASE_*_*_GENFW_FLAGS = --zero\r
0bc7e56d 99\r
b78736bd
LE
100 #\r
101 # Disable deprecated APIs.\r
102 #\r
103 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES\r
104 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES\r
105 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r
106\r
2b80269d
MX
107 #\r
108 # Add TDX_GUEST_SUPPORTED\r
109 #\r
110 MSFT:*_*_*_CC_FLAGS = /D TDX_GUEST_SUPPORTED\r
111 INTEL:*_*_*_CC_FLAGS = /D TDX_GUEST_SUPPORTED\r
112 GCC:*_*_*_CC_FLAGS = -D TDX_GUEST_SUPPORTED\r
113\r
39596c41
MX
114 #\r
115 # SECURE_BOOT_FEATURE_ENABLED\r
116 #\r
117!if $(SECURE_BOOT_ENABLE) == TRUE\r
118 MSFT:*_*_*_CC_FLAGS = /D SECURE_BOOT_FEATURE_ENABLED\r
119 INTEL:*_*_*_CC_FLAGS = /D SECURE_BOOT_FEATURE_ENABLED\r
120 GCC:*_*_*_CC_FLAGS = -D SECURE_BOOT_FEATURE_ENABLED\r
121!endif\r
122\r
0cbf1b77
ZG
123!include NetworkPkg/NetworkBuildOptions.dsc.inc\r
124\r
ddd89cd5
AB
125[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]\r
126 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r
4fb393aa
VC
127 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000\r
128 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000\r
0769224a 129 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096\r
ddd89cd5 130\r
2f790bcb
JY
131# Force PE/COFF sections to be aligned at 4KB boundaries to support page level\r
132# protection of DXE_SMM_DRIVER/SMM_CORE modules\r
133[BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]\r
134 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000\r
4fb393aa
VC
135 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000\r
136 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000\r
0769224a 137 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096\r
2f790bcb 138\r
49ba9447 139################################################################################\r
140#\r
141# SKU Identification section - list of all SKU IDs supported by this Platform.\r
142#\r
143################################################################################\r
144[SkuIds]\r
145 0|DEFAULT\r
146\r
147################################################################################\r
148#\r
149# Library Class section - list of all Library Classes needed by this Platform.\r
150#\r
151################################################################################\r
d4ab7201
DB
152\r
153!include MdePkg/MdeLibs.dsc.inc\r
154\r
7b202cb0 155[LibraryClasses]\r
49ba9447 156 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
170ef2d9 157 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf\r
d70cdcf0 158 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf\r
49ba9447 159 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
4a8266f5 160 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r
49ba9447 161 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
7fc21c29 162 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r
cd473d41 163 TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf\r
7fc21c29 164 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf\r
49ba9447 165 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
166 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
167 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
168 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
49ba9447 169 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
170 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
171 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
172 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
79c098b6 173 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
79c098b6 174 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r
a3cd5cd5 175 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf\r
79c098b6 176 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
49ba9447 177 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
178 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
cd455669 179 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
49ba9447 180 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
181 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
c47ed6fc 182 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
49ba9447 183 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
75f45331 184 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf\r
e9b2cf7b
LE
185 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf\r
186 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf\r
187 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf\r
97353a9c 188 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf\r
1630c6df 189 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
49ba9447 190 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf\r
191 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf\r
030f71df 192 MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf\r
86fef5b4 193 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
194 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
195 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
196 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
197 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
5c3481b0 198 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf\r
14b21de9 199 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf\r
ae591c14 200 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
284af948 201 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf\r
8273af4e 202 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r
689562cd 203 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
b043ebc2 204 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf\r
fee47a26 205 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf\r
611c7f11 206 QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf\r
263559b8 207 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf\r
3c0a051f 208 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf\r
b97dc4b9 209 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf\r
25201821 210 MemEncryptTdxLib|OvmfPkg/Library/BaseMemEncryptTdxLib/BaseMemEncryptTdxLib.inf\r
2b1a5b8c 211 PeiHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/PeiHardwareInfoLib.inf\r
a1bd79c5 212 DxeHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/DxeHardwareInfoLib.inf\r
25201821 213\r
67d86594 214!if $(SMM_REQUIRE) == FALSE\r
6a7cba79 215 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf\r
1b1c58ab 216 CcProbeLib|OvmfPkg/Library/CcProbeLib/DxeCcProbeLib.inf\r
a72d552f
MX
217!else\r
218 CcProbeLib|MdePkg/Library/CcProbeLibNull/CcProbeLibNull.inf\r
67d86594 219!endif\r
56af21cb 220 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
ead94b1f 221 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
c6efcc2a 222\r
46bb8120 223!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
c6efcc2a 224 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf\r
225 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf\r
226!else\r
42a83e80 227 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
228 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r
c6efcc2a 229!endif\r
152d9a6b 230\r
decb365b 231 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf\r
8cee3de7 232 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
233\r
8cee3de7 234 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
63119504 235!if $(NETWORK_TLS_ENABLE) == TRUE\r
8cee3de7 236 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
df453e1b
LE
237!else\r
238 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf\r
239!endif\r
a09df5d2 240 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf\r
6d0f8941
GL
241\r
242!if $(SECURE_BOOT_ENABLE) == TRUE\r
243 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf\r
285542eb 244 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf\r
3d427c5f 245 SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf\r
152e37cc 246 PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf\r
3d427c5f 247 SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf\r
285542eb 248!else\r
285542eb 249 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r
8cee3de7 250!endif\r
68ef1ad7 251 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r
435a05af
BB
252 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf\r
253 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf\r
a7d3d4e7 254 VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf\r
8cee3de7 255\r
32e22f20 256\r
63119504
FS
257 #\r
258 # Network libraries\r
259 #\r
260!include NetworkPkg/NetworkLibs.dsc.inc\r
ab44a6e8 261\r
63119504 262!if $(NETWORK_TLS_ENABLE) == TRUE\r
315d9d08
GL
263 TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf\r
264!endif\r
265\r
e61f3f4e 266!if $(BUILD_SHELL) == TRUE\r
984ba6a4 267 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
e61f3f4e 268!endif\r
b1163623 269 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf\r
e61f3f4e 270\r
b017b1b2
LE
271 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf\r
272 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf\r
48cc4d0c 273 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r
b017b1b2 274\r
b4757580 275!include OvmfPkg/OvmfTpmLibs.dsc.inc\r
6cf1880f 276\r
8cee3de7 277[LibraryClasses.common]\r
8cee3de7 278 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
a89f558d 279 CcExitLib|OvmfPkg/Library/CcExitLib/CcExitLib.inf\r
2b80269d
MX
280 TdxLib|MdePkg/Library/TdxLib/TdxLib.inf\r
281 TdxMailboxLib|OvmfPkg/Library/TdxMailboxLib/TdxMailboxLib.inf\r
152d9a6b 282\r
49ba9447 283[LibraryClasses.common.SEC]\r
170ef2d9 284 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf\r
c90decb9 285 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf\r
b90aefa9 286!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 287 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 288!else\r
c9eb56e5 289 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf\r
b90aefa9 290!endif\r
abec2e51 291 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
fcd7e677 292 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf\r
46bb8120 293!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
c6efcc2a 294 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
295!endif\r
42a83e80 296 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
297 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
298 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
299 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
b304d280
TL
300!if $(TOOL_CHAIN_TAG) == "XCODE5"\r
301 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf\r
302!else\r
85a32c71 303 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf\r
b304d280 304!endif\r
a89f558d 305 CcExitLib|OvmfPkg/Library/CcExitLib/SecCcExitLib.inf\r
85b8eac5 306 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf\r
1b1c58ab 307 CcProbeLib|OvmfPkg/Library/CcProbeLib/SecPeiCcProbeLib.inf\r
49ba9447 308\r
309[LibraryClasses.common.PEI_CORE]\r
49ba9447 310 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
311 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
312 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
313 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
314 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
abec2e51 315 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
1630c6df 316 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
49ba9447 317 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
b90aefa9 318!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 319 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 320!else\r
321 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
322!endif\r
49ba9447 323 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
1b1c58ab 324 CcProbeLib|OvmfPkg/Library/CcProbeLib/SecPeiCcProbeLib.inf\r
49ba9447 325\r
326[LibraryClasses.common.PEIM]\r
49ba9447 327 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
328 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
329 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
330 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
331 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
abec2e51 332 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
1630c6df 333 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf\r
49ba9447 334 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
b90aefa9 335!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 336 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 337!else\r
338 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
339!endif\r
49ba9447 340 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
0ed73bcd 341 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r
49ba9447 342 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
46bb8120 343!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
c6efcc2a 344 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf\r
345!endif\r
f0e6a56a 346 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf\r
f4c59f42 347 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf\r
b7f2e82c 348 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf\r
639c7dd8 349 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
fee47a26 350 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf\r
57bcfc3b 351 PlatformInitLib|OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf\r
49ba9447 352\r
b97dc4b9 353 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf\r
1b1c58ab 354 CcProbeLib|OvmfPkg/Library/CcProbeLib/SecPeiCcProbeLib.inf\r
b97dc4b9 355\r
49ba9447 356[LibraryClasses.common.DXE_CORE]\r
49ba9447 357 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
358 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
359 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r
abec2e51 360 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
b90aefa9 361!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 362 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 363!else\r
364 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
365!endif\r
49ba9447 366 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
46bb8120 367!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
c6efcc2a 368 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
369!endif\r
85a32c71 370 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
c075d250 371 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
49ba9447 372\r
373[LibraryClasses.common.DXE_RUNTIME_DRIVER]\r
988e5986 374 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
170ef2d9 375 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
93f6df5f 376 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r
49ba9447 377 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
378 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
379 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
abec2e51 380 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf\r
b90aefa9 381!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 382 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 383!else\r
384 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
385!endif\r
49ba9447 386 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
8cee3de7 387 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
c47ed6fc 388 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
b7f2e82c 389 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf\r
435a05af 390 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf\r
05a757c9
KQ
391!if $(SMM_REQUIRE) == TRUE\r
392 MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf\r
393!endif\r
49ba9447 394\r
395[LibraryClasses.common.UEFI_DRIVER]\r
988e5986
GS
396 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
397 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
93f6df5f 398 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r
49ba9447 399 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
400 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
401 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
abec2e51 402 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
b90aefa9 403!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 404 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 405!else\r
406 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
407!endif\r
49ba9447 408 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
c47ed6fc 409 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
49ba9447 410\r
411[LibraryClasses.common.DXE_DRIVER]\r
988e5986 412 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
170ef2d9 413 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
93f6df5f 414 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r
49ba9447 415 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
49ba9447 416 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
abec2e51 417 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
49ba9447 418 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
b90aefa9 419!ifdef $(DEBUG_ON_SERIAL_PORT)\r
49ba9447 420 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 421!else\r
422 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
423!endif\r
79c098b6 424 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf\r
77874cee 425 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf\r
d85c5e31 426 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf\r
85a32c71 427 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf\r
67d86594
LE
428!if $(SMM_REQUIRE) == TRUE\r
429 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf\r
430!else\r
6a7cba79 431 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf\r
67d86594 432!endif\r
46bb8120 433!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
34511266
JJ
434 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf\r
435!endif\r
c47ed6fc 436 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
f4c59f42 437 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
b7f2e82c 438 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf\r
de7c6081 439 QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf\r
b4757580 440\r
86fef5b4 441[LibraryClasses.common.UEFI_APPLICATION]\r
988e5986
GS
442 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
443 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
93f6df5f 444 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r
86fef5b4 445 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
446 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
79c098b6 447 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
b90aefa9 448!ifdef $(DEBUG_ON_SERIAL_PORT)\r
86fef5b4 449 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
b90aefa9 450!else\r
451 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
452!endif\r
c47ed6fc 453 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
86fef5b4 454\r
988e5986
GS
455[LibraryClasses.common.DXE_SMM_DRIVER]\r
456 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
457 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
93f6df5f 458 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r
67d86594 459 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
fc5b5e5c 460 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
67d86594
LE
461 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
462 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
8b3dcd2f 463 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf\r
8dbe742d
LE
464 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
465!ifdef $(DEBUG_ON_SERIAL_PORT)\r
466 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
467!else\r
468 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
469!endif\r
c30ff8f4 470 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
46bb8120 471!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
cbd5d723
MK
472 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf\r
473!endif\r
46df0216 474 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
c47ed6fc 475 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
7fda517c 476 SmmCpuRendezvousLib|UefiCpuPkg/Library/SmmCpuRendezvousLib/SmmCpuRendezvousLib.inf\r
988e5986
GS
477\r
478[LibraryClasses.common.SMM_CORE]\r
479 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
480 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
93f6df5f 481 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf\r
f25cb158
LE
482 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf\r
483 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r
484 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
485 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
486 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
487 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r
488!ifdef $(DEBUG_ON_SERIAL_PORT)\r
489 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
490!else\r
491 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
492!endif\r
c47ed6fc 493 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf\r
988e5986 494\r
49ba9447 495################################################################################\r
496#\r
497# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
498#\r
499################################################################################\r
7b202cb0 500[PcdsFeatureFlag]\r
eccc28bf 501 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE\r
8fa729a8
LG
502 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE\r
503 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE\r
8fa729a8
LG
504 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
505 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
259d8714 506 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE\r
50f911d2
LE
507!ifdef $(CSM_ENABLE)\r
508 gUefiOvmfPkgTokenSpaceGuid.PcdCsmEnable|TRUE\r
509!endif\r
1f695483
LE
510!if $(SMM_REQUIRE) == TRUE\r
511 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE\r
49df3fce 512 gUefiCpuPkgTokenSpaceGuid.PcdCpuHotPlugSupport|TRUE\r
d511d6e0 513 gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache|FALSE\r
1f695483 514!endif\r
8fa729a8 515\r
7b202cb0 516[PcdsFixedAtBuild]\r
e6d3b270 517 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r
d42fdd6f 518!if $(SMM_REQUIRE) == FALSE\r
670a64e7 519 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
d42fdd6f 520!endif\r
49ba9447 521 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10\r
d3f3c942 522 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0\r
88a30bbc 523!if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)\r
fd4ba547 524 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r
f5404a3e 525 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800\r
63119504 526!if $(NETWORK_TLS_ENABLE) == FALSE\r
c95e6d09 527 # match PcdFlashNvStorageVariableSize purely for convenience\r
62f43f7c 528 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000\r
88a30bbc 529!endif\r
9c7d0d49 530!endif\r
88a30bbc
LE
531!if $(FD_SIZE_IN_KB) == 4096\r
532 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400\r
533 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400\r
63119504 534!if $(NETWORK_TLS_ENABLE) == FALSE\r
c95e6d09 535 # match PcdFlashNvStorageVariableSize purely for convenience\r
62f43f7c 536 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000\r
88a30bbc 537!endif\r
9c7d0d49 538!endif\r
63119504 539!if $(NETWORK_TLS_ENABLE) == TRUE\r
9c7d0d49
LE
540 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000\r
541 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000\r
542!endif\r
49ba9447 543\r
49ba9447 544 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
7fe5022f
MT
545 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
546 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE\r
49ba9447 547\r
49ba9447 548 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
cf23c02a
LE
549\r
550 # DEBUG_INIT 0x00000001 // Initialization\r
551 # DEBUG_WARN 0x00000002 // Warnings\r
552 # DEBUG_LOAD 0x00000004 // Load events\r
553 # DEBUG_FS 0x00000008 // EFI File system\r
554 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)\r
555 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)\r
556 # DEBUG_INFO 0x00000040 // Informational debug messages\r
557 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers\r
558 # DEBUG_VARIABLE 0x00000100 // Variable\r
559 # DEBUG_BM 0x00000400 // Boot Manager\r
560 # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r
561 # DEBUG_NET 0x00004000 // SNP Driver\r
562 # DEBUG_UNDI 0x00010000 // UNDI Driver\r
563 # DEBUG_LOADFILE 0x00020000 // LoadFile\r
564 # DEBUG_EVENT 0x00080000 // Event messages\r
565 # DEBUG_GCD 0x00100000 // Global Coherency Database changes\r
566 # DEBUG_CACHE 0x00200000 // Memory range cachability changes\r
567 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may\r
568 # // significantly impact boot performance\r
569 # DEBUG_ERROR 0x80000000 // Error\r
49ba9447 570 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
cf23c02a 571\r
46bb8120 572!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
c6efcc2a 573 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
574!else\r
49ba9447 575 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
c6efcc2a 576!endif\r
577\r
7b8fe635
LE
578 # This PCD is used to set the base address of the PCI express hierarchy. It\r
579 # is only consulted when OVMF runs on Q35. In that case it is programmed into\r
580 # the PCIEXBAR register.\r
eb4d62b0
LE
581 #\r
582 # On Q35 machine types that QEMU intends to support in the long term, QEMU\r
b07de097
LE
583 # never lets the RAM below 4 GB exceed 2816 MB.\r
584 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000\r
7b8fe635 585\r
46bb8120 586!if $(SOURCE_DEBUG_ENABLE) == TRUE\r
c6efcc2a 587 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
670a64e7 588!endif\r
49ba9447 589\r
8db87f98
LE
590 #\r
591 # The NumberOfPages values below are ad-hoc. They are updated sporadically at\r
592 # best (please refer to git-blame for past updates). The values capture a set\r
593 # of BIN hints that made sense at a particular time, for some (now likely\r
594 # unknown) workloads / boot paths.\r
595 #\r
7b6327ff 596 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80\r
520ba8e3 597 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x12\r
7b6327ff
LE
598 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80\r
599 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100\r
600 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100\r
8db87f98 601\r
2b80269d
MX
602 #\r
603 # TDX need 1G PageTable support\r
604 gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE\r
605\r
63119504
FS
606 #\r
607 # Network Pcds\r
608 #\r
609!include NetworkPkg/NetworkPcds.dsc.inc\r
4b2fb798 610\r
2912341c
LE
611 gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000\r
612\r
9b1e3788 613!if $(SMM_REQUIRE) == TRUE\r
0d0c245d 614 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000\r
9b1e3788
PB
615!endif\r
616\r
7ca126ff 617 # IRQs 5, 9, 10, 11 are level-triggered\r
c0185243 618 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20\r
7ca126ff 619\r
79c098b6
RN
620 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf\r
621 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }\r
622\r
49ba9447 623################################################################################\r
624#\r
625# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
626#\r
627################################################################################\r
628\r
7b202cb0 629[PcdsDynamicDefault]\r
5e167d7e
LE
630 # only set when\r
631 # ($(SMM_REQUIRE) == FALSE)\r
77ba993c 632 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
5e167d7e 633\r
b0ed7ebd 634!if $(SMM_REQUIRE) == FALSE\r
e3130268 635 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
2b20a34f 636 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0\r
637 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0\r
27f58ea1 638 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
639 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
b0ed7ebd 640!endif\r
862ea6e8
GH
641 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280\r
642 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800\r
5a176299
GH
643 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0\r
644 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0\r
a1726e30 645 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE\r
929804b1 646 gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0\r
d55004da 647 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r
c4df7fd0
LE
648 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0\r
649 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0\r
03845e90
LE
650 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0\r
651 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0\r
7e5b1b67 652 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0\r
c7341877
DW
653!ifdef $(CSM_ENABLE)\r
654 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x0\r
655!else\r
7e5b1b67 656 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000\r
c7341877 657!endif\r
27f58ea1 658\r
86a9c7a7 659 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0\r
49ba9447 660\r
848834cb 661 # Set video resolution for text setup.\r
86a9c7a7
RN
662 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640\r
663 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480\r
848834cb 664\r
37baf06b 665 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208\r
c3db5a8c 666 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0\r
6fbef93e 667 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE\r
37baf06b 668\r
d26753f8 669 # Noexec settings for DXE.\r
d20b06a3 670 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE\r
d26753f8 671\r
45a70db3
LE
672 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.\r
673 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64\r
83357313 674 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0\r
45a70db3 675\r
13b5d743
BS
676 # Set memory encryption mask\r
677 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0\r
678\r
fd306d1d
MX
679 # Set Tdx shared bit mask\r
680 gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0\r
681\r
cf845a74 682 # Set SEV-ES defaults\r
449a6e49
TL
683 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0\r
684 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0\r
cf845a74
TL
685 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0\r
686\r
22d7be69 687!if $(SMM_REQUIRE) == TRUE\r
966dbaf4 688 gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes|8\r
d74d56fc 689 gUefiOvmfPkgTokenSpaceGuid.PcdQ35SmramAtDefaultSmbase|FALSE\r
22d7be69
LE
690 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01\r
691 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000\r
692!endif\r
693\r
6041ac65 694 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00\r
6041ac65 695\r
b4757580 696!include OvmfPkg/OvmfTpmPcds.dsc.inc\r
6cf1880f 697\r
b8b890ca
LE
698 # IPv4 and IPv6 PXE Boot support.\r
699 gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01\r
700 gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01\r
701\r
504ae26b
BS
702 # Set ConfidentialComputing defaults\r
703 gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0\r
704\r
c37cbc03 705!if $(CSM_ENABLE) == FALSE\r
07c0c2eb 706 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|1000000000\r
c37cbc03
MX
707!endif\r
708\r
f55477fe 709[PcdsDynamicHii]\r
b4757580 710!include OvmfPkg/OvmfTpmPcdsHii.dsc.inc\r
f55477fe 711\r
49ba9447 712################################################################################\r
713#\r
714# Components Section - list of all EDK II Modules needed by this Platform.\r
715#\r
716################################################################################\r
7b202cb0 717[Components]\r
497cbb53
JJ
718 OvmfPkg/ResetVector/ResetVector.inf\r
719\r
49ba9447 720 #\r
721 # SEC Phase modules\r
722 #\r
c1c2669c 723 OvmfPkg/Sec/SecMain.inf {\r
724 <LibraryClasses>\r
d2daa3db 725 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
2b80269d 726 NULL|OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf\r
c1c2669c 727 }\r
49ba9447 728\r
729 #\r
730 # PEI Phase modules\r
731 #\r
732 MdeModulePkg/Core/Pei/PeiMain.inf\r
733 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
734 <LibraryClasses>\r
735 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
736 }\r
fbce1fe9
LE
737 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {\r
738 <LibraryClasses>\r
739 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
740 }\r
741 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {\r
742 <LibraryClasses>\r
743 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
744 }\r
639c7dd8 745 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
77ba993c 746\r
639c7dd8 747 OvmfPkg/PlatformPei/PlatformPei.inf\r
5fb6fc0f
LE
748 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {\r
749 <LibraryClasses>\r
67d86594
LE
750!if $(SMM_REQUIRE) == TRUE\r
751 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf\r
752!endif\r
5fb6fc0f 753 }\r
9d560947 754!if $(SMM_REQUIRE) == TRUE\r
89465fe9
LE
755 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf\r
756 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf\r
639c7dd8 757 OvmfPkg/SmmAccess/SmmAccessPei.inf\r
9d560947 758!endif\r
deee7a10
MX
759\r
760 UefiCpuPkg/CpuMpPei/CpuMpPei.inf {\r
761 <LibraryClasses>\r
762 #\r
763 # Directly use PeiMpInitLib. It depends on PeiMpInitLibMpDepLib which\r
764 # checks the PPI of gEfiPeiMpInitLibMpDepPpiGuid.\r
765 #\r
766 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf\r
767 NULL|OvmfPkg/Library/MpInitLibDepLib/PeiMpInitLibMpDepLib.inf\r
768 }\r
769\r
770 UefiCpuPkg/CpuMpPei/CpuMpPei.inf {\r
771 <Defines>\r
772 FILE_GUID = $(UP_CPU_PEI_GUID)\r
773\r
774 <LibraryClasses>\r
775 #\r
776 # Directly use MpInitLibUp. It depends on PeiMpInitLibUpDepLib which\r
777 # checks the PPI of gEfiPeiMpInitLibUpDepPpiGuid.\r
778 #\r
779 MpInitLib|UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf\r
780 NULL|OvmfPkg/Library/MpInitLibDepLib/PeiMpInitLibUpDepLib.inf\r
781 }\r
49ba9447 782\r
b4757580 783!include OvmfPkg/OvmfTpmComponentsPei.dsc.inc\r
6cf1880f 784\r
49ba9447 785 #\r
786 # DXE Phase modules\r
787 #\r
788 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
789 <LibraryClasses>\r
d2daa3db 790 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
5c3481b0 791 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
49ba9447 792 }\r
793\r
a6d594c5
CS
794 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
795 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r
49ba9447 796 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
797 <LibraryClasses>\r
798 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
799 }\r
c1c2669c 800\r
49ba9447 801 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
8cee3de7 802\r
8cee3de7 803 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
804 <LibraryClasses>\r
5487d002 805!if $(SECURE_BOOT_ENABLE) == TRUE\r
8cee3de7 806 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
b4757580 807!include OvmfPkg/OvmfTpmSecurityStub.dsc.inc\r
8cee3de7 808!endif\r
5487d002 809 }\r
8cee3de7 810\r
e6d3b270 811 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
73cbc580 812 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
deee7a10
MX
813\r
814 UefiCpuPkg/CpuDxe/CpuDxe.inf {\r
815 <LibraryClasses>\r
816 #\r
817 # Directly use DxeMpInitLib. It depends on DxeMpInitLibMpDepLib which\r
818 # checks the Protocol of gEfiMpInitLibMpDepProtocolGuid.\r
819 #\r
820 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf\r
821 NULL|OvmfPkg/Library/MpInitLibDepLib/DxeMpInitLibMpDepLib.inf\r
822 }\r
823\r
824 UefiCpuPkg/CpuDxe/CpuDxe.inf {\r
825 <Defines>\r
826 FILE_GUID = $(UP_CPU_DXE_GUID)\r
827\r
828 <LibraryClasses>\r
829 #\r
830 # Directly use MpInitLibUp. It depends on DxeMpInitLibUpDepLib which\r
831 # checks the Protocol of gEfiMpInitLibUpDepProtocolGuid.\r
832 #\r
833 MpInitLib|UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf\r
834 NULL|OvmfPkg/Library/MpInitLibDepLib/DxeMpInitLibUpDepLib.inf\r
835 }\r
836\r
c37cbc03
MX
837!ifdef $(CSM_ENABLE)\r
838 OvmfPkg/8259InterruptControllerDxe/8259.inf\r
e3c787af 839 OvmfPkg/8254TimerDxe/8254Timer.inf\r
c37cbc03
MX
840!else\r
841 OvmfPkg/LocalApicTimerDxe/LocalApicTimerDxe.inf\r
842!endif\r
855743f7 843 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf\r
8aba40b7 844 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf\r
4014885f
LE
845 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {\r
846 <LibraryClasses>\r
847 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf\r
7a6172f8 848 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf\r
c6ab9aec 849 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf\r
4014885f 850 }\r
447d2641
WL
851 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r
852 <LibraryClasses>\r
853 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
854 }\r
f90472e1 855 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
170ef2d9
GS
856 MdeModulePkg/Universal/Metronome/Metronome.inf\r
857 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
ba502ef4 858 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf\r
79c098b6
RN
859 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
860 <LibraryClasses>\r
51adb689 861 XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf\r
79c098b6
RN
862!ifdef $(CSM_ENABLE)\r
863 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf\r
3207a872 864 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
79c098b6
RN
865!endif\r
866 }\r
ab970515 867 MdeModulePkg/Logo/LogoDxe.inf\r
79c098b6
RN
868 MdeModulePkg/Application/UiApp/UiApp.inf {\r
869 <LibraryClasses>\r
870 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
871 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
872 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
873!ifdef $(CSM_ENABLE)\r
3207a872
HW
874 NULL|OvmfPkg/Csm/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
875 NULL|OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf\r
79c098b6
RN
876!endif\r
877 }\r
c73e31f5
DM
878 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {\r
879 <LibraryClasses>\r
880 NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf\r
881 }\r
56f65ed8 882 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r
8456a7da 883 OvmfPkg/Virtio10Dxe/Virtio10.inf\r
fd51d759 884 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
37078a63 885 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
b38ec3cd 886 OvmfPkg/VirtioRngDxe/VirtioRng.inf\r
478c07d4
LA
887!if $(PVSCSI_ENABLE) == TRUE\r
888 OvmfPkg/PvScsiDxe/PvScsiDxe.inf\r
feec20b2
NL
889!endif\r
890!if $(MPT_SCSI_ENABLE) == TRUE\r
891 OvmfPkg/MptScsiDxe/MptScsiDxe.inf\r
e94d04a0
GL
892!endif\r
893!if $(LSI_SCSI_ENABLE) == TRUE\r
894 OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf\r
478c07d4 895!endif\r
49ba9447 896 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
897 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
898 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
899 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
900 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
c4341e3a
LE
901 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r
902 <LibraryClasses>\r
903 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
904 }\r
49ba9447 905 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
5c3481b0
RN
906 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
907 <LibraryClasses>\r
908 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
909 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
910 }\r
49ba9447 911 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
912 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
00f18da1 913 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r
49ba9447 914 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
aa47e529 915 FatPkg/EnhancedFatDxe/Fat.inf\r
f5566d15 916 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf\r
5ab6a0e1 917 OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf\r
49ba9447 918 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
919 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
b82802b8
RJ
920 OvmfPkg/SataControllerDxe/SataControllerDxe.inf\r
921 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
922 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
8ae3832d 923 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r
49ba9447 924 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
925 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
56af21cb 926 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
999a815e 927 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
49ba9447 928\r
4b04d9d7 929!ifndef $(CSM_ENABLE)\r
bd52d4ff 930 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf\r
4b04d9d7 931!endif\r
1d25ff51 932 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf\r
b3eab015 933 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf\r
49ba9447 934\r
935 #\r
936 # ISA Support\r
937 #\r
a5cc178a 938 OvmfPkg/SioBusDxe/SioBusDxe.inf\r
a0681022
HW
939 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf\r
940 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf\r
49ba9447 941\r
fb511817 942 #\r
943 # SMBIOS Support\r
944 #\r
98937dc2
LE
945 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {\r
946 <LibraryClasses>\r
947 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf\r
948 }\r
fb511817 949 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
950\r
49ba9447 951 #\r
952 # ACPI Support\r
953 #\r
954 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
66bce05f 955 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf\r
b017b1b2 956 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
93900400 957 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
6e5e544f 958 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf\r
7416f4eb 959\r
960 #\r
961 # Network Support\r
962 #\r
63119504 963!include NetworkPkg/NetworkComponents.dsc.inc\r
d933ec11 964!include OvmfPkg/NetworkComponents.dsc.inc\r
63119504 965\r
7a1f5947 966 OvmfPkg/VirtioNetDxe/VirtioNet.inf\r
152d9a6b 967\r
689562cd 968 #\r
969 # Usb Support\r
970 #\r
971 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
972 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
47e57f4f 973 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
689562cd 974 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
975 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
976 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
977\r
4b3d663f 978!ifdef $(CSM_ENABLE)\r
3207a872 979 OvmfPkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {\r
e04cca1d
PB
980 <LibraryClasses>\r
981 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
982 }\r
3207a872 983 OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
4b3d663f 984 OvmfPkg/Csm/Csm16/Csm16.inf\r
985!endif\r
986\r
e61f3f4e 987!if $(TOOL_CHAIN_TAG) != "XCODE5" && $(BUILD_SHELL) == TRUE\r
984ba6a4
RN
988 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r
989 <PcdsFixedAtBuild>\r
990 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
991 }\r
2d8ca4f9
VO
992 ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {\r
993 <PcdsFixedAtBuild>\r
994 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
995 }\r
ec41733c
AB
996 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {\r
997 <PcdsFixedAtBuild>\r
998 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
999 }\r
bcf181a3 1000!endif\r
e61f3f4e 1001!if $(BUILD_SHELL) == TRUE\r
345a0c8f 1002 ShellPkg/Application/Shell/Shell.inf {\r
1003 <LibraryClasses>\r
1004 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
1005 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
1006 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
1007 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
1008 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
1009 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
1010 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
1011 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
96302b80
GL
1012!if $(NETWORK_IP6_ENABLE) == TRUE\r
1013 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r
1014!endif\r
345a0c8f 1015 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
345a0c8f 1016 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
9fc9f4d8 1017 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
345a0c8f 1018\r
1019 <PcdsFixedAtBuild>\r
1020 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
1021 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
1022 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
1023 }\r
e61f3f4e 1024!endif\r
345a0c8f 1025\r
8cee3de7 1026!if $(SECURE_BOOT_ENABLE) == TRUE\r
8714a631 1027 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
b1163623 1028 OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf\r
8cee3de7 1029!endif\r
d945a8ba
LE
1030\r
1031 OvmfPkg/PlatformDxe/Platform.inf\r
19914edc
BS
1032 OvmfPkg/AmdSevDxe/AmdSevDxe.inf {\r
1033 <LibraryClasses>\r
1034 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
1035 }\r
f9d129e6 1036 OvmfPkg/IoMmuDxe/IoMmuDxe.inf\r
c5b7c805 1037\r
fae5c146
MX
1038 OvmfPkg/TdxDxe/TdxDxe.inf\r
1039\r
c5b7c805
LE
1040!if $(SMM_REQUIRE) == TRUE\r
1041 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf\r
c40e1a0c 1042 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf\r
55942db1 1043 OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf\r
f25cb158
LE
1044\r
1045 #\r
1046 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)\r
1047 #\r
1048 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf\r
1049\r
1050 #\r
1051 # SMM_CORE\r
1052 #\r
1053 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf\r
8dbe742d
LE
1054\r
1055 #\r
1056 # Privileged drivers (DXE_SMM_DRIVER modules)\r
1057 #\r
17efae27 1058 OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf\r
8dbe742d 1059 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r
67d86594
LE
1060 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {\r
1061 <LibraryClasses>\r
1062 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf\r
1063 }\r
0d5d4205
LE
1064 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {\r
1065 <LibraryClasses>\r
c69f6406 1066 SmmCpuPlatformHookLib|OvmfPkg/Library/SmmCpuPlatformHookLibQemu/SmmCpuPlatformHookLibQemu.inf\r
0d5d4205
LE
1067 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
1068 }\r
1b0a8e62
LE
1069\r
1070 #\r
46df0216
LE
1071 # Variable driver stack (SMM)\r
1072 #\r
c28e376e
BS
1073 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf {\r
1074 <LibraryClasses>\r
a89f558d 1075 CcExitLib|UefiCpuPkg/Library/CcExitLibNull/CcExitLibNull.inf\r
c28e376e 1076 }\r
46df0216
LE
1077 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf\r
1078 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {\r
1079 <LibraryClasses>\r
1080 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
435a05af 1081 NULL|MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.inf\r
46df0216
LE
1082 }\r
1083 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf\r
1084\r
1085!else\r
1086\r
1087 #\r
1088 # Variable driver stack (non-SMM)\r
1b0a8e62
LE
1089 #\r
1090 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
1091 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r
1092 <LibraryClasses>\r
1093 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r
1094 }\r
1095 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
1096 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
1097 <LibraryClasses>\r
1098 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
1099 }\r
46df0216 1100!endif\r
0c0a50d6 1101\r
cf3ad972 1102 #\r
07952a96 1103 # TPM support\r
cf3ad972 1104 #\r
b4757580 1105!include OvmfPkg/OvmfTpmComponentsDxe.dsc.inc\r