]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/AmdSev/AmdSevX64.dsc
OvmfPkg: Add CcProbeLib in *.dsc
[mirror_edk2.git] / OvmfPkg / AmdSev / AmdSevX64.dsc
1 ## @file
2 # EFI/Framework Open Virtual Machine Firmware (OVMF) platform for SEV secure
3 # virtual machine remote attestation and secret injection
4 #
5 # Copyright (c) 2020 James Bottomley, IBM Corporation.
6 # Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.<BR>
7 # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
8 #
9 # SPDX-License-Identifier: BSD-2-Clause-Patent
10 #
11 ##
12
13 ################################################################################
14 #
15 # Defines Section - statements that will be processed to create a Makefile.
16 #
17 ################################################################################
18 [Defines]
19 PLATFORM_NAME = Ovmf
20 PLATFORM_GUID = 07ff380c-4760-4823-8f59-ec2cb06fbc16
21 PLATFORM_VERSION = 0.1
22 DSC_SPECIFICATION = 0x00010005
23 OUTPUT_DIRECTORY = Build/AmdSev
24 SUPPORTED_ARCHITECTURES = X64
25 BUILD_TARGETS = NOOPT|DEBUG|RELEASE
26 SKUID_IDENTIFIER = DEFAULT
27 FLASH_DEFINITION = OvmfPkg/AmdSev/AmdSevX64.fdf
28 PREBUILD = sh OvmfPkg/AmdSev/Grub/grub.sh
29
30 #
31 # Defines for default states. These can be changed on the command line.
32 # -D FLAG=VALUE
33 #
34 DEFINE SOURCE_DEBUG_ENABLE = FALSE
35
36 !include OvmfPkg/OvmfTpmDefines.dsc.inc
37
38 #
39 # Shell can be useful for debugging but should not be enabled for production
40 #
41 DEFINE BUILD_SHELL = FALSE
42
43 #
44 # Device drivers
45 #
46 DEFINE PVSCSI_ENABLE = TRUE
47 DEFINE MPT_SCSI_ENABLE = TRUE
48 DEFINE LSI_SCSI_ENABLE = FALSE
49
50 #
51 # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to
52 # one of the supported values, in place of any of the convenience macros, is
53 # permitted.
54 #
55 !ifdef $(FD_SIZE_1MB)
56 DEFINE FD_SIZE_IN_KB = 1024
57 !else
58 !ifdef $(FD_SIZE_2MB)
59 DEFINE FD_SIZE_IN_KB = 2048
60 !else
61 !ifdef $(FD_SIZE_4MB)
62 DEFINE FD_SIZE_IN_KB = 4096
63 !else
64 DEFINE FD_SIZE_IN_KB = 4096
65 !endif
66 !endif
67 !endif
68
69 [BuildOptions]
70 GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
71 INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
72 MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
73 !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(TOOL_CHAIN_TAG) != "CLANGPDB"
74 GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
75 !endif
76 !if $(SOURCE_DEBUG_ENABLE) == TRUE
77 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
78 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
79 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
80 !endif
81 RELEASE_*_*_GENFW_FLAGS = --zero
82
83 #
84 # Disable deprecated APIs.
85 #
86 MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
87 INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
88 GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
89
90 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
91 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
92 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
93 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
94 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
95
96 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
97 # protection of DXE_SMM_DRIVER/SMM_CORE modules
98 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
99 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
100 XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
101 XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
102 CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
103
104 ################################################################################
105 #
106 # SKU Identification section - list of all SKU IDs supported by this Platform.
107 #
108 ################################################################################
109 [SkuIds]
110 0|DEFAULT
111
112 ################################################################################
113 #
114 # Library Class section - list of all Library Classes needed by this Platform.
115 #
116 ################################################################################
117
118 !include MdePkg/MdeLibs.dsc.inc
119
120 [LibraryClasses]
121 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
122 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
123 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf
124 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
125 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
126 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
127 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
128 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
129 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
130 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
131 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
132 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
133 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
134 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
135 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
136 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
137 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
138 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
139 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
140 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
141 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
142 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
143 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
144 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
145 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
146 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
147 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
148 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
149 PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
150 PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
151 PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
152 CcProbeLib|MdePkg/Library/CcProbeLibNull/CcProbeLibNull.inf
153 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
154 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
155 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
156 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
157 MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
158 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
159 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
160 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
161 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
162 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
163 DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
164 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
165 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
166 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
167 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
168 SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
169 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf
170 QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf
171 VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
172 LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
173 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf
174 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
175 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
176 FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
177 BlobVerifierLib|OvmfPkg/AmdSev/BlobVerifierLibSevHashes/BlobVerifierLibSevHashes.inf
178 MemEncryptTdxLib|OvmfPkg/Library/BaseMemEncryptTdxLib/BaseMemEncryptTdxLib.inf
179
180 !if $(SOURCE_DEBUG_ENABLE) == TRUE
181 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
182 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
183 !else
184 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
185 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
186 !endif
187
188 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
189 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
190
191 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
192 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
193 RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
194
195 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
196 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
197 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
198 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
199
200 !if $(BUILD_SHELL) == TRUE
201 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
202 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
203 !endif
204
205 SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
206 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
207
208 !include OvmfPkg/OvmfTpmLibs.dsc.inc
209
210 [LibraryClasses.common]
211 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
212 VmgExitLib|OvmfPkg/Library/VmgExitLib/VmgExitLib.inf
213 TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
214
215 [LibraryClasses.common.SEC]
216 TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
217 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
218 !ifdef $(DEBUG_ON_SERIAL_PORT)
219 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
220 !else
221 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
222 !endif
223 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
224 ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
225 !if $(SOURCE_DEBUG_ENABLE) == TRUE
226 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
227 !endif
228 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
229 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
230 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
231 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
232 !if $(TOOL_CHAIN_TAG) == "XCODE5"
233 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
234 !else
235 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
236 !endif
237 VmgExitLib|OvmfPkg/Library/VmgExitLib/SecVmgExitLib.inf
238 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
239
240 [LibraryClasses.common.PEI_CORE]
241 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
242 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
243 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
244 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
245 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
246 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
247 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
248 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
249 !ifdef $(DEBUG_ON_SERIAL_PORT)
250 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
251 !else
252 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
253 !endif
254 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
255
256 [LibraryClasses.common.PEIM]
257 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
258 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
259 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
260 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
261 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
262 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
263 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
264 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
265 !ifdef $(DEBUG_ON_SERIAL_PORT)
266 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
267 !else
268 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
269 !endif
270 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
271 ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
272 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
273 !if $(SOURCE_DEBUG_ENABLE) == TRUE
274 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
275 !endif
276 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
277 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
278 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
279 QemuLoadImageLib|OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.inf
280 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
281 QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
282
283 !include OvmfPkg/OvmfTpmLibsPeim.dsc.inc
284
285 MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
286 PlatformInitLib|OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf
287
288 [LibraryClasses.common.DXE_CORE]
289 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
290 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
291 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
292 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
293 !ifdef $(DEBUG_ON_SERIAL_PORT)
294 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
295 !else
296 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
297 !endif
298 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
299 !if $(SOURCE_DEBUG_ENABLE) == TRUE
300 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
301 !endif
302 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
303 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
304
305 [LibraryClasses.common.DXE_RUNTIME_DRIVER]
306 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
307 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
308 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
309 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
310 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
311 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
312 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
313 !ifdef $(DEBUG_ON_SERIAL_PORT)
314 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
315 !else
316 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
317 !endif
318 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
319 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
320 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
321 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
322 VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
323
324 [LibraryClasses.common.UEFI_DRIVER]
325 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
326 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
327 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
328 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
329 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
330 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
331 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.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 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
338 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
339
340 [LibraryClasses.common.DXE_DRIVER]
341 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
342 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
343 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
344 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
345 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
346 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
347 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
348 !ifdef $(DEBUG_ON_SERIAL_PORT)
349 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
350 !else
351 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
352 !endif
353 PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLibGrub/PlatformBootManagerLibGrub.inf
354 PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
355 QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
356 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
357 LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
358 !if $(SOURCE_DEBUG_ENABLE) == TRUE
359 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
360 !endif
361 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
362 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
363 QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
364 QemuLoadImageLib|OvmfPkg/Library/GenericQemuLoadImageLib/GenericQemuLoadImageLib.inf
365
366 !include OvmfPkg/OvmfTpmLibsDxe.dsc.inc
367
368 [LibraryClasses.common.UEFI_APPLICATION]
369 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
370 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
371 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
372 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
373 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
374 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
375 !ifdef $(DEBUG_ON_SERIAL_PORT)
376 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
377 !else
378 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
379 !endif
380 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
381
382 [LibraryClasses.common.DXE_SMM_DRIVER]
383 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
384 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
385 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
386 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
387 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
388 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
389 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
390 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
391 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
392 !ifdef $(DEBUG_ON_SERIAL_PORT)
393 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
394 !else
395 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
396 !endif
397 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
398 !if $(SOURCE_DEBUG_ENABLE) == TRUE
399 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
400 !endif
401 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
402 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
403
404 [LibraryClasses.common.SMM_CORE]
405 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
406 TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
407 ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
408 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
409 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
410 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
411 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
412 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
413 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
414 !ifdef $(DEBUG_ON_SERIAL_PORT)
415 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
416 !else
417 DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
418 !endif
419 PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
420
421 ################################################################################
422 #
423 # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
424 #
425 ################################################################################
426 [PcdsFeatureFlag]
427 gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
428 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
429 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
430 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
431 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
432 gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
433
434 [PcdsFixedAtBuild]
435 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
436 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
437 gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
438 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
439 !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
440 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
441 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
442 # match PcdFlashNvStorageVariableSize purely for convenience
443 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
444 !endif
445 !if $(FD_SIZE_IN_KB) == 4096
446 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
447 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
448 # match PcdFlashNvStorageVariableSize purely for convenience
449 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
450 !endif
451
452 gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
453 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
454 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
455
456 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
457
458 # DEBUG_INIT 0x00000001 // Initialization
459 # DEBUG_WARN 0x00000002 // Warnings
460 # DEBUG_LOAD 0x00000004 // Load events
461 # DEBUG_FS 0x00000008 // EFI File system
462 # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
463 # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
464 # DEBUG_INFO 0x00000040 // Informational debug messages
465 # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
466 # DEBUG_VARIABLE 0x00000100 // Variable
467 # DEBUG_BM 0x00000400 // Boot Manager
468 # DEBUG_BLKIO 0x00001000 // BlkIo Driver
469 # DEBUG_NET 0x00004000 // SNP Driver
470 # DEBUG_UNDI 0x00010000 // UNDI Driver
471 # DEBUG_LOADFILE 0x00020000 // LoadFile
472 # DEBUG_EVENT 0x00080000 // Event messages
473 # DEBUG_GCD 0x00100000 // Global Coherency Database changes
474 # DEBUG_CACHE 0x00200000 // Memory range cachability changes
475 # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
476 # // significantly impact boot performance
477 # DEBUG_ERROR 0x80000000 // Error
478 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
479
480 !if $(SOURCE_DEBUG_ENABLE) == TRUE
481 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
482 !else
483 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
484 !endif
485
486 # This PCD is used to set the base address of the PCI express hierarchy. It
487 # is only consulted when OVMF runs on Q35. In that case it is programmed into
488 # the PCIEXBAR register.
489 #
490 # On Q35 machine types that QEMU intends to support in the long term, QEMU
491 # never lets the RAM below 4 GB exceed 2816 MB.
492 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xB0000000
493
494 !if $(SOURCE_DEBUG_ENABLE) == TRUE
495 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
496 !endif
497
498 #
499 # The NumberOfPages values below are ad-hoc. They are updated sporadically at
500 # best (please refer to git-blame for past updates). The values capture a set
501 # of BIN hints that made sense at a particular time, for some (now likely
502 # unknown) workloads / boot paths.
503 #
504 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80
505 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x10
506 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80
507 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
508 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
509
510 # IRQs 5, 9, 10, 11 are level-triggered
511 gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0E20
512
513 # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
514 gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
515
516 gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|TRUE
517 ################################################################################
518 #
519 # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
520 #
521 ################################################################################
522
523 [PcdsDynamicDefault]
524 gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
525
526 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
527 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
528 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
529 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
530 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
531 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
532 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
533 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
534 gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0
535 gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
536 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
537 gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
538 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
539 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
540 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
541 gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
542
543 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
544
545 # Set video resolution for text setup.
546 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
547 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
548
549 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
550 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
551 gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
552
553 # Noexec settings for DXE.
554 gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
555
556 # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
557 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
558 gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
559
560 # Set memory encryption mask
561 gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
562
563 # Set Tdx shared bit mask
564 gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0
565
566 # Set SEV-ES defaults
567 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
568 gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
569 gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
570
571 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
572
573 # Set ConfidentialComputing defaults
574 gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
575
576 !include OvmfPkg/OvmfTpmPcds.dsc.inc
577
578 gEfiMdePkgTokenSpaceGuid.PcdFSBClock|100000000
579
580 [PcdsDynamicHii]
581 !include OvmfPkg/OvmfTpmPcdsHii.dsc.inc
582
583 ################################################################################
584 #
585 # Components Section - list of all EDK II Modules needed by this Platform.
586 #
587 ################################################################################
588 [Components]
589 OvmfPkg/ResetVector/ResetVector.inf
590
591 #
592 # SEC Phase modules
593 #
594 OvmfPkg/Sec/SecMain.inf {
595 <LibraryClasses>
596 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
597 }
598
599 #
600 # PEI Phase modules
601 #
602 MdeModulePkg/Core/Pei/PeiMain.inf
603 MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
604 <LibraryClasses>
605 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
606 }
607 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
608 <LibraryClasses>
609 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
610 }
611 MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
612 <LibraryClasses>
613 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
614 }
615 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
616
617 OvmfPkg/PlatformPei/PlatformPei.inf
618 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
619 UefiCpuPkg/CpuMpPei/CpuMpPei.inf
620 OvmfPkg/AmdSev/SecretPei/SecretPei.inf
621
622 !include OvmfPkg/OvmfTpmComponentsPei.dsc.inc
623
624 #
625 # DXE Phase modules
626 #
627 MdeModulePkg/Core/Dxe/DxeMain.inf {
628 <LibraryClasses>
629 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
630 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
631 }
632
633 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
634 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
635 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
636 <LibraryClasses>
637 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
638 }
639
640 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
641
642 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
643 <LibraryClasses>
644 !include OvmfPkg/OvmfTpmSecurityStub.dsc.inc
645 }
646
647 MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
648 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
649 UefiCpuPkg/CpuDxe/CpuDxe.inf
650 OvmfPkg/LocalApicTimerDxe/LocalApicTimerDxe.inf
651 OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
652 OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
653 MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
654 <LibraryClasses>
655 PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
656 PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
657 NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
658 }
659 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
660 <LibraryClasses>
661 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
662 }
663 MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
664 MdeModulePkg/Universal/Metronome/Metronome.inf
665 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
666 MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
667 MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
668 MdeModulePkg/Logo/LogoDxe.inf
669 MdeModulePkg/Application/UiApp/UiApp.inf {
670 <LibraryClasses>
671 NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
672 NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
673 NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
674 }
675 OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
676 <LibraryClasses>
677 NULL|OvmfPkg/AmdSev/BlobVerifierLibSevHashes/BlobVerifierLibSevHashes.inf
678 }
679 OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
680 OvmfPkg/Virtio10Dxe/Virtio10.inf
681 OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
682 OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
683 OvmfPkg/VirtioRngDxe/VirtioRng.inf
684 !if $(PVSCSI_ENABLE) == TRUE
685 OvmfPkg/PvScsiDxe/PvScsiDxe.inf
686 !endif
687 !if $(MPT_SCSI_ENABLE) == TRUE
688 OvmfPkg/MptScsiDxe/MptScsiDxe.inf
689 !endif
690 !if $(LSI_SCSI_ENABLE) == TRUE
691 OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
692 !endif
693 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
694 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
695 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
696 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
697 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
698 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
699 <LibraryClasses>
700 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
701 }
702 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
703 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
704 <LibraryClasses>
705 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
706 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
707 }
708 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
709 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
710 MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
711 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
712 FatPkg/EnhancedFatDxe/Fat.inf
713 MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
714 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
715 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
716 OvmfPkg/SataControllerDxe/SataControllerDxe.inf
717 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
718 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
719 MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
720 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
721 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
722 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
723 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
724
725 OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
726 OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
727 OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
728
729 #
730 # ISA Support
731 #
732 OvmfPkg/SioBusDxe/SioBusDxe.inf
733 MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
734 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
735
736 #
737 # SMBIOS Support
738 #
739 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
740 <LibraryClasses>
741 NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
742 }
743 OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
744
745 #
746 # ACPI Support
747 #
748 MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
749 OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
750 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
751
752 #
753 # Usb Support
754 #
755 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
756 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
757 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
758 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
759 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
760 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
761
762 !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(BUILD_SHELL) == TRUE
763 OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf {
764 <PcdsFixedAtBuild>
765 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
766 }
767 !endif
768 OvmfPkg/AmdSev/SecretDxe/SecretDxe.inf
769 OvmfPkg/AmdSev/Grub/Grub.inf
770 !if $(BUILD_SHELL) == TRUE
771 ShellPkg/Application/Shell/Shell.inf {
772 <LibraryClasses>
773 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
774 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
775 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
776 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
777 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
778 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
779 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
780 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
781 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
782 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
783
784 <PcdsFixedAtBuild>
785 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
786 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
787 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
788 }
789 !endif
790
791 OvmfPkg/PlatformDxe/Platform.inf
792 OvmfPkg/AmdSevDxe/AmdSevDxe.inf {
793 <LibraryClasses>
794 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
795 }
796 OvmfPkg/IoMmuDxe/IoMmuDxe.inf
797
798 #
799 # Variable driver stack (non-SMM)
800 #
801 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
802 OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
803 <LibraryClasses>
804 PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
805 }
806 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
807 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
808 <LibraryClasses>
809 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
810 }
811
812 #
813 # TPM support
814 #
815 !include OvmfPkg/OvmfTpmComponentsDxe.dsc.inc