]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - OvmfPkg/OvmfPkgIa32X64.dsc
OvmfPkg: add driver for Virtio-RNG device
[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 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
320\r
321[LibraryClasses.common.SMM_CORE]\r
322 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
323 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf\r
324 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf\r
325 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf\r
326 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
327 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
328 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
329 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf\r
330!ifdef $(DEBUG_ON_SERIAL_PORT)\r
331 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
332!else\r
333 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf\r
334!endif\r
335\r
336################################################################################\r
337#\r
338# Pcd Section - list of all EDK II PCD Entries defined by this Platform.\r
339#\r
340################################################################################\r
341[PcdsFeatureFlag]\r
342 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE\r
343 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE\r
344 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE\r
345 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE\r
346 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r
347 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE\r
348!if $(SECURE_BOOT_ENABLE) == TRUE\r
349 gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|TRUE\r
350!endif\r
351!if $(SMM_REQUIRE) == TRUE\r
352 gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE\r
353 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE\r
354!endif\r
355\r
356[PcdsFixedAtBuild]\r
357 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1\r
358 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
359 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10\r
360 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxFvSupported|6\r
361 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|32\r
362 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000\r
363 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x8000\r
364 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000\r
365\r
366 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
367\r
368 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
369 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F\r
370!ifdef $(SOURCE_DEBUG_ENABLE)\r
371 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17\r
372!else\r
373 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
374!endif\r
375\r
376!ifdef $(SOURCE_DEBUG_ENABLE)\r
377 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2\r
378!endif\r
379\r
380!ifndef $(USE_OLD_SHELL)\r
381 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }\r
382!endif\r
383\r
384[PcdsFixedAtBuild.X64]\r
385!if $(SMM_REQUIRE) == TRUE\r
386 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01\r
387 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000\r
388!endif\r
389\r
390!if $(SECURE_BOOT_ENABLE) == TRUE\r
391 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00\r
392!endif\r
393\r
394 # IRQs 5, 9, 10, 11 are level-triggered\r
395 gPcAtChipsetPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20\r
396\r
397################################################################################\r
398#\r
399# Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform\r
400#\r
401################################################################################\r
402\r
403[PcdsDynamicDefault]\r
404 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0\r
405 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0\r
406 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0\r
407 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0\r
408 gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|FALSE\r
409 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800\r
410 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600\r
411 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r
412\r
413 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0\r
414\r
415 # Set video resolution for text setup.\r
416 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640\r
417 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480\r
418\r
419 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208\r
420 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0\r
421 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE\r
422\r
423 # Noexec settings for DXE.\r
424 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE\r
425 gEfiMdeModulePkgTokenSpaceGuid.PcdPropertiesTableEnable|FALSE\r
426\r
427################################################################################\r
428#\r
429# Components Section - list of all EDK II Modules needed by this Platform.\r
430#\r
431################################################################################\r
432[Components.IA32]\r
433 OvmfPkg/ResetVector/ResetVector.inf\r
434\r
435 #\r
436 # SEC Phase modules\r
437 #\r
438 OvmfPkg/Sec/SecMain.inf {\r
439 <LibraryClasses>\r
440 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
441 }\r
442\r
443 #\r
444 # PEI Phase modules\r
445 #\r
446 MdeModulePkg/Core/Pei/PeiMain.inf\r
447 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {\r
448 <LibraryClasses>\r
449 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
450 }\r
451 IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf\r
452 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {\r
453 <LibraryClasses>\r
454 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
455 }\r
456\r
457 OvmfPkg/PlatformPei/PlatformPei.inf {\r
458 <LibraryClasses>\r
459 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
460 }\r
461 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {\r
462 <LibraryClasses>\r
463 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
464!if $(SMM_REQUIRE) == TRUE\r
465 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf\r
466!endif\r
467 }\r
468!if $(SMM_REQUIRE) == TRUE\r
469 OvmfPkg/SmmAccess/SmmAccessPei.inf {\r
470 <LibraryClasses>\r
471 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
472 }\r
473!endif\r
474\r
475[Components.X64]\r
476 #\r
477 # DXE Phase modules\r
478 #\r
479 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
480 <LibraryClasses>\r
481 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r
482 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
483 }\r
484\r
485 IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf\r
486 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {\r
487 <LibraryClasses>\r
488 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
489 }\r
490\r
491 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
492\r
493!if $(SECURE_BOOT_ENABLE) == TRUE\r
494 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {\r
495 <LibraryClasses>\r
496 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf\r
497 }\r
498!else\r
499 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
500!endif\r
501\r
502 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
503 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf\r
504 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
505 UefiCpuPkg/CpuDxe/CpuDxe.inf\r
506 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf\r
507 OvmfPkg/PciHostBridgeDxe/PciHostBridgeDxe.inf\r
508 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {\r
509 <LibraryClasses>\r
510 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
511 }\r
512 PcAtChipsetPkg/KbcResetDxe/Reset.inf\r
513 MdeModulePkg/Universal/Metronome/Metronome.inf\r
514 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
515 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {\r
516 <LibraryClasses>\r
517!ifdef $(CSM_ENABLE)\r
518 NULL|OvmfPkg/Csm/CsmSupportLib/CsmSupportLib.inf\r
519!endif\r
520 }\r
521\r
522 OvmfPkg/BlockMmioToBlockIoDxe/BlockIo.inf\r
523 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf\r
524 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf\r
525 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf\r
526 OvmfPkg/VirtioRngDxe/VirtioRng.inf\r
527 OvmfPkg/XenIoPciDxe/XenIoPciDxe.inf\r
528 OvmfPkg/XenBusDxe/XenBusDxe.inf\r
529 OvmfPkg/XenPvBlkDxe/XenPvBlkDxe.inf\r
530 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
531 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
532 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
533 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
534 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
535 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {\r
536 <LibraryClasses>\r
537 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
538 }\r
539 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
540 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {\r
541 <LibraryClasses>\r
542 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
543 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
544 }\r
545 MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
546 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
547 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
548 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
549 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
550 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
551 OvmfPkg/SataControllerDxe/SataControllerDxe.inf\r
552 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
553 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
554 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf\r
555 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
556 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
557 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
558 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
559\r
560 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {\r
561 <LibraryClasses>\r
562 BltLib|OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf\r
563 }\r
564\r
565 #\r
566 # ISA Support\r
567 #\r
568 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf\r
569 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf\r
570 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf\r
571 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf\r
572 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf\r
573\r
574 #\r
575 # SMBIOS Support\r
576 #\r
577 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {\r
578 <LibraryClasses>\r
579 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf\r
580 }\r
581 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf\r
582\r
583 #\r
584 # ACPI Support\r
585 #\r
586 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf\r
587 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf\r
588 OvmfPkg/AcpiTables/AcpiTables.inf\r
589 OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf\r
590 MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf\r
591 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf\r
592\r
593 #\r
594 # Network Support\r
595 #\r
596 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf\r
597 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf\r
598 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf\r
599 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf\r
600 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf\r
601 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf\r
602 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf\r
603 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf\r
604 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf\r
605!if $(NETWORK_IP6_ENABLE) == TRUE\r
606 NetworkPkg/Ip6Dxe/Ip6Dxe.inf\r
607 NetworkPkg/TcpDxe/TcpDxe.inf\r
608 NetworkPkg/Udp6Dxe/Udp6Dxe.inf\r
609 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf\r
610 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf\r
611 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
612!if $(SECURE_BOOT_ENABLE) == TRUE\r
613 NetworkPkg/IScsiDxe/IScsiDxe.inf\r
614!else\r
615 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
616!endif\r
617!else\r
618 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf\r
619 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf\r
620 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf\r
621!endif\r
622!if $(HTTP_BOOT_ENABLE) == TRUE\r
623 NetworkPkg/DnsDxe/DnsDxe.inf\r
624 NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf\r
625 NetworkPkg/HttpDxe/HttpDxe.inf\r
626 NetworkPkg/HttpBootDxe/HttpBootDxe.inf\r
627!endif\r
628 OvmfPkg/VirtioNetDxe/VirtioNet.inf\r
629\r
630 #\r
631 # Usb Support\r
632 #\r
633 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
634 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
635 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
636 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
637 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
638 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
639\r
640!ifdef $(CSM_ENABLE)\r
641 IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf {\r
642 <LibraryClasses>\r
643 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
644 }\r
645 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf\r
646 OvmfPkg/Csm/Csm16/Csm16.inf\r
647!endif\r
648\r
649!ifndef $(USE_OLD_SHELL)\r
650 ShellPkg/Application/Shell/Shell.inf {\r
651 <LibraryClasses>\r
652 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
653 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
654 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
655 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
656 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
657 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
658 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
659 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
660 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf\r
661 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
662 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
663 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
664 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
665 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
666# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf\r
667# SafeOpenProtocolLib|ShellPkg/Library/SafeOpenProtocolLib/SafeOpenProtocolLib.inf\r
668 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
669\r
670 <PcdsFixedAtBuild>\r
671 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
672 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
673 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000\r
674 }\r
675!endif\r
676\r
677!if $(SECURE_BOOT_ENABLE) == TRUE\r
678 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf\r
679!endif\r
680\r
681 OvmfPkg/PlatformDxe/Platform.inf\r
682\r
683!if $(SMM_REQUIRE) == TRUE\r
684 OvmfPkg/SmmAccess/SmmAccess2Dxe.inf\r
685 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf\r
686 UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf\r
687\r
688 #\r
689 # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)\r
690 #\r
691 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf\r
692\r
693 #\r
694 # SMM_CORE\r
695 #\r
696 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf\r
697\r
698 #\r
699 # Privileged drivers (DXE_SMM_DRIVER modules)\r
700 #\r
701 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf\r
702 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {\r
703 <LibraryClasses>\r
704 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf\r
705 }\r
706 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {\r
707 <LibraryClasses>\r
708 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf\r
709 SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf\r
710 }\r
711\r
712 #\r
713 # Variable driver stack (SMM)\r
714 #\r
715 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf\r
716 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf\r
717 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {\r
718 <LibraryClasses>\r
719 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
720 }\r
721 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf\r
722\r
723!else\r
724\r
725 #\r
726 # Variable driver stack (non-SMM)\r
727 #\r
728 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf\r
729 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {\r
730 <LibraryClasses>\r
731 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf\r
732 }\r
733 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf\r
734 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {\r
735 <LibraryClasses>\r
736 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf\r
737 }\r
738!endif\r