2 # Platform description.
4 # Copyright (c) 2012 - 2016, Intel Corporation. All rights reserved.<BR>
6 # This program and the accompanying materials are licensed and made available under
7 # the terms and conditions of the BSD License that accompanies this distribution.
8 # The full text of the license may be found at
9 # http://opensource.org/licenses/bsd-license.php.
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 ################################################################################
19 # Defines Section - statements that will be processed to create a Makefile.
21 ################################################################################
23 PLATFORM_NAME = Vlv2TbltDevicePkg
24 PLATFORM_GUID = 465B0A0B-7AC1-443b-8F67-7B8DEC145F90
25 PLATFORM_VERSION = 0.1
26 DSC_SPECIFICATION = 0x00010005
29 # Set platform specific package/folder name, same as passed from PREBUILD script.
30 # PLATFORM_PACKAGE would be the same as PLATFORM_NAME as well as package build folder
31 # DEFINE only takes effect at R9 DSC and FDF.
33 DEFINE PLATFORM_PACKAGE = Vlv2TbltDevicePkg
34 DEFINE PLATFORM_RC_PACKAGE = Vlv2DeviceRefCodePkg
35 DEFINE PLATFORM_BINARY_PACKAGE = Vlv2BinaryPkg
36 OUTPUT_DIRECTORY = Build/$(PLATFORM_PACKAGE)
37 SUPPORTED_ARCHITECTURES = IA32|X64
38 BUILD_TARGETS = DEBUG|RELEASE
39 SKUID_IDENTIFIER = DEFAULT
41 DEFINE CPU_ARCH =ValleyView2
42 DEFINE PROJECT_SC_FAMILY =IntelPch
43 DEFINE PROJECT_SC_ROOT =../$(PLATFORM_RC_PACKAGE)/ValleyView2Soc/SouthCluster
44 DEFINE PROJECT_VLV_ROOT =../$(PLATFORM_RC_PACKAGE)/ValleyView2Soc/NorthCluster
46 DEFINE RC_BINARY_RELEASE = TRUE
48 # Platform On/Off features are defined here
51 # Platform Support:: Set only one token except Crestview Hills
54 # ENBDT_PF_ENABLE = TRUE
56 !include $(PLATFORM_PACKAGE)/AutoPlatformCFG.txt
57 !include $(PLATFORM_PACKAGE)/PlatformPkgConfig.dsc
59 !if $(X64_CONFIG) == TRUE
60 DEFINE DXE_ARCHITECTURE = X64
61 DEFINE EDK_DXE_ARCHITECTURE = X64
62 DEFINE UNDI_DXE_ARCHITECTURE = 64
64 DEFINE DXE_ARCHITECTURE = IA32
65 DEFINE EDK_DXE_ARCHITECTURE = Ia32
66 DEFINE UNDI_DXE_ARCHITECTURE = 32
69 FLASH_DEFINITION = $(PLATFORM_PACKAGE)/PlatformPkgGcc.fdf
70 !if $(LFMA_ENABLE) == TRUE
71 FIX_LOAD_TOP_MEMORY_ADDRESS = 0xFFFFFFFFFFFFFFFF
72 DEFINE TOP_MEMORY_ADDRESS = 0xFFFFFFFFFFFFFFFF
74 FIX_LOAD_TOP_MEMORY_ADDRESS = 0x0
75 DEFINE TOP_MEMORY_ADDRESS = 0x0
78 DEFINE PLATFORM_PCIEXPRESS_BASE = 0E0000000
80 DEFINE SEC_ENABLE = FALSE
81 DEFINE SEC_DEBUG_INFO_ENABLE = FALSE
82 DEFINE FTPM_ENABLE = FALSE
84 ################################################################################
86 # SKU Identification section - list of all SKU IDs supported by this
89 ################################################################################
91 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.
93 ################################################################################
95 # Library Class section - list of all Library Classes needed by this Platform.
97 ################################################################################
98 [LibraryClasses.common]
102 PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
103 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
104 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
105 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
106 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
107 DxeSmmDriverEntryPoint|IntelFrameworkPkg/Library/DxeSmmDriverEntryPoint/DxeSmmDriverEntryPoint.inf
112 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
113 !if $(SSE2_ENABLE) == TRUE
114 BaseMemoryLib|MdePkg/Library/BaseMemoryLibSse2/BaseMemoryLibSse2.inf
116 BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
118 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
119 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
120 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
121 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
122 PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
123 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
124 PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
125 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
126 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
127 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
128 !if $(RC_BINARY_RELEASE) == TRUE
129 PchPlatformLib|Vlv2TbltDevicePkg/Library/PchPlatformLib/PchPlatformLib.inf
134 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
135 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
136 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
137 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
138 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
139 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
140 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
141 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
142 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
143 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
144 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
145 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
146 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
147 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
148 GenericBdsLib|$(PLATFORM_PACKAGE)/Override/IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
149 PlatformBdsLib|$(PLATFORM_PACKAGE)/Library/PlatformBdsLib/PlatformBdsLib.inf
150 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
151 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
152 FlashDeviceLib|$(PLATFORM_PACKAGE)/Library/FlashDeviceLib/FlashDeviceLib.inf
156 !if $(S3_ENABLE) == TRUE
157 S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
159 S3BootScriptLib|MdePkg/Library/BaseS3BootScriptLibNull/BaseS3BootScriptLibNull.inf
161 S3IoLib|MdePkg/Library/BaseS3IoLib/BaseS3IoLib.inf
162 S3PciLib|MdePkg/Library/BaseS3PciLib/BaseS3PciLib.inf
167 !if $(USB_ENABLE) == TRUE
168 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
170 !if $(SCSI_ENABLE) == TRUE
171 UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
173 !if $(NETWORK_ENABLE) == TRUE
174 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
175 IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
176 UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
177 TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf
178 DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
180 !if $(S3_ENABLE) == TRUE
181 S3Lib|IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.inf
184 OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
185 !if $(CAPSULE_ENABLE) == TRUE
186 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf
188 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
190 EdkiiSystemCapsuleLib|SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/EdkiiSystemCapsuleLib.inf
191 FmpAuthenticationLib|MdeModulePkg/Library/FmpAuthenticationLibNull/FmpAuthenticationLibNull.inf
192 IniParsingLib|SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.inf
193 PlatformFlashAccessLib|Vlv2TbltDevicePkg/Feature/Capsule/Library/PlatformFlashAccessLib/PlatformFlashAccessLib.inf
194 MicrocodeFlashAccessLib|Vlv2TbltDevicePkg/Feature/Capsule/Library/PlatformFlashAccessLib/PlatformFlashAccessLib.inf
195 LanguageLib|EdkCompatibilityPkg/Compatibility/Library/UefiLanguageLib/UefiLanguageLib.inf
196 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
197 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
198 IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf
199 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
204 MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
205 LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
206 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
211 SmbusLib|$(PLATFORM_PACKAGE)/Library/SmbusLib/SmbusLib.inf
212 SmmLib|$(PLATFORM_PACKAGE)/Library/PchSmmLib/PchSmmLib.inf
217 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
218 ResetSystemLib|$(PLATFORM_PACKAGE)/Library/ResetSystemLib/ResetSystemLib.inf
220 PlatformCmosLib|$(PLATFORM_PACKAGE)/Library/PlatformCmosLib/PlatformCmosLib.inf
225 MonoStatusCodeLib|$(PLATFORM_PACKAGE)/MonoStatusCode/MonoStatusCode.inf
226 !if $(TARGET) == RELEASE
227 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
228 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
230 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
231 SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
234 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
235 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
236 !if $(TPM_ENABLED) == TRUE
237 TpmCommLib|SecurityPkg/Library/TpmCommLib/TpmCommLib.inf
238 Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
239 Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
243 !if $(SOURCE_DEBUG_ENABLE) == TRUE
244 PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
245 DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
246 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
247 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
249 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
250 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
256 !if $(TPM_ENABLED) == TRUE
257 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
258 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
261 BiosIdLib|$(PLATFORM_PACKAGE)/Library/BiosIdLib/BiosIdLib.inf
262 CpuIA32Lib|$(PLATFORM_PACKAGE)/Library/CpuIA32Lib/CpuIA32Lib.inf
264 StallSmmLib|$(PLATFORM_PACKAGE)/Library/StallSmmLib/StallSmmLib.inf
266 !if $(SECURE_BOOT_ENABLE) == TRUE
267 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
268 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
269 PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
270 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
271 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
272 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
274 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
275 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
277 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
278 !if $(RC_BINARY_RELEASE) == TRUE
279 I2cLib|Vlv2TbltDevicePkg/Library/I2CLib/I2CLibNull.inf
281 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
282 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
283 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
284 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
285 !if $(FTPM_ENABLE) == TRUE
286 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
287 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
288 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
290 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
291 TrEEPhysicalPresenceLib|SecurityPkg/Library/DxeTrEEPhysicalPresenceLib/DxeTrEEPhysicalPresenceLib.inf
292 !if $(FTPM_ENABLE) == TRUE
293 TrEEPpVendorLib|SecurityPkg/Library/TrEEPpVendorLibNull/TrEEPpVendorLibNull.inf
297 Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
298 !if $(MINNOW2_FSP_BUILD) == TRUE
299 FspApiLib|IntelFspWrapperPkg/Library/BaseFspApiLib/BaseFspApiLib.inf
300 FspPlatformInfoLib|IntelFspWrapperPkg/Library/BaseFspPlatformInfoLibSample/BaseFspPlatformInfoLibSample.inf
301 FspPlatformSecLib|Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/FspPlatformSecLibVlv2.inf
302 FspHobProcessLib|Vlv2TbltDevicePkg/FspSupport/Library/PeiFspHobProcessLibVlv2/FspHobProcessLibVlv2.inf
305 [LibraryClasses.IA32.SEC]
306 !if $(PERFORMANCE_ENABLE) == TRUE
307 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
309 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
310 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
312 [LibraryClasses.IA32.PEIM, LibraryClasses.IA32.PEI_CORE, LibraryClasses.IA32.SEC]
317 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
318 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
319 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
320 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
321 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
322 MultiPlatformLib|$(PLATFORM_PACKAGE)/Library/MultiPlatformLib/MultiPlatformLib.inf
323 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
326 !if $(PERFORMANCE_ENABLE) == TRUE
327 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
328 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
331 !if $(TARGET) == RELEASE
332 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
333 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
335 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
336 SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
339 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
340 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
341 !if $(SOURCE_DEBUG_ENABLE) == TRUE
342 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
345 !if $(MINNOW2_FSP_BUILD) == TRUE
346 PlatformFspLib|Vlv2TbltDevicePkg/Library/PlatformFspLib/PlatformFspLib.inf
348 !if $(FTPM_ENABLE) == TRUE
349 Tpm2DeviceLib|Vlv2TbltDevicePkg/Library/Tpm2DeviceLibSeCPei/Tpm2DeviceLibSeC.inf
356 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
357 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
358 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
359 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
360 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
362 TcgPhysicalPresenceLib|SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf
363 !if $(TPM_ENABLED) == TRUE
364 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
367 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
368 EfiRegTableLib|$(PLATFORM_PACKAGE)/Library/EfiRegTableLib/EfiRegTableLib.inf
370 !if $(SECURE_BOOT_ENABLE) == TRUE
371 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
374 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
376 [LibraryClasses.X64.DXE_DRIVER]
377 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
378 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
379 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
380 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
381 !if $(PERFORMANCE_ENABLE) == TRUE
382 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
383 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
386 !if $(SOURCE_DEBUG_ENABLE) == TRUE
387 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
390 FlashDeviceLib|$(PLATFORM_PACKAGE)/Library/FlashDeviceLib/FlashDeviceLibDxe.inf
392 [LibraryClasses.X64.DXE_CORE]
393 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
394 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
395 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
396 !if $(PERFORMANCE_ENABLE) == TRUE
397 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
398 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
401 !if $(SOURCE_DEBUG_ENABLE) == TRUE
402 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
405 [LibraryClasses.X64.DXE_SMM_DRIVER]
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
415 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
416 !if $(TARGET) != RELEASE
417 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
420 !if $(SOURCE_DEBUG_ENABLE) == TRUE
421 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
422 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
424 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
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
433 !if $(TPM_ENABLED) == TRUE
434 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
437 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
439 !if $(TARGET) != RELEASE
440 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
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
448 !if $(TPM_ENABLED) == TRUE
449 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
452 !if $(SOURCE_DEBUG_ENABLE) == TRUE
453 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
456 !if $(CAPSULE_ENABLE) == TRUE
457 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf
460 [LibraryClasses.common.UEFI_DRIVER]
461 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
463 !if $(SOURCE_DEBUG_ENABLE) == TRUE
464 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
467 [LibraryClasses.X64.UEFI_APPLICATION]
468 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
470 !if $(SOURCE_DEBUG_ENABLE) == TRUE
471 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
475 ################################################################################
477 # Library Section - list of all EDK/Framework libraries
479 ################################################################################
481 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/BaseLib.inf
482 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseMemoryLib/BaseMemoryLib.inf
483 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePrintLib/BasePrintLib.inf
484 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseDebugLibNull/BaseDebugLibNull.inf
485 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
486 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
487 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciCf8Lib/BasePciCf8Lib.inf
488 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciExpressLib/BasePciExpressLib.inf
489 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciLibCf8/BasePciLibCf8.inf
490 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
491 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
492 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/BasePeCoffLib.inf
493 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/SmmRuntimeDxeReportStatusCodeLib/SmmRuntimeDxeReportStatusCodeLib.inf
494 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiHobLib/PeiHobLib.inf
495 EdkCompatibilityPkg/Foundation/Ppi/EdkPpiLib.inf
496 EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/PeiLib.inf
497 EdkCompatibilityPkg/Compatibility/Library/UefiLanguageLib/UefiLanguageLib.inf
498 EdkCompatibilityPkg/Foundation/Guid/EdkGuidLib.inf
499 EdkCompatibilityPkg/Foundation/Efi/Protocol/EfiProtocolLib.inf
500 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/EfiDriverLib.inf
501 EdkCompatibilityPkg/Foundation/Protocol/EdkProtocolLib.inf
502 EdkCompatibilityPkg/Foundation/Framework/Protocol/EdkFrameworkProtocolLib.inf
504 EdkCompatibilityPkg/Foundation/Efi/Guid/EfiGuidLib.inf
505 EdkCompatibilityPkg/Foundation/Framework/Guid/EdkFrameworkGuidLib.inf
506 EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/EfiCommonLib.inf
507 EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/CpuIA32Lib.inf
508 EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib.inf
509 EdkCompatibilityPkg/Foundation/Framework/Ppi/EdkFrameworkPpiLib.inf
510 EdkCompatibilityPkg/Foundation/Library/Pei/Hob/PeiHobLib.inf
511 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesTablePointerLibMm7/PeiServicesTablePointerLibMm7.inf
512 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
513 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesLib/PeiServicesLib.inf
514 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
515 EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/ArchProtocolLib.inf
517 $(PLATFORM_PACKAGE)/Library/MultiPlatformLib/MultiPlatformLib.inf
520 EdkCompatibilityPkg/Foundation/Efi/Guid/EfiGuidLib.inf
521 EdkCompatibilityPkg/Foundation/Framework/Guid/EdkFrameworkGuidLib.inf
522 EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/EfiCommonLib.inf
523 EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/CpuIA32Lib.inf
524 EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib.inf
525 EdkCompatibilityPkg/Foundation/Framework/Ppi/EdkFrameworkPpiLib.inf
526 EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/ArchProtocolLib.inf
527 EdkCompatibilityPkg/Foundation/Library/Dxe/Hob/HobLib.inf
528 EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/EfiRuntimeLib.inf
529 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/EfiIfrSupportLib.inf
530 EdkCompatibilityPkg/Foundation/Library/Dxe/Print/PrintLib.inf
531 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiScriptLib/EfiScriptLib.inf
532 EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/PrintLib.inf
533 EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Graphics.inf
534 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
535 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeMemoryAllocationLib/DxeMemoryAllocationLib.inf
536 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiLib/UefiLib.inf
537 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeHobLib/DxeHobLib.inf
538 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
539 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
540 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/HiiLib/HiiLib.inf
541 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiDevicePathLib/UefiDevicePathLib.inf
542 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiDriverModelLib/UefiDriverModelLib.inf
543 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeServicesTableLib/DxeServicesTableLib.inf
544 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeRuntimeDriverLib/EdkDxeRuntimeDriverLib.inf
547 ################################################################################
549 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
551 ################################################################################
552 [PcdsFeatureFlag.common]
553 !if $(MINI_BIOS_ENABLE) == FALSE
554 gPlatformModuleTokenSpaceGuid.PcdBdsDispatchAdditionalOprom|TRUE
556 gPlatformModuleTokenSpaceGuid.PcdBdsDispatchAdditionalOprom|FALSE
559 # If PcdDxeIplSwitchToLongMode is TRUE, DxeIpl will load a 64-bit DxeCore and switch to long mode to hand over to DxeCore.
561 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE
563 gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserGrayOutTextStatement|TRUE
565 !if $(CAPSULE_RESET_ENABLE) == TRUE
566 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|TRUE
568 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|FALSE
570 gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport|TRUE
571 gEfiCpuTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE
572 !if $(DATAHUB_STATUS_CODE_ENABLE) == TRUE
573 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseDataHub|TRUE
575 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseDataHub|FALSE
577 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE
578 !if $(TARGET) == RELEASE
579 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
581 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
583 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE
584 !if $(ISA_SERIAL_STATUS_CODE_ENABLE) == TRUE
585 gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseIsaSerial|TRUE
587 gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseIsaSerial|FALSE
589 !if $(USB_SERIAL_STATUS_CODE_ENABLE) == TRUE
590 gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseUsbSerial|TRUE
592 gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseUsbSerial|FALSE
594 !if $(RAM_SERIAL_STATUS_CODE_ENABLE) == TRUE
595 gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseRam|TRUE
597 gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseRam|FALSE
601 ## This PCD specifies whether PS2 keyboard does a extended verification during start.
602 gEfiMdeModulePkgTokenSpaceGuid.PcdPs2KbdExtendedVerification|FALSE
604 ## This PCD specifies whether PS2 mouse does a extended verification during start.
605 gEfiMdeModulePkgTokenSpaceGuid.PcdPs2MouseExtendedVerification|FALSE
607 !if $(VARIABLE_INFO_ENABLE) == TRUE
608 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics|TRUE
610 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics|FALSE
613 gEfiCpuTokenSpaceGuid.PcdCpuSmmBlockStartupThisAp|TRUE
615 !if $(SOURCE_DEBUG_ENABLE)
616 gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmDebug|TRUE
619 [PcdsFixedAtBuild.common]
620 !if $(MINNOW2_FSP_BUILD) == TRUE
621 # $(FLASH_REGION_VLVMICROCODE_BASE)
622 gFspWrapperTokenSpaceGuid.PcdCpuMicrocodePatchAddress|0xFFC00000
623 # $(FLASH_REGION_VLVMICROCODE_SIZE)
624 gFspWrapperTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize|0x00040000
625 gFspWrapperTokenSpaceGuid.PcdFlashMicroCodeOffset|0x60
626 # $(FLASH_AREA_BASE_ADDRESS)
627 gFspWrapperTokenSpaceGuid.PcdFlashCodeCacheAddress|0xFF800000
629 gFspWrapperTokenSpaceGuid.PcdFlashCodeCacheSize|0x00800000
630 # $(FLASH_REGION_FSPBIN_BASE)
631 gFspWrapperTokenSpaceGuid.PcdFlashFvFspBase|0xFFCC0000
634 !if $(PERFORMANCE_ENABLE) == TRUE
635 !if $(MINNOW2_FSP_BUILD) == TRUE
636 # in FSP, when this got used, the memory already is up
637 gEfiCpuTokenSpaceGuid.PcdTemporaryRamBase|0x00080000
639 gEfiCpuTokenSpaceGuid.PcdTemporaryRamBase|0xFEF80000
641 gEfiCpuTokenSpaceGuid.PcdTemporaryRamSize|0x00010000
644 !if $(MINNOW2_FSP_BUILD) == TRUE
645 gEfiCpuTokenSpaceGuid.PcdTemporaryRamBase|0x00080000
647 gEfiCpuTokenSpaceGuid.PcdTemporaryRamBase|0xFEF80000
649 gEfiCpuTokenSpaceGuid.PcdTemporaryRamSize|0x00010000
650 gEfiCpuTokenSpaceGuid.PcdPeiTemporaryRamStackSize|0x3C00
654 !if $(SECURE_BOOT_ENABLE) == TRUE
655 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x22000
657 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x4000
659 gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize|0x00000800
660 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x400
661 gEfiCpuTokenSpaceGuid.PcdCpuIEDRamSize|0x400000
662 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdS3AcpiReservedMemorySize|0x10000
663 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|50
664 gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSupport|FALSE
665 gEfiMdeModulePkgTokenSpaceGuid.PcdAriSupport|FALSE
666 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPpiSupported|128
667 gEfiCpuTokenSpaceGuid.PcdCpuSmmApSyncTimeout|1000
668 !if $(S4_ENABLE) == TRUE
669 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|TRUE
671 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
673 !if $(TARGET) == RELEASE
674 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0
675 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x3
677 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
678 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
680 !if $(PERFORMANCE_ENABLE) == TRUE
681 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0x1
682 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|60
685 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdEbdaReservedMemorySize|0x10000
686 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable|$(TOP_MEMORY_ADDRESS)
687 gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserSubtitleTextColor|0x0
688 gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserFieldTextColor|0x01
689 gEfiCpuTokenSpaceGuid.PcdCpuIEDEnabled|TRUE
690 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBiosVideoCheckVbeEnable|TRUE
691 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBiosVideoCheckVgaEnable|TRUE
693 !if $(SOURCE_DEBUG_ENABLE) == TRUE
694 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
695 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
696 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE
697 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|2
700 [PcdsFixedAtBuild.IA32.PEIM, PcdsFixedAtBuild.IA32.PEI_CORE, PcdsFixedAtBuild.IA32.SEC]
701 !if $(TARGET) == RELEASE
702 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0
703 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x3
705 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E
706 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
709 !if $(RECOVERY_ENABLE)
710 gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryFileName|L"VLV2REC.Cap"
713 [PcdsPatchableInModule.common]
714 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803805c6
715 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0x$(PLATFORM_PCIEXPRESS_BASE)
716 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLegacyBiosCacheLegacyRegion|FALSE
718 ## This PCD specifies whether to use the optimized timing for best PS2 detection performance.
719 # Note this PCD could be set to TRUE for best boot performance and set to FALSE for best device compatibility.
720 gEfiMdeModulePkgTokenSpaceGuid.PcdFastPS2Detection|TRUE
722 #######################################################################################################
724 # Begin of MRC parameters
727 ## Memory Parameter Patchable.
728 # FALSE - MRC Parameters are fixed for MinnowBoard Max<BR>
729 # TRUE - MRC Parameters are patchable by following PCDs<BR>
730 # @Prompt Memory Parameter Patchable.
731 # @ValidList 0x80000001 | 0, 1
732 gVlvRefCodePkgTokenSpaceGuid.PcdMemoryParameterPatchable|FALSE
734 ## Memory Down or DIMM slot.
736 # 1 - Memory Down<BR>
737 # @Prompt Enable Memory Down
738 # @ValidList 0x80000001 | 0, 1
739 gVlvRefCodePkgTokenSpaceGuid.PcdEnableMemoryDown|1
741 ## The speed of DRAM.
747 # @ValidList 0x80000001 | 0, 1, 2, 3
748 gVlvRefCodePkgTokenSpaceGuid.PcdDramSpeed|1
759 # @ValidList 0x80000001 | 0, 1, 2, 3, 4, 5, 6
760 gVlvRefCodePkgTokenSpaceGuid.PcdDramType|1
762 ## Please populate DIMM slot 0 if only one DIMM is supported.
765 # @Prompt DIMM 0 Enable
766 # @ValidList 0x80000001 | 0, 1
767 gVlvRefCodePkgTokenSpaceGuid.PcdEnableDimm0|1
769 ## DIMM 1 has to be identical to DIMM 0.
772 # @Prompt DIMM 1 Enable Type
773 # @ValidList 0x80000001 | 0, 1
774 gVlvRefCodePkgTokenSpaceGuid.PcdEnableDimm1|0
776 ## DRAM device data width.
780 # @Prompt DIMM_DWIDTH
781 # @ValidList 0x80000001 | 0, 1, 2
782 gVlvRefCodePkgTokenSpaceGuid.PcdDimmDataWidth|1
784 ## DRAM device data density.
789 # @Prompt DIMM_Density
790 # @ValidList 0x80000001 | 0, 1, 2, 3
791 gVlvRefCodePkgTokenSpaceGuid.PcdDimmDensity|2
793 ## DRAM device data bus width.
798 # @Prompt DIMM_BusWidth
799 # @ValidList 0x80000001 | 0, 1, 2, 3
800 gVlvRefCodePkgTokenSpaceGuid.PcdDimmBusWidth|3
802 ## Ranks Per DIMM or Sides Per DIMM.
806 # @ValidList 0x80000001 | 0, 1
807 gVlvRefCodePkgTokenSpaceGuid.PcdRankPerDimm|0
811 gVlvRefCodePkgTokenSpaceGuid.PcdTcl|11
813 ## tRP and tRCD in DRAM clk - 5:12.5ns, 6:15ns, etc.
815 gVlvRefCodePkgTokenSpaceGuid.PcdTrpTrcd|11
819 gVlvRefCodePkgTokenSpaceGuid.PcdTwr|12
823 gVlvRefCodePkgTokenSpaceGuid.PcdTwtr|6
827 gVlvRefCodePkgTokenSpaceGuid.PcdTrrd|6
831 gVlvRefCodePkgTokenSpaceGuid.PcdTrtp|6
835 gVlvRefCodePkgTokenSpaceGuid.PcdTfaw|32
838 # End of MRC parameters.
840 ###############################################################################################
842 [PcdsDynamicHii.common.DEFAULT]
843 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|5 # Variable: L"Timeout"
844 gEfiMdePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|L"HwErrRecSupport"|gEfiGlobalVariableGuid|0x0|1 # Variable: L"HwErrRecSupport"
845 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBootState|L"BootState"|gEfiBootStateGuid|0x0|TRUE
847 [PcdsDynamicDefault.common.DEFAULT]
848 gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateDataPtr|0x0
849 !if $(TPM_ENABLED) == TRUE
850 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x7b, 0x3a, 0xcd, 0x72, 0xA5, 0xFE, 0x5e, 0x4f, 0x91, 0x65, 0x4d, 0xd1, 0x21, 0x87, 0xbb, 0x13}
853 ## This PCD defines the video horizontal resolution.
854 # This PCD could be set to 0 then video resolution could be at highest resolution.
855 #gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0
856 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
857 ## This PCD defines the video vertical resolution.
858 # This PCD could be set to 0 then video resolution could be at highest resolution.
859 #gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0
860 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
862 ## This PCD defines the Console output column and the default value is 25 according to UEFI spec.
863 # This PCD could be set to 0 then console output could be at max column and max row.
864 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|31
865 ## This PCD defines the Console output row and the default value is 80 according to UEFI spec.
866 # This PCD could be set to 0 then console output could be at max column and max row.
867 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|100
869 ## The PCD is used to specify the video horizontal resolution of text setup.
870 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|800
871 ## The PCD is used to specify the video vertical resolution of text setup.
872 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|600
873 ## The PCD is used to specify the console output column of text setup.
874 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutColumn|100
875 ## The PCD is used to specify the console output column of text setup.
876 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutRow|31
878 !if $(TPM_ENABLED) == TRUE
879 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy|1
880 gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy|1
883 [PcdsDynamicExDefault.common.DEFAULT]
884 gEfiVLVTokenSpaceGuid.PcdTCSmbaIoBaseAddress|0x1040
885 gEfiVLVTokenSpaceGuid.PcdEmmcManufacturerId|0
886 gEfiVLVTokenSpaceGuid.PcdProductSerialNumber|0
887 gEfiVLVTokenSpaceGuid.PcdMeasuredBootEnable|TRUE
888 gEfiVLVTokenSpaceGuid.PcdFTPMErrorOccur|FALSE
889 gEfiVLVTokenSpaceGuid.PcdFTPMErrorSkip|FALSE
890 gEfiVLVTokenSpaceGuid.PcdFTPMCommand|0
891 gEfiVLVTokenSpaceGuid.PcdFTPMResponse|0
892 gEfiVLVTokenSpaceGuid.PcdFTPMNotRespond|FALSE
893 gEfiVLVTokenSpaceGuid.PcdFTPMStatus|0
894 gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateSmmDataPtr|0
895 gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateDataPtr|0
896 gEfiCpuTokenSpaceGuid.PcdCpuS3DataAddress|0
897 gEfiCpuTokenSpaceGuid.PcdCpuHotPlugDataAddress|0
898 gEfiCpuTokenSpaceGuid.PcdCpuCallbackSignal|0
899 gEfiCpuTokenSpaceGuid.PcdCpuConfigContextBuffer|0
900 gEfiVLVTokenSpaceGuid.PcdCpuLockBoxDataAddress|0
901 gEfiVLVTokenSpaceGuid.PcdCpuSmramCpuDataAddress|0
902 gEfiVLVTokenSpaceGuid.PcdCpuLockBoxSize|0
904 !if $(CAPSULE_ENABLE) || $(RECOVERY_ENABLE)
905 gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareImageDescriptor|{0x0}|VOID*|0x100
906 gEfiMdeModulePkgTokenSpaceGuid.PcdSystemFmpCapsuleImageTypeIdGuid|{0x7b, 0x26, 0x96, 0x40, 0x0a, 0xda, 0xeb, 0x42, 0xb5, 0xeb, 0xfe, 0xf3, 0x1d, 0x20, 0x7c, 0xb4}
907 gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareFileGuid|{0xb2, 0x9e, 0x9c, 0xaf, 0xad, 0x12, 0x3e, 0x4d, 0xa4, 0xd4, 0x96, 0xf6, 0xc9, 0x96, 0x62, 0x15}
912 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/SecCore.inf
914 !if $(MINNOW2_FSP_BUILD) == TRUE
915 IntelFspWrapperPkg/FspWrapperSecCore/FspWrapperSecCore.inf {
916 !if $(TARGET) == DEBUG
919 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
922 Vlv2TbltDevicePkg/FspSupport/BootModePei/BootModePei.inf
923 IntelFspWrapperPkg/FspInitPei/FspInitPei.inf {
924 !if $(TARGET) == DEBUG
926 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
931 !if $(CAPSULE_ENABLE) || $(RECOVERY_ENABLE)
932 # FMP image decriptor
933 Vlv2TbltDevicePkg/Feature/Capsule/SystemFirmwareDescriptor/SystemFirmwareDescriptor.inf {
935 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
939 MdeModulePkg/Core/Pei/PeiMain.inf {
940 !if $(TARGET) == DEBUG
942 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E
944 <PcdsPatchableInModule>
945 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
948 $(PLATFORM_PACKAGE)/MonoStatusCode/MonoStatusCode.inf {
949 !if $(TARGET) == DEBUG
951 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E
954 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/MemoryInit.inf {
955 <PcdsPatchableInModule>
956 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
958 !if $(FTPM_ENABLE)==TRUE
959 *_*_IA32_CC_FLAGS = /D FTPM_ENABLE
963 !if $(RC_BINARY_RELEASE) == TRUE
964 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/SeCUma.inf
967 !if $(FTPM_ENABLE) == TRUE
968 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/fTPMInitPeim.inf
971 !if $(RC_BINARY_RELEASE) == TRUE
972 $(PLATFORM_PACKAGE)/PlatformPei/PlatformPei.inf {
974 *_*_IA32_CC_FLAGS = -DRC_BINARY_RELEASE
975 !if $(TARGET) == DEBUG
977 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E
982 !if $(SOURCE_DEBUG_ENABLE) == TRUE
983 SourceLevelDebugPkg/DebugAgentPei/DebugAgentPei.inf{
985 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
986 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
987 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
988 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
992 !if $(FTPM_ENABLE) == TRUE
993 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/Tpm2DeviceSeCPei.inf
996 !if $(TPM_ENABLED) == TRUE
997 SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf
998 SecurityPkg/Tcg/TcgPei/TcgPei.inf {
1000 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
1001 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
1002 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
1006 $(PLATFORM_PACKAGE)/PlatformInitPei/PlatformInitPei.inf {
1007 <PcdsPatchableInModule>
1008 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803805c6
1010 !if $(TARGET) != RELEASE
1011 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1013 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
1015 $(PLATFORM_PACKAGE)/FvInfoPei/FvInfoPei.inf
1017 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/VlvInitPeim.inf
1018 !if $(PCIESC_ENABLE) == TRUE
1019 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchEarlyInitPeim.inf {
1020 <PcdsPatchableInModule>
1021 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
1024 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchInitPeim.inf
1027 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchSmbusArpDisabled.inf
1028 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchSpiPeim.inf
1029 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PeiSmmAccess.inf
1030 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PeiSmmControl.inf
1031 MdeModulePkg/Universal/PCD/Pei/Pcd.inf
1032 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/CpuPeim.inf
1033 UefiCpuPkg/CpuIoPei/CpuIoPei.inf
1034 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
1035 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/MpS3.inf
1036 EdkCompatibilityPkg/Compatibility/AcpiVariableHobOnSmramReserveHobThunk/AcpiVariableHobOnSmramReserveHobThunk.inf
1037 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PiSmmCommunicationPei.inf
1039 !if $(RECOVERY_ENABLE)
1043 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchUsb.inf
1044 MdeModulePkg/Bus/Pci/EhciPei/EhciPei.inf
1045 MdeModulePkg/Bus/Usb/UsbBusPei/UsbBusPei.inf
1046 MdeModulePkg/Bus/Usb/UsbBotPei/UsbBotPei.inf
1047 FatPkg/FatPei/FatPei.inf
1048 MdeModulePkg/Universal/Disk/CdExpressPei/CdExpressPei.inf
1049 SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.inf {
1051 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibRsa2048Sha256/FmpAuthenticationLibRsa2048Sha256.inf
1052 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
1056 !if $(CAPSULE_ENABLE) == TRUE
1057 MdeModulePkg/Universal/CapsulePei/CapsulePei.inf
1059 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
1061 !if $(LZMA_ENABLE) == TRUE
1062 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
1066 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
1067 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
1069 !if $(FTPM_ENABLE) == TRUE
1070 SecurityPkg/Tcg/TrEEPei/TrEEPei.inf {
1071 <PcdsPatchableInModule>
1072 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
1074 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1075 NULL|SecurityPkg/Library\HashInstanceLibSha1/HashInstanceLibSha1.inf
1076 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
1077 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
1080 !if $(TPM_ENABLED) == TRUE
1081 SecurityPkg/Tcg/TrEEConfig/TrEEConfigPei.inf {
1083 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
1086 !if $(ACPI50_ENABLE) == TRUE
1087 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTablePei/FirmwarePerformancePei.inf{
1089 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
1093 !if $(PERFORMANCE_ENABLE) == TRUE
1094 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
1097 !if $(MINNOW2_FSP_BUILD) == TRUE
1098 IntelFspWrapperPkg/FspNotifyDxe/FspNotifyDxe.inf {
1099 !if $(TARGET) == DEBUG
1100 <PcdsPatchableInModule>
1101 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
1103 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1109 # EDK II Related Platform codes
1111 MdeModulePkg/Core/Dxe/DxeMain.inf {
1112 <PcdsPatchableInModule>
1113 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
1115 !if $(DXE_CRC32_SECTION_ENABLE) == TRUE
1116 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
1118 !if $(LZMA_ENABLE) == TRUE
1119 NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
1121 !if $(TARGET) != RELEASE
1122 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1125 IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/AcpiS3SaveDxe.inf {
1126 <PcdsPatchableInModule>
1127 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
1129 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x27
1131 !if $(TARGET) != RELEASE
1132 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1135 ICC:*_*_*_CC_FLAGS = -D MDEPKG_NDEBUG
1136 GCC:RELEASE_*_*_CC_FLAGS = -D MDEPKG_NDEBUG
1138 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
1140 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
1142 IntelFrameworkModulePkg/Universal/CpuIoDxe/CpuIoDxe.inf
1143 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
1145 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
1146 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf {
1148 !if $(TARGET) != RELEASE
1149 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1153 !if $(CAPSULE_ENABLE) == TRUE
1154 MdeModulePkg/Universal/CapsulePei/CapsuleX64.inf {
1156 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
1157 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
1158 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
1159 !if $(SOURCE_DEBUG_ENABLE) == TRUE
1160 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
1165 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterSmm.inf
1166 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf{
1168 !if $(SECURE_BOOT_ENABLE) == TRUE
1169 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
1171 !if $(USER_IDENTIFICATION_ENABLE)
1172 NULL|SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.inf
1174 !if $(TPM_ENABLED) == TRUE
1175 NULL|SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
1177 !if $(FTPM_ENABLE) == TRUE
1178 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
1181 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/MpCpu.inf
1182 $(PLATFORM_PACKAGE)/Metronome/Metronome.inf
1184 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf{
1186 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
1187 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
1188 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
1189 PlatformBdsLib|$(PLATFORM_PACKAGE)/Library/PlatformBdsLib/PlatformBdsLib.inf
1190 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1191 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
1192 SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
1193 !if $(CAPSULE_ENABLE)
1194 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
1196 FmpAuthenticationLib|MdeModulePkg/Library/FmpAuthenticationLibNull/FmpAuthenticationLibNull.inf
1198 !if $(FTPM_ENABLE) == TRUE
1199 Tpm2DeviceLib|Vlv2TbltDevicePkg/Library/Tpm2DeviceLibSeCDxe/Tpm2DeviceLibSeC.inf
1201 TrEEPhysicalPresenceLib|$(PLATFORM_PACKAGE)/Library/DxeTrEEPhysicalPresenceLibNull/DxeTrEEPhysicalPresenceLibNull.inf
1205 $(PLATFORM_PACKAGE)/UiApp/UiApp.inf
1207 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
1208 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
1209 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
1210 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
1211 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
1213 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
1214 SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
1216 $(PLATFORM_PACKAGE)/FvbRuntimeDxe/FvbSmm.inf
1217 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
1218 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSpiSmm.inf
1219 !if $(SECURE_BOOT_ENABLE) == TRUE
1220 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf {
1222 PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
1225 # Specify GUID gEfiIfrBootMaintenanceGuid, to install Secure Boot Configuration menu
1226 # into Boot Maintenance Manager menu
1228 *_*_*_VFR_FLAGS = -g b2dedc91-d59f-48d2-898a-12490c74a4e0
1231 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf {
1233 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
1236 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
1237 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
1238 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
1240 $(PLATFORM_PACKAGE)/FvbRuntimeDxe/FvbRuntimeDxe.inf
1242 $(PLATFORM_PACKAGE)/PlatformSetupDxe/PlatformSetupDxe.inf
1244 !if $(DATAHUB_ENABLE) == TRUE
1245 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf {
1247 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
1250 IntelFrameworkModulePkg/Universal/StatusCode/DatahubStatusCodeHandlerDxe/DatahubStatusCodeHandlerDxe.inf
1251 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
1252 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchS3SupportDxe.inf
1253 !if $(USE_HPET_TIMER) == TRUE
1254 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
1256 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmartTimer.inf
1258 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmmControl.inf
1260 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSmbusDxe.inf
1261 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/IntelPchLegacyInterrupt.inf
1262 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchReset.inf
1263 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchInitDxe.inf{
1264 <PcdsPatchableInModule>
1265 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
1267 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSmiDispatcher.inf
1269 !if $(PCIESC_ENABLE) == TRUE
1270 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchPcieSmm.inf
1272 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSpiRuntime.inf
1273 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchPolicyInitDxe.inf
1274 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchBiosWriteProtect.inf
1275 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmmAccess.inf
1276 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PciHostBridge.inf
1277 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/VlvInitDxe.inf
1279 IntelFrameworkModulePkg/Universal/LegacyRegionDxe/LegacyRegionDxe.inf
1281 PerformancePkg/Dp_App/Dp.inf {
1283 !if $(PERFORMANCE_ENABLE) == TRUE
1284 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
1285 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
1289 Vlv2TbltDevicePkg/VlvPlatformInitDxe/VlvPlatformInitDxe.inf{
1291 !if $(TARGET) != RELEASE
1292 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1294 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
1297 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/Dptf.inf
1298 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PnpDxe.inf
1300 !if $(SEC_ENABLE) == TRUE
1301 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/HeciDrv.inf {
1302 !if $(SEC_DEBUG_INFO_ENABLE) == TRUE
1304 *_*_X64_CC_FLAGS = /DSEC_DEBUG_INFO=1
1307 *_*_X64_CC_FLAGS = /DSEC_DEBUG_INFO=0
1311 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SeCPolicyInitDxe.inf
1314 !if $(FTPM_ENABLE) == TRUE
1315 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/Tpm2DeviceSeCDxe.inf
1316 SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf
1317 SecurityPkg/Tcg/TrEEDxe/TrEEDxe.inf{
1319 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
1320 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
1321 PcdLib|MdePkg/Library\DxePcdLib/DxePcdLib.inf
1322 Tpm2DeviceLib|Vlv2TbltDevicePkg/Library/Tpm2DeviceLibSeCDxe/Tpm2DeviceLibSeC.inf
1324 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/FtpmSmm.inf
1326 !if $(TPM_ENABLED) == TRUE
1327 SecurityPkg/Tcg/TrEEConfig/TrEEConfigPei.inf {
1329 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
1332 SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {
1334 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
1337 # specify GUID gEfiIfrNotInTPVPageGuid, this page will not
1338 # be showed in TPV page.
1340 *_*_*_VFR_FLAGS = -g e58809f8-fbc1-48e2-883a-a30fdc4b441e
1343 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf {
1345 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
1347 SecurityPkg/Tcg/TcgSmm/TcgSmm.inf
1350 # EDK II Related Platform codes
1352 $(PLATFORM_PACKAGE)/PlatformSmm/PlatformSmm.inf{
1354 !if $(TARGET) != RELEASE
1355 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1357 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
1359 $(PLATFORM_PACKAGE)/PlatformInfoDxe/PlatformInfoDxe.inf
1360 $(PLATFORM_PACKAGE)/PlatformCpuInfoDxe/PlatformCpuInfoDxe.inf
1361 $(PLATFORM_PACKAGE)/PlatformDxe/PlatformDxe.inf
1363 $(PLATFORM_PACKAGE)/PciPlatform/PciPlatform.inf
1364 $(PLATFORM_PACKAGE)/SaveMemoryConfig/SaveMemoryConfig.inf
1365 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PlatformCpuPolicy.inf
1366 $(PLATFORM_PACKAGE)/PpmPolicy/PpmPolicy.inf
1367 $(PLATFORM_PACKAGE)/SmramSaveInfoHandlerSmm/SmramSaveInfoHandlerSmm.inf
1368 !if $(GOP_DRIVER_ENABLE) == TRUE
1369 $(PLATFORM_PACKAGE)/PlatformGopPolicy/PlatformGopPolicy.inf
1377 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
1378 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
1379 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
1380 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
1381 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf
1382 UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf
1383 $(PLATFORM_PACKAGE)/SmmSwDispatch2OnSmmSwDispatchThunk/SmmSwDispatch2OnSmmSwDispatchThunk.inf
1384 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PowerManagement2.inf
1385 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/DigitalThermalSensor.inf
1390 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf {
1391 <PcdsPatchableInModule>
1392 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
1394 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x27
1396 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
1399 $(PLATFORM_PACKAGE)/BootScriptSaveDxe/BootScriptSaveDxe.inf
1400 IntelFrameworkModulePkg/Universal/Acpi/AcpiSupportDxe/AcpiSupportDxe.inf
1401 Vlv2DeviceRefCodePkg/ValleyView2Soc/CPU/PowerManagement/AcpiTables/PowerManagementAcpiTables.inf
1403 $(PLATFORM_RC_PACKAGE)/AcpiTablesPCAT/AcpiTables.inf
1405 $(PLATFORM_PACKAGE)/AcpiPlatform/AcpiPlatform.inf
1410 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
1413 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/ISPDxe.inf
1419 $(PLATFORM_PACKAGE)/Wpce791/Wpce791.inf
1420 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
1421 IntelFrameworkModulePkg/Bus/Isa/IsaIoDxe/IsaIoDxe.inf
1422 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
1423 IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf
1424 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
1428 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/MmcHost.inf
1429 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/MmcMediaDevice.inf
1430 !if $(ACPI50_ENABLE) == TRUE
1431 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf {
1433 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
1435 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerformanceSmm.inf {
1437 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
1444 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
1445 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
1446 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
1447 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
1448 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
1449 FatPkg/EnhancedFatDxe/Fat.inf
1450 !if $(SATA_ENABLE) == TRUE
1451 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SataController.inf
1453 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
1454 !if $(SCSI_ENABLE) == TRUE
1455 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
1456 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
1461 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
1462 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
1463 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
1464 IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf
1465 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
1466 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
1467 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
1468 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
1473 !if $(USB_ENABLE) == TRUE
1474 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
1475 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
1476 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
1477 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
1478 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
1479 MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf
1480 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
1487 EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/FrameworkHiiOnUefiHiiThunk.inf
1488 EdkCompatibilityPkg/Compatibility/LegacyRegion2OnLegacyRegionThunk/LegacyRegion2OnLegacyRegionThunk.inf
1489 EdkCompatibilityPkg/Compatibility/SmmBaseOnSmmBase2Thunk/SmmBaseOnSmmBase2Thunk.inf
1490 EdkCompatibilityPkg/Compatibility/SmmBaseHelper/SmmBaseHelper.inf
1491 EdkCompatibilityPkg/Compatibility/SmmAccess2OnSmmAccessThunk/SmmAccess2OnSmmAccessThunk.inf
1492 EdkCompatibilityPkg/Compatibility/SmmControl2OnSmmControlThunk/SmmControl2OnSmmControlThunk.inf
1493 EdkCompatibilityPkg/Compatibility/FrameworkSmmStatusCodeOnPiSmmStatusCodeThunk/FrameworkSmmStatusCodeOnPiSmmStatusCodeThunk.inf
1494 EdkCompatibilityPkg/Compatibility/FvOnFv2Thunk/FvOnFv2Thunk.inf
1498 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
1499 $(PLATFORM_PACKAGE)/SmBiosMiscDxe/SmBiosMiscDxe.inf
1501 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmbiosMemory.inf
1505 Vlv2MiscBinariesPkg/Microcode/MicrocodeUpdates.inf {
1507 *_*_*_GENFW_FLAGS = -a 0x800 -p 0xFF
1511 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
1514 !if $(NETWORK_ENABLE) == TRUE
1515 !if $(NETWORK_ISCSI_ENABLE) == TRUE
1516 !if $(NETWORK_IP6_ENABLE) == TRUE
1517 NetworkPkg/IScsiDxe/IScsiDxe.inf
1519 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
1522 !if $(NETWORK_VLAN_ENABLE) == TRUE
1523 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
1525 !if $(CSM_ENABLE) == TRUE
1526 IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/Snp16Dxe.inf
1530 !if $(NETWORK_ENABLE) == TRUE
1532 # UEFI network modules
1534 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
1535 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
1537 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
1538 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
1539 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
1540 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
1541 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
1542 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf {
1543 <PcdsPatchableInModule>
1544 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
1546 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
1547 !if $(NETWORK_IP6_ENABLE) == TRUE
1548 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
1549 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
1550 NetworkPkg/IpSecDxe/IpSecDxe.inf
1551 NetworkPkg/TcpDxe/TcpDxe.inf
1552 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
1553 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
1555 !if $(NETWORK_IP6_ENABLE) == TRUE
1556 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
1558 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
1562 Vlv2TbltDevicePkg/Application/FirmwareUpdate/FirmwareUpdate.inf
1564 !if $(CAPSULE_ENABLE) || $(MICOCODE_CAPSULE_ENABLE)
1565 MdeModulePkg/Universal/EsrtDxe/EsrtDxe.inf
1566 MdeModulePkg/Application/CapsuleApp/CapsuleApp.inf
1569 !if $(CAPSULE_ENABLE)
1570 SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareReportDxe.inf {
1572 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1573 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
1574 SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
1575 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
1577 SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareUpdateDxe.inf {
1579 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1580 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
1581 SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
1582 FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
1586 !if $(MICOCODE_CAPSULE_ENABLE)
1587 UefiCpuPkg/Feature/Capsule/MicrocodeUpdateDxe/MicrocodeUpdateDxe.inf {
1589 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1590 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
1591 SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
1597 # Define Build Options both for EDK and EDKII drivers.
1601 # Define token for different Platform
1603 !if $(MINNOW2_FSP_BUILD) == TRUE
1604 DEFINE MINNOW2_FSP_OPTION = -DMINNOW2_FSP_BUILD
1606 DEFINE MINNOW2_FSP_OPTION =
1609 !if $(ENBDT_PF_BUILD) == TRUE
1610 DEFINE ENBDT_PF_ENABLE = -DENBDT_PF_ENABLE=1
1612 DEFINE ENBDT_PF_ENABLE = -DENBDT_PF_ENABLE=0
1616 !if $(CLKGEN_CONFIG_EXTRA_ENABLE) == TRUE
1617 DEFINE CLKGEN_CONFIG_EXTRA_BUILD_OPTION = -DCLKGEN_CONFIG_EXTRA=1
1619 DEFINE CLKGEN_CONFIG_EXTRA_BUILD_OPTION =
1624 !if $(PCIESC_ENABLE) == TRUE
1625 DEFINE PCIESC_SUPPORT_BUILD_OPTION = -DPCIESC_SUPPORT=1
1627 DEFINE PCIESC_SUPPORT_BUILD_OPTION =
1629 !if $(SATA_ENABLE) == TRUE
1630 DEFINE SATA_SUPPORT_BUILD_OPTION = -DSATA_SUPPORT=1
1632 DEFINE SATA_SUPPORT_BUILD_OPTION =
1634 !if $(ENBDT_S3_SUPPORT) == TRUE
1635 DEFINE ENBDT_S3_SUPPORT_OPTIONS = -DNOCS_S3_SUPPORT
1637 DEFINE ENBDT_S3_SUPPORT_OPTIONS =
1640 !if $(X64_CONFIG) == TRUE
1641 DEFINE X64_BUILD_ENABLE = -DX64_BUILD_ENABLE=1
1643 DEFINE X64_BUILD_ENABLE =
1646 !if $(FTPM_ENABLE) == TRUE
1647 DEFINE DSC_FTPM_BUILD_OPTIONS = -DFTPM_ENABLE
1649 DEFINE DSC_FTPM_BUILD_OPTIONS =
1651 !if $(TPM_ENABLED) == TRUE
1652 DEFINE DSC_TPM_BUILD_OPTIONS = -DTPM_ENABLED
1654 DEFINE DSC_TPM_BUILD_OPTIONS =
1658 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)
1659 !if $(PERFORMANCE_ENABLE) == TRUE
1660 DEFINE PDB_BUILD_OPTION = /Zi
1663 GCC:*_*_*_CC_FLAGS = -Wno-missing-braces
1664 !if $(SOURCE_DEBUG_ENABLE) == TRUE
1665 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
1666 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
1667 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
1668 DEFINE SOURCE_LEVEL_DEBUG_BUILD_OPTIONS =
1670 DEFINE SOURCE_LEVEL_DEBUG_BUILD_OPTIONS =
1675 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
1676 # protection of DXE_RUNTIME_DRIVER modules
1678 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
1679 MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096
1680 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
1683 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
1684 # protection of DXE_SMM_DRIVER/SMM_CORE modules
1686 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
1687 MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096
1688 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
1690 [BuildOptions.Common.EDK]
1693 # Define token for different Platform
1695 !if $(ENBDT_PF_BUILD) == TRUE
1696 DEFINE ENBDT_PF_ENABLE = -DENBDT_PF_ENABLE=1
1698 DEFINE ENBDT_PF_ENABLE = -DENBDT_PF_ENABLE=0
1701 !if $(PERFORMANCE_ENABLE) == TRUE
1702 RELEASE_*_*_DLINK_FLAGS = -DEBUG
1705 !if $(S3_ENABLE) == TRUE
1706 DEFINE DSC_S3_BUILD_OPTIONS = -DEFI_S3_RESUME
1708 DEFINE DSC_S3_BUILD_OPTIONS =
1711 !if $(ENBDT_S3_SUPPORT) == TRUE
1712 DEFINE ENBDT_S3_SUPPORT_OPTIONS = -DNOCS_S3_SUPPORT
1714 DEFINE ENBDT_S3_SUPPORT_OPTIONS =
1717 !if $(X64_CONFIG) == TRUE
1718 DEFINE X64_BUILD_ENABLE = -DX64_BUILD_ENABLE=1
1720 DEFINE X64_BUILD_ENABLE =
1724 DEFINE EDK_GLUE_LIB_DEBUG =
1725 DEFINE DEBUG_BUILD_OPTIONS = -D EFI_DEBUG -D DEBUG_MODE=1 /GL- $(EDK_GLUE_LIB_DEBUG) -DEDKII_GLUE_DebugPrintErrorLevel=(EFI_D_ERROR)
1726 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)
1728 DEFINE EDK_DSC_OTHER_BUILD_OPTIONS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS) $(SV_BUILD_OPTIONS) $(INTEL_FASTBOOT_BUILD_OPTION)
1729 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)
1731 *_*_IA32_ASM_FLAGS = -DEFI32 -D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h -DNOCS_S3_SUPPORT
1732 DEBUG_*_IA32_CC_FLAGS = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1733 RELEASE_*_IA32_CC_FLAGS = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1734 DEBUG_*_IA32_VFRPP_FLAGS = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1735 RELEASE_*_IA32_VFRPP_FLAGS = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1736 DEBUG_*_IA32_APP_FLAGS = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1737 RELEASE_*_IA32_APP_FLAGS = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1738 DEBUG_*_IA32_PP_FLAGS = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1739 RELEASE_*_IA32_PP_FLAGS = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1740 *_*_IA32_ASLPP_FLAGS = -D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE)
1741 *_*_IA32_ASLCC_FLAGS = -D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE)
1742 *_*_IA32_ASM16_FLAGS = -D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h
1744 *_*_X64_ASM_FLAGS = -DEFIX64 -D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h -DNOCS_S3_SUPPORT
1745 DEBUG_*_X64_CC_FLAGS = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1746 RELEASE_*_X64_CC_FLAGS = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1747 DEBUG_*_X64_VFRPP_FLAGS = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1748 RELEASE_*_X64_VFRPP_FLAGS = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1749 DEBUG_*_X64_APP_FLAGS = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1750 RELEASE_*_X64_APP_FLAGS = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1751 DEBUG_*_X64_PP_FLAGS = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1752 RELEASE_*_X64_PP_FLAGS = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1753 *_*_X64_ASLPP_FLAGS = -D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE)
1754 *_*_X64_ASLCC_FLAGS = -D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE)
1755 *_*_X64_ASM16_FLAGS = -D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h
1756 # *_*_*_BUILD_FLAGS = -s
1757 *_*_*_VFR_FLAGS = -c
1758 *_*_*_BUILD_FLAGS = -c
1760 [BuildOptions.Common.EDKII]
1761 *_*_IA32_ASM_FLAGS = $(VP_BUILD_OPTIONS) -D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h -DNOCS_S3_SUPPORT
1763 *_*_IA32_CC_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1764 *_*_IA32_VFRPP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1765 *_*_IA32_APP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1766 *_*_IA32_PP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1767 *_*_IA32_ASLPP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1769 *_*_X64_CC_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS) $(SOURCE_LEVEL_DEBUG_BUILD_OPTIONS)
1770 *_*_X64_VFRPP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1771 *_*_X64_APP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1772 *_*_X64_PP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1773 *_*_X64_ASLPP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1777 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SysFwUpdateCapsuleDxe.inf
1779 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/I2cBus.inf {
1780 <PcdsPatchableInModule>
1781 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
1784 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/I2cHost.inf {
1785 <PcdsPatchableInModule>
1786 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
1788 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/I2cPortA0Pio.inf {
1789 <PcdsPatchableInModule>
1790 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x00000043
1793 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/I2cMmioDeviceDxe.inf {
1794 <PcdsPatchableInModule>
1795 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x00000043