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