]> git.proxmox.com Git - mirror_edk2.git/blame - Vlv2TbltDevicePkg/PlatformPkgIA32.dsc
IntelFrameworkModulePkg/KeyboardDxe: Use PCD defined in MdeModulePkg
[mirror_edk2.git] / Vlv2TbltDevicePkg / PlatformPkgIA32.dsc
CommitLineData
3cbfba02
DW
1#/** @file
2# Platform description.
3#
2530cac6 4# Copyright (c) 2012 - 2016, 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
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)/PlatformPkg.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 = TRUE
81 DEFINE SEC_DEBUG_INFO_ENABLE = TRUE
82 DEFINE FTPM_ENABLE = TRUE
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/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
225 SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.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
c88c267d
SZ
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 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
265 AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
2530cac6 266 FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
c88c267d
SZ
267!else
268 TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
269 AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
270!endif
3b014137 271 VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
3cbfba02
DW
272!if $(RC_BINARY_RELEASE) == TRUE
273 I2cLib|Vlv2TbltDevicePkg/Library/I2CLib/I2CLibNull.inf
274!endif
275 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
276 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
6e4c9170
BC
277 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
278 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
f4e7aa05
TH
279!if $(FTPM_ENABLE) == TRUE
280 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
281 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
282 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
283!endif
3cbfba02
DW
284 TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
285 TrEEPhysicalPresenceLib|SecurityPkg/Library/DxeTrEEPhysicalPresenceLib/DxeTrEEPhysicalPresenceLib.inf
f4e7aa05
TH
286!if $(FTPM_ENABLE) == TRUE
287 TrEEPpVendorLib|SecurityPkg/Library/TrEEPpVendorLibNull/TrEEPpVendorLibNull.inf
288!endif
289
290
3cbfba02
DW
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[LibraryClasses.IA32.SEC]
300!if $(PERFORMANCE_ENABLE) == TRUE
301 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
302!endif
303 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
304 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
305
306[LibraryClasses.IA32.PEIM, LibraryClasses.IA32.PEI_CORE, LibraryClasses.IA32.SEC]
307 #
308 # PEI phase common
309 #
310
311 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
312 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
313 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
314 ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
315 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
316 MultiPlatformLib|$(PLATFORM_PACKAGE)/Library/MultiPlatformLib/MultiPlatformLib.inf
317 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
318
319
320!if $(PERFORMANCE_ENABLE) == TRUE
321 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
734b9393 322 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
3cbfba02
DW
323!endif
324
325!if $(TARGET) == RELEASE
326 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
327 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
328!else
329 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
330 SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
331!endif
332
333 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
334 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
335 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
336 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
337
338 !if $(MINNOW2_FSP_BUILD) == TRUE
339 PlatformFspLib|Vlv2TbltDevicePkg/Library/PlatformFspLib/PlatformFspLib.inf
340 !endif
f4e7aa05
TH
341!if $(FTPM_ENABLE) == TRUE
342 Tpm2DeviceLib|Vlv2TbltDevicePkg/Library/Tpm2DeviceLibSeCPei/Tpm2DeviceLibSeC.inf
343!endif
3cbfba02
DW
344
345[LibraryClasses.IA32]
346 #
347 # DXE phase common
348 #
349 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
350 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
351 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
352 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
353 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
354
355 TcgPhysicalPresenceLib|SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf
356!if $(TPM_ENABLED) == TRUE
357 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
358!endif
359
360 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
361 EfiRegTableLib|$(PLATFORM_PACKAGE)/Library/EfiRegTableLib/EfiRegTableLib.inf
362
363!if $(SECURE_BOOT_ENABLE) == TRUE
364 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
365!endif
366
367 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
368
369[LibraryClasses.IA32.DXE_DRIVER]
370 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
371 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
372 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
373 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
374!if $(PERFORMANCE_ENABLE) == TRUE
375 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
734b9393 376 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
3cbfba02
DW
377!endif
378
379!if $(SOURCE_DEBUG_ENABLE) == TRUE
380 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
381!endif
382
383[LibraryClasses.IA32.DXE_CORE]
384 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
385 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
386 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
387!if $(PERFORMANCE_ENABLE) == TRUE
388 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
734b9393 389 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
3cbfba02
DW
390!endif
391
392!if $(SOURCE_DEBUG_ENABLE) == TRUE
393 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
394!endif
395
396[LibraryClasses.IA32.DXE_SMM_DRIVER]
397 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
398 ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
399 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
400 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
401 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
ebf68603 402 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
3cbfba02
DW
403
404 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
405 !if $(TARGET) != RELEASE
406 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
407 !endif
408
409!if $(SOURCE_DEBUG_ENABLE) == TRUE
410 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
411 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
412!endif
413 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
414
415[LibraryClasses.IA32.SMM_CORE]
416 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
417 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
418 ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
419 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
ebf68603 420 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
3cbfba02
DW
421
422!if $(TPM_ENABLED) == TRUE
423 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
424!endif
425
426 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
427
428!if $(TARGET) != RELEASE
429 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
430!endif
431
432!if $(SOURCE_DEBUG_ENABLE) == TRUE
433 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
434 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
435!endif
436
437[LibraryClasses.IA32.DXE_RUNTIME_DRIVER]
438 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
439!if $(SECURE_BOOT_ENABLE) == TRUE
440 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
441!endif
442!if $(TPM_ENABLED) == TRUE
443 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
444!endif
445
446!if $(SOURCE_DEBUG_ENABLE) == TRUE
447 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
448!endif
449
450[LibraryClasses.common.UEFI_DRIVER]
451 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
452
453!if $(SOURCE_DEBUG_ENABLE) == TRUE
454 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
455!endif
456
457[LibraryClasses.IA32.UEFI_APPLICATION]
458 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
459
460!if $(SOURCE_DEBUG_ENABLE) == TRUE
461 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
462!endif
463
464
465################################################################################
466#
467# Library Section - list of all EDK/Framework libraries
468#
469################################################################################
470[Libraries.common]
471 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/BaseLib.inf
472 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseMemoryLib/BaseMemoryLib.inf
473 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePrintLib/BasePrintLib.inf
474 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseDebugLibNull/BaseDebugLibNull.inf
475 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
476 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
477 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciCf8Lib/BasePciCf8Lib.inf
478 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciExpressLib/BasePciExpressLib.inf
479 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciLibCf8/BasePciLibCf8.inf
480 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
481 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
482 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/BasePeCoffLib.inf
483 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/SmmRuntimeDxeReportStatusCodeLib/SmmRuntimeDxeReportStatusCodeLib.inf
484 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiHobLib/PeiHobLib.inf
485 EdkCompatibilityPkg/Foundation/Ppi/EdkPpiLib.inf
486 EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/PeiLib.inf
487 EdkCompatibilityPkg/Compatibility/Library/UefiLanguageLib/UefiLanguageLib.inf
488 EdkCompatibilityPkg/Foundation/Guid/EdkGuidLib.inf
489 EdkCompatibilityPkg/Foundation/Efi/Protocol/EfiProtocolLib.inf
490 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/EfiDriverLib.inf
491 EdkCompatibilityPkg/Foundation/Protocol/EdkProtocolLib.inf
492 EdkCompatibilityPkg/Foundation/Framework/Protocol/EdkFrameworkProtocolLib.inf
493[Libraries.IA32]
494 EdkCompatibilityPkg/Foundation/Efi/Guid/EfiGuidLib.inf
495 EdkCompatibilityPkg/Foundation/Framework/Guid/EdkFrameworkGuidLib.inf
496 EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/EfiCommonLib.inf
497 EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/CpuIA32Lib.inf
498 EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib.inf
499 EdkCompatibilityPkg/Foundation/Framework/Ppi/EdkFrameworkPpiLib.inf
500 EdkCompatibilityPkg/Foundation/Library/Pei/Hob/PeiHobLib.inf
501 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesTablePointerLibMm7/PeiServicesTablePointerLibMm7.inf
502 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
503 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesLib/PeiServicesLib.inf
504 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
505 EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/ArchProtocolLib.inf
506
507 $(PLATFORM_PACKAGE)/Library/MultiPlatformLib/MultiPlatformLib.inf
508[Libraries.IA32]
509
510 EdkCompatibilityPkg/Foundation/Efi/Guid/EfiGuidLib.inf
511 EdkCompatibilityPkg/Foundation/Framework/Guid/EdkFrameworkGuidLib.inf
512 EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/EfiCommonLib.inf
513 EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/CpuIA32Lib.inf
514 EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib.inf
515 EdkCompatibilityPkg/Foundation/Framework/Ppi/EdkFrameworkPpiLib.inf
516 EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/ArchProtocolLib.inf
517 EdkCompatibilityPkg/Foundation/Library/Dxe/Hob/HobLib.inf
518 EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/EfiRuntimeLib.inf
519 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/EfiIfrSupportLib.inf
520 EdkCompatibilityPkg/Foundation/Library/Dxe/Print/PrintLib.inf
521 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiScriptLib/EfiScriptLib.inf
522 EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/PrintLib.inf
523 EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Graphics.inf
524 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
525 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeMemoryAllocationLib/DxeMemoryAllocationLib.inf
526 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiLib/UefiLib.inf
527 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeHobLib/DxeHobLib.inf
528 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
529 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
530 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/HiiLib/HiiLib.inf
531 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiDevicePathLib/UefiDevicePathLib.inf
532 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiDriverModelLib/UefiDriverModelLib.inf
533 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeServicesTableLib/DxeServicesTableLib.inf
534 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeRuntimeDriverLib/EdkDxeRuntimeDriverLib.inf
535
536
537################################################################################
538#
539# Pcd Section - list of all EDK II PCD Entries defined by this Platform
540#
541################################################################################
542[PcdsFeatureFlag.common]
543!if $(MINI_BIOS_ENABLE) == FALSE
544 gPlatformModuleTokenSpaceGuid.PcdBdsDispatchAdditionalOprom|TRUE
545!else
546 gPlatformModuleTokenSpaceGuid.PcdBdsDispatchAdditionalOprom|FALSE
547!endif
548#
549# If PcdDxeIplSwitchToLongMode is TRUE, DxeIpl will load a 64-bit DxeCore and switch to long mode to hand over to DxeCore.
550#
551 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE
552
553 gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserGrayOutTextStatement|TRUE
554
555!if $(CAPSULE_RESET_ENABLE) == TRUE
556 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|TRUE
557!else
558 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|FALSE
559!endif
560 gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport|TRUE
561 gEfiCpuTokenSpaceGuid.PcdCpuSmmEnableBspElection|FALSE
562!if $(DATAHUB_STATUS_CODE_ENABLE) == TRUE
563 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseDataHub|TRUE
564!else
565 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseDataHub|FALSE
566!endif
567 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE
568!if $(TARGET) == RELEASE
569 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
570!else
571 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
572!endif
573 gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE
574!if $(ISA_SERIAL_STATUS_CODE_ENABLE) == TRUE
575 gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseIsaSerial|TRUE
576!else
577 gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseIsaSerial|FALSE
578!endif
579!if $(USB_SERIAL_STATUS_CODE_ENABLE) == TRUE
580 gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseUsbSerial|TRUE
581!else
582 gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseUsbSerial|FALSE
583!endif
584!if $(RAM_SERIAL_STATUS_CODE_ENABLE) == TRUE
585 gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseRam|TRUE
586!else
587 gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseRam|FALSE
588!endif
589
590
591 ## This PCD specifies whether PS2 keyboard does a extended verification during start.
592 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPs2KbdExtendedVerification|FALSE
593
594 ## This PCD specifies whether PS2 mouse does a extended verification during start.
595 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPs2MouseExtendedVerification|FALSE
596
597!if $(VARIABLE_INFO_ENABLE) == TRUE
598 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics|TRUE
599!else
600 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics|FALSE
601!endif
602
603 gEfiCpuTokenSpaceGuid.PcdCpuSmmBlockStartupThisAp|TRUE
604
605[PcdsFixedAtBuild.common]
606!if $(MINNOW2_FSP_BUILD) == TRUE
607# $(FLASH_REGION_VLVMICROCODE_BASE)
9ea2d901 608 gFspWrapperTokenSpaceGuid.PcdCpuMicrocodePatchAddress|0xFFC00000
3cbfba02 609# $(FLASH_REGION_VLVMICROCODE_SIZE)
9ea2d901 610 gFspWrapperTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize|0x00040000
3cbfba02
DW
611 gFspWrapperTokenSpaceGuid.PcdFlashMicroCodeOffset|0x60
612# $(FLASH_AREA_BASE_ADDRESS)
613 gFspWrapperTokenSpaceGuid.PcdFlashCodeCacheAddress|0xFF800000
614# $(FLASH_AREA_SIZE)
615 gFspWrapperTokenSpaceGuid.PcdFlashCodeCacheSize|0x00800000
616# $(FLASH_REGION_FSPBIN_BASE)
b9459211 617 gFspWrapperTokenSpaceGuid.PcdFlashFvFspBase|0xFFDB0000
3cbfba02
DW
618!endif
619
620!if $(PERFORMANCE_ENABLE) == TRUE
621!if $(MINNOW2_FSP_BUILD) == TRUE
622 # in FSP, when this got used, the memory already is up
623 gEfiCpuTokenSpaceGuid.PcdTemporaryRamBase|0x00080000
624!else
625 gEfiCpuTokenSpaceGuid.PcdTemporaryRamBase|0xFEF80000
626!endif
627 gEfiCpuTokenSpaceGuid.PcdTemporaryRamSize|0x00010000
628
629!else
630 !if $(MINNOW2_FSP_BUILD) == TRUE
631 gEfiCpuTokenSpaceGuid.PcdTemporaryRamBase|0x00080000
632 !else
633 gEfiCpuTokenSpaceGuid.PcdTemporaryRamBase|0xFEF80000
634 !endif
635 gEfiCpuTokenSpaceGuid.PcdTemporaryRamSize|0x00010000
636 gEfiCpuTokenSpaceGuid.PcdPeiTemporaryRamStackSize|0x3C00
637!endif
638
639
640!if $(SECURE_BOOT_ENABLE) == TRUE
641 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x22000
642!else
643 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x4000
644!endif
645 gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize|0x00000800
646 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x400
647 gEfiCpuTokenSpaceGuid.PcdCpuIEDRamSize|0x400000
648 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdS3AcpiReservedMemorySize|0x10000
649 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeimPerFv|50
650 gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSupport|FALSE
651 gEfiMdeModulePkgTokenSpaceGuid.PcdAriSupport|FALSE
652 gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPpiSupported|128
653 gEfiCpuTokenSpaceGuid.PcdCpuSmmApSyncTimeout|1000
654!if $(S4_ENABLE) == TRUE
655 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|TRUE
656!else
657 gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
658!endif
659!if $(TARGET) == RELEASE
660 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0
661 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x3
662!else
663 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
664 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
665!endif
666!if $(PERFORMANCE_ENABLE) == TRUE
667 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0x1
668 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|60
669!endif
670
671 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdEbdaReservedMemorySize|0x10000
672 gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable|$(TOP_MEMORY_ADDRESS)
673 gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserSubtitleTextColor|0x0
674 gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserFieldTextColor|0x01
675 gEfiCpuTokenSpaceGuid.PcdCpuIEDEnabled|TRUE
676 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBiosVideoCheckVbeEnable|TRUE
677 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBiosVideoCheckVgaEnable|TRUE
678
679!if $(SOURCE_DEBUG_ENABLE) == TRUE
680 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
681 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
682 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE
683!endif
684
685[PcdsFixedAtBuild.IA32.PEIM, PcdsFixedAtBuild.IA32.PEI_CORE, PcdsFixedAtBuild.IA32.SEC]
686!if $(TARGET) == RELEASE
687 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0
688 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x3
689!else
690 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E
691 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
692!endif
693
694[PcdsPatchableInModule.common]
695 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803805c6
696 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0x$(PLATFORM_PCIEXPRESS_BASE)
697 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLegacyBiosCacheLegacyRegion|FALSE
698
699 ## This PCD specifies whether to use the optimized timing for best PS2 detection performance.
700 # Note this PCD could be set to TRUE for best boot performance and set to FALSE for best device compatibility.
701 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdFastPS2Detection|TRUE
702
567906c7
DW
703 #######################################################################################################
704 #
705 # Begin of MRC parameters
706 #
707
708 ## Memory Parameter Patchable.
709 # FALSE - MRC Parameters are fixed for MinnowBoard Max<BR>
710 # TRUE - MRC Parameters are patchable by following PCDs<BR>
711 # @Prompt Memory Parameter Patchable.
712 # @ValidList 0x80000001 | 0, 1
713 gVlvRefCodePkgTokenSpaceGuid.PcdMemoryParameterPatchable|FALSE
714
715 ## Memory Down or DIMM slot.
716 # 0 - DIMM<BR>
717 # 1 - Memory Down<BR>
718 # @Prompt Enable Memory Down
719 # @ValidList 0x80000001 | 0, 1
720 gVlvRefCodePkgTokenSpaceGuid.PcdEnableMemoryDown|1
721
722 ## The speed of DRAM.
723 # 0 - 800 MHz<BR>
724 # 1 - 1066 MHz<BR>
725 # 2 - 1333 MHz<BR>
726 # 3 - 1600 MHz<BR>
727 # @Prompt DRAM Speed
728 # @ValidList 0x80000001 | 0, 1, 2, 3
729 gVlvRefCodePkgTokenSpaceGuid.PcdDramSpeed|1
730
731 ## DRAM Type.
732 # 0 - DDR3<BR>
733 # 1 - DDR3L<BR>
734 # 2 - DDR3U<BR>
735 # 3 - DDR3All<BR>
736 # 4 - LPDDR2<BR>
737 # 5 - LPDDR3<BR>
738 # 6 - DDR4<BR>
739 # @Prompt DRAM Type
740 # @ValidList 0x80000001 | 0, 1, 2, 3, 4, 5, 6
741 gVlvRefCodePkgTokenSpaceGuid.PcdDramType|1
742
743 ## Please populate DIMM slot 0 if only one DIMM is supported.
744 # 0 - Disable<BR>
745 # 1 - Enable<BR>
746 # @Prompt DIMM 0 Enable
747 # @ValidList 0x80000001 | 0, 1
748 gVlvRefCodePkgTokenSpaceGuid.PcdEnableDimm0|1
749
750 ## DIMM 1 has to be identical to DIMM 0.
751 # 0 - Disable<BR>
752 # 1 - Enable<BR>
753 # @Prompt DIMM 1 Enable Type
754 # @ValidList 0x80000001 | 0, 1
755 gVlvRefCodePkgTokenSpaceGuid.PcdEnableDimm1|0
756
757 ## DRAM device data width.
758 # 0 - x8<BR>
759 # 1 - x16<BR>
760 # 2 - x32<BR>
761 # @Prompt DIMM_DWIDTH
762 # @ValidList 0x80000001 | 0, 1, 2
763 gVlvRefCodePkgTokenSpaceGuid.PcdDimmDataWidth|1
764
765 ## DRAM device data density.
766 # 0 - 1 Gbit<BR>
767 # 1 - 2 Gbit<BR>
768 # 2 - 4 Gbit<BR>
769 # 3 - 8 Gbit<BR>
770 # @Prompt DIMM_Density
771 # @ValidList 0x80000001 | 0, 1, 2, 3
772 gVlvRefCodePkgTokenSpaceGuid.PcdDimmDensity|2
773
774 ## DRAM device data bus width.
775 # 0 - 8 bits<BR>
776 # 1 - 16 bits<BR>
777 # 2 - 32 bits<BR>
778 # 3 - 64 bits<BR>
779 # @Prompt DIMM_BusWidth
780 # @ValidList 0x80000001 | 0, 1, 2, 3
781 gVlvRefCodePkgTokenSpaceGuid.PcdDimmBusWidth|3
782
783 ## Ranks Per DIMM or Sides Per DIMM.
784 # 0 - 1 Rank<BR>
785 # 1 - 2 Ranks<BR>
786 # @Prompt DIMM_Sides
787 # @ValidList 0x80000001 | 0, 1
788 gVlvRefCodePkgTokenSpaceGuid.PcdRankPerDimm|0
789
790 ## tCL.<BR><BR>
791 # @Prompt tCL
792 gVlvRefCodePkgTokenSpaceGuid.PcdTcl|11
793
794 ## tRP and tRCD in DRAM clk - 5:12.5ns, 6:15ns, etc.
795 # @Prompt tRP_tRCD
796 gVlvRefCodePkgTokenSpaceGuid.PcdTrpTrcd|11
797
798 ## tWR in DRAM clk.
799 # @Prompt tWR
800 gVlvRefCodePkgTokenSpaceGuid.PcdTwr|12
801
802 ## tWTR in DRAM clk.
803 # @Prompt tWTR
804 gVlvRefCodePkgTokenSpaceGuid.PcdTwtr|6
805
806 ## tRRD in DRAM clk.
807 # @Prompt tRRD
808 gVlvRefCodePkgTokenSpaceGuid.PcdTrrd|6
809
810 ## tRTP in DRAM clk.
811 # @Prompt tRTP
812 gVlvRefCodePkgTokenSpaceGuid.PcdTrtp|6
813
814 ## tFAW in DRAM clk.
815 # @Prompt tFAW
816 gVlvRefCodePkgTokenSpaceGuid.PcdTfaw|32
817
818 #
819 # End of MRC parameters.
820 #
821 ###############################################################################################
822
3cbfba02 823[PcdsDynamicHii.common.DEFAULT]
58183d39
RN
824 gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|5 # Variable: L"Timeout"
825 gEfiMdePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|L"HwErrRecSupport"|gEfiGlobalVariableGuid|0x0|1 # Variable: L"HwErrRecSupport"
3cbfba02
DW
826 gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBootState|L"BootState"|gEfiBootStateGuid|0x0|TRUE
827
828[PcdsDynamicDefault.common.DEFAULT]
829 gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateDataPtr|0x0
830 !if $(TPM_ENABLED) == TRUE
831 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x7b, 0x3a, 0xcd, 0x72, 0xA5, 0xFE, 0x5e, 0x4f, 0x91, 0x65, 0x4d, 0xd1, 0x21, 0x87, 0xbb, 0x13}
832 !endif
f4e7aa05
TH
833 !if $(FTPM_ENABLE) == TRUE
834 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x7b, 0x3a, 0xcd, 0x72, 0xA5, 0xFE, 0x5e, 0x4f, 0x91, 0x65, 0x4d, 0xd1, 0x21, 0x87, 0xbb, 0x13}
835 !endif
3cbfba02
DW
836
837 ## This PCD defines the video horizontal resolution.
838 # This PCD could be set to 0 then video resolution could be at highest resolution.
a4d42c22
TH
839 #gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0
840 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
3cbfba02
DW
841 ## This PCD defines the video vertical resolution.
842 # This PCD could be set to 0 then video resolution could be at highest resolution.
a4d42c22
TH
843 #gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0
844 gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
3cbfba02
DW
845
846 ## This PCD defines the Console output column and the default value is 25 according to UEFI spec.
847 # This PCD could be set to 0 then console output could be at max column and max row.
848 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|31
849 ## This PCD defines the Console output row and the default value is 80 according to UEFI spec.
850 # This PCD could be set to 0 then console output could be at max column and max row.
851 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|100
852
853 ## The PCD is used to specify the video horizontal resolution of text setup.
58183d39 854 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|800
3cbfba02 855 ## The PCD is used to specify the video vertical resolution of text setup.
58183d39 856 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|600
3cbfba02 857 ## The PCD is used to specify the console output column of text setup.
58183d39 858 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutColumn|100
3cbfba02 859 ## The PCD is used to specify the console output column of text setup.
58183d39 860 gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutRow|31
3cbfba02
DW
861
862!if $(TPM_ENABLED) == TRUE
863 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy|1
864 gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy|1
865!endif
866
867[PcdsDynamicExDefault.common.DEFAULT]
868 gEfiVLVTokenSpaceGuid.PcdTCSmbaIoBaseAddress|0x1040
869 gEfiVLVTokenSpaceGuid.PcdEmmcManufacturerId|0
870 gEfiVLVTokenSpaceGuid.PcdProductSerialNumber|0
871 gEfiVLVTokenSpaceGuid.PcdMeasuredBootEnable|TRUE
872 gEfiVLVTokenSpaceGuid.PcdFTPMErrorOccur|FALSE
873 gEfiVLVTokenSpaceGuid.PcdFTPMErrorSkip|FALSE
874 gEfiVLVTokenSpaceGuid.PcdFTPMCommand|0
875 gEfiVLVTokenSpaceGuid.PcdFTPMResponse|0
876 gEfiVLVTokenSpaceGuid.PcdFTPMNotRespond|FALSE
877 gEfiVLVTokenSpaceGuid.PcdFTPMStatus|0
359497b7
TH
878 gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateSmmDataPtr|0
879 gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateDataPtr|0
880 gEfiCpuTokenSpaceGuid.PcdCpuS3DataAddress|0
881 gEfiCpuTokenSpaceGuid.PcdCpuHotPlugDataAddress|0
882 gEfiCpuTokenSpaceGuid.PcdCpuCallbackSignal|0
883 gEfiCpuTokenSpaceGuid.PcdCpuConfigContextBuffer|0
e0d42561
SL
884 gEfiVLVTokenSpaceGuid.PcdCpuLockBoxDataAddress|0
885 gEfiVLVTokenSpaceGuid.PcdCpuSmramCpuDataAddress|0
886 gEfiVLVTokenSpaceGuid.PcdCpuLockBoxSize|0
3cbfba02
DW
887
888[Components.IA32]
889
890 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/SecCore.inf
891
892 !if $(MINNOW2_FSP_BUILD) == TRUE
893 IntelFspWrapperPkg/FspWrapperSecCore/FspWrapperSecCore.inf {
894 !if $(TARGET) == DEBUG
895
896 <LibraryClasses>
897 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
898 !endif
899 }
900 Vlv2TbltDevicePkg/FspSupport/BootModePei/BootModePei.inf
901 IntelFspWrapperPkg/FspInitPei/FspInitPei.inf {
902 !if $(TARGET) == DEBUG
903 <LibraryClasses>
904 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
905 !endif
906 }
907 !endif
908
909 MdeModulePkg/Core/Pei/PeiMain.inf {
910!if $(TARGET) == DEBUG
911 <PcdsFixedAtBuild>
912 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E
913!endif
914 <PcdsPatchableInModule>
915 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
916 }
917
918 $(PLATFORM_PACKAGE)/MonoStatusCode/MonoStatusCode.inf {
919!if $(TARGET) == DEBUG
920 <PcdsFixedAtBuild>
921 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E
922!endif
923 }
924 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/MemoryInit.inf {
925 <PcdsPatchableInModule>
926 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
f4e7aa05
TH
927 <BuildOptions>
928 !if $(FTPM_ENABLE)==TRUE
929 *_*_IA32_CC_FLAGS = /D FTPM_ENABLE
930 !endif
3cbfba02
DW
931 }
932
933!if $(RC_BINARY_RELEASE) == TRUE
934 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/SeCUma.inf
935!endif
936
f4e7aa05
TH
937!if $(FTPM_ENABLE) == TRUE
938$(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/fTPMInitPeim.inf
939!endif
940
3cbfba02
DW
941!if $(RC_BINARY_RELEASE) == TRUE
942 $(PLATFORM_PACKAGE)/PlatformPei/PlatformPei.inf {
943 <BuildOptions>
944 *_*_IA32_CC_FLAGS = /DRC_BINARY_RELEASE
945 !if $(TARGET) == DEBUG
946 <PcdsFixedAtBuild>
947 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E
948 !endif
949 }
950!endif
951
952!if $(SOURCE_DEBUG_ENABLE) == TRUE
953 SourceLevelDebugPkg/DebugAgentPei/DebugAgentPei.inf{
954 <LibraryClasses>
955 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
956 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
957 PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
958 SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
959 }
960!endif
961
f4e7aa05
TH
962!if $(FTPM_ENABLE) == TRUE
963 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/Tpm2DeviceSeCPei.inf
964!endif
3cbfba02
DW
965
966!if $(TPM_ENABLED) == TRUE
967 SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf
968 SecurityPkg/Tcg/TcgPei/TcgPei.inf {
969 <LibraryClasses>
970 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
971 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
972 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
973}
974!endif
975
976 $(PLATFORM_PACKAGE)/PlatformInitPei/PlatformInitPei.inf {
977 <PcdsPatchableInModule>
978 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803805c6
979 <LibraryClasses>
980!if $(TARGET) != RELEASE
981 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
982!endif
983 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
984 }
985 $(PLATFORM_PACKAGE)/FvInfoPei/FvInfoPei.inf
986
987 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/VlvInitPeim.inf
988!if $(PCIESC_ENABLE) == TRUE
989 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchEarlyInitPeim.inf {
990 <PcdsPatchableInModule>
991 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
992 }
993!endif
994 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchInitPeim.inf
995
996
997 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchSmbusArpDisabled.inf
998 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchSpiPeim.inf
999 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PeiSmmAccess.inf
1000 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PeiSmmControl.inf
1001 MdeModulePkg/Universal/PCD/Pei/Pcd.inf
1002 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/CpuPeim.inf
1003 UefiCpuPkg/CpuIoPei/CpuIoPei.inf
1004 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
1005 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/MpS3.inf
1006 EdkCompatibilityPkg/Compatibility/AcpiVariableHobOnSmramReserveHobThunk/AcpiVariableHobOnSmramReserveHobThunk.inf
1007 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PiSmmCommunicationPei.inf
1008!if $(CAPSULE_ENABLE) == TRUE
1009 MdeModulePkg/Universal/CapsulePei/CapsulePei.inf
1010!endif
1011 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
1012 <LibraryClasses>
1013!if $(LZMA_ENABLE) == TRUE
1014 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
1015!endif
1016 }
1017
3cbfba02 1018 MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
3cbfba02
DW
1019 MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
1020
f4e7aa05
TH
1021!if $(FTPM_ENABLE) == TRUE
1022 SecurityPkg/Tcg/TrEEPei/TrEEPei.inf {
1023 <PcdsPatchableInModule>
1024 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
1025 <LibraryClasses>
1026 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1027 NULL|SecurityPkg/Library\HashInstanceLibSha1/HashInstanceLibSha1.inf
1028 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
1029 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
1030 }
1031!endif
3cbfba02
DW
1032!if $(TPM_ENABLED) == TRUE
1033 SecurityPkg/Tcg/TrEEConfig/TrEEConfigPei.inf {
1034 <LibraryClasses>
1035 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
1036 }
1037!endif
1038!if $(ACPI50_ENABLE) == TRUE
1039 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTablePei/FirmwarePerformancePei.inf{
1040 <LibraryClasses>
1041 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
1042 }
1043
1044!endif
1045!if $(PERFORMANCE_ENABLE) == TRUE
1046 MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
1047!endif
1048[Components.IA32]
1049 !if $(MINNOW2_FSP_BUILD) == TRUE
1050 IntelFspWrapperPkg/FspNotifyDxe/FspNotifyDxe.inf {
1051 !if $(TARGET) == DEBUG
1052 <PcdsPatchableInModule>
1053 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
1054 <LibraryClasses>
1055 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1056 !endif
1057 }
1058
1059 !endif
1060 #
1061 # EDK II Related Platform codes
1062 #
1063 MdeModulePkg/Core/Dxe/DxeMain.inf {
1064 <PcdsPatchableInModule>
1065 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
1066 <LibraryClasses>
1067!if $(DXE_CRC32_SECTION_ENABLE) == TRUE
1068 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
1069!endif
1070!if $(LZMA_ENABLE) == TRUE
1071 NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
1072!endif
1073!if $(TARGET) != RELEASE
1074 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1075!endif
1076 }
1077 IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/AcpiS3SaveDxe.inf {
1078 <PcdsPatchableInModule>
1079 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
1080 <PcdsFixedAtBuild>
1081 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x27
1082 <LibraryClasses>
1083 !if $(TARGET) != RELEASE
1084 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1085 !endif
1086 <BuildOptions>
1087 ICC:*_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
1088 GCC:*_*_*_CC_FLAGS = -D MDEPKG_NDEBUG
1089 }
1090 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
1091 <LibraryClasses>
1092 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
1093 }
1094 IntelFrameworkModulePkg/Universal/CpuIoDxe/CpuIoDxe.inf
1095 UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
734b9393 1096
3cbfba02
DW
1097 MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
1098 MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf {
1099 <LibraryClasses>
1100!if $(TARGET) != RELEASE
1101 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1102!endif
1103 }
1104
3cbfba02
DW
1105 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterSmm.inf
1106 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf{
1107 <LibraryClasses>
1108!if $(SECURE_BOOT_ENABLE) == TRUE
1109 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
1110!endif
1111!if $(USER_IDENTIFICATION_ENABLE)
1112 NULL|SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.inf
1113!endif
1114!if $(TPM_ENABLED) == TRUE
1115 NULL|SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
f4e7aa05
TH
1116!endif
1117!if $(FTPM_ENABLE) == TRUE
1118 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
3cbfba02
DW
1119!endif
1120 }
1121 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/MpCpu.inf
1122 $(PLATFORM_PACKAGE)/Metronome/Metronome.inf
1123
1124 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf{
1125 <LibraryClasses>
1126 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
1127 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
1128 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
1129 PlatformBdsLib|$(PLATFORM_PACKAGE)/Library/PlatformBdsLib/PlatformBdsLib.inf
1130 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1131 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
1132 SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
f4e7aa05
TH
1133 !if $(FTPM_ENABLE) == TRUE
1134 Tpm2DeviceLib|Vlv2TbltDevicePkg/Library/Tpm2DeviceLibSeCDxe/Tpm2DeviceLibSeC.inf
1135 !else
1136 TrEEPhysicalPresenceLib|$(PLATFORM_PACKAGE)/Library/DxeTrEEPhysicalPresenceLibNull/DxeTrEEPhysicalPresenceLibNull.inf
1137 !endif
3cbfba02
DW
1138 }
1139
1140 $(PLATFORM_PACKAGE)/UiApp/UiApp.inf
1141
1142 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
1143 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
1144 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
0b8c5cd4
SZ
1145 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
1146 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
3cbfba02 1147 <LibraryClasses>
b5817491 1148 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
3cbfba02
DW
1149 SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
1150 }
1151 $(PLATFORM_PACKAGE)/FvbRuntimeDxe/FvbSmm.inf
1152 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
1153 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSpiSmm.inf
0b8c5cd4 1154!if $(SECURE_BOOT_ENABLE) == TRUE
3cbfba02
DW
1155 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf {
1156 <LibraryClasses>
1157 PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
1158 <BuildOptions>
1159 #
1160 # Specify GUID gEfiIfrBootMaintenanceGuid, to install Secure Boot Configuration menu
1161 # into Boot Maintenance Manager menu
1162 #
1163 *_*_*_VFR_FLAGS = -g b2dedc91-d59f-48d2-898a-12490c74a4e0
1164 }
3cbfba02
DW
1165!endif
1166 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf {
1167 <LibraryClasses>
6e4c9170 1168 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
3cbfba02
DW
1169 }
1170
1171 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
1172 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
1173 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
1174
1175 $(PLATFORM_PACKAGE)/FvbRuntimeDxe/FvbRuntimeDxe.inf
1176
1177 $(PLATFORM_PACKAGE)/PlatformSetupDxe/PlatformSetupDxe.inf
1178
1179!if $(DATAHUB_ENABLE) == TRUE
1180 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf {
1181 <PcdsFixedAtBuild>
1182 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
1183 }
1184!endif
1185 IntelFrameworkModulePkg/Universal/StatusCode/DatahubStatusCodeHandlerDxe/DatahubStatusCodeHandlerDxe.inf
1186 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
1187 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchS3SupportDxe.inf
1188 !if $(USE_HPET_TIMER) == TRUE
1189 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
1190 !else
1191 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmartTimer.inf
1192 !endif
1193 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmmControl.inf
1194
1195 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSmbusDxe.inf
1196 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/IntelPchLegacyInterrupt.inf
1197 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchReset.inf
1198 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchInitDxe.inf{
1199 <PcdsPatchableInModule>
1200 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
1201 }
1202 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSmiDispatcher.inf
1203
1204!if $(PCIESC_ENABLE) == TRUE
1205 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchPcieSmm.inf
1206!endif
1207 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSpiRuntime.inf
1208 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchPolicyInitDxe.inf
1209 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchBiosWriteProtect.inf
1210 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmmAccess.inf
1211 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PciHostBridge.inf
1212 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/VlvInitDxe.inf
1213
1214 IntelFrameworkModulePkg/Universal/LegacyRegionDxe/LegacyRegionDxe.inf
734b9393
MG
1215
1216 PerformancePkg/Dp_App/Dp.inf {
1217 <LibraryClasses>
1218 !if $(PERFORMANCE_ENABLE) == TRUE
1219 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
1220 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
1221 !endif
1222 }
3cbfba02
DW
1223
1224 Vlv2TbltDevicePkg/VlvPlatformInitDxe/VlvPlatformInitDxe.inf{
1225 <LibraryClasses>
1226!if $(TARGET) != RELEASE
1227 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1228!endif
1229 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
1230 }
1231
1232 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/Dptf.inf
1233 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PnpDxe.inf
1234
f4e7aa05
TH
1235!if $(SEC_ENABLE) == TRUE
1236 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/HeciDrv.inf {
1237!if $(SEC_DEBUG_INFO_ENABLE) == TRUE
1238 <BuildOptions>
1239 *_*_X64_CC_FLAGS = /DSEC_DEBUG_INFO=1
1240!else
1241 <BuildOptions>
1242 *_*_X64_CC_FLAGS = /DSEC_DEBUG_INFO=0
1243!endif
1244 }
1245
1246 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SeCPolicyInitDxe.inf
1247!endif
1248
1249!if $(FTPM_ENABLE) == TRUE
1250 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/Tpm2DeviceSeCDxe.inf
1251 SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf
1252 SecurityPkg/Tcg/TrEEDxe/TrEEDxe.inf{
1253 <LibraryClasses>
1254 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
1255 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
1256 PcdLib|MdePkg/Library\DxePcdLib/DxePcdLib.inf
1257 Tpm2DeviceLib|Vlv2TbltDevicePkg/Library/Tpm2DeviceLibSeCDxe/Tpm2DeviceLibSeC.inf
1258 }
1259 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/FtpmSmm.inf
1260!endif
3cbfba02
DW
1261!if $(TPM_ENABLED) == TRUE
1262 SecurityPkg/Tcg/TrEEConfig/TrEEConfigPei.inf {
1263 <LibraryClasses>
1264 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
1265 }
1266
1267 SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {
1268 <LibraryClasses>
1269 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
1270 <BuildOptions>
1271 #
1272 # specify GUID gEfiIfrNotInTPVPageGuid, this page will not
1273 # be showed in TPV page.
1274 #
1275 *_*_*_VFR_FLAGS = -g e58809f8-fbc1-48e2-883a-a30fdc4b441e
1276 }
1277
1278 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf {
1279 <LibraryClasses>
1280 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
1281 }
1282 SecurityPkg/Tcg/TcgSmm/TcgSmm.inf
1283!endif
1284 #
1285 # EDK II Related Platform codes
1286 #
1287 $(PLATFORM_PACKAGE)/PlatformSmm/PlatformSmm.inf{
1288 <LibraryClasses>
1289 !if $(TARGET) != RELEASE
1290 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1291 !endif
1292 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
1293 }
1294 $(PLATFORM_PACKAGE)/PlatformInfoDxe/PlatformInfoDxe.inf
1295 $(PLATFORM_PACKAGE)/PlatformCpuInfoDxe/PlatformCpuInfoDxe.inf
1296 $(PLATFORM_PACKAGE)/PlatformDxe/PlatformDxe.inf
1297
1298 $(PLATFORM_PACKAGE)/PciPlatform/PciPlatform.inf
1299 $(PLATFORM_PACKAGE)/SaveMemoryConfig/SaveMemoryConfig.inf
1300 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PlatformCpuPolicy.inf
1301 $(PLATFORM_PACKAGE)/PpmPolicy/PpmPolicy.inf
1302 $(PLATFORM_PACKAGE)/SmramSaveInfoHandlerSmm/SmramSaveInfoHandlerSmm.inf
1303!if $(GOP_DRIVER_ENABLE) == TRUE
1304 $(PLATFORM_PACKAGE)/PlatformGopPolicy/PlatformGopPolicy.inf
1305
1306!endif
1307
1308
1309 #
1310 # SMM
1311 #
1312 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
1313 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
1314 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PiSmmCpuDxeSmm.inf
1315 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
1316 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf
1317 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PiSmmCommunicationSmm.inf
1318 $(PLATFORM_PACKAGE)/SmmSwDispatch2OnSmmSwDispatchThunk/SmmSwDispatch2OnSmmSwDispatchThunk.inf
1319 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PowerManagement2.inf
0ad3c505 1320 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/DigitalThermalSensor.inf
3cbfba02
DW
1321
1322 #
1323 # ACPI
1324 #
1325 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf {
1326 <PcdsPatchableInModule>
1327 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
1328 <PcdsFixedAtBuild>
1329 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x27
1330 <LibraryClasses>
1331 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
1332 }
1333
1334 $(PLATFORM_PACKAGE)/BootScriptSaveDxe/BootScriptSaveDxe.inf
1335 IntelFrameworkModulePkg/Universal/Acpi/AcpiSupportDxe/AcpiSupportDxe.inf
1336 Vlv2DeviceRefCodePkg/ValleyView2Soc/CPU/PowerManagement/AcpiTables/PowerManagementAcpiTables.inf
1337
1338 $(PLATFORM_RC_PACKAGE)/AcpiTablesPCAT/AcpiTables.inf
1339
1340 $(PLATFORM_PACKAGE)/AcpiPlatform/AcpiPlatform.inf
1341
1342 #
1343 # PCI
1344 #
1345 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
1346
1347
1348 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/ISPDxe.inf
1349
1350
1351#
1352# ISA
1353#
1354 $(PLATFORM_PACKAGE)/Wpce791/Wpce791.inf
1355 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
1356 IntelFrameworkModulePkg/Bus/Isa/IsaIoDxe/IsaIoDxe.inf
1357 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
1358 IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf
1359 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
1360#
1361# SDIO
1362#
1363 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/MmcHost.inf
1364 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/MmcMediaDevice.inf
1365!if $(ACPI50_ENABLE) == TRUE
1366 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf {
1367 <LibraryClasses>
1368 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
1369 }
1370 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerformanceSmm.inf {
1371 <LibraryClasses>
1372 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
1373 }
1374!endif
1375
1376#
1377# IDE/SCSI/AHCI
1378#
1379 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
1380 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
1381 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
1382 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
1383 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
1384!if $(SATA_ENABLE) == TRUE
1385 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SataController.inf
1386!endif
1387 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
1388!if $(SCSI_ENABLE) == TRUE
1389 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
1390 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
1391!endif
1392#
1393# Console
1394#
1395 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
c7d161de 1396 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
3cbfba02
DW
1397 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
1398 IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf
1399 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
1400 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
1401 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
1402 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
1403
1404 #
1405 # USB
1406 #
1407!if $(USB_ENABLE) == TRUE
1408 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
1409 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
1410 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
1411 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
1412 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
1413 MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf
1414 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
1415
1416!endif
1417
1418 #
1419 # ECP
1420 #
1421 EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/FrameworkHiiOnUefiHiiThunk.inf
1422 EdkCompatibilityPkg/Compatibility/LegacyRegion2OnLegacyRegionThunk/LegacyRegion2OnLegacyRegionThunk.inf
1423 EdkCompatibilityPkg/Compatibility/SmmBaseOnSmmBase2Thunk/SmmBaseOnSmmBase2Thunk.inf
1424 EdkCompatibilityPkg/Compatibility/SmmBaseHelper/SmmBaseHelper.inf
1425 EdkCompatibilityPkg/Compatibility/SmmAccess2OnSmmAccessThunk/SmmAccess2OnSmmAccessThunk.inf
1426 EdkCompatibilityPkg/Compatibility/SmmControl2OnSmmControlThunk/SmmControl2OnSmmControlThunk.inf
1427 EdkCompatibilityPkg/Compatibility/FrameworkSmmStatusCodeOnPiSmmStatusCodeThunk/FrameworkSmmStatusCodeOnPiSmmStatusCodeThunk.inf
1428 EdkCompatibilityPkg/Compatibility/FvOnFv2Thunk/FvOnFv2Thunk.inf
1429 #
1430 # SMBIOS
1431 #
1432 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
1433 $(PLATFORM_PACKAGE)/SmBiosMiscDxe/SmBiosMiscDxe.inf
1434
1435 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmbiosMemory.inf
1436 #
1437 # CPU/FW Microde
1438 #
1439 Vlv2MiscBinariesPkg/Microcode/MicrocodeUpdates.inf {
1440 <BuildOptions>
1441 *_*_*_GENFW_FLAGS = -a 0x800 -p 0xFF
1442 }
1443
1444
1445 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
1446
1447
1448!if $(NETWORK_ENABLE) == TRUE
1449 !if $(NETWORK_ISCSI_ENABLE) == TRUE
1450 !if $(NETWORK_IP6_ENABLE) == TRUE
1451 NetworkPkg/IScsiDxe/IScsiDxe.inf
1452 !else
1453 MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
1454 !endif
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
3cbfba02
DW
1474 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
1475 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
1476 MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf {
1477 <PcdsPatchableInModule>
1478 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
1479 }
1480 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
1481 !if $(NETWORK_IP6_ENABLE) == TRUE
1482 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
1483 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
1484 NetworkPkg/IpSecDxe/IpSecDxe.inf
1485 NetworkPkg/TcpDxe/TcpDxe.inf
1486 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
1487 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
1488 !endif
1489 !if $(NETWORK_IP6_ENABLE) == TRUE
1490 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
1491 !else
1492 MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
1493 !endif
1494!endif
1495
1496 Vlv2TbltDevicePkg/Application/FirmwareUpdate/FirmwareUpdate.inf
1497
1498[BuildOptions]
1499#
1500# Define Build Options both for EDK and EDKII drivers.
1501#
1502
1503#
1504# Define token for different Platform
1505#
1506!if $(MINNOW2_FSP_BUILD) == TRUE
1507 DEFINE MINNOW2_FSP_OPTION = /DMINNOW2_FSP_BUILD
1508!else
1509 DEFINE MINNOW2_FSP_OPTION =
1510!endif
1511
1512!if $(ENBDT_PF_BUILD) == TRUE
1513 DEFINE ENBDT_PF_ENABLE = /DENBDT_PF_ENABLE=1
1514!else
1515 DEFINE ENBDT_PF_ENABLE = /DENBDT_PF_ENABLE=0
1516!endif
1517
1518
1519!if $(CLKGEN_CONFIG_EXTRA_ENABLE) == TRUE
1520 DEFINE CLKGEN_CONFIG_EXTRA_BUILD_OPTION = /DCLKGEN_CONFIG_EXTRA=1
1521!else
1522 DEFINE CLKGEN_CONFIG_EXTRA_BUILD_OPTION =
1523!endif
1524
1525
1526
1527!if $(PCIESC_ENABLE) == TRUE
1528 DEFINE PCIESC_SUPPORT_BUILD_OPTION = /DPCIESC_SUPPORT=1
1529!else
1530 DEFINE PCIESC_SUPPORT_BUILD_OPTION =
1531!endif
1532!if $(SATA_ENABLE) == TRUE
1533 DEFINE SATA_SUPPORT_BUILD_OPTION = /DSATA_SUPPORT=1
1534!else
1535 DEFINE SATA_SUPPORT_BUILD_OPTION =
1536!endif
1537!if $(ENBDT_S3_SUPPORT) == TRUE
1538 DEFINE ENBDT_S3_SUPPORT_OPTIONS = /DNOCS_S3_SUPPORT
1539!else
1540 DEFINE ENBDT_S3_SUPPORT_OPTIONS =
1541!endif
1542
1543!if $(X64_CONFIG) == TRUE
1544 DEFINE X64_BUILD_ENABLE = /DX64_BUILD_ENABLE=1
1545!else
1546 DEFINE X64_BUILD_ENABLE =
1547!endif
1548
f4e7aa05
TH
1549!if $(FTPM_ENABLE) == TRUE
1550 DEFINE DSC_FTPM_BUILD_OPTIONS = /DFTPM_ENABLE
1551!else
1552 DEFINE DSC_FTPM_BUILD_OPTIONS =
1553!endif
3cbfba02
DW
1554!if $(TPM_ENABLED) == TRUE
1555 DEFINE DSC_TPM_BUILD_OPTIONS = /DTPM_ENABLED
1556!else
1557 DEFINE DSC_TPM_BUILD_OPTIONS =
1558!endif
1559
1560
f4e7aa05 1561 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
1562!if $(PERFORMANCE_ENABLE) == TRUE
1563 DEFINE PDB_BUILD_OPTION = /Zi
1564!endif
1565
1566!if $(SOURCE_DEBUG_ENABLE) == TRUE
1567 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
1568 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
1569 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
1570!if $(TARGET) == DEBUG
1571 DEFINE SOURCE_LEVEL_DEBUG_BUILD_OPTIONS = /Od /Oy-
1572!endif
1573!else
1574 DEFINE SOURCE_LEVEL_DEBUG_BUILD_OPTIONS =
1575
1576!endif
1577
1578[BuildOptions.Common.EDK]
1579
1580#
1581# Define token for different Platform
1582#
1583!if $(ENBDT_PF_BUILD) == TRUE
1584 DEFINE ENBDT_PF_ENABLE = /DENBDT_PF_ENABLE=1
1585!else
1586 DEFINE ENBDT_PF_ENABLE = /DENBDT_PF_ENABLE=0
1587!endif
1588
1589!if $(PERFORMANCE_ENABLE) == TRUE
1590 RELEASE_*_*_DLINK_FLAGS = /DEBUG
1591!endif
1592
1593!if $(S3_ENABLE) == TRUE
1594 DEFINE DSC_S3_BUILD_OPTIONS = /DEFI_S3_RESUME
1595!else
1596 DEFINE DSC_S3_BUILD_OPTIONS =
1597!endif
1598
1599!if $(ENBDT_S3_SUPPORT) == TRUE
1600 DEFINE ENBDT_S3_SUPPORT_OPTIONS = /DNOCS_S3_SUPPORT
1601!else
1602 DEFINE ENBDT_S3_SUPPORT_OPTIONS =
1603!endif
1604
1605!if $(X64_CONFIG) == TRUE
1606 DEFINE X64_BUILD_ENABLE = /DX64_BUILD_ENABLE=1
1607!else
1608 DEFINE X64_BUILD_ENABLE =
1609!endif
1610
1611
1612 DEFINE EDK_GLUE_LIB_DEBUG =
1613 DEFINE DEBUG_BUILD_OPTIONS = /D EFI_DEBUG /D DEBUG_MODE=1 /GL- $(EDK_GLUE_LIB_DEBUG) /DEDKII_GLUE_DebugPrintErrorLevel=(EFI_D_ERROR)
1614 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)
1615
1616 DEFINE EDK_DSC_OTHER_BUILD_OPTIONS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS) $(SV_BUILD_OPTIONS) $(INTEL_FASTBOOT_BUILD_OPTION)
1617 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)
1618
1619 *_*_IA32_ASM_FLAGS = /DEFI32 /D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h /DNOCS_S3_SUPPORT
1620 DEBUG_*_IA32_CC_FLAGS = /D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1621 RELEASE_*_IA32_CC_FLAGS = /D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1622 DEBUG_*_IA32_VFRPP_FLAGS = /D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1623 RELEASE_*_IA32_VFRPP_FLAGS = /D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1624 DEBUG_*_IA32_APP_FLAGS = /D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1625 RELEASE_*_IA32_APP_FLAGS = /D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1626 DEBUG_*_IA32_PP_FLAGS = /D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1627 RELEASE_*_IA32_PP_FLAGS = /D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1628 *_*_IA32_ASLPP_FLAGS = /D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE)
1629 *_*_IA32_ASLCC_FLAGS = /D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE)
1630 *_*_IA32_ASM16_FLAGS = /D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h
1631
1632 *_*_X64_ASM_FLAGS = /DEFIX64 /D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h /DNOCS_S3_SUPPORT
1633 DEBUG_*_X64_CC_FLAGS = /D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1634 RELEASE_*_X64_CC_FLAGS = /D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1635 DEBUG_*_X64_VFRPP_FLAGS = /D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1636 RELEASE_*_X64_VFRPP_FLAGS = /D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1637 DEBUG_*_X64_APP_FLAGS = /D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1638 RELEASE_*_X64_APP_FLAGS = /D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1639 DEBUG_*_X64_PP_FLAGS = /D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1640 RELEASE_*_X64_PP_FLAGS = /D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1641 *_*_X64_ASLPP_FLAGS = /D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE)
1642 *_*_X64_ASLCC_FLAGS = /D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE)
1643 *_*_X64_ASM16_FLAGS = /D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h
1644 # *_*_*_BUILD_FLAGS = -s
1645 *_*_*_VFR_FLAGS = -c
1646 *_*_*_BUILD_FLAGS = -c
1647
1648[BuildOptions.Common.EDKII]
1649 *_*_IA32_ASM_FLAGS = $(VP_BUILD_OPTIONS) /D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h /DNOCS_S3_SUPPORT
1650
1651 *_*_IA32_CC_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1652 *_*_IA32_VFRPP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1653 *_*_IA32_APP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1654 *_*_IA32_PP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1655 *_*_IA32_ASLPP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1656
1657 *_*_X64_CC_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS) $(SOURCE_LEVEL_DEBUG_BUILD_OPTIONS)
1658 *_*_X64_VFRPP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1659 *_*_X64_APP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1660 *_*_X64_PP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1661 *_*_X64_ASLPP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1662
1663
1664[Components.IA32]
1665 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SysFwUpdateCapsuleDxe.inf
1666
1667 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/I2cBus.inf {
1668 <PcdsPatchableInModule>
1669 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
1670 }
1671
1672 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/I2cHost.inf {
1673 <PcdsPatchableInModule>
1674 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
1675 }
1676 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/I2cPortA0Pio.inf {
1677 <PcdsPatchableInModule>
1678 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x00000043
1679 }
1680
1681 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/I2cMmioDeviceDxe.inf {
1682 <PcdsPatchableInModule>
1683 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x00000043
1684 }