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