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