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