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