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