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