]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - OvmfPkg/OvmfPkgIa32X64.dsc
OvmfPkg: build PiSmmCpuDxeSmm for -D SMM_REQUIRE
[mirror_edk2.git] / OvmfPkg / OvmfPkgIa32X64.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/Ovmf3264\r
27 SUPPORTED_ARCHITECTURES = IA32|X64\r
28 BUILD_TARGETS = DEBUG|RELEASE\r
29 SKUID_IDENTIFIER = DEFAULT\r
30 FLASH_DEFINITION = OvmfPkg/OvmfPkgIa32X64.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\r
291[LibraryClasses.common.UEFI_APPLICATION]\r
292 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
293 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
294 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
295 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
296!ifdef $(DEBUG_ON_SERIAL_PORT)\r
297 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
298!else\r
299 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
300!endif\r
301\r
302[LibraryClasses.common.DXE_SMM_DRIVER]\r
303 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
304 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
305 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
306 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
307 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
308 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
309 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
310!ifdef $(DEBUG_ON_SERIAL_PORT)\r
311 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
312!else\r
313 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
314!endif\r
315 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf\r
316!ifdef $(SOURCE_DEBUG_ENABLE)\r
317 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf\r
318!endif\r
319\r
320[LibraryClasses.common.SMM_CORE]\r
321 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
322 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
323 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf\r
324 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r
325 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
326 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
327 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
328 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r
329!ifdef $(DEBUG_ON_SERIAL_PORT)\r
330 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
331!else\r
332 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
333!endif\r
334\r
335################################################################################\r
336#\r
337# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
338#\r
339################################################################################\r
340[PcdsFeatureFlag]\r
341 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
342 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE\r
343 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE\r
344 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE\r
345 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
346 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
347!if $(SECURE_BOOT_ENABLE) == TRUE\r
348 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE\r
349!endif\r
350!if $(SMM_REQUIRE) == TRUE\r
351 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE\r
352 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE\r
353!endif\r
354\r
355[PcdsFixedAtBuild]\r
356 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r
357 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
358 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10\r
359 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6\r
360 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32\r
361 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r
362 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000\r
363 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000\r
364\r
365 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
366\r
367 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
368 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
369!ifdef $(SOURCE_DEBUG_ENABLE)\r
370 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
371!else\r
372 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
373!endif\r
374\r
375!ifdef $(SOURCE_DEBUG_ENABLE)\r
376 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
377!endif\r
378\r
379!ifndef $(USE_OLD_SHELL)\r
380 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }\r
381!endif\r
382\r
383[PcdsFixedAtBuild.X64]\r
384!if $(SMM_REQUIRE) == TRUE\r
385 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01\r
386 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000\r
387!endif\r
388\r
389!if $(SECURE_BOOT_ENABLE) == TRUE\r
390 # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot\r
391 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04\r
392 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04\r
393 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04\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.IA32]\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[Components.X64]\r
478 #\r
479 # DXE Phase modules\r
480 #\r
481 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
482 <LibraryClasses>\r
483 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
484 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
485 }\r
486\r
487 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf\r
488 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
489 <LibraryClasses>\r
490 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
491 }\r
492\r
493 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
494\r
495!if $(SECURE_BOOT_ENABLE) == TRUE\r
496 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
497 <LibraryClasses>\r
498 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
499 }\r
500!else\r
501 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
502!endif\r
503\r
504 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
505 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf\r
506 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
507 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
508 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf\r
509 OvmfPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf\r
510 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r
511 <LibraryClasses>\r
512 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
513 }\r
514 PcAtChipsetPkg/KbcResetDxe/Reset.inf\r
515 MdeModulePkg/Universal/Metronome/Metronome.inf\r
516 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
517 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
518 <LibraryClasses>\r
519!ifdef $(CSM_ENABLE)\r
520 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf\r
521!endif\r
522 }\r
523\r
524 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf\r
525 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r
526 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
527 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
528 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
529 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf\r
530 OvmfPkg/XenBusDxe/XenBusDxe.inf\r
531 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf\r
532 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r
533 <LibraryClasses>\r
534 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r
535 }\r
536 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
537 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
538 <LibraryClasses>\r
539 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
540 }\r
541 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
542 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
543 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
544 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
545 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
546 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r
547 <LibraryClasses>\r
548 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
549 }\r
550 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
551 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
552 <LibraryClasses>\r
553 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
554 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
555 }\r
556 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
557 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
558 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
559 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
560 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
561 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
562 OvmfPkg/SataControllerDxe/SataControllerDxe.inf\r
563 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
564 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
565 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
566 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
567 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
568 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
569\r
570 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {\r
571 <LibraryClasses>\r
572 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
573 }\r
574\r
575 #\r
576 # ISA Support\r
577 #\r
578 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf\r
579 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf\r
580 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf\r
581 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf\r
582 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf\r
583\r
584 #\r
585 # SMBIOS Support\r
586 #\r
587 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {\r
588 <LibraryClasses>\r
589 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf\r
590 }\r
591 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
592\r
593 #\r
594 # ACPI Support\r
595 #\r
596 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
597 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf\r
598 OvmfPkg/AcpiTables/AcpiTables.inf\r
599 OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf\r
600 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
601 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
602\r
603 #\r
604 # Network Support\r
605 #\r
606 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf\r
607 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r
608 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf\r
609 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf\r
610 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r
611 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r
612 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf\r
613 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf\r
614 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf\r
615!if $(NETWORK_IP6_ENABLE) == TRUE\r
616 NetworkPkg/Ip6Dxe/Ip6Dxe.inf\r
617 NetworkPkg/TcpDxe/TcpDxe.inf\r
618 NetworkPkg/Udp6Dxe/Udp6Dxe.inf\r
619 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf\r
620 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf\r
621 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
622!if $(SECURE_BOOT_ENABLE) == TRUE\r
623 NetworkPkg/IScsiDxe/IScsiDxe.inf\r
624!else\r
625 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
626!endif\r
627!else\r
628 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf\r
629 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
630 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
631!endif\r
632!if $(HTTP_BOOT_ENABLE) == TRUE\r
633 NetworkPkg/DnsDxe/DnsDxe.inf\r
634 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf\r
635 NetworkPkg/HttpDxe/HttpDxe.inf\r
636 NetworkPkg/HttpBootDxe/HttpBootDxe.inf\r
637!endif\r
638 OvmfPkg/VirtioNetDxe/VirtioNet.inf\r
639\r
640 #\r
641 # Usb Support\r
642 #\r
643 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
644 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
645 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
646 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
647 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
648 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
649\r
650!ifdef $(CSM_ENABLE)\r
651 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {\r
652 <LibraryClasses>\r
653 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
654 }\r
655 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
656 OvmfPkg/Csm/Csm16/Csm16.inf\r
657!endif\r
658\r
659!ifndef $(USE_OLD_SHELL)\r
660 ShellPkg/Application/Shell/Shell.inf {\r
661 <LibraryClasses>\r
662 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
663 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
664 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
665 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
666 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
667 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
668 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
669 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
670 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf\r
671 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
672 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
673 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
674 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
675 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
676# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf\r
677# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf\r
678 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
679\r
680 <PcdsFixedAtBuild>\r
681 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
682 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
683 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
684 }\r
685!endif\r
686\r
687!if $(SECURE_BOOT_ENABLE) == TRUE\r
688 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
689!endif\r
690\r
691 OvmfPkg/PlatformDxe/Platform.inf\r
692\r
693!if $(SMM_REQUIRE) == TRUE\r
694 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf\r
695 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf\r
696 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf\r
697\r
698 #\r
699 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)\r
700 #\r
701 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf\r
702\r
703 #\r
704 # SMM_CORE\r
705 #\r
706 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf\r
707\r
708 #\r
709 # Privileged drivers (DXE_SMM_DRIVER modules)\r
710 #\r
711 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r
712 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {\r
713 <LibraryClasses>\r
714 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf\r
715 }\r
716 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {\r
717 <LibraryClasses>\r
718 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf\r
719 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
720 }\r
721!endif\r