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