]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - OvmfPkg/OvmfPkgIa32.dsc
OvmfPkg: Update dsc to use IoLib from BaseIoLibIntrinsicSev.inf
[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/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 gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes|8\r
538 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01\r
539 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000\r
540!endif\r
541\r
542################################################################################\r
543#\r
544# Components Section - list of all EDK II Modules needed by this Platform.\r
545#\r
546################################################################################\r
547[Components]\r
548 OvmfPkg/ResetVector/ResetVector.inf\r
549\r
550 #\r
551 # SEC Phase modules\r
552 #\r
553 OvmfPkg/Sec/SecMain.inf {\r
554 <LibraryClasses>\r
555 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
556 }\r
557\r
558 #\r
559 # PEI Phase modules\r
560 #\r
561 MdeModulePkg/Core/Pei/PeiMain.inf\r
562 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
563 <LibraryClasses>\r
564 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
565 }\r
566 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {\r
567 <LibraryClasses>\r
568 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
569 }\r
570 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {\r
571 <LibraryClasses>\r
572 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
573 }\r
574 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
575\r
576 OvmfPkg/PlatformPei/PlatformPei.inf\r
577 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {\r
578 <LibraryClasses>\r
579!if $(SMM_REQUIRE) == TRUE\r
580 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf\r
581!endif\r
582 }\r
583!if $(SMM_REQUIRE) == TRUE\r
584 OvmfPkg/SmmAccess/SmmAccessPei.inf\r
585!endif\r
586 UefiCpuPkg/CpuMpPei/CpuMpPei.inf\r
587\r
588 #\r
589 # DXE Phase modules\r
590 #\r
591 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
592 <LibraryClasses>\r
593 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
594 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
595 }\r
596\r
597 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
598 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r
599 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
600 <LibraryClasses>\r
601 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
602 }\r
603\r
604 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
605\r
606!if $(SECURE_BOOT_ENABLE) == TRUE\r
607 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
608 <LibraryClasses>\r
609 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
610 }\r
611!else\r
612 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
613!endif\r
614\r
615 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
616 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf\r
617 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
618 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
619 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf\r
620 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf\r
621 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf\r
622 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {\r
623 <LibraryClasses>\r
624 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf\r
625 }\r
626 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r
627 <LibraryClasses>\r
628 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
629 }\r
630 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
631 MdeModulePkg/Universal/Metronome/Metronome.inf\r
632 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
633 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf\r
634 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
635 <LibraryClasses>\r
636!ifdef $(CSM_ENABLE)\r
637 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf\r
638 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
639!endif\r
640 }\r
641 MdeModulePkg/Logo/LogoDxe.inf\r
642 MdeModulePkg/Application/UiApp/UiApp.inf {\r
643 <LibraryClasses>\r
644 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf\r
645 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf\r
646 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf\r
647!ifdef $(CSM_ENABLE)\r
648 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf\r
649 NULL|IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf\r
650!endif\r
651 }\r
652 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf\r
653 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r
654 OvmfPkg/Virtio10Dxe/Virtio10.inf\r
655 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
656 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
657 OvmfPkg/VirtioRngDxe/VirtioRng.inf\r
658 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf\r
659 OvmfPkg/XenBusDxe/XenBusDxe.inf\r
660 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf\r
661 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
662 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
663 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
664 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
665 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
666 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r
667 <LibraryClasses>\r
668 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
669 }\r
670 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
671 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
672 <LibraryClasses>\r
673 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
674 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
675 }\r
676 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
677 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
678 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
679 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf\r
680 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
681 FatPkg/EnhancedFatDxe/Fat.inf\r
682 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
683 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
684 OvmfPkg/SataControllerDxe/SataControllerDxe.inf\r
685 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
686 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
687 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r
688 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
689 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
690 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
691 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
692\r
693 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf\r
694 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf\r
695\r
696 #\r
697 # ISA Support\r
698 #\r
699 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf\r
700 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf\r
701 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf\r
702 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf\r
703 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf\r
704\r
705 #\r
706 # SMBIOS Support\r
707 #\r
708 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {\r
709 <LibraryClasses>\r
710 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf\r
711 }\r
712 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
713\r
714 #\r
715 # ACPI Support\r
716 #\r
717 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
718 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf\r
719 OvmfPkg/AcpiTables/AcpiTables.inf\r
720 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
721 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
722 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf\r
723\r
724 #\r
725 # Network Support\r
726 #\r
727 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf\r
728 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r
729 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf\r
730 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf\r
731 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r
732 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r
733 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf\r
734 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf\r
735 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf\r
736!if $(NETWORK_IP6_ENABLE) == TRUE\r
737 NetworkPkg/Ip6Dxe/Ip6Dxe.inf\r
738 NetworkPkg/TcpDxe/TcpDxe.inf\r
739 NetworkPkg/Udp6Dxe/Udp6Dxe.inf\r
740 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf\r
741 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf\r
742 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
743 NetworkPkg/IScsiDxe/IScsiDxe.inf\r
744!else\r
745 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf\r
746 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
747 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
748!endif\r
749!if $(HTTP_BOOT_ENABLE) == TRUE\r
750 NetworkPkg/DnsDxe/DnsDxe.inf\r
751 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf\r
752 NetworkPkg/HttpDxe/HttpDxe.inf\r
753 NetworkPkg/HttpBootDxe/HttpBootDxe.inf\r
754!endif\r
755!if $(TLS_ENABLE) == TRUE\r
756 NetworkPkg/TlsDxe/TlsDxe.inf\r
757 NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf\r
758!endif\r
759 OvmfPkg/VirtioNetDxe/VirtioNet.inf\r
760\r
761 #\r
762 # Usb Support\r
763 #\r
764 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
765 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
766 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
767 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
768 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
769 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
770\r
771!ifdef $(CSM_ENABLE)\r
772 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {\r
773 <LibraryClasses>\r
774 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
775 }\r
776 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
777 OvmfPkg/Csm/Csm16/Csm16.inf\r
778!endif\r
779\r
780!ifndef $(USE_OLD_SHELL)\r
781 ShellPkg/Application/Shell/Shell.inf {\r
782 <LibraryClasses>\r
783 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
784 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
785 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
786 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
787 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
788 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
789 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
790 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
791!if $(NETWORK_IP6_ENABLE) == TRUE\r
792 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r
793!endif\r
794 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf\r
795 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
796 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
797 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
798 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
799# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf\r
800# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf\r
801 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
802\r
803 <PcdsFixedAtBuild>\r
804 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
805 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
806 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
807 }\r
808!endif\r
809\r
810!if $(SECURE_BOOT_ENABLE) == TRUE\r
811 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
812!endif\r
813\r
814 OvmfPkg/PlatformDxe/Platform.inf\r
815\r
816!if $(SMM_REQUIRE) == TRUE\r
817 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf\r
818 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf\r
819 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf\r
820\r
821 #\r
822 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)\r
823 #\r
824 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf\r
825\r
826 #\r
827 # SMM_CORE\r
828 #\r
829 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf\r
830\r
831 #\r
832 # Privileged drivers (DXE_SMM_DRIVER modules)\r
833 #\r
834 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r
835 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {\r
836 <LibraryClasses>\r
837 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf\r
838 }\r
839 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {\r
840 <LibraryClasses>\r
841 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf\r
842 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
843 }\r
844\r
845 #\r
846 # Variable driver stack (SMM)\r
847 #\r
848 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf\r
849 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf\r
850 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {\r
851 <LibraryClasses>\r
852 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
853 }\r
854 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf\r
855\r
856!else\r
857\r
858 #\r
859 # Variable driver stack (non-SMM)\r
860 #\r
861 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
862 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r
863 <LibraryClasses>\r
864 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r
865 }\r
866 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
867 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
868 <LibraryClasses>\r
869 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
870 }\r
871!endif\r