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