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