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