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