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