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