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