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