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