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