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