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