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