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