1 | ## @file
|
---|
2 | # EFI/Framework Open Virtual Machine Firmware (OVMF) platform
|
---|
3 | #
|
---|
4 | # Copyright (c) 2006 - 2023, Intel Corporation. All rights reserved.<BR>
|
---|
5 | # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
|
---|
6 | # Copyright (c) Microsoft Corporation.
|
---|
7 | #
|
---|
8 | # SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
9 | #
|
---|
10 | ##
|
---|
11 |
|
---|
12 | ################################################################################
|
---|
13 | #
|
---|
14 | # Defines Section - statements that will be processed to create a Makefile.
|
---|
15 | #
|
---|
16 | ################################################################################
|
---|
17 | [Defines]
|
---|
18 | PLATFORM_NAME = Ovmf
|
---|
19 | PLATFORM_GUID = 5a9e7754-d81b-49ea-85ad-69eaa7b1539b
|
---|
20 | PLATFORM_VERSION = 0.1
|
---|
21 | DSC_SPECIFICATION = 0x00010005
|
---|
22 | !ifndef $(VBOX_OUTPUT_BASE_DIR)
|
---|
23 | OUTPUT_DIRECTORY = Build/OvmfX64
|
---|
24 | !else
|
---|
25 | OUTPUT_DIRECTORY = $(VBOX_OUTPUT_BASE_DIR)/amd64
|
---|
26 | !endif
|
---|
27 | SUPPORTED_ARCHITECTURES = X64
|
---|
28 | BUILD_TARGETS = NOOPT|DEBUG|RELEASE
|
---|
29 | SKUID_IDENTIFIER = DEFAULT
|
---|
30 | FLASH_DEFINITION = OvmfPkg/OvmfPkgX64.fdf
|
---|
31 |
|
---|
32 | #
|
---|
33 | # Defines for default states. These can be changed on the command line.
|
---|
34 | # -D FLAG=VALUE
|
---|
35 | #
|
---|
36 | DEFINE SECURE_BOOT_ENABLE = FALSE
|
---|
37 | DEFINE SMM_REQUIRE = FALSE
|
---|
38 | DEFINE SOURCE_DEBUG_ENABLE = FALSE
|
---|
39 | DEFINE CC_MEASUREMENT_ENABLE = FALSE
|
---|
40 |
|
---|
41 | !include OvmfPkg/Include/Dsc/OvmfTpmDefines.dsc.inc
|
---|
42 |
|
---|
43 | #
|
---|
44 | # Shell can be useful for debugging but should not be enabled for production
|
---|
45 | #
|
---|
46 | DEFINE BUILD_SHELL = TRUE
|
---|
47 |
|
---|
48 | #
|
---|
49 | # Network definition
|
---|
50 | #
|
---|
51 | DEFINE NETWORK_TLS_ENABLE = FALSE
|
---|
52 | DEFINE NETWORK_IP6_ENABLE = FALSE
|
---|
53 | DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE
|
---|
54 | DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
|
---|
55 | DEFINE NETWORK_ISCSI_ENABLE = TRUE
|
---|
56 |
|
---|
57 | !include NetworkPkg/NetworkDefines.dsc.inc
|
---|
58 |
|
---|
59 | #
|
---|
60 | # Device drivers
|
---|
61 | #
|
---|
62 | DEFINE PVSCSI_ENABLE = FALSE
|
---|
63 | DEFINE MPT_SCSI_ENABLE = FALSE
|
---|
64 | DEFINE LSI_SCSI_ENABLE = FALSE
|
---|
65 |
|
---|
66 | #
|
---|
67 | # Flash size selection. Setting FD_SIZE_IN_KB on the command line directly to
|
---|
68 | # one of the supported values, in place of any of the convenience macros, is
|
---|
69 | # permitted.
|
---|
70 | #
|
---|
71 | !ifdef $(FD_SIZE_1MB)
|
---|
72 | DEFINE FD_SIZE_IN_KB = 1024
|
---|
73 | !else
|
---|
74 | !ifdef $(FD_SIZE_2MB)
|
---|
75 | DEFINE FD_SIZE_IN_KB = 2048
|
---|
76 | !else
|
---|
77 | !ifdef $(FD_SIZE_4MB)
|
---|
78 | DEFINE FD_SIZE_IN_KB = 4096
|
---|
79 | !else
|
---|
80 | DEFINE FD_SIZE_IN_KB = 4096
|
---|
81 | !endif
|
---|
82 | !endif
|
---|
83 | !endif
|
---|
84 |
|
---|
85 | #
|
---|
86 | # Define the FILE_GUID of CpuMpPei/CpuDxe for unique-processor version.
|
---|
87 | #
|
---|
88 | DEFINE UP_CPU_PEI_GUID = 280251c4-1d09-4035-9062-839acb5f18c1
|
---|
89 | DEFINE UP_CPU_DXE_GUID = 6490f1c5-ebcc-4665-8892-0075b9bb49b7
|
---|
90 |
|
---|
91 | !include OvmfPkg/Include/Dsc/OvmfPkg.dsc.inc
|
---|
92 |
|
---|
93 | [BuildOptions]
|
---|
94 | GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
|
---|
95 | INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|
---|
96 | MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|
---|
97 | !if $(TOOL_CHAIN_TAG) != "XCODE5" && $(TOOL_CHAIN_TAG) != "CLANGPDB"
|
---|
98 | GCC:*_*_*_CC_FLAGS = -mno-mmx -mno-sse
|
---|
99 | !endif
|
---|
100 | !if $(SOURCE_DEBUG_ENABLE) == TRUE
|
---|
101 | MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
|
---|
102 | GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
|
---|
103 | INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
|
---|
104 | !endif
|
---|
105 | !ifndef $(VBOX) # We want some debug information even for release builds, thank you.
|
---|
106 | RELEASE_*_*_GENFW_FLAGS = --zero
|
---|
107 | !endif
|
---|
108 |
|
---|
109 | #
|
---|
110 | # Disable deprecated APIs.
|
---|
111 | #
|
---|
112 | MSFT:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
|
---|
113 | INTEL:*_*_*_CC_FLAGS = /D DISABLE_NEW_DEPRECATED_INTERFACES
|
---|
114 | GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
|
---|
115 |
|
---|
116 | #
|
---|
117 | # Add TDX_GUEST_SUPPORTED
|
---|
118 | #
|
---|
119 | MSFT:*_*_*_CC_FLAGS = /D TDX_GUEST_SUPPORTED
|
---|
120 | INTEL:*_*_*_CC_FLAGS = /D TDX_GUEST_SUPPORTED
|
---|
121 | GCC:*_*_*_CC_FLAGS = -D TDX_GUEST_SUPPORTED
|
---|
122 |
|
---|
123 | !include NetworkPkg/NetworkBuildOptions.dsc.inc
|
---|
124 |
|
---|
125 | [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
|
---|
126 | GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
|
---|
127 | XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
|
---|
128 | XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
|
---|
129 | CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
|
---|
130 |
|
---|
131 | # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
|
---|
132 | # protection of DXE_SMM_DRIVER/SMM_CORE modules
|
---|
133 | [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
|
---|
134 | GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
|
---|
135 | XCODE:*_*_*_DLINK_FLAGS = -seg1addr 0x1000 -segalign 0x1000
|
---|
136 | XCODE:*_*_*_MTOC_FLAGS = -align 0x1000
|
---|
137 | CLANGPDB:*_*_*_DLINK_FLAGS = /ALIGN:4096
|
---|
138 |
|
---|
139 | !ifdef $(VBOX)
|
---|
140 | [BuildOptions.Ia32]
|
---|
141 | GCC:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=32 -DHC_ARCH_BITS=32 -DVBOX_REV=$(VBOX_REV)
|
---|
142 | MSFT:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=32 -DHC_ARCH_BITS=32 -DVBOX_REV=$(VBOX_REV)
|
---|
143 | INTEL:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=32 -DHC_ARCH_BITS=32 -DVBOX_REV=$(VBOX_REV)
|
---|
144 | [BuildOptions.X64]
|
---|
145 | GCC:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=64 -DHC_ARCH_BITS=64 -DVBOX_REV=$(VBOX_REV)
|
---|
146 | MSFT:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=64 -DHC_ARCH_BITS=64 -DVBOX_REV=$(VBOX_REV)
|
---|
147 | INTEL:*_*_*_CC_FLAGS = -DVBOX -DIPRT_NO_CRT -DRT_OS_UEFI -DARCH_BITS=64 -DHC_ARCH_BITS=64 -DVBOX_REV=$(VBOX_REV)
|
---|
148 |
|
---|
149 | !ifdef $(SOURCE_DEBUG_ENABLE)
|
---|
150 | # Get much better source-level debugging
|
---|
151 | GCC:DEBUG_*_*_CC_FLAGS = -DVBOX_SOURCE_DEBUG_ENABLE
|
---|
152 | MSFT:DEBUG_*_*_CC_FLAGS = /Od -DVBOX_SOURCE_DEBUG_ENABLE
|
---|
153 | INTEL:DEBUG_*_*_CC_FLAGS = -DVBOX_SOURCE_DEBUG_ENABLE
|
---|
154 | !endif
|
---|
155 |
|
---|
156 | !endif
|
---|
157 |
|
---|
158 |
|
---|
159 | ################################################################################
|
---|
160 | #
|
---|
161 | # SKU Identification section - list of all SKU IDs supported by this Platform.
|
---|
162 | #
|
---|
163 | ################################################################################
|
---|
164 | [SkuIds]
|
---|
165 | 0|DEFAULT
|
---|
166 |
|
---|
167 | ################################################################################
|
---|
168 | #
|
---|
169 | # Library Class section - list of all Library Classes needed by this Platform.
|
---|
170 | #
|
---|
171 | ################################################################################
|
---|
172 |
|
---|
173 | !include MdePkg/MdeLibs.dsc.inc
|
---|
174 |
|
---|
175 | [LibraryClasses]
|
---|
176 | SmmRelocationLib|OvmfPkg/Library/SmmRelocationLib/SmmRelocationLib.inf
|
---|
177 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
---|
178 | TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLib.inf
|
---|
179 | ResetSystemLib|OvmfPkg/Library/ResetSystemLib/BaseResetSystemLib.inf
|
---|
180 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
|
---|
181 | BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
|
---|
182 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
|
---|
183 | SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
|
---|
184 | TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
|
---|
185 | BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
|
---|
186 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
|
---|
187 | CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
|
---|
188 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
|
---|
189 | !ifndef $(VBOX)
|
---|
190 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
|
---|
191 | !else
|
---|
192 | PeCoffLib|VBoxPkg/Library/VBoxPeCoffLib/VBoxPeCoffLib.inf
|
---|
193 | !endif
|
---|
194 | CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
|
---|
195 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
|
---|
196 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
|
---|
197 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
|
---|
198 | SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
|
---|
199 | UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
|
---|
200 | BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
|
---|
201 | FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
|
---|
202 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
|
---|
203 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
|
---|
204 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
|
---|
205 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
|
---|
206 | PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
|
---|
207 | PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
|
---|
208 | PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
|
---|
209 | PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
|
---|
210 | PciCapLib|OvmfPkg/Library/BasePciCapLib/BasePciCapLib.inf
|
---|
211 | PciCapPciSegmentLib|OvmfPkg/Library/BasePciCapPciSegmentLib/BasePciCapPciSegmentLib.inf
|
---|
212 | PciCapPciIoLib|OvmfPkg/Library/UefiPciCapPciIoLib/UefiPciCapPciIoLib.inf
|
---|
213 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf
|
---|
214 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
|
---|
215 | SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
|
---|
216 | MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
|
---|
217 | MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
|
---|
218 | CpuPageTableLib|UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableLib.inf
|
---|
219 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
|
---|
220 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
|
---|
221 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
|
---|
222 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
|
---|
223 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
|
---|
224 | DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
|
---|
225 | NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf
|
---|
226 | FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
|
---|
227 | SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
|
---|
228 | UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
|
---|
229 | SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVariablesLib.inf
|
---|
230 | QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf
|
---|
231 | QemuFwCfgSimpleParserLib|OvmfPkg/Library/QemuFwCfgSimpleParserLib/QemuFwCfgSimpleParserLib.inf
|
---|
232 | VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf
|
---|
233 | LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
|
---|
234 | MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf
|
---|
235 | MemEncryptTdxLib|OvmfPkg/Library/BaseMemEncryptTdxLib/BaseMemEncryptTdxLib.inf
|
---|
236 | PeiHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/PeiHardwareInfoLib.inf
|
---|
237 | DxeHardwareInfoLib|OvmfPkg/Library/HardwareInfoLib/DxeHardwareInfoLib.inf
|
---|
238 | ImagePropertiesRecordLib|MdeModulePkg/Library/ImagePropertiesRecordLib/ImagePropertiesRecordLib.inf
|
---|
239 | HstiLib|MdePkg/Library/DxeHstiLib/DxeHstiLib.inf
|
---|
240 |
|
---|
241 | !if $(SMM_REQUIRE) == FALSE
|
---|
242 | LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxBaseLib.inf
|
---|
243 | CcProbeLib|OvmfPkg/Library/CcProbeLib/DxeCcProbeLib.inf
|
---|
244 | !else
|
---|
245 | CcProbeLib|MdePkg/Library/CcProbeLibNull/CcProbeLibNull.inf
|
---|
246 | !endif
|
---|
247 | CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
|
---|
248 | FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
|
---|
249 |
|
---|
250 | !if $(SOURCE_DEBUG_ENABLE) == TRUE
|
---|
251 | PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
|
---|
252 | DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
|
---|
253 | !else
|
---|
254 | !ifdef $(VBOX)
|
---|
255 | PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
|
---|
256 | DebugAgentLib|VBoxPkg/Library/VBoxDebugAgentLib/VBoxDebugAgentLib.inf
|
---|
257 | !else
|
---|
258 | PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
|
---|
259 | DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
|
---|
260 | !endif
|
---|
261 | !endif
|
---|
262 |
|
---|
263 | LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
|
---|
264 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
|
---|
265 |
|
---|
266 | IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
|
---|
267 | !if $(NETWORK_TLS_ENABLE) == TRUE
|
---|
268 | OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
|
---|
269 | !else
|
---|
270 | OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
|
---|
271 | !endif
|
---|
272 | RngLib|MdeModulePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
|
---|
273 |
|
---|
274 | !if $(SECURE_BOOT_ENABLE) == TRUE
|
---|
275 | PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
|
---|
276 | AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
|
---|
277 | SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
|
---|
278 | PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf
|
---|
279 | SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
|
---|
280 | !else
|
---|
281 | AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
|
---|
282 | !endif
|
---|
283 | VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
|
---|
284 | VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
|
---|
285 | VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
|
---|
286 | VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf
|
---|
287 |
|
---|
288 | #
|
---|
289 | # Network libraries
|
---|
290 | #
|
---|
291 | !include NetworkPkg/NetworkLibs.dsc.inc
|
---|
292 |
|
---|
293 | !if $(NETWORK_TLS_ENABLE) == TRUE
|
---|
294 | TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
|
---|
295 | !endif
|
---|
296 |
|
---|
297 | ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
|
---|
298 |
|
---|
299 | S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
|
---|
300 | SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
|
---|
301 | OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
|
---|
302 |
|
---|
303 | !include OvmfPkg/Include/Dsc/OvmfTpmLibs.dsc.inc
|
---|
304 | !include OvmfPkg/Include/Dsc/ShellLibs.dsc.inc
|
---|
305 |
|
---|
306 | [LibraryClasses.common]
|
---|
307 | AmdSvsmLib|OvmfPkg/Library/AmdSvsmLib/AmdSvsmLib.inf
|
---|
308 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
|
---|
309 | CcExitLib|OvmfPkg/Library/CcExitLib/CcExitLib.inf
|
---|
310 | TdxLib|MdePkg/Library/TdxLib/TdxLib.inf
|
---|
311 | TdxMailboxLib|OvmfPkg/Library/TdxMailboxLib/TdxMailboxLib.inf
|
---|
312 |
|
---|
313 | [LibraryClasses.common.SEC]
|
---|
314 | TimerLib|OvmfPkg/Library/AcpiTimerLib/BaseRomAcpiTimerLib.inf
|
---|
315 | !ifndef $(VBOX)
|
---|
316 | QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgSecLib.inf
|
---|
317 | !ifdef $(DEBUG_ON_SERIAL_PORT)
|
---|
318 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
---|
319 | !else
|
---|
320 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
|
---|
321 | !endif
|
---|
322 | !else
|
---|
323 | DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
|
---|
324 | !endif
|
---|
325 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
|
---|
326 | ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
|
---|
327 | !if $(SOURCE_DEBUG_ENABLE) == TRUE
|
---|
328 | DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
|
---|
329 | !endif
|
---|
330 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
---|
331 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
|
---|
332 | PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
---|
333 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
---|
334 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
|
---|
335 | CcExitLib|OvmfPkg/Library/CcExitLib/SecCcExitLib.inf
|
---|
336 | MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLib.inf
|
---|
337 | CcProbeLib|OvmfPkg/Library/CcProbeLib/SecPeiCcProbeLib.inf
|
---|
338 |
|
---|
339 | [LibraryClasses.common.PEI_CORE]
|
---|
340 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
---|
341 | PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
---|
342 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
|
---|
343 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
---|
344 | PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
|
---|
345 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
|
---|
346 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
|
---|
347 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
|
---|
348 | !ifndef $(VBOX)
|
---|
349 | !ifdef $(DEBUG_ON_SERIAL_PORT)
|
---|
350 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
---|
351 | !else
|
---|
352 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
|
---|
353 | !endif
|
---|
354 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
|
---|
355 | !else
|
---|
356 | PeCoffLib|VBoxPkg/Library/VBoxPeCoffLib/VBoxPeCoffLib.inf
|
---|
357 | DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
|
---|
358 | !endif
|
---|
359 | CcProbeLib|OvmfPkg/Library/CcProbeLib/SecPeiCcProbeLib.inf
|
---|
360 |
|
---|
361 | [LibraryClasses.common.PEIM]
|
---|
362 | HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
---|
363 | PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
|
---|
364 | PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
|
---|
365 | MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
---|
366 | PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
|
---|
367 | ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
|
---|
368 | OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
|
---|
369 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
|
---|
370 | !ifndef $(VBOX)
|
---|
371 | !ifdef $(DEBUG_ON_SERIAL_PORT)
|
---|
372 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
---|
373 | !else
|
---|
374 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformRomDebugLibIoPort.inf
|
---|
375 | !endif
|
---|
376 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
|
---|
377 | !else
|
---|
378 | DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
|
---|
379 | PeCoffLib|VBoxPkg/Library/VBoxPeCoffLib/VBoxPeCoffLib.inf
|
---|
380 | !endif
|
---|
381 | ResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
|
---|
382 | ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
|
---|
383 | !if $(SOURCE_DEBUG_ENABLE) == TRUE
|
---|
384 | DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
|
---|
385 | !endif
|
---|
386 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
|
---|
387 | MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
|
---|
388 | QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/PeiQemuFwCfgS3LibFwCfg.inf
|
---|
389 | PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
|
---|
390 | QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
|
---|
391 | PlatformInitLib|OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf
|
---|
392 |
|
---|
393 | MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLib.inf
|
---|
394 | CcProbeLib|OvmfPkg/Library/CcProbeLib/SecPeiCcProbeLib.inf
|
---|
395 |
|
---|
396 | [LibraryClasses.common.DXE_CORE]
|
---|
397 | HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
|
---|
398 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
|
---|
399 | MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
|
---|
400 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
|
---|
401 | !ifndef $(VBOX)
|
---|
402 | !ifdef $(DEBUG_ON_SERIAL_PORT)
|
---|
403 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
---|
404 | !else
|
---|
405 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
|
---|
406 | !endif
|
---|
407 | !else
|
---|
408 | DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
|
---|
409 | !endif
|
---|
410 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
|
---|
411 | !if $(SOURCE_DEBUG_ENABLE) == TRUE
|
---|
412 | DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
|
---|
413 | !endif
|
---|
414 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
|
---|
415 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
---|
416 |
|
---|
417 | [LibraryClasses.common.DXE_RUNTIME_DRIVER]
|
---|
418 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
---|
419 | TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
|
---|
420 | ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
|
---|
421 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
---|
422 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
|
---|
423 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
---|
424 | ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
|
---|
425 | !ifndef $(VBOX)
|
---|
426 | !ifdef $(DEBUG_ON_SERIAL_PORT)
|
---|
427 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
---|
428 | !else
|
---|
429 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
|
---|
430 | !endif
|
---|
431 | !else
|
---|
432 | DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
|
---|
433 | !endif
|
---|
434 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
|
---|
435 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
|
---|
436 | PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
|
---|
437 | QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
|
---|
438 | VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
|
---|
439 | !if $(SMM_REQUIRE) == TRUE
|
---|
440 | MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf
|
---|
441 | !endif
|
---|
442 |
|
---|
443 | [LibraryClasses.common.UEFI_DRIVER]
|
---|
444 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
---|
445 | TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
|
---|
446 | ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
|
---|
447 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
---|
448 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
|
---|
449 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
---|
450 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
|
---|
451 | !ifndef $(VBOX)
|
---|
452 | !ifdef $(DEBUG_ON_SERIAL_PORT)
|
---|
453 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
---|
454 | !else
|
---|
455 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
|
---|
456 | !endif
|
---|
457 | !else
|
---|
458 | DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
|
---|
459 | !endif
|
---|
460 | UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
|
---|
461 | PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
|
---|
462 |
|
---|
463 | [LibraryClasses.common.DXE_DRIVER]
|
---|
464 | AcpiPlatformLib|OvmfPkg/Library/AcpiPlatformLib/DxeAcpiPlatformLib.inf
|
---|
465 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
---|
466 | TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
|
---|
467 | ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
|
---|
468 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
---|
469 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
---|
470 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
|
---|
471 | UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
|
---|
472 | !ifndef $(VBOX)
|
---|
473 | !ifdef $(DEBUG_ON_SERIAL_PORT)
|
---|
474 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
---|
475 | !else
|
---|
476 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
|
---|
477 | !endif
|
---|
478 | !else
|
---|
479 | DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
|
---|
480 | !endif
|
---|
481 | PlatformBootManagerLib|OvmfPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
|
---|
482 | PlatformBmPrintScLib|OvmfPkg/Library/PlatformBmPrintScLib/PlatformBmPrintScLib.inf
|
---|
483 | QemuBootOrderLib|OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf
|
---|
484 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
|
---|
485 | !if $(SMM_REQUIRE) == TRUE
|
---|
486 | LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
|
---|
487 | !else
|
---|
488 | LockBoxLib|OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf
|
---|
489 | !endif
|
---|
490 | !if $(SOURCE_DEBUG_ENABLE) == TRUE
|
---|
491 | DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
|
---|
492 | !endif
|
---|
493 | PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
|
---|
494 | MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
|
---|
495 | NestedInterruptTplLib|OvmfPkg/Library/NestedInterruptTplLib/NestedInterruptTplLib.inf
|
---|
496 | QemuFwCfgS3Lib|OvmfPkg/Library/QemuFwCfgS3Lib/DxeQemuFwCfgS3LibFwCfg.inf
|
---|
497 | QemuLoadImageLib|OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf
|
---|
498 |
|
---|
499 | [LibraryClasses.common.UEFI_APPLICATION]
|
---|
500 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
---|
501 | TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
|
---|
502 | ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
|
---|
503 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
---|
504 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
---|
505 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
|
---|
506 | !ifndef $(VBOX)
|
---|
507 | !ifdef $(DEBUG_ON_SERIAL_PORT)
|
---|
508 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
---|
509 | !else
|
---|
510 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
|
---|
511 | !endif
|
---|
512 | !else
|
---|
513 | DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
|
---|
514 | !endif
|
---|
515 | PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
|
---|
516 |
|
---|
517 | [LibraryClasses.common.DXE_SMM_DRIVER]
|
---|
518 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
---|
519 | TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
|
---|
520 | ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
|
---|
521 | MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
|
---|
522 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
|
---|
523 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
---|
524 | SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
|
---|
525 | MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
|
---|
526 | SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
|
---|
527 | !ifndef $(VBOX)
|
---|
528 | !ifdef $(DEBUG_ON_SERIAL_PORT)
|
---|
529 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
---|
530 | !else
|
---|
531 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
|
---|
532 | !endif
|
---|
533 | !else
|
---|
534 | DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
|
---|
535 | !endif
|
---|
536 | CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
|
---|
537 | !if $(SOURCE_DEBUG_ENABLE) == TRUE
|
---|
538 | DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
|
---|
539 | !endif
|
---|
540 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
|
---|
541 | PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
|
---|
542 | SmmCpuRendezvousLib|UefiCpuPkg/Library/SmmCpuRendezvousLib/SmmCpuRendezvousLib.inf
|
---|
543 |
|
---|
544 | [LibraryClasses.common.SMM_CORE]
|
---|
545 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
---|
546 | TimerLib|OvmfPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
|
---|
547 | ResetSystemLib|OvmfPkg/Library/ResetSystemLib/DxeResetSystemLib.inf
|
---|
548 | SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
|
---|
549 | MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
|
---|
550 | ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
|
---|
551 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
---|
552 | SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
|
---|
553 | SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
|
---|
554 | !ifndef $(VBOX)
|
---|
555 | !ifdef $(DEBUG_ON_SERIAL_PORT)
|
---|
556 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
---|
557 | !else
|
---|
558 | DebugLib|OvmfPkg/Library/PlatformDebugLibIoPort/PlatformDebugLibIoPort.inf
|
---|
559 | !endif
|
---|
560 | !else
|
---|
561 | DebugLib|VBoxPkg/Library/VBoxDebugLib/VBoxDebugLib.inf
|
---|
562 | !endif
|
---|
563 | PciLib|OvmfPkg/Library/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf
|
---|
564 |
|
---|
565 | ################################################################################
|
---|
566 | #
|
---|
567 | # Pcd Section - list of all EDK II PCD Entries defined by this Platform.
|
---|
568 | #
|
---|
569 | ################################################################################
|
---|
570 | [PcdsFeatureFlag]
|
---|
571 | gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
|
---|
572 | gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSupportUefiDecompress|FALSE
|
---|
573 | gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
|
---|
574 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
|
---|
575 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
|
---|
576 | gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
|
---|
577 | !if $(SMM_REQUIRE) == TRUE
|
---|
578 | gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire|TRUE
|
---|
579 | gUefiCpuPkgTokenSpaceGuid.PcdCpuHotPlugSupport|TRUE
|
---|
580 | gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache|FALSE
|
---|
581 | !endif
|
---|
582 | !if $(SECURE_BOOT_ENABLE) == TRUE
|
---|
583 | gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootSupported|TRUE
|
---|
584 | gEfiMdeModulePkgTokenSpaceGuid.PcdRequireSelfSignedPk|TRUE
|
---|
585 | !endif
|
---|
586 |
|
---|
587 | [PcdsFixedAtBuild]
|
---|
588 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1
|
---|
589 | !if $(SMM_REQUIRE) == FALSE
|
---|
590 | gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
|
---|
591 | !endif
|
---|
592 | gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10
|
---|
593 | gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
|
---|
594 | !if ($(FD_SIZE_IN_KB) == 1024) || ($(FD_SIZE_IN_KB) == 2048)
|
---|
595 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
|
---|
596 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
|
---|
597 | !if $(NETWORK_TLS_ENABLE) == FALSE
|
---|
598 | # match PcdFlashNvStorageVariableSize purely for convenience
|
---|
599 | gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0xe000
|
---|
600 | !endif
|
---|
601 | !endif
|
---|
602 | !if $(FD_SIZE_IN_KB) == 4096
|
---|
603 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x8400
|
---|
604 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x8400
|
---|
605 | !if $(NETWORK_TLS_ENABLE) == FALSE
|
---|
606 | # match PcdFlashNvStorageVariableSize purely for convenience
|
---|
607 | gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x40000
|
---|
608 | !endif
|
---|
609 | !endif
|
---|
610 | !if $(NETWORK_TLS_ENABLE) == TRUE
|
---|
611 | gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x80000
|
---|
612 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize|0x40000
|
---|
613 | !endif
|
---|
614 |
|
---|
615 | gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
|
---|
616 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
|
---|
617 | gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|TRUE
|
---|
618 |
|
---|
619 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
|
---|
620 |
|
---|
621 | # DEBUG_INIT 0x00000001 // Initialization
|
---|
622 | # DEBUG_WARN 0x00000002 // Warnings
|
---|
623 | # DEBUG_LOAD 0x00000004 // Load events
|
---|
624 | # DEBUG_FS 0x00000008 // EFI File system
|
---|
625 | # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
|
---|
626 | # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
|
---|
627 | # DEBUG_INFO 0x00000040 // Informational debug messages
|
---|
628 | # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
|
---|
629 | # DEBUG_VARIABLE 0x00000100 // Variable
|
---|
630 | # DEBUG_BM 0x00000400 // Boot Manager
|
---|
631 | # DEBUG_BLKIO 0x00001000 // BlkIo Driver
|
---|
632 | # DEBUG_NET 0x00004000 // SNP Driver
|
---|
633 | # DEBUG_UNDI 0x00010000 // UNDI Driver
|
---|
634 | # DEBUG_LOADFILE 0x00020000 // LoadFile
|
---|
635 | # DEBUG_EVENT 0x00080000 // Event messages
|
---|
636 | # DEBUG_GCD 0x00100000 // Global Coherency Database changes
|
---|
637 | # DEBUG_CACHE 0x00200000 // Memory range cachability changes
|
---|
638 | # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
|
---|
639 | # // significantly impact boot performance
|
---|
640 | # DEBUG_ERROR 0x80000000 // Error
|
---|
641 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
|
---|
642 |
|
---|
643 | !if $(SOURCE_DEBUG_ENABLE) == TRUE
|
---|
644 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
|
---|
645 | !else
|
---|
646 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
|
---|
647 | !endif
|
---|
648 |
|
---|
649 | !ifndef $(VBOX)
|
---|
650 | # This PCD is used to set the base address of the PCI express hierarchy. It
|
---|
651 | # is only consulted when OVMF runs on Q35. In that case it is programmed into
|
---|
652 | # the PCIEXBAR register.
|
---|
653 | #
|
---|
654 | # On Q35 machine types that QEMU intends to support in the long term, QEMU
|
---|
655 | # never lets the RAM below 4 GB exceed 2816 MB.
|
---|
656 | gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000
|
---|
657 | !endif
|
---|
658 |
|
---|
659 | !if $(SOURCE_DEBUG_ENABLE) == TRUE
|
---|
660 | gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
|
---|
661 | !endif
|
---|
662 |
|
---|
663 | #
|
---|
664 | # The NumberOfPages values below are ad-hoc. They are updated sporadically at
|
---|
665 | # best (please refer to git-blame for past updates). The values capture a set
|
---|
666 | # of BIN hints that made sense at a particular time, for some (now likely
|
---|
667 | # unknown) workloads / boot paths.
|
---|
668 | #
|
---|
669 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0x80
|
---|
670 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0x12
|
---|
671 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0x80
|
---|
672 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
|
---|
673 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
|
---|
674 |
|
---|
675 | #
|
---|
676 | # TDX need 1G PageTable support
|
---|
677 | gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE
|
---|
678 |
|
---|
679 | #
|
---|
680 | # Network Pcds
|
---|
681 | #
|
---|
682 | !include NetworkPkg/NetworkPcds.dsc.inc
|
---|
683 |
|
---|
684 | gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x20000
|
---|
685 |
|
---|
686 | !if $(SMM_REQUIRE) == TRUE
|
---|
687 | gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
|
---|
688 | !endif
|
---|
689 |
|
---|
690 | # Point to the MdeModulePkg/Application/UiApp/UiApp.inf
|
---|
691 | gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
|
---|
692 | #
|
---|
693 | # INIT is now triggered before BIOS by ucode/hardware. In the OVMF
|
---|
694 | # environment, QEMU lacks a simulation for the INIT process.
|
---|
695 | # To address this, PcdFirstTimeWakeUpAPsBySipi set to FALSE to
|
---|
696 | # broadcast INIT-SIPI-SIPI for the first time.
|
---|
697 | #
|
---|
698 | gUefiCpuPkgTokenSpaceGuid.PcdFirstTimeWakeUpAPsBySipi|FALSE
|
---|
699 |
|
---|
700 | ################################################################################
|
---|
701 | #
|
---|
702 | # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Platform
|
---|
703 | #
|
---|
704 | ################################################################################
|
---|
705 |
|
---|
706 | [PcdsDynamicDefault]
|
---|
707 | # only set when
|
---|
708 | # ($(SMM_REQUIRE) == FALSE)
|
---|
709 | gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
|
---|
710 |
|
---|
711 | !if $(SMM_REQUIRE) == FALSE
|
---|
712 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
|
---|
713 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0
|
---|
714 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0
|
---|
715 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
|
---|
716 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
|
---|
717 | !endif
|
---|
718 | !ifndef $(VBOX)
|
---|
719 | gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280
|
---|
720 | gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800
|
---|
721 | !else
|
---|
722 | gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable|FALSE
|
---|
723 | gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1024
|
---|
724 | gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|768
|
---|
725 | !endif
|
---|
726 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|0
|
---|
727 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|0
|
---|
728 | gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE
|
---|
729 | gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0
|
---|
730 | gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0
|
---|
731 | gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0
|
---|
732 | gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0
|
---|
733 | gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base|0x0
|
---|
734 | gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size|0x0
|
---|
735 | gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Base|0x0
|
---|
736 | gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio64Size|0x800000000
|
---|
737 |
|
---|
738 | gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0
|
---|
739 |
|
---|
740 | # Set video resolution for text setup.
|
---|
741 | gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
|
---|
742 | gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
|
---|
743 |
|
---|
744 | gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0208
|
---|
745 | gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
|
---|
746 | gUefiOvmfPkgTokenSpaceGuid.PcdQemuSmbiosValidated|FALSE
|
---|
747 |
|
---|
748 | # Noexec settings for DXE.
|
---|
749 | gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|FALSE
|
---|
750 |
|
---|
751 | # UefiCpuPkg PCDs related to initial AP bringup and general AP management.
|
---|
752 | gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|64
|
---|
753 | gUefiCpuPkgTokenSpaceGuid.PcdCpuBootLogicalProcessorNumber|0
|
---|
754 |
|
---|
755 | # Set memory encryption mask
|
---|
756 | gEfiMdeModulePkgTokenSpaceGuid.PcdPteMemoryEncryptionAddressOrMask|0x0
|
---|
757 |
|
---|
758 | # Set Tdx shared bit mask
|
---|
759 | gEfiMdeModulePkgTokenSpaceGuid.PcdTdxSharedBitMask|0x0
|
---|
760 |
|
---|
761 | # Set SEV-ES defaults
|
---|
762 | gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbBase|0
|
---|
763 | gEfiMdeModulePkgTokenSpaceGuid.PcdGhcbSize|0
|
---|
764 | gUefiCpuPkgTokenSpaceGuid.PcdSevEsIsEnabled|0
|
---|
765 |
|
---|
766 | !if $(SMM_REQUIRE) == TRUE
|
---|
767 | gUefiOvmfPkgTokenSpaceGuid.PcdQ35TsegMbytes|8
|
---|
768 | gUefiOvmfPkgTokenSpaceGuid.PcdQ35SmramAtDefaultSmbase|FALSE
|
---|
769 | gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmSyncMode|0x01
|
---|
770 | gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|100000
|
---|
771 | !endif
|
---|
772 |
|
---|
773 | gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x00
|
---|
774 |
|
---|
775 | !include OvmfPkg/Include/Dsc/OvmfTpmPcds.dsc.inc
|
---|
776 |
|
---|
777 | # IPv4 and IPv6 PXE Boot support.
|
---|
778 | gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01
|
---|
779 | gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01
|
---|
780 |
|
---|
781 | # Set ConfidentialComputing defaults
|
---|
782 | gEfiMdePkgTokenSpaceGuid.PcdConfidentialComputingGuestAttr|0
|
---|
783 |
|
---|
784 | gEfiMdePkgTokenSpaceGuid.PcdFSBClock|1000000000
|
---|
785 |
|
---|
786 | !ifdef $(VBOX)
|
---|
787 | # This PCD is used to set the base address of the PCI express hierarchy. It
|
---|
788 | # is only consulted when OVMF runs on Q35. In that case it is programmed into
|
---|
789 | # the PCIEXBAR register.
|
---|
790 | #
|
---|
791 | # On VirtualBox it is dynamic.
|
---|
792 | gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0x80000000
|
---|
793 | !endif
|
---|
794 |
|
---|
795 | [PcdsDynamicHii]
|
---|
796 | !include OvmfPkg/Include/Dsc/OvmfTpmPcdsHii.dsc.inc
|
---|
797 |
|
---|
798 | ################################################################################
|
---|
799 | #
|
---|
800 | # Components Section - list of all EDK II Modules needed by this Platform.
|
---|
801 | #
|
---|
802 | ################################################################################
|
---|
803 | [Components]
|
---|
804 | OvmfPkg/ResetVector/ResetVector.inf
|
---|
805 |
|
---|
806 | #
|
---|
807 | # SEC Phase modules
|
---|
808 | #
|
---|
809 | OvmfPkg/Sec/SecMain.inf {
|
---|
810 | <LibraryClasses>
|
---|
811 | NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
---|
812 | NULL|OvmfPkg/IntelTdx/TdxHelperLib/SecTdxHelperLib.inf
|
---|
813 | BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SecCryptLib.inf
|
---|
814 | }
|
---|
815 |
|
---|
816 | #
|
---|
817 | # PEI Phase modules
|
---|
818 | #
|
---|
819 | MdeModulePkg/Core/Pei/PeiMain.inf
|
---|
820 | MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
|
---|
821 | <LibraryClasses>
|
---|
822 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
---|
823 | }
|
---|
824 | MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf {
|
---|
825 | <LibraryClasses>
|
---|
826 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
---|
827 | }
|
---|
828 | MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf {
|
---|
829 | <LibraryClasses>
|
---|
830 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
---|
831 | }
|
---|
832 | MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
|
---|
833 |
|
---|
834 | OvmfPkg/PlatformPei/PlatformPei.inf {
|
---|
835 | <LibraryClasses>
|
---|
836 | NULL|OvmfPkg/IntelTdx/TdxHelperLib/PeiTdxHelperLib.inf
|
---|
837 | }
|
---|
838 | UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
|
---|
839 | <LibraryClasses>
|
---|
840 | !if $(SMM_REQUIRE) == TRUE
|
---|
841 | LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
|
---|
842 | !endif
|
---|
843 | }
|
---|
844 | !if $(SMM_REQUIRE) == TRUE
|
---|
845 | MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
|
---|
846 | MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
|
---|
847 | OvmfPkg/SmmAccess/SmmAccessPei.inf
|
---|
848 | !endif
|
---|
849 |
|
---|
850 | UefiCpuPkg/CpuMpPei/CpuMpPei.inf {
|
---|
851 | <LibraryClasses>
|
---|
852 | #
|
---|
853 | # Directly use PeiMpInitLib. It depends on PeiMpInitLibMpDepLib which
|
---|
854 | # checks the PPI of gEfiPeiMpInitLibMpDepPpiGuid.
|
---|
855 | #
|
---|
856 | MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
|
---|
857 | NULL|OvmfPkg/Library/MpInitLibDepLib/PeiMpInitLibMpDepLib.inf
|
---|
858 | }
|
---|
859 |
|
---|
860 | UefiCpuPkg/CpuMpPei/CpuMpPei.inf {
|
---|
861 | <Defines>
|
---|
862 | FILE_GUID = $(UP_CPU_PEI_GUID)
|
---|
863 |
|
---|
864 | <LibraryClasses>
|
---|
865 | #
|
---|
866 | # Directly use MpInitLibUp. It depends on PeiMpInitLibUpDepLib which
|
---|
867 | # checks the PPI of gEfiPeiMpInitLibUpDepPpiGuid.
|
---|
868 | #
|
---|
869 | MpInitLib|UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf
|
---|
870 | NULL|OvmfPkg/Library/MpInitLibDepLib/PeiMpInitLibUpDepLib.inf
|
---|
871 | }
|
---|
872 |
|
---|
873 | !include OvmfPkg/Include/Dsc/OvmfTpmComponentsPei.dsc.inc
|
---|
874 |
|
---|
875 | #
|
---|
876 | # DXE Phase modules
|
---|
877 | #
|
---|
878 | MdeModulePkg/Core/Dxe/DxeMain.inf {
|
---|
879 | <LibraryClasses>
|
---|
880 | NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
---|
881 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
---|
882 | }
|
---|
883 |
|
---|
884 | MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
|
---|
885 | MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf
|
---|
886 | MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
|
---|
887 | <LibraryClasses>
|
---|
888 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
---|
889 | }
|
---|
890 |
|
---|
891 | MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
|
---|
892 |
|
---|
893 | MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
|
---|
894 | <LibraryClasses>
|
---|
895 | !if $(SECURE_BOOT_ENABLE) == TRUE
|
---|
896 | NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
|
---|
897 | !endif
|
---|
898 | !include OvmfPkg/Include/Dsc/OvmfTpmSecurityStub.dsc.inc
|
---|
899 | }
|
---|
900 |
|
---|
901 | MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
|
---|
902 | UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
|
---|
903 |
|
---|
904 | UefiCpuPkg/CpuDxe/CpuDxe.inf {
|
---|
905 | <LibraryClasses>
|
---|
906 | #
|
---|
907 | # Directly use DxeMpInitLib. It depends on DxeMpInitLibMpDepLib which
|
---|
908 | # checks the Protocol of gEfiMpInitLibMpDepProtocolGuid.
|
---|
909 | #
|
---|
910 | MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
|
---|
911 | NULL|OvmfPkg/Library/MpInitLibDepLib/DxeMpInitLibMpDepLib.inf
|
---|
912 | }
|
---|
913 |
|
---|
914 | UefiCpuPkg/CpuDxe/CpuDxe.inf {
|
---|
915 | <Defines>
|
---|
916 | FILE_GUID = $(UP_CPU_DXE_GUID)
|
---|
917 |
|
---|
918 | <LibraryClasses>
|
---|
919 | #
|
---|
920 | # Directly use MpInitLibUp. It depends on DxeMpInitLibUpDepLib which
|
---|
921 | # checks the Protocol of gEfiMpInitLibUpDepProtocolGuid.
|
---|
922 | #
|
---|
923 | MpInitLib|UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf
|
---|
924 | NULL|OvmfPkg/Library/MpInitLibDepLib/DxeMpInitLibUpDepLib.inf
|
---|
925 | }
|
---|
926 |
|
---|
927 | OvmfPkg/LocalApicTimerDxe/LocalApicTimerDxe.inf
|
---|
928 | OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport.inf
|
---|
929 | OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.inf
|
---|
930 | MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
|
---|
931 | <LibraryClasses>
|
---|
932 | PciHostBridgeLib|OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
|
---|
933 | PciHostBridgeUtilityLib|OvmfPkg/Library/PciHostBridgeUtilityLib/PciHostBridgeUtilityLib.inf
|
---|
934 | NULL|OvmfPkg/Library/PlatformHasIoMmuLib/PlatformHasIoMmuLib.inf
|
---|
935 | }
|
---|
936 | MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf {
|
---|
937 | <LibraryClasses>
|
---|
938 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
---|
939 | }
|
---|
940 | MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
|
---|
941 | MdeModulePkg/Universal/Metronome/Metronome.inf
|
---|
942 | PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
|
---|
943 | MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
|
---|
944 | MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
|
---|
945 | <LibraryClasses>
|
---|
946 | XenPlatformLib|OvmfPkg/Library/XenPlatformLib/XenPlatformLib.inf
|
---|
947 | }
|
---|
948 | !ifndef $(VBOX)
|
---|
949 | MdeModulePkg/Logo/LogoDxe.inf
|
---|
950 | !else
|
---|
951 | VBoxPkg/Logo/LogoDxe.inf
|
---|
952 | !endif
|
---|
953 | MdeModulePkg/Application/UiApp/UiApp.inf {
|
---|
954 | <LibraryClasses>
|
---|
955 | NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
|
---|
956 | NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
|
---|
957 | NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
|
---|
958 | }
|
---|
959 | OvmfPkg/QemuKernelLoaderFsDxe/QemuKernelLoaderFsDxe.inf {
|
---|
960 | <LibraryClasses>
|
---|
961 | NULL|OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf
|
---|
962 | }
|
---|
963 | OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
|
---|
964 | OvmfPkg/Virtio10Dxe/Virtio10.inf
|
---|
965 | !ifndef $(VBOX)
|
---|
966 | OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
|
---|
967 | !endif
|
---|
968 | OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
|
---|
969 | !ifndef $(VBOX)
|
---|
970 | OvmfPkg/VirtioRngDxe/VirtioRng.inf
|
---|
971 | OvmfPkg/VirtioSerialDxe/VirtioSerial.inf
|
---|
972 | !else
|
---|
973 | SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf
|
---|
974 | !endif
|
---|
975 | !if $(PVSCSI_ENABLE) == TRUE
|
---|
976 | OvmfPkg/PvScsiDxe/PvScsiDxe.inf
|
---|
977 | !endif
|
---|
978 | !if $(MPT_SCSI_ENABLE) == TRUE
|
---|
979 | OvmfPkg/MptScsiDxe/MptScsiDxe.inf
|
---|
980 | !endif
|
---|
981 | !if $(LSI_SCSI_ENABLE) == TRUE
|
---|
982 | OvmfPkg/LsiScsiDxe/LsiScsiDxe.inf
|
---|
983 | !endif
|
---|
984 | MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
|
---|
985 | MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
|
---|
986 | MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
|
---|
987 | MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
|
---|
988 | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
|
---|
989 | MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf {
|
---|
990 | <LibraryClasses>
|
---|
991 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
---|
992 | }
|
---|
993 | MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
|
---|
994 | MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
|
---|
995 | <LibraryClasses>
|
---|
996 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
---|
997 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
---|
998 | }
|
---|
999 | MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
|
---|
1000 | MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
|
---|
1001 | MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
|
---|
1002 | MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
|
---|
1003 | FatPkg/EnhancedFatDxe/Fat.inf
|
---|
1004 | MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
|
---|
1005 | OvmfPkg/VirtioFsDxe/VirtioFsDxe.inf
|
---|
1006 | MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
|
---|
1007 | MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
|
---|
1008 | MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
|
---|
1009 | MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
|
---|
1010 | MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
|
---|
1011 | MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
|
---|
1012 | MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
|
---|
1013 | MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
|
---|
1014 | MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
|
---|
1015 |
|
---|
1016 | !ifndef $(VBOX)
|
---|
1017 | OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
|
---|
1018 | OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
|
---|
1019 | OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
|
---|
1020 | OvmfPkg/VirtHstiDxe/VirtHstiDxe.inf
|
---|
1021 | !else
|
---|
1022 | VBoxPkg/VBoxVgaDxe/VBoxVgaDxe.inf {
|
---|
1023 | <LibraryClasses>
|
---|
1024 | PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
---|
1025 | }
|
---|
1026 | VBoxPkg/VBoxFsDxe/VBoxHfs.inf
|
---|
1027 | VBoxPkg/VBoxSysTables/VBoxSysTables.inf
|
---|
1028 | VBoxPkg/VBoxAppleSim/VBoxAppleSim.inf
|
---|
1029 | VBoxPkg/VBoxApfsJmpStartDxe/VBoxApfsJmpStartDxe.inf
|
---|
1030 | !endif
|
---|
1031 |
|
---|
1032 |
|
---|
1033 | #
|
---|
1034 | # ISA Support
|
---|
1035 | #
|
---|
1036 | OvmfPkg/SioBusDxe/SioBusDxe.inf
|
---|
1037 | MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
|
---|
1038 | MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
|
---|
1039 |
|
---|
1040 | #
|
---|
1041 | # SMBIOS Support
|
---|
1042 | #
|
---|
1043 | MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf {
|
---|
1044 | <LibraryClasses>
|
---|
1045 | NULL|OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf
|
---|
1046 | }
|
---|
1047 | OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
|
---|
1048 |
|
---|
1049 | #
|
---|
1050 | # ACPI Support
|
---|
1051 | #
|
---|
1052 | MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
|
---|
1053 | !ifndef $(VBOX)
|
---|
1054 | OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
|
---|
1055 | MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
|
---|
1056 | MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
|
---|
1057 | !else
|
---|
1058 | MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
|
---|
1059 | !endif
|
---|
1060 | MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
|
---|
1061 |
|
---|
1062 | #
|
---|
1063 | # Hash2 Protocol producer
|
---|
1064 | #
|
---|
1065 | SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf
|
---|
1066 |
|
---|
1067 | #
|
---|
1068 | # Network Support
|
---|
1069 | #
|
---|
1070 | !include NetworkPkg/NetworkComponents.dsc.inc
|
---|
1071 | !include OvmfPkg/Include/Dsc/NetworkComponents.dsc.inc
|
---|
1072 |
|
---|
1073 | OvmfPkg/VirtioNetDxe/VirtioNet.inf
|
---|
1074 | !ifdef $(VBOX)
|
---|
1075 | VBoxPkg/E1kNetDxe/E1kNet.inf
|
---|
1076 | !endif
|
---|
1077 |
|
---|
1078 | #
|
---|
1079 | # Usb Support
|
---|
1080 | #
|
---|
1081 | MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
|
---|
1082 | MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
|
---|
1083 | MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
|
---|
1084 | MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
|
---|
1085 | MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
|
---|
1086 | MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
|
---|
1087 |
|
---|
1088 | !include OvmfPkg/Include/Dsc/ShellComponents.dsc.inc
|
---|
1089 |
|
---|
1090 | !if $(SECURE_BOOT_ENABLE) == TRUE
|
---|
1091 | SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
|
---|
1092 | OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf
|
---|
1093 | !endif
|
---|
1094 |
|
---|
1095 | OvmfPkg/PlatformDxe/Platform.inf
|
---|
1096 | !ifndef $(VBOX)
|
---|
1097 | OvmfPkg/AmdSevDxe/AmdSevDxe.inf {
|
---|
1098 | <LibraryClasses>
|
---|
1099 | PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
|
---|
1100 | }
|
---|
1101 | !endif
|
---|
1102 | OvmfPkg/IoMmuDxe/IoMmuDxe.inf
|
---|
1103 |
|
---|
1104 | OvmfPkg/TdxDxe/TdxDxe.inf
|
---|
1105 |
|
---|
1106 | !if $(SMM_REQUIRE) == TRUE
|
---|
1107 | OvmfPkg/SmmAccess/SmmAccess2Dxe.inf
|
---|
1108 | OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf
|
---|
1109 | OvmfPkg/CpuS3DataDxe/CpuS3DataDxe.inf
|
---|
1110 |
|
---|
1111 | #
|
---|
1112 | # SMM Initial Program Load (a DXE_RUNTIME_DRIVER)
|
---|
1113 | #
|
---|
1114 | MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
|
---|
1115 |
|
---|
1116 | #
|
---|
1117 | # SMM_CORE
|
---|
1118 | #
|
---|
1119 | MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
|
---|
1120 |
|
---|
1121 | #
|
---|
1122 | # Privileged drivers (DXE_SMM_DRIVER modules)
|
---|
1123 | #
|
---|
1124 | OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf
|
---|
1125 | UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
|
---|
1126 | MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
|
---|
1127 | <LibraryClasses>
|
---|
1128 | LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
|
---|
1129 | }
|
---|
1130 | UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
|
---|
1131 | <LibraryClasses>
|
---|
1132 | SmmCpuPlatformHookLib|OvmfPkg/Library/SmmCpuPlatformHookLibQemu/SmmCpuPlatformHookLibQemu.inf
|
---|
1133 | SmmCpuFeaturesLib|OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
|
---|
1134 | MmSaveStateLib|UefiCpuPkg/Library/MmSaveStateLib/AmdMmSaveStateLib.inf
|
---|
1135 | SmmCpuSyncLib|UefiCpuPkg/Library/SmmCpuSyncLib/SmmCpuSyncLib.inf
|
---|
1136 | }
|
---|
1137 |
|
---|
1138 | #
|
---|
1139 | # Variable driver stack (SMM)
|
---|
1140 | #
|
---|
1141 | OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf {
|
---|
1142 | <LibraryClasses>
|
---|
1143 | CcExitLib|UefiCpuPkg/Library/CcExitLibNull/CcExitLibNull.inf
|
---|
1144 | }
|
---|
1145 | MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
|
---|
1146 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
|
---|
1147 | <LibraryClasses>
|
---|
1148 | NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
|
---|
1149 | NULL|MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.inf
|
---|
1150 | }
|
---|
1151 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
|
---|
1152 |
|
---|
1153 | !else
|
---|
1154 |
|
---|
1155 | #
|
---|
1156 | # Variable driver stack (non-SMM)
|
---|
1157 | #
|
---|
1158 | OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
|
---|
1159 | OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf {
|
---|
1160 | <LibraryClasses>
|
---|
1161 | PlatformFvbLib|OvmfPkg/Library/EmuVariableFvbLib/EmuVariableFvbLib.inf
|
---|
1162 | }
|
---|
1163 | MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
|
---|
1164 | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
|
---|
1165 | <LibraryClasses>
|
---|
1166 | NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
|
---|
1167 | }
|
---|
1168 | !endif
|
---|
1169 |
|
---|
1170 | #
|
---|
1171 | # Cc Measurement Protocol for Td guest
|
---|
1172 | #
|
---|
1173 | !if $(CC_MEASUREMENT_ENABLE) == TRUE
|
---|
1174 | OvmfPkg/Tcg/TdTcg2Dxe/TdTcg2Dxe.inf {
|
---|
1175 | <LibraryClasses>
|
---|
1176 | HashLib|OvmfPkg/Library/HashLibTdx/HashLibTdx.inf
|
---|
1177 | NULL|SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.inf
|
---|
1178 | }
|
---|
1179 | !endif
|
---|
1180 |
|
---|
1181 | #
|
---|
1182 | # TPM support
|
---|
1183 | #
|
---|
1184 | !include OvmfPkg/Include/Dsc/OvmfTpmComponentsDxe.dsc.inc
|
---|