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