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