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