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