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