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