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