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