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