]> git.proxmox.com Git - mirror_edk2.git/blob - Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc
Vlv2TbltDevicePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / Vlv2TbltDevicePkg / PlatformPkgGccX64.dsc
1 #/** @file
2 # Platform description.
3 #
4 # Copyright (c) 2012 - 2018, Intel Corporation. All rights reserved.<BR>
5 #
6 # 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 = Vlv2BinaryPkg
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)/PlatformPkgGcc.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 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
321
322 !if $(PERFORMANCE_ENABLE) == TRUE
323 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
324 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
325 !endif
326
327 !if $(TARGET) == RELEASE
328 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
329 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
330 !else
331 DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
332 SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
333 !endif
334
335 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
336 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
337 !if $(SOURCE_DEBUG_ENABLE) == TRUE
338 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
339 !endif
340
341 !if $(MINNOW2_FSP_BUILD) == TRUE
342 PlatformFspLib|Vlv2TbltDevicePkg/Library/PlatformFspLib/PlatformFspLib.inf
343 !endif
344 !if $(FTPM_ENABLE) == TRUE
345 Tpm2DeviceLib|Vlv2TbltDevicePkg/Library/Tpm2DeviceLibSeCPei/Tpm2DeviceLibSeC.inf
346 !endif
347
348 [LibraryClasses.X64]
349 #
350 # DXE phase common
351 #
352 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
353 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
354 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
355 ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
356 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
357
358 TcgPhysicalPresenceLib|SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf
359 !if $(TPM_ENABLED) == TRUE
360 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
361 !endif
362
363 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
364 EfiRegTableLib|$(PLATFORM_PACKAGE)/Library/EfiRegTableLib/EfiRegTableLib.inf
365
366 !if $(SECURE_BOOT_ENABLE) == TRUE
367 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
368 !endif
369
370 HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
371
372 [LibraryClasses.X64.DXE_DRIVER]
373 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
374 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
375 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
376 CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
377 !if $(PERFORMANCE_ENABLE) == TRUE
378 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
379 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
380 !endif
381
382 !if $(SOURCE_DEBUG_ENABLE) == TRUE
383 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
384 !endif
385
386 FlashDeviceLib|$(PLATFORM_PACKAGE)/Library/FlashDeviceLib/FlashDeviceLibDxe.inf
387
388 [LibraryClasses.X64.DXE_CORE]
389 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
390 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
391 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
392 !if $(PERFORMANCE_ENABLE) == TRUE
393 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
394 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
395 !endif
396
397 !if $(SOURCE_DEBUG_ENABLE) == TRUE
398 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
399 !endif
400
401 [LibraryClasses.X64.DXE_SMM_DRIVER]
402 MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
403 SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
404 ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
405 MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
406 LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
407 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
408 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
409 SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
410 SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
411
412 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
413 !if $(TARGET) != RELEASE
414 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
415 !endif
416
417 !if $(SOURCE_DEBUG_ENABLE) == TRUE
418 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
419 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
420 !endif
421 CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
422
423 [LibraryClasses.X64.SMM_CORE]
424 MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
425 SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
426 ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
427 SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
428 SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
429
430 !if $(TPM_ENABLED) == TRUE
431 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
432 !endif
433
434 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
435
436 !if $(TARGET) != RELEASE
437 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
438 !endif
439
440 [LibraryClasses.X64.DXE_RUNTIME_DRIVER]
441 ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
442 !if $(SECURE_BOOT_ENABLE) == TRUE
443 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
444 !endif
445 !if $(TPM_ENABLED) == TRUE
446 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
447 !endif
448
449 !if $(SOURCE_DEBUG_ENABLE) == TRUE
450 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
451 !endif
452
453 !if $(CAPSULE_ENABLE) == TRUE
454 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf
455 !endif
456
457 [LibraryClasses.common.UEFI_DRIVER]
458 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
459
460 !if $(SOURCE_DEBUG_ENABLE) == TRUE
461 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
462 !endif
463
464 [LibraryClasses.X64.UEFI_APPLICATION]
465 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
466
467 !if $(SOURCE_DEBUG_ENABLE) == TRUE
468 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
469 !endif
470
471 ################################################################################
472 #
473 # Pcd Section - list of all EDK II PCD Entries defined by this Platform
474 #
475 ################################################################################
476 [PcdsFeatureFlag.common]
477 !if $(MINI_BIOS_ENABLE) == FALSE
478 gPlatformModuleTokenSpaceGuid.PcdBdsDispatchAdditionalOprom|TRUE
479 !else
480 gPlatformModuleTokenSpaceGuid.PcdBdsDispatchAdditionalOprom|FALSE
481 !endif
482 #
483 # If PcdDxeIplSwitchToLongMode is TRUE, DxeIpl will load a 64-bit DxeCore and switch to long mode to hand over to DxeCore.
484 #
485 gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE
486
487 gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserGrayOutTextStatement|TRUE
488
489 !if $(CAPSULE_RESET_ENABLE) == TRUE
490 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|TRUE
491 !else
492 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|FALSE
493 !endif
494 gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport|TRUE
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.X64]
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:RELEASE_*_*_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 !if $(CAPSULE_ENABLE) == TRUE
1087 MdeModulePkg/Universal/CapsulePei/CapsuleX64.inf {
1088 <LibraryClasses>
1089 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
1090 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
1091 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
1092 !if $(SOURCE_DEBUG_ENABLE) == TRUE
1093 DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
1094 !endif
1095 }
1096 !endif
1097
1098 MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterSmm.inf
1099 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf{
1100 <LibraryClasses>
1101 !if $(SECURE_BOOT_ENABLE) == TRUE
1102 NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
1103 !endif
1104 !if $(USER_IDENTIFICATION_ENABLE)
1105 NULL|SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.inf
1106 !endif
1107 !if $(TPM_ENABLED) == TRUE
1108 NULL|SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
1109 !endif
1110 !if $(FTPM_ENABLE) == TRUE
1111 NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
1112 !endif
1113 }
1114 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/MpCpu.inf
1115 $(PLATFORM_PACKAGE)/Metronome/Metronome.inf
1116
1117 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf{
1118 <LibraryClasses>
1119 OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
1120 IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
1121 BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
1122 PlatformBdsLib|$(PLATFORM_PACKAGE)/Library/PlatformBdsLib/PlatformBdsLib.inf
1123 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1124 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
1125 SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
1126 !if $(FTPM_ENABLE) == TRUE
1127 Tpm2DeviceLib|Vlv2TbltDevicePkg/Library/Tpm2DeviceLibSeCDxe/Tpm2DeviceLibSeC.inf
1128 !else
1129 Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
1130 !endif
1131 }
1132
1133 $(PLATFORM_PACKAGE)/UiApp/UiApp.inf
1134
1135 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
1136 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
1137 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
1138 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
1139 MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
1140 <LibraryClasses>
1141 NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
1142 SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
1143 }
1144 $(PLATFORM_PACKAGE)/FvbRuntimeDxe/FvbSmm.inf
1145 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
1146 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSpiSmm.inf
1147 !if $(SECURE_BOOT_ENABLE) == TRUE
1148 SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf {
1149 <LibraryClasses>
1150 PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
1151 <BuildOptions>
1152 #
1153 # Specify GUID gEfiIfrBootMaintenanceGuid, to install Secure Boot Configuration menu
1154 # into Boot Maintenance Manager menu
1155 #
1156 *_*_*_VFR_FLAGS = -g b2dedc91-d59f-48d2-898a-12490c74a4e0
1157 }
1158 !endif
1159 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf {
1160 <LibraryClasses>
1161 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
1162 }
1163
1164 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
1165 PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
1166 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
1167
1168 $(PLATFORM_PACKAGE)/FvbRuntimeDxe/FvbRuntimeDxe.inf
1169
1170 $(PLATFORM_PACKAGE)/PlatformSetupDxe/PlatformSetupDxe.inf
1171
1172 !if $(DATAHUB_ENABLE) == TRUE
1173 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf {
1174 <PcdsFixedAtBuild>
1175 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|0
1176 }
1177 !endif
1178 IntelFrameworkModulePkg/Universal/StatusCode/DatahubStatusCodeHandlerDxe/DatahubStatusCodeHandlerDxe.inf
1179 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
1180 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchS3SupportDxe.inf
1181 !if $(USE_HPET_TIMER) == TRUE
1182 PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
1183 !else
1184 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmartTimer.inf
1185 !endif
1186 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmmControl.inf
1187
1188 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSmbusDxe.inf
1189 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/IntelPchLegacyInterrupt.inf
1190 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchReset.inf
1191 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchInitDxe.inf{
1192 <PcdsPatchableInModule>
1193 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
1194 }
1195 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSmiDispatcher.inf
1196
1197 !if $(PCIESC_ENABLE) == TRUE
1198 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchPcieSmm.inf
1199 !endif
1200 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSpiRuntime.inf
1201 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchPolicyInitDxe.inf
1202 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchBiosWriteProtect.inf
1203 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmmAccess.inf
1204 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PciHostBridge.inf
1205 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/VlvInitDxe.inf
1206
1207 IntelFrameworkModulePkg/Universal/LegacyRegionDxe/LegacyRegionDxe.inf
1208
1209 #
1210 # Performance Application; Set PERFORMANCE_ENABLE=TRUE for normal boot performance and smm performance data
1211 #
1212 !if $(PERFORMANCE_ENABLE) == TRUE
1213 ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf {
1214 <PcdsFixedAtBuild>
1215 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
1216 }
1217 !endif
1218
1219 Vlv2TbltDevicePkg/VlvPlatformInitDxe/VlvPlatformInitDxe.inf{
1220 <LibraryClasses>
1221 !if $(TARGET) != RELEASE
1222 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1223 !endif
1224 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
1225 }
1226
1227 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/Dptf.inf
1228 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PnpDxe.inf
1229
1230 !if $(SEC_ENABLE) == TRUE
1231 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/HeciDrv.inf {
1232 !if $(SEC_DEBUG_INFO_ENABLE) == TRUE
1233 <BuildOptions>
1234 *_*_X64_CC_FLAGS = /DSEC_DEBUG_INFO=1
1235 !else
1236 <BuildOptions>
1237 *_*_X64_CC_FLAGS = /DSEC_DEBUG_INFO=0
1238 !endif
1239 }
1240
1241 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SeCPolicyInitDxe.inf
1242 !endif
1243
1244 !if $(FTPM_ENABLE) == TRUE
1245 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/Tpm2DeviceSeCDxe.inf
1246 SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf
1247 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf{
1248 <LibraryClasses>
1249 NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
1250 NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
1251 PcdLib|MdePkg/Library\DxePcdLib/DxePcdLib.inf
1252 Tpm2DeviceLib|Vlv2TbltDevicePkg/Library/Tpm2DeviceLibSeCDxe/Tpm2DeviceLibSeC.inf
1253 }
1254 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/FtpmSmm.inf
1255 !endif
1256 !if $(TPM_ENABLED) == TRUE
1257 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf {
1258 <LibraryClasses>
1259 PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
1260 }
1261
1262 SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {
1263 <LibraryClasses>
1264 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
1265 <BuildOptions>
1266 #
1267 # specify GUID gEfiIfrNotInTPVPageGuid, this page will not
1268 # be showed in TPV page.
1269 #
1270 *_*_*_VFR_FLAGS = -g e58809f8-fbc1-48e2-883a-a30fdc4b441e
1271 }
1272
1273 SecurityPkg/Tcg/TcgDxe/TcgDxe.inf {
1274 <LibraryClasses>
1275 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
1276 }
1277 SecurityPkg/Tcg/TcgSmm/TcgSmm.inf
1278 !endif
1279 #
1280 # EDK II Related Platform codes
1281 #
1282 $(PLATFORM_PACKAGE)/PlatformSmm/PlatformSmm.inf{
1283 <LibraryClasses>
1284 !if $(TARGET) != RELEASE
1285 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1286 !endif
1287 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
1288 }
1289 $(PLATFORM_PACKAGE)/PlatformInfoDxe/PlatformInfoDxe.inf
1290 $(PLATFORM_PACKAGE)/PlatformCpuInfoDxe/PlatformCpuInfoDxe.inf
1291 $(PLATFORM_PACKAGE)/PlatformDxe/PlatformDxe.inf
1292
1293 $(PLATFORM_PACKAGE)/PciPlatform/PciPlatform.inf
1294 $(PLATFORM_PACKAGE)/SaveMemoryConfig/SaveMemoryConfig.inf
1295 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PlatformCpuPolicy.inf
1296 $(PLATFORM_PACKAGE)/PpmPolicy/PpmPolicy.inf
1297 $(PLATFORM_PACKAGE)/SmramSaveInfoHandlerSmm/SmramSaveInfoHandlerSmm.inf
1298 !if $(GOP_DRIVER_ENABLE) == TRUE
1299 $(PLATFORM_PACKAGE)/PlatformGopPolicy/PlatformGopPolicy.inf
1300
1301 !endif
1302
1303
1304 #
1305 # SMM
1306 #
1307 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
1308 MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
1309 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
1310 UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
1311 MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf
1312 UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf
1313 $(PLATFORM_PACKAGE)/SmmSwDispatch2OnSmmSwDispatchThunk/SmmSwDispatch2OnSmmSwDispatchThunk.inf
1314 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PowerManagement2.inf
1315 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/DigitalThermalSensor.inf
1316
1317 #
1318 # ACPI
1319 #
1320 MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf {
1321 <PcdsPatchableInModule>
1322 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
1323 <PcdsFixedAtBuild>
1324 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x27
1325 <LibraryClasses>
1326 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
1327 }
1328
1329 $(PLATFORM_PACKAGE)/BootScriptSaveDxe/BootScriptSaveDxe.inf
1330 IntelFrameworkModulePkg/Universal/Acpi/AcpiSupportDxe/AcpiSupportDxe.inf
1331 Vlv2DeviceRefCodePkg/ValleyView2Soc/CPU/PowerManagement/AcpiTables/PowerManagementAcpiTables.inf
1332
1333 $(PLATFORM_RC_PACKAGE)/AcpiTablesPCAT/AcpiTables.inf
1334
1335 $(PLATFORM_PACKAGE)/AcpiPlatform/AcpiPlatform.inf
1336
1337 MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
1338
1339 #
1340 # PCI
1341 #
1342 MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
1343
1344
1345 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/ISPDxe.inf
1346
1347
1348 #
1349 # ISA
1350 #
1351 $(PLATFORM_PACKAGE)/Wpce791/Wpce791.inf
1352 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
1353 IntelFrameworkModulePkg/Bus/Isa/IsaIoDxe/IsaIoDxe.inf
1354 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
1355 IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf
1356 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
1357 #
1358 # SDIO
1359 #
1360 # $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/MmcHost.inf
1361 # $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/MmcMediaDevice.inf
1362 !if $(ACPI50_ENABLE) == TRUE
1363 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf {
1364 <LibraryClasses>
1365 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
1366 }
1367 MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerformanceSmm.inf {
1368 <LibraryClasses>
1369 TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
1370 }
1371 !endif
1372
1373 #
1374 # IDE/SCSI/AHCI
1375 #
1376 MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
1377 IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
1378 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
1379 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
1380 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
1381 FatPkg/EnhancedFatDxe/Fat.inf
1382 ShellPkg/Application/Shell/Shell.inf
1383 !if $(SATA_ENABLE) == TRUE
1384 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SataController.inf
1385 !endif
1386 MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
1387 !if $(SCSI_ENABLE) == TRUE
1388 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
1389 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
1390 !endif
1391 #
1392 # Console
1393 #
1394 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
1395 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
1396 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
1397 IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf
1398 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
1399 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
1400 MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
1401 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
1402
1403 #
1404 # USB
1405 #
1406 !if $(USB_ENABLE) == TRUE
1407 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
1408 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
1409 MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
1410 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
1411 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
1412 MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf
1413 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
1414
1415 !endif
1416
1417 #
1418 # SMBIOS
1419 #
1420 MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
1421 $(PLATFORM_PACKAGE)/SmBiosMiscDxe/SmBiosMiscDxe.inf
1422
1423 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmbiosMemory.inf
1424 #
1425 # CPU/FW Microde
1426 #
1427 Vlv2MiscBinariesPkg/Microcode/MicrocodeUpdates.inf {
1428 <BuildOptions>
1429 *_*_*_GENFW_FLAGS = -a 0x800 -p 0xFF
1430 }
1431
1432
1433 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
1434
1435
1436 !if $(NETWORK_ENABLE) == TRUE
1437 !if $(NETWORK_ISCSI_ENABLE) == TRUE
1438 NetworkPkg/IScsiDxe/IScsiDxe.inf
1439 !endif
1440 !if $(NETWORK_VLAN_ENABLE) == TRUE
1441 MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
1442 !endif
1443 !if $(CSM_ENABLE) == TRUE
1444 IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/Snp16Dxe.inf
1445 !endif
1446 !endif
1447
1448 !if $(NETWORK_ENABLE) == TRUE
1449 #
1450 # UEFI network modules
1451 #
1452 MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
1453 MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
1454
1455 MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
1456 MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
1457 MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
1458 MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
1459 MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
1460 NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
1461 NetworkPkg/TcpDxe/TcpDxe.inf
1462 MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
1463 !if $(NETWORK_IP6_ENABLE) == TRUE
1464 NetworkPkg/Ip6Dxe/Ip6Dxe.inf
1465 NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf
1466 NetworkPkg/IpSecDxe/IpSecDxe.inf
1467 NetworkPkg/Udp6Dxe/Udp6Dxe.inf
1468 NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf
1469 !endif
1470 !endif
1471
1472 !if $(CAPSULE_ENABLE) || $(MICOCODE_CAPSULE_ENABLE)
1473 MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmpDxe.inf
1474 MdeModulePkg/Application/CapsuleApp/CapsuleApp.inf
1475 !endif
1476
1477 !if $(CAPSULE_ENABLE)
1478 !include Vlv2TbltDevicePkg/FmpMinnowMaxSystem.dsc
1479 !include Vlv2TbltDevicePkg/FmpGreenSampleDevice.dsc
1480 !include Vlv2TbltDevicePkg/FmpBlueSampleDevice.dsc
1481 !include Vlv2TbltDevicePkg/FmpRedSampleDevice.dsc
1482 !endif
1483
1484 !if $(MICOCODE_CAPSULE_ENABLE)
1485 IntelSiliconPkg/Feature/Capsule/MicrocodeUpdateDxe/MicrocodeUpdateDxe.inf {
1486 <LibraryClasses>
1487 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
1488 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
1489 SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
1490 }
1491 !endif
1492
1493 [BuildOptions]
1494 #
1495 # Define Build Options both for EDK and EDKII drivers.
1496 #
1497
1498 #
1499 # Define token for different Platform
1500 #
1501 !if $(MINNOW2_FSP_BUILD) == TRUE
1502 DEFINE MINNOW2_FSP_OPTION = -DMINNOW2_FSP_BUILD
1503 !else
1504 DEFINE MINNOW2_FSP_OPTION =
1505 !endif
1506
1507 !if $(ENBDT_PF_BUILD) == TRUE
1508 DEFINE ENBDT_PF_ENABLE = -DENBDT_PF_ENABLE=1
1509 !else
1510 DEFINE ENBDT_PF_ENABLE = -DENBDT_PF_ENABLE=0
1511 !endif
1512
1513
1514 !if $(CLKGEN_CONFIG_EXTRA_ENABLE) == TRUE
1515 DEFINE CLKGEN_CONFIG_EXTRA_BUILD_OPTION = -DCLKGEN_CONFIG_EXTRA=1
1516 !else
1517 DEFINE CLKGEN_CONFIG_EXTRA_BUILD_OPTION =
1518 !endif
1519
1520
1521
1522 !if $(PCIESC_ENABLE) == TRUE
1523 DEFINE PCIESC_SUPPORT_BUILD_OPTION = -DPCIESC_SUPPORT=1
1524 !else
1525 DEFINE PCIESC_SUPPORT_BUILD_OPTION =
1526 !endif
1527 !if $(SATA_ENABLE) == TRUE
1528 DEFINE SATA_SUPPORT_BUILD_OPTION = -DSATA_SUPPORT=1
1529 !else
1530 DEFINE SATA_SUPPORT_BUILD_OPTION =
1531 !endif
1532 !if $(ENBDT_S3_SUPPORT) == TRUE
1533 DEFINE ENBDT_S3_SUPPORT_OPTIONS = -DNOCS_S3_SUPPORT
1534 !else
1535 DEFINE ENBDT_S3_SUPPORT_OPTIONS =
1536 !endif
1537
1538 !if $(X64_CONFIG) == TRUE
1539 DEFINE X64_BUILD_ENABLE = -DX64_BUILD_ENABLE=1
1540 !else
1541 DEFINE X64_BUILD_ENABLE =
1542 !endif
1543
1544 !if $(FTPM_ENABLE) == TRUE
1545 DEFINE DSC_FTPM_BUILD_OPTIONS = -DFTPM_ENABLE
1546 !else
1547 DEFINE DSC_FTPM_BUILD_OPTIONS =
1548 !endif
1549 !if $(TPM_ENABLED) == TRUE
1550 DEFINE DSC_TPM_BUILD_OPTIONS = -DTPM_ENABLED
1551 !else
1552 DEFINE DSC_TPM_BUILD_OPTIONS =
1553 !endif
1554
1555
1556 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)
1557 !if $(PERFORMANCE_ENABLE) == TRUE
1558 DEFINE PDB_BUILD_OPTION = /Zi
1559 !endif
1560
1561 GCC:*_*_*_CC_FLAGS = -Wno-missing-braces
1562 !if $(SOURCE_DEBUG_ENABLE) == TRUE
1563 MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
1564 GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
1565 INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
1566 DEFINE SOURCE_LEVEL_DEBUG_BUILD_OPTIONS =
1567 !else
1568 DEFINE SOURCE_LEVEL_DEBUG_BUILD_OPTIONS =
1569
1570 !endif
1571
1572 #
1573 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
1574 # protection of DXE_RUNTIME_DRIVER modules
1575 #
1576 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
1577 MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096
1578 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
1579
1580 #
1581 # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
1582 # protection of DXE_SMM_DRIVER/SMM_CORE modules
1583 #
1584 [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
1585 MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096
1586 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
1587
1588 [BuildOptions.Common.EDK]
1589
1590 #
1591 # Define token for different Platform
1592 #
1593 !if $(ENBDT_PF_BUILD) == TRUE
1594 DEFINE ENBDT_PF_ENABLE = -DENBDT_PF_ENABLE=1
1595 !else
1596 DEFINE ENBDT_PF_ENABLE = -DENBDT_PF_ENABLE=0
1597 !endif
1598
1599 !if $(PERFORMANCE_ENABLE) == TRUE
1600 RELEASE_*_*_DLINK_FLAGS = -DEBUG
1601 !endif
1602
1603 !if $(S3_ENABLE) == TRUE
1604 DEFINE DSC_S3_BUILD_OPTIONS = -DEFI_S3_RESUME
1605 !else
1606 DEFINE DSC_S3_BUILD_OPTIONS =
1607 !endif
1608
1609 !if $(ENBDT_S3_SUPPORT) == TRUE
1610 DEFINE ENBDT_S3_SUPPORT_OPTIONS = -DNOCS_S3_SUPPORT
1611 !else
1612 DEFINE ENBDT_S3_SUPPORT_OPTIONS =
1613 !endif
1614
1615 !if $(X64_CONFIG) == TRUE
1616 DEFINE X64_BUILD_ENABLE = -DX64_BUILD_ENABLE=1
1617 !else
1618 DEFINE X64_BUILD_ENABLE =
1619 !endif
1620
1621
1622 DEFINE EDK_GLUE_LIB_DEBUG =
1623 DEFINE DEBUG_BUILD_OPTIONS = -D EFI_DEBUG -D DEBUG_MODE=1 /GL- $(EDK_GLUE_LIB_DEBUG) -DEDKII_GLUE_DebugPrintErrorLevel=(EFI_D_ERROR)
1624 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)
1625
1626 DEFINE EDK_DSC_OTHER_BUILD_OPTIONS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS) $(SV_BUILD_OPTIONS) $(INTEL_FASTBOOT_BUILD_OPTION)
1627 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)
1628
1629 *_*_IA32_ASM_FLAGS = -DEFI32 -D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h -DNOCS_S3_SUPPORT
1630 DEBUG_*_IA32_CC_FLAGS = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1631 RELEASE_*_IA32_CC_FLAGS = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1632 DEBUG_*_IA32_VFRPP_FLAGS = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1633 RELEASE_*_IA32_VFRPP_FLAGS = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1634 DEBUG_*_IA32_APP_FLAGS = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1635 RELEASE_*_IA32_APP_FLAGS = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1636 DEBUG_*_IA32_PP_FLAGS = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1637 RELEASE_*_IA32_PP_FLAGS = -D EFI32 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1638 *_*_IA32_ASLPP_FLAGS = -D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE)
1639 *_*_IA32_ASLCC_FLAGS = -D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE)
1640 *_*_IA32_ASM16_FLAGS = -D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h
1641
1642 *_*_X64_ASM_FLAGS = -DEFIX64 -D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h -DNOCS_S3_SUPPORT
1643 DEBUG_*_X64_CC_FLAGS = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1644 RELEASE_*_X64_CC_FLAGS = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1645 DEBUG_*_X64_VFRPP_FLAGS = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1646 RELEASE_*_X64_VFRPP_FLAGS = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1647 DEBUG_*_X64_APP_FLAGS = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1648 RELEASE_*_X64_APP_FLAGS = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1649 DEBUG_*_X64_PP_FLAGS = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS) $(DEBUG_BUILD_OPTIONS)
1650 RELEASE_*_X64_PP_FLAGS = -D EFIX64 $(EDK_DSC_GLOBAL_BUILD_OPTIONS)
1651 *_*_X64_ASLPP_FLAGS = -D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE)
1652 *_*_X64_ASLCC_FLAGS = -D EDKII_GLUE_PciExpressBaseAddress=0x$(PLATFORM_PCIEXPRESS_BASE)
1653 *_*_X64_ASM16_FLAGS = -D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h
1654 # *_*_*_BUILD_FLAGS = -s
1655 *_*_*_VFR_FLAGS = -c
1656 *_*_*_BUILD_FLAGS = -c
1657
1658 [BuildOptions.Common.EDKII]
1659 *_*_IA32_ASM_FLAGS = $(VP_BUILD_OPTIONS) -D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h -DNOCS_S3_SUPPORT
1660
1661 *_*_IA32_CC_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1662 *_*_IA32_VFRPP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1663 *_*_IA32_APP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1664 *_*_IA32_PP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1665 *_*_IA32_ASLPP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1666
1667 *_*_X64_CC_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS) $(SOURCE_LEVEL_DEBUG_BUILD_OPTIONS)
1668 *_*_X64_VFRPP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1669 *_*_X64_APP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1670 *_*_X64_PP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1671 *_*_X64_ASLPP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
1672
1673
1674 [Components.X64]
1675 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/I2cBus.inf {
1676 <PcdsPatchableInModule>
1677 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
1678 }
1679
1680 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/I2cHost.inf {
1681 <PcdsPatchableInModule>
1682 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
1683 }
1684 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/I2cPortA0Pio.inf {
1685 <PcdsPatchableInModule>
1686 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x00000043
1687 }
1688
1689 $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/I2cMmioDeviceDxe.inf {
1690 <PcdsPatchableInModule>
1691 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x00000043
1692 }
1693