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