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