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