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