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