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