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