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