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