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