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