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