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