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