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