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