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