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