]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/OvmfPkgX64.dsc
OvmfPkg: resolve PciSegmentLib
[mirror_edk2.git] / OvmfPkg / OvmfPkgX64.dsc
1 ## @file
2 # EFI/Framework Open Virtual Machine Firmware (OVMF) platform
3 #
4 # Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
5 #
6 # This program and the accompanying materials
7 # are licensed and made available under the terms and conditions of the BSD License
8 # which accompanies this distribution. The full text of the license may be found at
9 # http://opensource.org/licenses/bsd-license.php
10 #
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 #
14 ##
15
16 ################################################################################
17 #
18 # Defines Section - statements that will be processed to create a Makefile.
19 #
20 ################################################################################
21 [Defines]
22 PLATFORM_NAME = Ovmf
23 PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b
24 PLATFORM_VERSION = 0.1
25 DSC_SPECIFICATION = 0x00010005
26 OUTPUT_DIRECTORY = Build/OvmfX64
27 SUPPORTED_ARCHITECTURES = X64
28 BUILD_TARGETS = DEBUG|RELEASE
29 SKUID_IDENTIFIER = DEFAULT
30 FLASH_DEFINITION = OvmfPkg/OvmfPkgX64.fdf
31
32 #
33 # Defines for default states. These can be changed on the command line.
34 # -D FLAG=VALUE
35 #
36 DEFINE SECURE_BOOT_ENABLE = FALSE
37 DEFINE NETWORK_IP6_ENABLE = FALSE
38 DEFINE HTTP_BOOT_ENABLE = FALSE
39 DEFINE SMM_REQUIRE = FALSE
40
41 [BuildOptions]
42 GCC:*_UNIXGCC_*_CC_FLAGS = -DMDEPKG_NDEBUG
43 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
44 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
45 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
46 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
47 !ifdef $(SOURCE_DEBUG_ENABLE)
48 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
49 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
50 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
51 !endif
52
53 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
54 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
55
56 ################################################################################
57 #
58 # SKU Identification section - list of all SKU IDs supported by this Platform.
59 #
60 ################################################################################
61 [SkuIds]
62 0|DEFAULT
63
64 ################################################################################
65 #
66 # Library Class section - list of all Library Classes needed by this Platform.
67 #
68 ################################################################################
69 [LibraryClasses]
70 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
71 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
72 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
73 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
74 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
75 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
76 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
77 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
78 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
79 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
80 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
81 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
82 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
83 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 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
91 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
92 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
93 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
94 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
95 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
96 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
97 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
98 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
99 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
100 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
101 NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
102 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
103 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
104 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
105 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
106 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
107 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
108 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
109 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
110 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
111 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf
112 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
113 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
114 !if $(SMM_REQUIRE) == FALSE
115 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
116 !endif
117 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
118
119 !ifdef $(SOURCE_DEBUG_ENABLE)
120 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
121 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
122 !else
123 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
124 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
125 !endif
126
127 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
128 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
129 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
130
131 !if $(SECURE_BOOT_ENABLE) == TRUE
132 PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
133 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
134 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
135 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
136 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
137 !if $(NETWORK_IP6_ENABLE) == TRUE
138 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
139 !endif
140 !else
141 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
142 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
143 !endif
144 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
145
146 !if $(HTTP_BOOT_ENABLE) == TRUE
147 HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf
148 !endif
149
150 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
151 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
152 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
153 XenHypercallLib|OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
154
155 [LibraryClasses.common]
156 !if $(SECURE_BOOT_ENABLE) == TRUE
157 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
158 !endif
159
160 [LibraryClasses.common.SEC]
161 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
162 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
163 !ifdef $(DEBUG_ON_SERIAL_PORT)
164 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
165 !else
166 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
167 !endif
168 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
169 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
170 !ifdef $(SOURCE_DEBUG_ENABLE)
171 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
172 !endif
173 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
174 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
175 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
176 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
177 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
178
179 [LibraryClasses.common.PEI_CORE]
180 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
181 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
182 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
183 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
184 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
185 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
186 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
187 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
188 !ifdef $(DEBUG_ON_SERIAL_PORT)
189 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
190 !else
191 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
192 !endif
193 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
194
195 [LibraryClasses.common.PEIM]
196 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
197 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
198 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
199 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
200 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
201 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
202 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
203 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
204 !ifdef $(DEBUG_ON_SERIAL_PORT)
205 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
206 !else
207 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
208 !endif
209 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
210 PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
211 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
212 !ifdef $(SOURCE_DEBUG_ENABLE)
213 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
214 !endif
215
216 [LibraryClasses.common.DXE_CORE]
217 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
218 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
219 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
220 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
221 !ifdef $(DEBUG_ON_SERIAL_PORT)
222 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
223 !else
224 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
225 !endif
226 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
227 !ifdef $(SOURCE_DEBUG_ENABLE)
228 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
229 !endif
230 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
231 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
232
233 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
234 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
235 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
236 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
237 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
238 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
239 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
240 !ifdef $(DEBUG_ON_SERIAL_PORT)
241 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
242 !else
243 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
244 !endif
245 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
246 !if $(SECURE_BOOT_ENABLE) == TRUE
247 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
248 !endif
249
250 [LibraryClasses.common.UEFI_DRIVER]
251 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
252 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
253 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
254 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
255 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
256 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
257 !ifdef $(DEBUG_ON_SERIAL_PORT)
258 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
259 !else
260 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
261 !endif
262 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
263
264 [LibraryClasses.common.DXE_DRIVER]
265 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
266 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
267 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
268 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
269 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
270 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
271 !ifdef $(DEBUG_ON_SERIAL_PORT)
272 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
273 !else
274 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
275 !endif
276 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
277 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
278 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
279 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
280 PlatformBdsLib|OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
281 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
282 !if $(SMM_REQUIRE) == TRUE
283 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
284 !else
285 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
286 !endif
287 !ifdef $(SOURCE_DEBUG_ENABLE)
288 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
289 !endif
290 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
291 !if $(SECURE_BOOT_ENABLE) == TRUE
292 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
293 !endif
294
295 [LibraryClasses.common.UEFI_APPLICATION]
296 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
297 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
298 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
299 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
300 !ifdef $(DEBUG_ON_SERIAL_PORT)
301 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
302 !else
303 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
304 !endif
305
306 [LibraryClasses.common.DXE_SMM_DRIVER]
307 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
308 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
309 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
310 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
311 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
312 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
313 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
314 !ifdef $(DEBUG_ON_SERIAL_PORT)
315 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
316 !else
317 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
318 !endif
319 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
320 !ifdef $(SOURCE_DEBUG_ENABLE)
321 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
322 !endif
323 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
324
325 [LibraryClasses.common.SMM_CORE]
326 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
327 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
328 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
329 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
330 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
331 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
332 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
333 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
334 !ifdef $(DEBUG_ON_SERIAL_PORT)
335 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
336 !else
337 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
338 !endif
339
340 ################################################################################
341 #
342 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
343 #
344 ################################################################################
345 [PcdsFeatureFlag]
346 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
347 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
348 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
349 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
350 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
351 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
352 !if $(SECURE_BOOT_ENABLE) == TRUE
353 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE
354 !endif
355 !if $(SMM_REQUIRE) == TRUE
356 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
357 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE
358 !endif
359
360 [PcdsFixedAtBuild]
361 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
362 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
363 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
364 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6
365 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32
366 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
367 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000
368 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
369
370 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
371
372 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
373
374 # DEBUG_INIT 0x00000001 // Initialization
375 # DEBUG_WARN 0x00000002 // Warnings
376 # DEBUG_LOAD 0x00000004 // Load events
377 # DEBUG_FS 0x00000008 // EFI File system
378 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
379 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
380 # DEBUG_INFO 0x00000040 // Informational debug messages
381 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
382 # DEBUG_VARIABLE 0x00000100 // Variable
383 # DEBUG_BM 0x00000400 // Boot Manager
384 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
385 # DEBUG_NET 0x00004000 // SNP Driver
386 # DEBUG_UNDI 0x00010000 // UNDI Driver
387 # DEBUG_LOADFILE 0x00020000 // LoadFile
388 # DEBUG_EVENT 0x00080000 // Event messages
389 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
390 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
391 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
392 # // significantly impact boot performance
393 # DEBUG_ERROR 0x80000000 // Error
394 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
395
396 !ifdef $(SOURCE_DEBUG_ENABLE)
397 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
398 !else
399 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
400 !endif
401
402 !ifdef $(SOURCE_DEBUG_ENABLE)
403 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
404 !endif
405
406 !ifndef $(USE_OLD_SHELL)
407 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
408 !endif
409
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]
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 #
503 # DXE Phase modules
504 #
505 MdeModulePkg/Core/Dxe/DxeMain.inf {
506 <LibraryClasses>
507 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
508 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
509 }
510
511 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
512 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
513 <LibraryClasses>
514 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
515 }
516
517 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
518
519 !if $(SECURE_BOOT_ENABLE) == TRUE
520 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
521 <LibraryClasses>
522 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
523 }
524 !else
525 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
526 !endif
527
528 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
529 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
530 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
531 UefiCpuPkg/CpuDxe/CpuDxe.inf
532 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
533 OvmfPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf
534 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
535 <LibraryClasses>
536 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
537 }
538 PcAtChipsetPkg/KbcResetDxe/Reset.inf
539 MdeModulePkg/Universal/Metronome/Metronome.inf
540 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
541 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
542 <LibraryClasses>
543 !ifdef $(CSM_ENABLE)
544 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf
545 !endif
546 }
547
548 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf
549 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
550 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
551 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
552 OvmfPkg/VirtioRngDxe/VirtioRng.inf
553 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf
554 OvmfPkg/XenBusDxe/XenBusDxe.inf
555 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf
556 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
557 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
558 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
559 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
560 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
561 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
562 <LibraryClasses>
563 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
564 }
565 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
566 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
567 <LibraryClasses>
568 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
569 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
570 }
571 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
572 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
573 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
574 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
575 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
576 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
577 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
578 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
579 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
580 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
581 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
582 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
583 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
584 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
585
586 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
587 <LibraryClasses>
588 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
589 }
590
591 #
592 # ISA Support
593 #
594 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
595 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
596 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
597 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
598 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
599
600 #
601 # SMBIOS Support
602 #
603 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
604 <LibraryClasses>
605 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
606 }
607 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
608
609 #
610 # ACPI Support
611 #
612 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
613 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
614 OvmfPkg/AcpiTables/AcpiTables.inf
615 OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
616 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
617 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
618
619 #
620 # Network Support
621 #
622 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
623 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
624 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
625 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
626 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
627 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
628 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
629 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
630 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
631 !if $(NETWORK_IP6_ENABLE) == TRUE
632 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
633 NetworkPkg/TcpDxe/TcpDxe.inf
634 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
635 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
636 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
637 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
638 !if $(SECURE_BOOT_ENABLE) == TRUE
639 NetworkPkg/IScsiDxe/IScsiDxe.inf
640 !else
641 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
642 !endif
643 !else
644 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
645 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
646 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
647 !endif
648 !if $(HTTP_BOOT_ENABLE) == TRUE
649 NetworkPkg/DnsDxe/DnsDxe.inf
650 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf
651 NetworkPkg/HttpDxe/HttpDxe.inf
652 NetworkPkg/HttpBootDxe/HttpBootDxe.inf
653 !endif
654 OvmfPkg/VirtioNetDxe/VirtioNet.inf
655
656 #
657 # Usb Support
658 #
659 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
660 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
661 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
662 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
663 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
664 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
665
666 !ifdef $(CSM_ENABLE)
667 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {
668 <LibraryClasses>
669 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
670 }
671 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
672 OvmfPkg/Csm/Csm16/Csm16.inf
673 !endif
674
675 !ifndef $(USE_OLD_SHELL)
676 ShellPkg/Application/Shell/Shell.inf {
677 <LibraryClasses>
678 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
679 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
680 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
681 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
682 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
683 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
684 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
685 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
686 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf
687 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
688 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
689 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
690 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
691 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
692 # SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf
693 # SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf
694 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
695
696 <PcdsFixedAtBuild>
697 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
698 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
699 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
700 }
701 !endif
702
703 !if $(SECURE_BOOT_ENABLE) == TRUE
704 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
705 !endif
706
707 OvmfPkg/PlatformDxe/Platform.inf
708
709 !if $(SMM_REQUIRE) == TRUE
710 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
711 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
712 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
713
714 #
715 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
716 #
717 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
718
719 #
720 # SMM_CORE
721 #
722 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
723
724 #
725 # Privileged drivers (DXE_SMM_DRIVER modules)
726 #
727 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
728 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
729 <LibraryClasses>
730 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
731 }
732 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
733 <LibraryClasses>
734 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
735 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
736 }
737
738 #
739 # Variable driver stack (SMM)
740 #
741 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf
742 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
743 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
744 <LibraryClasses>
745 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
746 }
747 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
748
749 !else
750
751 #
752 # Variable driver stack (non-SMM)
753 #
754 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
755 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
756 <LibraryClasses>
757 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
758 }
759 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
760 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
761 <LibraryClasses>
762 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
763 }
764 !endif