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