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