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