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