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