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