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