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