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