]> git.proxmox.com Git - mirror_edk2.git/blob - Vlv2TbltDevicePkg/PlatformPkgX64.dsc
Vlv2TbltDevicePkg: Use CpuDxe from UefiCpuPkg
[mirror_edk2.git] / Vlv2TbltDevicePkg / PlatformPkgX64.dsc
1 #/** @file
2 # Platform description.
3 #
4 # Copyright (c) 2012 - 2019, Intel Corporation. All rights reserved.<BR>
5 #
6 # SPDX-License-Identifier: BSD-2-Clause-Patent
7 #
8 #
9 #**/
10
11 ################################################################################
12 #
13 # Defines Section - statements that will be processed to create a Makefile.
14 #
15 ################################################################################
16 [Defines]
17 PLATFORM_NAME = Vlv2TbltDevicePkg
18 PLATFORM_GUID = 465B0A0B-7AC1-443b-8F67-7B8DEC145F90
19 PLATFORM_VERSION = 0.1
20 DSC_SPECIFICATION = 0x00010005
21
22 #
23 # Set platform specific package/folder name, same as passed from PREBUILD script.
24 # PLATFORM_PACKAGE would be the same as PLATFORM_NAME as well as package build folder
25 # DEFINE only takes effect at R9 DSC and FDF.
26 #
27 DEFINE PLATFORM_PACKAGE = Vlv2TbltDevicePkg
28 DEFINE PLATFORM_RC_PACKAGE = Vlv2DeviceRefCodePkg
29 DEFINE PLATFORM_BINARY_PACKAGE = Vlv2SocBinPkg
30 OUTPUT_DIRECTORY = Build/$(PLATFORM_PACKAGE)
31 SUPPORTED_ARCHITECTURES = IA32|X64
32 BUILD_TARGETS = DEBUG|RELEASE
33 SKUID_IDENTIFIER = DEFAULT
34
35 DEFINE CPU_ARCH =ValleyView2
36 DEFINE PROJECT_SC_FAMILY =IntelPch
37 DEFINE PROJECT_SC_ROOT =../$(PLATFORM_RC_PACKAGE)/ValleyView2Soc/SouthCluster
38 DEFINE PROJECT_VLV_ROOT =../$(PLATFORM_RC_PACKAGE)/ValleyView2Soc/NorthCluster
39
40 DEFINE RC_BINARY_RELEASE = TRUE
41 #
42 # Platform On/Off features are defined here
43 #
44 #
45 # Platform Support:: Set only one token except Crestview Hills
46 #
47 # 3.BayleyBay
48 # ENBDT_PF_ENABLE = TRUE
49 #
50 !include $(PLATFORM_PACKAGE)/AutoPlatformCFG.txt
51 !include $(PLATFORM_PACKAGE)/PlatformPkgConfig.dsc
52
53 !if $(X64_CONFIG) == TRUE
54 DEFINE DXE_ARCHITECTURE = X64
55 DEFINE EDK_DXE_ARCHITECTURE = X64
56 DEFINE UNDI_DXE_ARCHITECTURE = 64
57 !else
58 DEFINE DXE_ARCHITECTURE = IA32
59 DEFINE EDK_DXE_ARCHITECTURE = Ia32
60 DEFINE UNDI_DXE_ARCHITECTURE = 32
61 !endif
62
63 FLASH_DEFINITION = $(PLATFORM_PACKAGE)/PlatformPkg.fdf
64 !if $(LFMA_ENABLE) == TRUE
65 FIX_LOAD_TOP_MEMORY_ADDRESS = 0xFFFFFFFFFFFFFFFF
66 DEFINE TOP_MEMORY_ADDRESS = 0xFFFFFFFFFFFFFFFF
67 !else
68 FIX_LOAD_TOP_MEMORY_ADDRESS = 0x0
69 DEFINE TOP_MEMORY_ADDRESS = 0x0
70 !endif
71
72 DEFINE PLATFORM_PCIEXPRESS_BASE = 0E0000000
73
74 DEFINE SEC_ENABLE = FALSE
75 DEFINE SEC_DEBUG_INFO_ENABLE = FALSE
76 DEFINE FTPM_ENABLE = FALSE
77
78 ################################################################################
79 #
80 # SKU Identification section - list of all SKU IDs supported by this
81 # Platform.
82 #
83 ################################################################################
84 [SkuIds]
85 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.
86
87 ################################################################################
88 #
89 # Library Class section - list of all Library Classes needed by this Platform.
90 #
91 ################################################################################
92 [LibraryClasses.common]
93 #
94 # Entry point
95 #
96 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
97 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
98 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
99 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
100 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
101 DxeSmmDriverEntryPoint|IntelFrameworkPkg/Library/DxeSmmDriverEntryPoint/DxeSmmDriverEntryPoint.inf
102
103 #
104 # Basic
105 #
106 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
107 !if $(SSE2_ENABLE) == TRUE
108 BaseMemoryLib|MdePkg/Library/BaseMemoryLibSse2/BaseMemoryLibSse2.inf
109 !else
110 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
111 !endif
112 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
113 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
114 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
115 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
116 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
117 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
118 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
119 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
120 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
121 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
122 !if $(RC_BINARY_RELEASE) == TRUE
123 PchPlatformLib|Vlv2TbltDevicePkg/Library/PchPlatformLib/PchPlatformLib.inf
124 !endif
125 #
126 # UEFI & PI
127 #
128 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
129 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
130 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
131 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
132 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
133 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
134 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
135 UefiDecompressLib|MdeModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
136 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
137 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
138 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
139 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
140 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
141 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
142 GenericBdsLib|$(PLATFORM_PACKAGE)/Override/IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
143 BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
144 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
145 PlatformBdsLib|$(PLATFORM_PACKAGE)/Library/PlatformBdsLib/PlatformBdsLib.inf
146 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
147 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
148 FlashDeviceLib|$(PLATFORM_PACKAGE)/Library/FlashDeviceLib/FlashDeviceLib.inf
149 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
150 #
151 # Framework
152 #
153 !if $(S3_ENABLE) == TRUE
154 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
155 !else
156 S3BootScriptLib|MdePkg/Library/BaseS3BootScriptLibNull/BaseS3BootScriptLibNull.inf
157 !endif
158 S3IoLib|MdePkg/Library/BaseS3IoLib/BaseS3IoLib.inf
159 S3PciLib|MdePkg/Library/BaseS3PciLib/BaseS3PciLib.inf
160
161 #
162 # Generic Modules
163 #
164 !if $(USB_ENABLE) == TRUE
165 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
166 !endif
167 !if $(SCSI_ENABLE) == TRUE
168 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
169 !endif
170 !if $(NETWORK_ENABLE) == TRUE
171 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
172 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
173 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
174 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
175 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
176 !endif
177 !if $(S3_ENABLE) == TRUE
178 S3Lib|IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.inf
179 !endif
180
181 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
182 !if $(CAPSULE_ENABLE) == TRUE
183 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf
184 !else
185 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
186 !endif
187 FmpAuthenticationLib|MdeModulePkg/Library/FmpAuthenticationLibNull/FmpAuthenticationLibNull.inf
188 IniParsingLib|SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.inf
189 PlatformFlashAccessLib|Vlv2TbltDevicePkg/Feature/Capsule/Library/PlatformFlashAccessLib/PlatformFlashAccessLib.inf
190 MicrocodeFlashAccessLib|Vlv2TbltDevicePkg/Feature/Capsule/Library/PlatformFlashAccessLib/PlatformFlashAccessLib.inf
191 DisplayUpdateProgressLib|MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.inf
192 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
193 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
194 IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf
195 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
196
197 #
198 # CPU
199 #
200 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
201 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
202 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
203 MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
204
205 #
206 # ICH
207 #
208 SmbusLib|$(PLATFORM_PACKAGE)/Library/SmbusLib/SmbusLib.inf
209 SmmLib|$(PLATFORM_PACKAGE)/Library/PchSmmLib/PchSmmLib.inf
210
211 #
212 # Platform
213 #
214 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
215 ResetSystemLib|$(PLATFORM_PACKAGE)/Library/ResetSystemLib/ResetSystemLib.inf
216
217 PlatformCmosLib|$(PLATFORM_PACKAGE)/Library/PlatformCmosLib/PlatformCmosLib.inf
218
219 #
220 # Misc
221 #
222 MonoStatusCodeLib|$(PLATFORM_PACKAGE)/MonoStatusCode/MonoStatusCode.inf
223 !if $(TARGET) == RELEASE
224 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
225 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
226 !else
227 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
228 SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
229 !endif
230
231 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
232 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
233 !if $(TPM_ENABLED) == TRUE
234 TpmCommLib|SecurityPkg/Library/TpmCommLib/TpmCommLib.inf
235 Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
236 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
237
238 !endif
239
240 !if $(SOURCE_DEBUG_ENABLE) == TRUE
241 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
242 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
243 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
244 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
245 !else
246 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
247 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
248 !endif
249
250 #
251 # CryptLib
252 #
253 !if $(TPM_ENABLED) == TRUE
254 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
255 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
256 !endif
257
258 BiosIdLib|$(PLATFORM_PACKAGE)/Library/BiosIdLib/BiosIdLib.inf
259 CpuIA32Lib|$(PLATFORM_PACKAGE)/Library/CpuIA32Lib/CpuIA32Lib.inf
260
261 StallSmmLib|$(PLATFORM_PACKAGE)/Library/StallSmmLib/StallSmmLib.inf
262
263 !if $(SECURE_BOOT_ENABLE) == TRUE
264 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
265 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
266 PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
267 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
268 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
269 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
270 !else
271 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
272 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
273 !endif
274 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
275 !if $(RC_BINARY_RELEASE) == TRUE
276 I2cLib|Vlv2TbltDevicePkg/Library/I2CLib/I2CLibNull.inf
277 !endif
278 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
279 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
280 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
281 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
282 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
283 !if $(FTPM_ENABLE) == TRUE || $(NETWORK_ISCSI_ENABLE) == TRUE
284 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
285 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
286 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
287 !endif
288 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
289 Tcg2PhysicalPresenceLib|SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.inf
290 Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
291
292
293 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
294 !if $(MINNOW2_FSP_BUILD) == TRUE
295 FspApiLib|IntelFspWrapperPkg/Library/BaseFspApiLib/BaseFspApiLib.inf
296 FspPlatformInfoLib|IntelFspWrapperPkg/Library/BaseFspPlatformInfoLibSample/BaseFspPlatformInfoLibSample.inf
297 FspPlatformSecLib|Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/FspPlatformSecLibVlv2.inf
298 FspHobProcessLib|Vlv2TbltDevicePkg/FspSupport/Library/PeiFspHobProcessLibVlv2/FspHobProcessLibVlv2.inf
299 !endif
300
301 BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
302
303 [LibraryClasses.IA32.SEC]
304 !if $(PERFORMANCE_ENABLE) == TRUE
305 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
306 !endif
307 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
308 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
309
310 [LibraryClasses.IA32.PEIM, LibraryClasses.IA32.PEI_CORE, LibraryClasses.IA32.SEC]
311 #
312 # PEI phase common
313 #
314
315 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
316 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
317 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
318 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
319 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
320 MultiPlatformLib|$(PLATFORM_PACKAGE)/Library/MultiPlatformLib/MultiPlatformLib.inf
321 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
322 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
323 MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
324
325 !if $(PERFORMANCE_ENABLE) == TRUE
326 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
327 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
328 !endif
329
330 !if $(TARGET) == RELEASE
331 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
332 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
333 !else
334 DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
335 SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
336 !endif
337
338 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
339 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
340 !if $(SOURCE_DEBUG_ENABLE) == TRUE
341 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
342 !endif
343
344 !if $(MINNOW2_FSP_BUILD) == TRUE
345 PlatformFspLib|Vlv2TbltDevicePkg/Library/PlatformFspLib/PlatformFspLib.inf
346 !endif
347 !if $(FTPM_ENABLE) == TRUE
348 Tpm2DeviceLib|Vlv2TbltDevicePkg/Library/Tpm2DeviceLibSeCPei/Tpm2DeviceLibSeC.inf
349 !endif
350
351 [LibraryClasses.X64]
352 #
353 # DXE phase common
354 #
355 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
356 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
357 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
358 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
359 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
360
361 TcgPhysicalPresenceLib|SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf
362 !if $(TPM_ENABLED) == TRUE
363 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
364 !endif
365
366 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
367 EfiRegTableLib|$(PLATFORM_PACKAGE)/Library/EfiRegTableLib/EfiRegTableLib.inf
368
369 !if $(SECURE_BOOT_ENABLE) == TRUE
370 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
371 !endif
372
373 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
374
375 [LibraryClasses.X64.DXE_DRIVER]
376 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
377 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
378 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
379 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
380 !if $(PERFORMANCE_ENABLE) == TRUE
381 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
382 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
383 !endif
384
385 !if $(SOURCE_DEBUG_ENABLE) == TRUE
386 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
387 !endif
388
389 FlashDeviceLib|$(PLATFORM_PACKAGE)/Library/FlashDeviceLib/FlashDeviceLibDxe.inf
390
391 [LibraryClasses.X64.DXE_CORE]
392 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
393 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
394 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
395 !if $(PERFORMANCE_ENABLE) == TRUE
396 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
397 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
398 !endif
399
400 !if $(SOURCE_DEBUG_ENABLE) == TRUE
401 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
402 !endif
403
404 [LibraryClasses.X64.DXE_SMM_DRIVER]
405 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
406 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
407 ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
408 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
409 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
410 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
411 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
412 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
413 SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
414
415 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
416 !if $(TARGET) != RELEASE
417 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
418 !endif
419
420 !if $(SOURCE_DEBUG_ENABLE) == TRUE
421 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
422 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
423 !endif
424 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
425
426 [LibraryClasses.X64.SMM_CORE]
427 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
428 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
429 ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
430 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
431 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
432
433 !if $(TPM_ENABLED) == TRUE
434 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
435 !endif
436
437 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
438
439 !if $(TARGET) != RELEASE
440 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
441 !endif
442
443 [LibraryClasses.X64.DXE_RUNTIME_DRIVER]
444 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
445 !if $(SECURE_BOOT_ENABLE) == TRUE
446 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
447 !endif
448 !if $(TPM_ENABLED) == TRUE
449 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
450 !endif
451
452 !if $(SOURCE_DEBUG_ENABLE) == TRUE
453 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
454 !endif
455
456 !if $(CAPSULE_ENABLE) == TRUE
457 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf
458 !endif
459
460 [LibraryClasses.common.UEFI_DRIVER]
461 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
462
463 !if $(SOURCE_DEBUG_ENABLE) == TRUE
464 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
465 !endif
466
467 [LibraryClasses.X64.UEFI_APPLICATION]
468 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
469
470 !if $(SOURCE_DEBUG_ENABLE) == TRUE
471 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
472 !endif
473
474 ################################################################################
475 #
476 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
477 #
478 ################################################################################
479 [PcdsFeatureFlag.common]
480 !if $(MINI_BIOS_ENABLE) == FALSE
481 gPlatformModuleTokenSpaceGuid.PcdBdsDispatchAdditionalOprom|TRUE
482 !else
483 gPlatformModuleTokenSpaceGuid.PcdBdsDispatchAdditionalOprom|FALSE
484 !endif
485 #
486 # If PcdDxeIplSwitchToLongMode is TRUE, DxeIpl will load a 64-bit DxeCore and switch to long mode to hand over to DxeCore.
487 #
488 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE
489
490 gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserGrayOutTextStatement|TRUE
491
492 !if $(CAPSULE_RESET_ENABLE) == TRUE
493 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|TRUE
494 !else
495 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|FALSE
496 !endif
497 gEfiCpuTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE
498 !if $(DATAHUB_STATUS_CODE_ENABLE) == TRUE
499 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseDataHub|TRUE
500 !else
501 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseDataHub|FALSE
502 !endif
503 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE
504 !if $(TARGET) == RELEASE
505 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
506 !else
507 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
508 !endif
509 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE
510 !if $(ISA_SERIAL_STATUS_CODE_ENABLE) == TRUE
511 gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseIsaSerial|TRUE
512 !else
513 gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseIsaSerial|FALSE
514 !endif
515 !if $(USB_SERIAL_STATUS_CODE_ENABLE) == TRUE
516 gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseUsbSerial|TRUE
517 !else
518 gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseUsbSerial|FALSE
519 !endif
520 !if $(RAM_SERIAL_STATUS_CODE_ENABLE) == TRUE
521 gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseRam|TRUE
522 !else
523 gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseRam|FALSE
524 !endif
525
526
527 ## This PCD specifies whether PS2 keyboard does a extended verification during start.
528 gEfiMdeModulePkgTokenSpaceGuid.PcdPs2KbdExtendedVerification|FALSE
529
530 ## This PCD specifies whether PS2 mouse does a extended verification during start.
531 gEfiMdeModulePkgTokenSpaceGuid.PcdPs2MouseExtendedVerification|FALSE
532
533 !if $(VARIABLE_INFO_ENABLE) == TRUE
534 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics|TRUE
535 !else
536 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics|FALSE
537 !endif
538
539 gEfiCpuTokenSpaceGuid.PcdCpuSmmBlockStartupThisAp|TRUE
540
541 !if $(SOURCE_DEBUG_ENABLE)
542 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmDebug|TRUE
543 !endif
544
545 [PcdsFixedAtBuild.common]
546 !if $(MINNOW2_FSP_BUILD) == TRUE
547 # $(FLASH_REGION_VLVMICROCODE_BASE)
548 gFspWrapperTokenSpaceGuid.PcdCpuMicrocodePatchAddress|0xFFC00000
549 # $(FLASH_REGION_VLVMICROCODE_SIZE)
550 gFspWrapperTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize|0x00040000
551 gFspWrapperTokenSpaceGuid.PcdFlashMicroCodeOffset|0x60
552 # $(FLASH_AREA_BASE_ADDRESS)
553 gFspWrapperTokenSpaceGuid.PcdFlashCodeCacheAddress|0xFF800000
554 # $(FLASH_AREA_SIZE)
555 gFspWrapperTokenSpaceGuid.PcdFlashCodeCacheSize|0x00800000
556 # $(FLASH_REGION_FSPBIN_BASE)
557 gFspWrapperTokenSpaceGuid.PcdFlashFvFspBase|0xFFCC0000
558 !endif
559
560 !if $(PERFORMANCE_ENABLE) == TRUE
561 !if $(MINNOW2_FSP_BUILD) == TRUE
562 # in FSP, when this got used, the memory already is up
563 gEfiCpuTokenSpaceGuid.PcdTemporaryRamBase|0x00080000
564 !else
565 gEfiCpuTokenSpaceGuid.PcdTemporaryRamBase|0xFEF80000
566 !endif
567 gEfiCpuTokenSpaceGuid.PcdTemporaryRamSize|0x00010000
568
569 !else
570 !if $(MINNOW2_FSP_BUILD) == TRUE
571 gEfiCpuTokenSpaceGuid.PcdTemporaryRamBase|0x00080000
572 !else
573 gEfiCpuTokenSpaceGuid.PcdTemporaryRamBase|0xFEF80000
574 !endif
575 gEfiCpuTokenSpaceGuid.PcdTemporaryRamSize|0x00010000
576 gEfiCpuTokenSpaceGuid.PcdPeiTemporaryRamStackSize|0x3C00
577 !endif
578
579
580 !if $(SECURE_BOOT_ENABLE) == TRUE
581 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x22000
582 !else
583 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x4000
584 !endif
585 gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize|0x00000800
586 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x400
587 gEfiCpuTokenSpaceGuid.PcdCpuIEDRamSize|0x400000
588 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdS3AcpiReservedMemorySize|0x10000
589 gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSupport|FALSE
590 gEfiMdeModulePkgTokenSpaceGuid.PcdAriSupport|FALSE
591 gEfiCpuTokenSpaceGuid.PcdCpuSmmApSyncTimeout|1000
592 !if $(S4_ENABLE) == TRUE
593 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|TRUE
594 !else
595 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
596 !endif
597 !if $(TARGET) == RELEASE
598 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0
599 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x3
600 !else
601 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
602 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
603 !endif
604 !if $(PERFORMANCE_ENABLE) == TRUE
605 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0x1
606 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|60
607 !endif
608
609 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdEbdaReservedMemorySize|0x10000
610 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable|$(TOP_MEMORY_ADDRESS)
611 gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserSubtitleTextColor|0x0
612 gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserFieldTextColor|0x01
613 gEfiCpuTokenSpaceGuid.PcdCpuIEDEnabled|TRUE
614 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBiosVideoCheckVbeEnable|TRUE
615 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBiosVideoCheckVgaEnable|TRUE
616
617 !if $(SOURCE_DEBUG_ENABLE) == TRUE
618 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
619 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
620 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE
621 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|2
622 !endif
623
624 #
625 # Set SMM stack size to 16 KB.
626 #
627 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
628
629 #
630 # Clear unused single certificate PCD
631 #
632 gEfiSecurityPkgTokenSpaceGuid.PcdPkcs7CertBuffer|{0}
633
634 #
635 # Lock all updatable firmware devices at End of DXE
636 #
637 gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceLockEventGuid|{GUID(gEfiEndOfDxeEventGroupGuid)}
638 # gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceLockEventGuid|{GUID(gEfiEventReadyToBootGuid)}
639
640 #
641 # Set PcdFmpDeviceTestKeySha256Digest to {0} to disable test key detection
642 #
643 # gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceTestKeySha256Digest|{0}
644
645 [PcdsFixedAtBuild.IA32]
646 !if $(TARGET) == RELEASE
647 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0
648 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x3
649 !else
650 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E
651 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
652 !endif
653
654 !if $(RECOVERY_ENABLE)
655 gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryFileName|L"VLV2REC.Cap"
656 !endif
657
658 [PcdsPatchableInModule.common]
659 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803805c6
660 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0x$(PLATFORM_PCIEXPRESS_BASE)
661 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLegacyBiosCacheLegacyRegion|FALSE
662
663 ## This PCD specifies whether to use the optimized timing for best PS2 detection performance.
664 # Note this PCD could be set to TRUE for best boot performance and set to FALSE for best device compatibility.
665 gEfiMdeModulePkgTokenSpaceGuid.PcdFastPS2Detection|TRUE
666
667 #######################################################################################################
668 #
669 # Begin of MRC parameters
670 #
671
672 ## Memory Parameter Patchable.
673 # FALSE - MRC Parameters are fixed for MinnowBoard Max<BR>
674 # TRUE - MRC Parameters are patchable by following PCDs<BR>
675 # @Prompt Memory Parameter Patchable.
676 # @ValidList 0x80000001 | 0, 1
677 gVlvRefCodePkgTokenSpaceGuid.PcdMemoryParameterPatchable|FALSE
678
679 ## Memory Down or DIMM slot.
680 # 0 - DIMM<BR>
681 # 1 - Memory Down<BR>
682 # @Prompt Enable Memory Down
683 # @ValidList 0x80000001 | 0, 1
684 gVlvRefCodePkgTokenSpaceGuid.PcdEnableMemoryDown|1
685
686 ## The speed of DRAM.
687 # 0 - 800 MHz<BR>
688 # 1 - 1066 MHz<BR>
689 # 2 - 1333 MHz<BR>
690 # 3 - 1600 MHz<BR>
691 # @Prompt DRAM Speed
692 # @ValidList 0x80000001 | 0, 1, 2, 3
693 gVlvRefCodePkgTokenSpaceGuid.PcdDramSpeed|1
694
695 ## DRAM Type.
696 # 0 - DDR3<BR>
697 # 1 - DDR3L<BR>
698 # 2 - DDR3U<BR>
699 # 3 - DDR3All<BR>
700 # 4 - LPDDR2<BR>
701 # 5 - LPDDR3<BR>
702 # 6 - DDR4<BR>
703 # @Prompt DRAM Type
704 # @ValidList 0x80000001 | 0, 1, 2, 3, 4, 5, 6
705 gVlvRefCodePkgTokenSpaceGuid.PcdDramType|1
706
707 ## Please populate DIMM slot 0 if only one DIMM is supported.
708 # 0 - Disable<BR>
709 # 1 - Enable<BR>
710 # @Prompt DIMM 0 Enable
711 # @ValidList 0x80000001 | 0, 1
712 gVlvRefCodePkgTokenSpaceGuid.PcdEnableDimm0|1
713
714 ## DIMM 1 has to be identical to DIMM 0.
715 # 0 - Disable<BR>
716 # 1 - Enable<BR>
717 # @Prompt DIMM 1 Enable Type
718 # @ValidList 0x80000001 | 0, 1
719 gVlvRefCodePkgTokenSpaceGuid.PcdEnableDimm1|0
720
721 ## DRAM device data width.
722 # 0 - x8<BR>
723 # 1 - x16<BR>
724 # 2 - x32<BR>
725 # @Prompt DIMM_DWIDTH
726 # @ValidList 0x80000001 | 0, 1, 2
727 gVlvRefCodePkgTokenSpaceGuid.PcdDimmDataWidth|1
728
729 ## DRAM device data density.
730 # 0 - 1 Gbit<BR>
731 # 1 - 2 Gbit<BR>
732 # 2 - 4 Gbit<BR>
733 # 3 - 8 Gbit<BR>
734 # @Prompt DIMM_Density
735 # @ValidList 0x80000001 | 0, 1, 2, 3
736 gVlvRefCodePkgTokenSpaceGuid.PcdDimmDensity|2
737
738 ## DRAM device data bus width.
739 # 0 - 8 bits<BR>
740 # 1 - 16 bits<BR>
741 # 2 - 32 bits<BR>
742 # 3 - 64 bits<BR>
743 # @Prompt DIMM_BusWidth
744 # @ValidList 0x80000001 | 0, 1, 2, 3
745 gVlvRefCodePkgTokenSpaceGuid.PcdDimmBusWidth|3
746
747 ## Ranks Per DIMM or Sides Per DIMM.
748 # 0 - 1 Rank<BR>
749 # 1 - 2 Ranks<BR>
750 # @Prompt DIMM_Sides
751 # @ValidList 0x80000001 | 0, 1
752 gVlvRefCodePkgTokenSpaceGuid.PcdRankPerDimm|0
753
754 ## tCL.<BR><BR>
755 # @Prompt tCL
756 gVlvRefCodePkgTokenSpaceGuid.PcdTcl|11
757
758 ## tRP and tRCD in DRAM clk - 5:12.5ns, 6:15ns, etc.
759 # @Prompt tRP_tRCD
760 gVlvRefCodePkgTokenSpaceGuid.PcdTrpTrcd|11
761
762 ## tWR in DRAM clk.
763 # @Prompt tWR
764 gVlvRefCodePkgTokenSpaceGuid.PcdTwr|12
765
766 ## tWTR in DRAM clk.
767 # @Prompt tWTR
768 gVlvRefCodePkgTokenSpaceGuid.PcdTwtr|6
769
770 ## tRRD in DRAM clk.
771 # @Prompt tRRD
772 gVlvRefCodePkgTokenSpaceGuid.PcdTrrd|6
773
774 ## tRTP in DRAM clk.
775 # @Prompt tRTP
776 gVlvRefCodePkgTokenSpaceGuid.PcdTrtp|6
777
778 ## tFAW in DRAM clk.
779 # @Prompt tFAW
780 gVlvRefCodePkgTokenSpaceGuid.PcdTfaw|32
781
782 #
783 # End of MRC parameters.
784 #
785 ###############################################################################################
786
787 [PcdsDynamicHii.common.DEFAULT]
788 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|5 # Variable: L"Timeout"
789 gEfiMdePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|L"HwErrRecSupport"|gEfiGlobalVariableGuid|0x0|1 # Variable: L"HwErrRecSupport"
790
791 [PcdsDynamicDefault.common.DEFAULT]
792 gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateDataPtr|0x0
793 !if $(TPM_ENABLED) == TRUE
794 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x7b, 0x3a, 0xcd, 0x72, 0xA5, 0xFE, 0x5e, 0x4f, 0x91, 0x65, 0x4d, 0xd1, 0x21, 0x87, 0xbb, 0x13}
795 !endif
796
797 ## This PCD defines the video horizontal resolution.
798 # This PCD could be set to 0 then video resolution could be at highest resolution.
799 #gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0
800 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
801 ## This PCD defines the video vertical resolution.
802 # This PCD could be set to 0 then video resolution could be at highest resolution.
803 #gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0
804 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
805
806 ## This PCD defines the Console output column and the default value is 25 according to UEFI spec.
807 # This PCD could be set to 0 then console output could be at max column and max row.
808 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|31
809 ## This PCD defines the Console output row and the default value is 80 according to UEFI spec.
810 # This PCD could be set to 0 then console output could be at max column and max row.
811 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|100
812
813 ## The PCD is used to specify the video horizontal resolution of text setup.
814 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|800
815 ## The PCD is used to specify the video vertical resolution of text setup.
816 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|600
817 ## The PCD is used to specify the console output column of text setup.
818 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutColumn|100
819 ## The PCD is used to specify the console output column of text setup.
820 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutRow|31
821
822 !if $(TPM_ENABLED) == TRUE
823 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy|1
824 gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy|1
825 !endif
826
827 [PcdsDynamicExDefault.common.DEFAULT]
828 gEfiVLVTokenSpaceGuid.PcdTCSmbaIoBaseAddress|0x1040
829 gEfiVLVTokenSpaceGuid.PcdEmmcManufacturerId|0
830 gEfiVLVTokenSpaceGuid.PcdProductSerialNumber|0
831 gEfiVLVTokenSpaceGuid.PcdMeasuredBootEnable|TRUE
832 gEfiVLVTokenSpaceGuid.PcdFTPMErrorOccur|FALSE
833 gEfiVLVTokenSpaceGuid.PcdFTPMErrorSkip|FALSE
834 gEfiVLVTokenSpaceGuid.PcdFTPMCommand|0
835 gEfiVLVTokenSpaceGuid.PcdFTPMResponse|0
836 gEfiVLVTokenSpaceGuid.PcdFTPMNotRespond|FALSE
837 gEfiVLVTokenSpaceGuid.PcdFTPMStatus|0
838 gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateSmmDataPtr|0
839 gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateDataPtr|0
840 gEfiCpuTokenSpaceGuid.PcdCpuS3DataAddress|0
841 gEfiCpuTokenSpaceGuid.PcdCpuHotPlugDataAddress|0
842 gEfiCpuTokenSpaceGuid.PcdCpuCallbackSignal|0
843 gEfiCpuTokenSpaceGuid.PcdCpuConfigContextBuffer|0
844 gEfiVLVTokenSpaceGuid.PcdCpuLockBoxDataAddress|0
845 gEfiVLVTokenSpaceGuid.PcdCpuSmramCpuDataAddress|0
846 gEfiVLVTokenSpaceGuid.PcdCpuLockBoxSize|0
847
848 [PcdsDynamicExDefault.X64.DEFAULT]
849 !if $(RECOVERY_ENABLE)
850 gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareFileGuid|{GUID("AF9C9EB2-12AD-4D3E-A4D4-96F6C9966215")}|VOID*|0x10
851 gEfiMdeModulePkgTokenSpaceGuid.PcdSystemFmpCapsuleImageTypeIdGuid|{GUID("4096267b-da0a-42eb-b5eb-fef31d207cb4")}|VOID*|0x10
852 !endif
853
854 [Components.IA32]
855
856 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/SecCore.inf
857
858 !if $(MINNOW2_FSP_BUILD) == TRUE
859 IntelFspWrapperPkg/FspWrapperSecCore/FspWrapperSecCore.inf {
860 !if $(TARGET) == DEBUG
861
862 <LibraryClasses>
863 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
864 !endif
865 }
866 Vlv2TbltDevicePkg/FspSupport/BootModePei/BootModePei.inf
867 IntelFspWrapperPkg/FspInitPei/FspInitPei.inf {
868 !if $(TARGET) == DEBUG
869 <LibraryClasses>
870 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
871 !endif
872 }
873 !endif
874
875 MdeModulePkg/Core/Pei/PeiMain.inf {
876 !if $(TARGET) == DEBUG
877 <PcdsFixedAtBuild>
878 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E
879 !endif
880 <PcdsPatchableInModule>
881 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
882 }
883
884 $(PLATFORM_PACKAGE)/MonoStatusCode/MonoStatusCode.inf {
885 !if $(TARGET) == DEBUG
886 <PcdsFixedAtBuild>
887 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E
888 !endif
889 }
890 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/MemoryInit.inf {
891 <PcdsPatchableInModule>
892 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
893 <BuildOptions>
894 !if $(FTPM_ENABLE)==TRUE
895 *_*_IA32_CC_FLAGS = /D FTPM_ENABLE
896 !endif
897 }
898
899 !if $(RC_BINARY_RELEASE) == TRUE
900 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/SeCUma.inf
901 !endif
902
903 !if $(FTPM_ENABLE) == TRUE
904 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/fTPMInitPeim.inf
905 !endif
906
907 !if $(RC_BINARY_RELEASE) == TRUE
908 $(PLATFORM_PACKAGE)/PlatformPei/PlatformPei.inf {
909 <BuildOptions>
910 *_*_IA32_CC_FLAGS = /DRC_BINARY_RELEASE
911 !if $(TARGET) == DEBUG
912 <PcdsFixedAtBuild>
913 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E
914 !endif
915 }
916 !endif
917
918 !if $(SOURCE_DEBUG_ENABLE) == TRUE
919 SourceLevelDebugPkg/DebugAgentPei/DebugAgentPei.inf{
920 <LibraryClasses>
921 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
922 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
923 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
924 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
925 }
926 !endif
927
928 !if $(FTPM_ENABLE) == TRUE
929 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/Tpm2DeviceSeCPei.inf
930 !endif
931
932 !if $(TPM_ENABLED) == TRUE
933 SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf
934 SecurityPkg/Tcg/TcgPei/TcgPei.inf {
935 <LibraryClasses>
936 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
937 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
938 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
939 }
940 !endif
941
942 $(PLATFORM_PACKAGE)/PlatformInitPei/PlatformInitPei.inf {
943 <PcdsPatchableInModule>
944 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803805c6
945 <LibraryClasses>
946 !if $(TARGET) != RELEASE
947 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
948 !endif
949 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
950 }
951 $(PLATFORM_PACKAGE)/FvInfoPei/FvInfoPei.inf
952
953 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/VlvInitPeim.inf
954 !if $(PCIESC_ENABLE) == TRUE
955 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchEarlyInitPeim.inf {
956 <PcdsPatchableInModule>
957 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
958 }
959 !endif
960 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchInitPeim.inf
961
962
963 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchSmbusArpDisabled.inf
964 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchSpiPeim.inf
965 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PeiSmmAccess.inf
966 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PeiSmmControl.inf
967 MdeModulePkg/Universal/PCD/Pei/Pcd.inf
968 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/CpuPeim.inf
969 UefiCpuPkg/CpuIoPei/CpuIoPei.inf
970 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
971 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/MpS3.inf
972 # $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PiSmmCommunicationPei.inf
973
974 !if $(RECOVERY_ENABLE)
975 #
976 # Recovery
977 #
978 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchUsb.inf
979 MdeModulePkg/Bus/Pci/EhciPei/EhciPei.inf
980 MdeModulePkg/Bus/Usb/UsbBusPei/UsbBusPei.inf
981 MdeModulePkg/Bus/Usb/UsbBotPei/UsbBotPei.inf
982 FatPkg/FatPei/FatPei.inf
983 MdeModulePkg/Universal/Disk/CdExpressPei/CdExpressPei.inf
984 SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.inf {
985 <LibraryClasses>
986 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibRsa2048Sha256/FmpAuthenticationLibRsa2048Sha256.inf
987 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
988 }
989 !endif
990
991 !if $(CAPSULE_ENABLE) == TRUE
992 MdeModulePkg/Universal/CapsulePei/CapsulePei.inf
993 !endif
994 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
995 <LibraryClasses>
996 !if $(LZMA_ENABLE) == TRUE
997 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
998 !endif
999 }
1000
1001 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
1002 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
1003
1004 !if $(FTPM_ENABLE) == TRUE
1005 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
1006 <PcdsPatchableInModule>
1007 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
1008 <LibraryClasses>
1009 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1010 NULL|SecurityPkg/Library\HashInstanceLibSha1/HashInstanceLibSha1.inf
1011 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
1012 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
1013 }
1014 !endif
1015 !if $(TPM_ENABLED) == TRUE
1016 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf {
1017 <LibraryClasses>
1018 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
1019 }
1020 !endif
1021 !if $(ACPI50_ENABLE) == TRUE
1022 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTablePei/FirmwarePerformancePei.inf{
1023 <LibraryClasses>
1024 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
1025 }
1026
1027 !endif
1028 !if $(PERFORMANCE_ENABLE) == TRUE
1029 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
1030 !endif
1031 [Components.X64]
1032 !if $(MINNOW2_FSP_BUILD) == TRUE
1033 IntelFspWrapperPkg/FspNotifyDxe/FspNotifyDxe.inf {
1034 !if $(TARGET) == DEBUG
1035 <PcdsPatchableInModule>
1036 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
1037 <LibraryClasses>
1038 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1039 !endif
1040 }
1041
1042 !endif
1043 #
1044 # EDK II Related Platform codes
1045 #
1046 MdeModulePkg/Core/Dxe/DxeMain.inf {
1047 <PcdsPatchableInModule>
1048 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
1049 <LibraryClasses>
1050 !if $(DXE_CRC32_SECTION_ENABLE) == TRUE
1051 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
1052 !endif
1053 !if $(LZMA_ENABLE) == TRUE
1054 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
1055 !endif
1056 !if $(TARGET) != RELEASE
1057 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1058 !endif
1059 }
1060 IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/AcpiS3SaveDxe.inf {
1061 <PcdsPatchableInModule>
1062 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
1063 <PcdsFixedAtBuild>
1064 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x27
1065 <LibraryClasses>
1066 !if $(TARGET) != RELEASE
1067 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1068 !endif
1069 <BuildOptions>
1070 ICC:*_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
1071 GCC:*_*_*_CC_FLAGS = -D MDEPKG_NDEBUG
1072 }
1073 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
1074 <LibraryClasses>
1075 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
1076 }
1077 IntelFrameworkModulePkg/Universal/CpuIoDxe/CpuIoDxe.inf
1078 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
1079
1080 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
1081 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf {
1082 <LibraryClasses>
1083 !if $(TARGET) != RELEASE
1084 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1085 !endif
1086 }
1087
1088 !if $(CAPSULE_ENABLE) == TRUE
1089 MdeModulePkg/Universal/CapsulePei/CapsuleX64.inf {
1090 <LibraryClasses>
1091 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
1092 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
1093 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
1094 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
1095 !if $(SOURCE_DEBUG_ENABLE) == TRUE
1096 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
1097 !endif
1098 }
1099 !endif
1100
1101 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterSmm.inf
1102 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf{
1103 <LibraryClasses>
1104 !if $(SECURE_BOOT_ENABLE) == TRUE
1105 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
1106 !endif
1107 !if $(USER_IDENTIFICATION_ENABLE)
1108 NULL|SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.inf
1109 !endif
1110 !if $(TPM_ENABLED) == TRUE
1111 NULL|SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
1112 !endif
1113 !if $(FTPM_ENABLE) == TRUE
1114 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
1115 !endif
1116 }
1117 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/MpCpu.inf
1118 $(PLATFORM_PACKAGE)/Metronome/Metronome.inf
1119
1120 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf{
1121 <LibraryClasses>
1122 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
1123 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
1124 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
1125 PlatformBdsLib|$(PLATFORM_PACKAGE)/Library/PlatformBdsLib/PlatformBdsLib.inf
1126 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1127 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
1128 SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
1129 !if $(FTPM_ENABLE) == TRUE
1130 Tpm2DeviceLib|Vlv2TbltDevicePkg/Library/Tpm2DeviceLibSeCDxe/Tpm2DeviceLibSeC.inf
1131 !else
1132 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
1133 !endif
1134 }
1135
1136 $(PLATFORM_PACKAGE)/UiApp/UiApp.inf
1137
1138 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
1139 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
1140 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
1141 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
1142 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
1143 <LibraryClasses>
1144 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
1145 SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
1146 }
1147 $(PLATFORM_PACKAGE)/FvbRuntimeDxe/FvbSmm.inf
1148 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
1149 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSpiSmm.inf
1150 !if $(SECURE_BOOT_ENABLE) == TRUE
1151 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf {
1152 <LibraryClasses>
1153 PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
1154 <BuildOptions>
1155 #
1156 # Specify GUID gEfiIfrBootMaintenanceGuid, to install Secure Boot Configuration menu
1157 # into Boot Maintenance Manager menu
1158 #
1159 *_*_*_VFR_FLAGS = -g b2dedc91-d59f-48d2-898a-12490c74a4e0
1160 }
1161 !endif
1162 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf {
1163 <LibraryClasses>
1164 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
1165 }
1166
1167 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
1168 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
1169 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
1170
1171 $(PLATFORM_PACKAGE)/FvbRuntimeDxe/FvbRuntimeDxe.inf
1172
1173 $(PLATFORM_PACKAGE)/PlatformSetupDxe/PlatformSetupDxe.inf
1174
1175 !if $(DATAHUB_ENABLE) == TRUE
1176 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf {
1177 <PcdsFixedAtBuild>
1178 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
1179 }
1180 !endif
1181 IntelFrameworkModulePkg/Universal/StatusCode/DatahubStatusCodeHandlerDxe/DatahubStatusCodeHandlerDxe.inf
1182 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
1183 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchS3SupportDxe.inf
1184 !if $(USE_HPET_TIMER) == TRUE
1185 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
1186 !else
1187 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmartTimer.inf
1188 !endif
1189 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmmControl.inf
1190
1191 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSmbusDxe.inf
1192 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/IntelPchLegacyInterrupt.inf
1193 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchReset.inf
1194 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchInitDxe.inf{
1195 <PcdsPatchableInModule>
1196 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
1197 }
1198 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSmiDispatcher.inf
1199
1200 !if $(PCIESC_ENABLE) == TRUE
1201 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchPcieSmm.inf
1202 !endif
1203 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSpiRuntime.inf
1204 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchPolicyInitDxe.inf
1205 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchBiosWriteProtect.inf
1206 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmmAccess.inf
1207 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PciHostBridge.inf
1208 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/VlvInitDxe.inf
1209
1210 IntelFrameworkModulePkg/Universal/LegacyRegionDxe/LegacyRegionDxe.inf
1211
1212 #
1213 # Performance Application; Set PERFORMANCE_ENABLE=TRUE for normal boot performance and smm performance data
1214 #
1215 !if $(PERFORMANCE_ENABLE) == TRUE
1216 ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf {
1217 <PcdsFixedAtBuild>
1218 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
1219 }
1220 !endif
1221
1222 Vlv2TbltDevicePkg/VlvPlatformInitDxe/VlvPlatformInitDxe.inf{
1223 <LibraryClasses>
1224 !if $(TARGET) != RELEASE
1225 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1226 !endif
1227 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
1228 }
1229
1230 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/Dptf.inf
1231 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PnpDxe.inf
1232
1233 !if $(SEC_ENABLE) == TRUE
1234 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/HeciDrv.inf {
1235 !if $(SEC_DEBUG_INFO_ENABLE) == TRUE
1236 <BuildOptions>
1237 *_*_X64_CC_FLAGS = /DSEC_DEBUG_INFO=1
1238 !else
1239 <BuildOptions>
1240 *_*_X64_CC_FLAGS = /DSEC_DEBUG_INFO=0
1241 !endif
1242 }
1243
1244 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SeCPolicyInitDxe.inf
1245 !endif
1246
1247 !if $(FTPM_ENABLE) == TRUE
1248 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/Tpm2DeviceSeCDxe.inf
1249 SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf
1250 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf{
1251 <LibraryClasses>
1252 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
1253 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
1254 PcdLib|MdePkg/Library\DxePcdLib/DxePcdLib.inf
1255 Tpm2DeviceLib|Vlv2TbltDevicePkg/Library/Tpm2DeviceLibSeCDxe/Tpm2DeviceLibSeC.inf
1256 }
1257 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/FtpmSmm.inf
1258 !endif
1259 !if $(TPM_ENABLED) == TRUE
1260 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf {
1261 <LibraryClasses>
1262 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
1263 }
1264
1265 SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {
1266 <LibraryClasses>
1267 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
1268 <BuildOptions>
1269 #
1270 # specify GUID gEfiIfrNotInTPVPageGuid, this page will not
1271 # be showed in TPV page.
1272 #
1273 *_*_*_VFR_FLAGS = -g e58809f8-fbc1-48e2-883a-a30fdc4b441e
1274 }
1275
1276 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf {
1277 <LibraryClasses>
1278 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
1279 }
1280 SecurityPkg/Tcg/TcgSmm/TcgSmm.inf
1281 !endif
1282 #
1283 # EDK II Related Platform codes
1284 #
1285 $(PLATFORM_PACKAGE)/PlatformSmm/PlatformSmm.inf{
1286 <LibraryClasses>
1287 !if $(TARGET) != RELEASE
1288 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1289 !endif
1290 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
1291 }
1292 $(PLATFORM_PACKAGE)/PlatformInfoDxe/PlatformInfoDxe.inf
1293 $(PLATFORM_PACKAGE)/PlatformCpuInfoDxe/PlatformCpuInfoDxe.inf
1294 $(PLATFORM_PACKAGE)/PlatformDxe/PlatformDxe.inf
1295
1296 $(PLATFORM_PACKAGE)/PciPlatform/PciPlatform.inf
1297 $(PLATFORM_PACKAGE)/SaveMemoryConfig/SaveMemoryConfig.inf
1298 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PlatformCpuPolicy.inf
1299 $(PLATFORM_PACKAGE)/PpmPolicy/PpmPolicy.inf
1300 $(PLATFORM_PACKAGE)/SmramSaveInfoHandlerSmm/SmramSaveInfoHandlerSmm.inf
1301 !if $(GOP_DRIVER_ENABLE) == TRUE
1302 $(PLATFORM_PACKAGE)/PlatformGopPolicy/PlatformGopPolicy.inf
1303
1304 !endif
1305
1306
1307 #
1308 # SMM
1309 #
1310 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
1311 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
1312 UefiCpuPkg/CpuDxe/CpuDxe.inf
1313 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
1314 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
1315 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf
1316 UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf
1317 $(PLATFORM_PACKAGE)/SmmSwDispatch2OnSmmSwDispatchThunk/SmmSwDispatch2OnSmmSwDispatchThunk.inf
1318 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PowerManagement2.inf
1319 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/DigitalThermalSensor.inf
1320
1321 #
1322 # ACPI
1323 #
1324 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf {
1325 <PcdsPatchableInModule>
1326 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
1327 <PcdsFixedAtBuild>
1328 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x27
1329 <LibraryClasses>
1330 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
1331 }
1332
1333 $(PLATFORM_PACKAGE)/BootScriptSaveDxe/BootScriptSaveDxe.inf
1334 IntelFrameworkModulePkg/Universal/Acpi/AcpiSupportDxe/AcpiSupportDxe.inf
1335 Vlv2DeviceRefCodePkg/ValleyView2Soc/CPU/PowerManagement/AcpiTables/PowerManagementAcpiTables.inf
1336
1337 $(PLATFORM_RC_PACKAGE)/AcpiTablesPCAT/AcpiTables.inf
1338
1339 $(PLATFORM_PACKAGE)/AcpiPlatform/AcpiPlatform.inf
1340
1341 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
1342
1343 #
1344 # PCI
1345 #
1346 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
1347
1348
1349 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/ISPDxe.inf
1350
1351
1352 #
1353 # ISA
1354 #
1355 $(PLATFORM_PACKAGE)/Wpce791/Wpce791.inf
1356 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
1357 IntelFrameworkModulePkg/Bus/Isa/IsaIoDxe/IsaIoDxe.inf
1358 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
1359 IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf
1360 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
1361 #
1362 # SDIO
1363 #
1364 # $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/MmcHost.inf
1365 # $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/MmcMediaDevice.inf
1366 !if $(ACPI50_ENABLE) == TRUE
1367 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf {
1368 <LibraryClasses>
1369 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
1370 }
1371 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerformanceSmm.inf {
1372 <LibraryClasses>
1373 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
1374 }
1375 !endif
1376
1377 #
1378 # IDE/SCSI/AHCI
1379 #
1380 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
1381 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
1382 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
1383 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
1384 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
1385 FatPkg/EnhancedFatDxe/Fat.inf
1386 ShellPkg/Application/Shell/Shell.inf {
1387 <LibraryClasses>
1388 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
1389 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
1390 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
1391 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
1392 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
1393 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
1394 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
1395 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
1396 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
1397 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
1398 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
1399 <PcdsFixedAtBuild>
1400 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
1401 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
1402 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
1403 }
1404 !if $(SATA_ENABLE) == TRUE
1405 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SataController.inf
1406 !endif
1407 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
1408 !if $(SCSI_ENABLE) == TRUE
1409 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
1410 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
1411 !endif
1412 #
1413 # Console
1414 #
1415 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
1416 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
1417 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
1418 IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf
1419 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
1420 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
1421 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
1422 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
1423
1424 #
1425 # USB
1426 #
1427 !if $(USB_ENABLE) == TRUE
1428 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
1429 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
1430 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
1431 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
1432 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
1433 MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf
1434 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
1435
1436 !endif
1437
1438 #
1439 # SMBIOS
1440 #
1441 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
1442 $(PLATFORM_PACKAGE)/SmBiosMiscDxe/SmBiosMiscDxe.inf
1443
1444 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmbiosMemory.inf
1445 #
1446 # CPU/FW Microde
1447 #
1448 Vlv2SocBinPkg/Microcode/MicrocodeUpdates.inf {
1449 <BuildOptions>
1450 *_*_*_GENFW_FLAGS = -a 0x800 -p 0xFF
1451 }
1452
1453
1454
1455 !if $(NETWORK_ENABLE) == TRUE
1456 !if $(NETWORK_ISCSI_ENABLE) == TRUE
1457 NetworkPkg/IScsiDxe/IScsiDxe.inf
1458 !endif
1459 !if $(NETWORK_VLAN_ENABLE) == TRUE
1460 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
1461 !endif
1462 !if $(CSM_ENABLE) == TRUE
1463 IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/Snp16Dxe.inf
1464 !endif
1465 !endif
1466
1467 !if $(NETWORK_ENABLE) == TRUE
1468 #
1469 # UEFI network modules
1470 #
1471 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
1472 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
1473
1474 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
1475 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
1476 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
1477 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
1478 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
1479 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
1480 NetworkPkg/TcpDxe/TcpDxe.inf
1481 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
1482 !if $(NETWORK_IP6_ENABLE) == TRUE
1483 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
1484 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
1485 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
1486 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
1487 !endif
1488 !endif
1489
1490 !if $(CAPSULE_ENABLE) || $(MICOCODE_CAPSULE_ENABLE)
1491 MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmpDxe.inf
1492 MdeModulePkg/Application/CapsuleApp/CapsuleApp.inf
1493 !endif
1494
1495 !if $(CAPSULE_ENABLE)
1496 !include Vlv2TbltDevicePkg/FmpMinnowMaxSystem.dsc
1497 !include Vlv2TbltDevicePkg/FmpGreenSampleDevice.dsc
1498 !include Vlv2TbltDevicePkg/FmpBlueSampleDevice.dsc
1499 !include Vlv2TbltDevicePkg/FmpRedSampleDevice.dsc
1500 !endif
1501
1502 !if $(MICOCODE_CAPSULE_ENABLE)
1503 IntelSiliconPkg/Feature/Capsule/MicrocodeUpdateDxe/MicrocodeUpdateDxe.inf {
1504 <LibraryClasses>
1505 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1506 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
1507 SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
1508 }
1509 !endif
1510
1511 [BuildOptions]
1512 #
1513 # Define Build Options both for EDK and EDKII drivers.
1514 #
1515
1516 #
1517 # Define token for different Platform
1518 #
1519 !if $(MINNOW2_FSP_BUILD) == TRUE
1520 DEFINE MINNOW2_FSP_OPTION = /DMINNOW2_FSP_BUILD
1521 !else
1522 DEFINE MINNOW2_FSP_OPTION =
1523 !endif
1524
1525 !if $(ENBDT_PF_BUILD) == TRUE
1526 DEFINE ENBDT_PF_ENABLE = /DENBDT_PF_ENABLE=1
1527 !else
1528 DEFINE ENBDT_PF_ENABLE = /DENBDT_PF_ENABLE=0
1529 !endif
1530
1531
1532 !if $(CLKGEN_CONFIG_EXTRA_ENABLE) == TRUE
1533 DEFINE CLKGEN_CONFIG_EXTRA_BUILD_OPTION = /DCLKGEN_CONFIG_EXTRA=1
1534 !else
1535 DEFINE CLKGEN_CONFIG_EXTRA_BUILD_OPTION =
1536 !endif
1537
1538
1539
1540 !if $(PCIESC_ENABLE) == TRUE
1541 DEFINE PCIESC_SUPPORT_BUILD_OPTION = /DPCIESC_SUPPORT=1
1542 !else
1543 DEFINE PCIESC_SUPPORT_BUILD_OPTION =
1544 !endif
1545 !if $(SATA_ENABLE) == TRUE
1546 DEFINE SATA_SUPPORT_BUILD_OPTION = /DSATA_SUPPORT=1
1547 !else
1548 DEFINE SATA_SUPPORT_BUILD_OPTION =
1549 !endif
1550 !if $(ENBDT_S3_SUPPORT) == TRUE
1551 DEFINE ENBDT_S3_SUPPORT_OPTIONS = /DNOCS_S3_SUPPORT
1552 !else
1553 DEFINE ENBDT_S3_SUPPORT_OPTIONS =
1554 !endif
1555
1556 !if $(X64_CONFIG) == TRUE
1557 DEFINE X64_BUILD_ENABLE = /DX64_BUILD_ENABLE=1
1558 !else
1559 DEFINE X64_BUILD_ENABLE =
1560 !endif
1561
1562 !if $(FTPM_ENABLE) == TRUE
1563 DEFINE DSC_FTPM_BUILD_OPTIONS = /DFTPM_ENABLE
1564 !else
1565 DEFINE DSC_FTPM_BUILD_OPTIONS =
1566 !endif
1567 !if $(TPM_ENABLED) == TRUE
1568 DEFINE DSC_TPM_BUILD_OPTIONS = /DTPM_ENABLED
1569 !else
1570 DEFINE DSC_TPM_BUILD_OPTIONS =
1571 !endif
1572
1573
1574 DEFINE EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS = $(MINNOW2_FSP_OPTION) $(MINNOW2_BUILD_OPTION) $(ENBDT_PF_ENABLE) $(EXTERNAL_VGA_BUILD_OPTION) $(PCIE_ENUM_WA_BUILD_OPTION) $(X0_WA_ENABLE_BUILD_OPTION) $(A0_WA_ENABLE_BUILD_OPTION) $(MICROCODE_FREE_BUILD_OPTIONS) $(SIMICS_BUILD_OPTIONS) $(HYBRID_BUILD_OPTIONS) $(COMPACT_BUILD_OPTIONS) $(VP_BUILD_OPTIONS) $(SYSCTL_ID_BUILD_OPTION) $(CLKGEN_CONFIG_EXTRA_BUILD_OPTION) $(SYSCTL_X0_CONVERT_BOARD_OPTION) $(ENBDT_S3_SUPPORT_OPTIONS) $(SATA_SUPPORT_BUILD_OPTION) $(PCIESC_SUPPORT_BUILD_OPTION) $(DSC_FTPM_BUILD_OPTIONS) $(DSC_FTPM_ERROR_WR_BUILD_OPTIONS) $(DSC_TPM_BUILD_OPTIONS) $(DSC_BYTI_SECURE_BOOT_BUILD_OPTIONS)
1575 !if $(PERFORMANCE_ENABLE) == TRUE
1576 DEFINE PDB_BUILD_OPTION = /Zi
1577 !endif
1578
1579 !if $(SOURCE_DEBUG_ENABLE) == TRUE
1580 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
1581 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
1582 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
1583 !if $(TARGET) == DEBUG
1584 DEFINE SOURCE_LEVEL_DEBUG_BUILD_OPTIONS = /Od /Oy-
1585 !endif
1586 !else
1587 DEFINE SOURCE_LEVEL_DEBUG_BUILD_OPTIONS =
1588
1589 !endif
1590
1591 #
1592 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
1593 # protection of DXE_RUNTIME_DRIVER modules
1594 #
1595 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
1596 MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096
1597 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
1598
1599 #
1600 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
1601 # protection of DXE_SMM_DRIVER/SMM_CORE modules
1602 #
1603 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
1604 MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096
1605 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
1606
1607 [BuildOptions.Common.EDK]
1608
1609 #
1610 # Define token for different Platform
1611 #
1612 !if $(ENBDT_PF_BUILD) == TRUE
1613 DEFINE ENBDT_PF_ENABLE = /DENBDT_PF_ENABLE=1
1614 !else
1615 DEFINE ENBDT_PF_ENABLE = /DENBDT_PF_ENABLE=0
1616 !endif
1617
1618 !if $(PERFORMANCE_ENABLE) == TRUE
1619 RELEASE_*_*_DLINK_FLAGS = /DEBUG
1620 !endif
1621
1622 !if $(S3_ENABLE) == TRUE
1623 DEFINE DSC_S3_BUILD_OPTIONS = /DEFI_S3_RESUME
1624 !else
1625 DEFINE DSC_S3_BUILD_OPTIONS =
1626 !endif
1627
1628 !if $(ENBDT_S3_SUPPORT) == TRUE
1629 DEFINE ENBDT_S3_SUPPORT_OPTIONS = /DNOCS_S3_SUPPORT
1630 !else
1631 DEFINE ENBDT_S3_SUPPORT_OPTIONS =
1632 !endif
1633
1634 !if $(X64_CONFIG) == TRUE
1635 DEFINE X64_BUILD_ENABLE = /DX64_BUILD_ENABLE=1
1636 !else
1637 DEFINE X64_BUILD_ENABLE =
1638 !endif
1639
1640
1641 DEFINE EDK_GLUE_LIB_DEBUG =
1642 DEFINE DEBUG_BUILD_OPTIONS = /D EFI_DEBUG /D DEBUG_MODE=1 /GL- $(EDK_GLUE_LIB_DEBUG) /DEDKII_GLUE_DebugPrintErrorLevel=(EFI_D_ERROR)
1643 DEFINE EDK_DSC_FEATURE_BUILD_OPTIONS = $(DSC_S3_BUILD_OPTIONS) $(DSC_ACPI_BUILD_OPTIONS) $(DSC_SEC_BUILD_OPTIONS) $(DSC_FTPM_BUILD_OPTIONS) $(DSC_FTPM_ERROR_WR_BUILD_OPTIONS) $(DSC_TPM_BUILD_OPTIONS) $(SOFTSDV_BUILD_OPTIONS) $(SIMICS_BUILD_OPTIONS) $(HYBRID_BUILD_OPTIONS) $(COMPACT_BUILD_OPTIONS) $(VP_BUILD_OPTIONS) $(QT_BUILD_OPTIONS) $(DSC_BYTI_SECURE_BOOT_BUILD_OPTIONS) /D$(PROJECT_SC_CHIPSET)
1644
1645 DEFINE EDK_DSC_OTHER_BUILD_OPTIONS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS) $(SV_BUILD_OPTIONS) $(INTEL_FASTBOOT_BUILD_OPTION)
1646 DEFINE EDK_DSC_GLOBAL_BUILD_OPTIONS = $(ENBDT_PF_ENABLE) $(EDK_DSC_FEATURE_BUILD_OPTIONS) $(EDK_DSC_OTHER_BUILD_OPTIONS) /D EFI_SPECIFICATION_VERSION=0x00020000 /D PI_SPECIFICATION_VERSION=0x00000009 /D TIANO_RELEASE_VERSION=0x00080006 /D SUPPORT_DEPRECATED_PCI_CFG_PPI /D CSM_SMMENTRY_PORT8DATA8 /D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE) /D MAX_VARIABLE_SIZE=0x2000 /D EFI_FIRMWARE_VENDOR="L/"INTEL/"" /D EFI_BUILD_VERSION="L/"EDKII/"" /DEFI_PEI_REPORT_STATUS_CODE_ON $(ENBDT_S3_SUPPORT_OPTIONS)
1647
1648 *_*_IA32_ASM_FLAGS = /DEFI32 /D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h /DNOCS_S3_SUPPORT
1649 DEBUG_*_IA32_CC_FLAGS = /D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1650 RELEASE_*_IA32_CC_FLAGS = /D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1651 DEBUG_*_IA32_VFRPP_FLAGS = /D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1652 RELEASE_*_IA32_VFRPP_FLAGS = /D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1653 DEBUG_*_IA32_APP_FLAGS = /D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1654 RELEASE_*_IA32_APP_FLAGS = /D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1655 DEBUG_*_IA32_PP_FLAGS = /D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1656 RELEASE_*_IA32_PP_FLAGS = /D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1657 *_*_IA32_ASLPP_FLAGS = /D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE)
1658 *_*_IA32_ASLCC_FLAGS = /D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE)
1659 *_*_IA32_ASM16_FLAGS = /D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h
1660
1661 *_*_X64_ASM_FLAGS = /DEFIX64 /D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h /DNOCS_S3_SUPPORT
1662 DEBUG_*_X64_CC_FLAGS = /D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1663 RELEASE_*_X64_CC_FLAGS = /D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1664 DEBUG_*_X64_VFRPP_FLAGS = /D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1665 RELEASE_*_X64_VFRPP_FLAGS = /D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1666 DEBUG_*_X64_APP_FLAGS = /D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1667 RELEASE_*_X64_APP_FLAGS = /D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1668 DEBUG_*_X64_PP_FLAGS = /D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1669 RELEASE_*_X64_PP_FLAGS = /D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1670 *_*_X64_ASLPP_FLAGS = /D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE)
1671 *_*_X64_ASLCC_FLAGS = /D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE)
1672 *_*_X64_ASM16_FLAGS = /D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h
1673 # *_*_*_BUILD_FLAGS = -s
1674 *_*_*_VFR_FLAGS = -c
1675 *_*_*_BUILD_FLAGS = -c
1676
1677 [BuildOptions.Common.EDKII]
1678 *_*_IA32_ASM_FLAGS = $(VP_BUILD_OPTIONS) /D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h /DNOCS_S3_SUPPORT
1679
1680 *_*_IA32_CC_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1681 *_*_IA32_VFRPP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1682 *_*_IA32_APP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1683 *_*_IA32_PP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1684 *_*_IA32_ASLPP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1685
1686 *_*_X64_CC_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS) $(SOURCE_LEVEL_DEBUG_BUILD_OPTIONS)
1687 *_*_X64_VFRPP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1688 *_*_X64_APP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1689 *_*_X64_PP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1690 *_*_X64_ASLPP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1691
1692
1693 [Components.X64]
1694 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/I2cBus.inf {
1695 <PcdsPatchableInModule>
1696 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
1697 }
1698
1699 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/I2cHost.inf {
1700 <PcdsPatchableInModule>
1701 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
1702 }
1703 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/I2cPortA0Pio.inf {
1704 <PcdsPatchableInModule>
1705 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x00000043
1706 }
1707
1708 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/I2cMmioDeviceDxe.inf {
1709 <PcdsPatchableInModule>
1710 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x00000043
1711 }
1712