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