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