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