]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfPkgIa32X64.dsc
c27024abfcccf566a4a0b8584542913ddcc18137
[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 = 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 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
55 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
56
57 ################################################################################
58 #
59 # SKU Identification section - list of all SKU IDs supported by this Platform.
60 #
61 ################################################################################
62 [SkuIds]
63 0|DEFAULT
64
65 ################################################################################
66 #
67 # Library Class section - list of all Library Classes needed by this Platform.
68 #
69 ################################################################################
70 [LibraryClasses]
71 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
72 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
73 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
74 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
75 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
76 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
77 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
78 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
79 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
80 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
81 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
82 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
83 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
84 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
85 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
86 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.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 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
222
223 [LibraryClasses.common.DXE_CORE]
224 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
225 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
226 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
227 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
228 !ifdef $(DEBUG_ON_SERIAL_PORT)
229 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
230 !else
231 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
232 !endif
233 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
234 !ifdef $(SOURCE_DEBUG_ENABLE)
235 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
236 !endif
237 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
238 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
239
240 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
241 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
242 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
243 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
244 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
245 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
246 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
247 !ifdef $(DEBUG_ON_SERIAL_PORT)
248 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
249 !else
250 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
251 !endif
252 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
253 !if $(SECURE_BOOT_ENABLE) == TRUE
254 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
255 !endif
256 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
257
258 [LibraryClasses.common.UEFI_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/DxeReportStatusCodeLib/DxeReportStatusCodeLib.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 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
271 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
272
273 [LibraryClasses.common.DXE_DRIVER]
274 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
275 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
276 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
277 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
278 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
279 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
280 !ifdef $(DEBUG_ON_SERIAL_PORT)
281 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
282 !else
283 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
284 !endif
285 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
286 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
287 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
288 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
289 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
290 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
291 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
292 !if $(SMM_REQUIRE) == TRUE
293 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
294 !else
295 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
296 !endif
297 !ifdef $(SOURCE_DEBUG_ENABLE)
298 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
299 !endif
300 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
301 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
302
303 [LibraryClasses.common.UEFI_APPLICATION]
304 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
305 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
306 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
307 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
308 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
309 !ifdef $(DEBUG_ON_SERIAL_PORT)
310 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
311 !else
312 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
313 !endif
314 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
315
316 [LibraryClasses.common.DXE_SMM_DRIVER]
317 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
318 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
319 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
320 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
321 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
322 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
323 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
324 !ifdef $(DEBUG_ON_SERIAL_PORT)
325 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
326 !else
327 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
328 !endif
329 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
330 !ifdef $(SOURCE_DEBUG_ENABLE)
331 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
332 !endif
333 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
334 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
335
336 [LibraryClasses.common.SMM_CORE]
337 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
338 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
339 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
340 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
341 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
342 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
343 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
344 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
345 !ifdef $(DEBUG_ON_SERIAL_PORT)
346 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
347 !else
348 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
349 !endif
350 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
351
352 ################################################################################
353 #
354 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
355 #
356 ################################################################################
357 [PcdsFeatureFlag]
358 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
359 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
360 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
361 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
362 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE
363 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
364 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
365 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
366 !if $(SECURE_BOOT_ENABLE) == TRUE
367 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE
368 !endif
369 !if $(SMM_REQUIRE) == TRUE
370 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
371 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE
372 !endif
373
374 [PcdsFixedAtBuild]
375 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
376 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
377 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
378 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
379 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
380 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
381 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
382 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
383
384 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
385
386 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
387
388 # DEBUG_INIT 0x00000001 // Initialization
389 # DEBUG_WARN 0x00000002 // Warnings
390 # DEBUG_LOAD 0x00000004 // Load events
391 # DEBUG_FS 0x00000008 // EFI File system
392 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
393 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
394 # DEBUG_INFO 0x00000040 // Informational debug messages
395 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
396 # DEBUG_VARIABLE 0x00000100 // Variable
397 # DEBUG_BM 0x00000400 // Boot Manager
398 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
399 # DEBUG_NET 0x00004000 // SNP Driver
400 # DEBUG_UNDI 0x00010000 // UNDI Driver
401 # DEBUG_LOADFILE 0x00020000 // LoadFile
402 # DEBUG_EVENT 0x00080000 // Event messages
403 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
404 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
405 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
406 # // significantly impact boot performance
407 # DEBUG_ERROR 0x80000000 // Error
408 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
409
410 !ifdef $(SOURCE_DEBUG_ENABLE)
411 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
412 !else
413 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
414 !endif
415
416 # This PCD is used to set the base address of the PCI express hierarchy. It
417 # is only consulted when OVMF runs on Q35. In that case it is programmed into
418 # the PCIEXBAR register.
419 #
420 # On Q35 machine types that QEMU intends to support in the long term, QEMU
421 # never lets the RAM below 4 GB exceed 2 GB.
422 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0x80000000
423
424 !ifdef $(SOURCE_DEBUG_ENABLE)
425 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
426 !endif
427
428 [PcdsFixedAtBuild.X64]
429 !ifndef $(USE_OLD_SHELL)
430 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
431 !endif
432
433 !if $(SMM_REQUIRE) == TRUE
434 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
435 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
436 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
437 !endif
438
439 !if $(SECURE_BOOT_ENABLE) == TRUE
440 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
441 !endif
442
443 # IRQs 5, 9, 10, 11 are level-triggered
444 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
445
446 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
447 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
448
449 ################################################################################
450 #
451 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
452 #
453 ################################################################################
454
455 [PcdsDynamicDefault]
456 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
457 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
458 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
459 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
460 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE
461 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
462 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
463 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
464 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
465 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
466 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
467 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
468 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
469 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
470 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
471
472 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
473
474 # Set video resolution for text setup.
475 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
476 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
477
478 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
479 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
480 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
481
482 # Noexec settings for DXE.
483 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
484 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE
485
486 ################################################################################
487 #
488 # Components Section - list of all EDK II Modules needed by this Platform.
489 #
490 ################################################################################
491 [Components.IA32]
492 OvmfPkg/ResetVector/ResetVector.inf
493
494 #
495 # SEC Phase modules
496 #
497 OvmfPkg/Sec/SecMain.inf {
498 <LibraryClasses>
499 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
500 }
501
502 #
503 # PEI Phase modules
504 #
505 MdeModulePkg/Core/Pei/PeiMain.inf
506 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
507 <LibraryClasses>
508 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
509 }
510 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
511 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf
512 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
513 <LibraryClasses>
514 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
515 }
516
517 OvmfPkg/PlatformPei/PlatformPei.inf {
518 <LibraryClasses>
519 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
520 }
521 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
522 <LibraryClasses>
523 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
524 !if $(SMM_REQUIRE) == TRUE
525 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
526 !endif
527 }
528 !if $(SMM_REQUIRE) == TRUE
529 OvmfPkg/SmmAccess/SmmAccessPei.inf {
530 <LibraryClasses>
531 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
532 }
533 !endif
534 UefiCpuPkg/CpuMpPei/CpuMpPei.inf {
535 <LibraryClasses>
536 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
537 }
538
539 [Components.X64]
540 #
541 # DXE Phase modules
542 #
543 MdeModulePkg/Core/Dxe/DxeMain.inf {
544 <LibraryClasses>
545 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
546 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
547 }
548
549 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
550 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
551 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
552 <LibraryClasses>
553 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
554 }
555
556 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
557
558 !if $(SECURE_BOOT_ENABLE) == TRUE
559 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
560 <LibraryClasses>
561 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
562 }
563 !else
564 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
565 !endif
566
567 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
568 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
569 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
570 UefiCpuPkg/CpuDxe/CpuDxe.inf
571 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
572 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
573 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
574 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
575 <LibraryClasses>
576 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
577 }
578 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
579 <LibraryClasses>
580 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
581 }
582 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
583 MdeModulePkg/Universal/Metronome/Metronome.inf
584 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
585 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
586 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
587 <LibraryClasses>
588 !ifdef $(CSM_ENABLE)
589 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
590 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
591 !endif
592 }
593 MdeModulePkg/Logo/LogoDxe.inf
594 MdeModulePkg/Application/UiApp/UiApp.inf {
595 <LibraryClasses>
596 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
597 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
598 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
599 !ifdef $(CSM_ENABLE)
600 NULL|IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
601 NULL|IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
602 !endif
603 }
604 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
605 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
606 OvmfPkg/Virtio10Dxe/Virtio10.inf
607 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
608 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
609 OvmfPkg/VirtioRngDxe/VirtioRng.inf
610 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
611 OvmfPkg/XenBusDxe/XenBusDxe.inf
612 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
613 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
614 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
615 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
616 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
617 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
618 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
619 <LibraryClasses>
620 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
621 }
622 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
623 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
624 <LibraryClasses>
625 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
626 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
627 }
628 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
629 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
630 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
631 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
632 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
633 FatPkg/EnhancedFatDxe/Fat.inf
634 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
635 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
636 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
637 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
638 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
639 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
640 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
641 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
642 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
643 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
644
645 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
646 <LibraryClasses>
647 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
648 }
649 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
650
651 #
652 # ISA Support
653 #
654 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
655 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
656 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
657 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
658 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
659
660 #
661 # SMBIOS Support
662 #
663 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
664 <LibraryClasses>
665 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
666 }
667 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
668
669 #
670 # ACPI Support
671 #
672 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
673 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
674 OvmfPkg/AcpiTables/AcpiTables.inf
675 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
676 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
677
678 #
679 # Network Support
680 #
681 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
682 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
683 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
684 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
685 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
686 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
687 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
688 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
689 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
690 !if $(NETWORK_IP6_ENABLE) == TRUE
691 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
692 NetworkPkg/TcpDxe/TcpDxe.inf
693 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
694 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
695 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
696 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
697 !if $(SECURE_BOOT_ENABLE) == TRUE
698 NetworkPkg/IScsiDxe/IScsiDxe.inf
699 !else
700 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
701 !endif
702 !else
703 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
704 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
705 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
706 !endif
707 !if $(HTTP_BOOT_ENABLE) == TRUE
708 NetworkPkg/DnsDxe/DnsDxe.inf
709 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
710 NetworkPkg/HttpDxe/HttpDxe.inf
711 NetworkPkg/HttpBootDxe/HttpBootDxe.inf
712 !endif
713 OvmfPkg/VirtioNetDxe/VirtioNet.inf
714
715 #
716 # Usb Support
717 #
718 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
719 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
720 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
721 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
722 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
723 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
724
725 !ifdef $(CSM_ENABLE)
726 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
727 <LibraryClasses>
728 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
729 }
730 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
731 OvmfPkg/Csm/Csm16/Csm16.inf
732 !endif
733
734 !ifndef $(USE_OLD_SHELL)
735 ShellPkg/Application/Shell/Shell.inf {
736 <LibraryClasses>
737 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
738 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
739 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
740 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
741 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
742 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
743 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
744 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
745 !if $(NETWORK_IP6_ENABLE) == TRUE
746 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
747 !endif
748 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf
749 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
750 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
751 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
752 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
753 # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
754 # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
755 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
756
757 <PcdsFixedAtBuild>
758 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
759 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
760 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
761 }
762 !endif
763
764 !if $(SECURE_BOOT_ENABLE) == TRUE
765 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
766 !endif
767
768 OvmfPkg/PlatformDxe/Platform.inf
769
770 !if $(SMM_REQUIRE) == TRUE
771 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
772 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
773 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
774
775 #
776 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
777 #
778 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
779
780 #
781 # SMM_CORE
782 #
783 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
784
785 #
786 # Privileged drivers (DXE_SMM_DRIVER modules)
787 #
788 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
789 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
790 <LibraryClasses>
791 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
792 }
793 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
794 <LibraryClasses>
795 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
796 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
797 }
798
799 #
800 # Variable driver stack (SMM)
801 #
802 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
803 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
804 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
805 <LibraryClasses>
806 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
807 }
808 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
809
810 !else
811
812 #
813 # Variable driver stack (non-SMM)
814 #
815 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
816 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
817 <LibraryClasses>
818 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
819 }
820 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
821 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
822 <LibraryClasses>
823 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
824 }
825 !endif