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