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