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