PlatformPkgGccX64.dsc 50 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301
  1. #/** @file
  2. # Platform description.
  3. #
  4. # Copyright (c) 2012 - 2019, Intel Corporation. All rights reserved.<BR>
  5. #
  6. # SPDX-License-Identifier: BSD-2-Clause-Patent
  7. #
  8. #
  9. #**/
  10. ################################################################################
  11. #
  12. # Defines Section - statements that will be processed to create a Makefile.
  13. #
  14. ################################################################################
  15. [Defines]
  16. PLATFORM_NAME = Vlv2TbltDevicePkg
  17. PLATFORM_GUID = 465B0A0B-7AC1-443b-8F67-7B8DEC145F90
  18. PLATFORM_VERSION = 0.1
  19. DSC_SPECIFICATION = 0x00010005
  20. OUTPUT_DIRECTORY = Build/Vlv2TbltDevicePkg
  21. SUPPORTED_ARCHITECTURES = IA32|X64
  22. BUILD_TARGETS = DEBUG|RELEASE
  23. SKUID_IDENTIFIER = DEFAULT
  24. VPD_TOOL_GUID = 8C3D856A-9BE6-468E-850A-24F7A8D38E08
  25. DEFINE RC_BINARY_RELEASE = TRUE
  26. #
  27. # Platform On/Off features are defined here
  28. #
  29. !include Vlv2TbltDevicePkg/PlatformPkgConfig.dsc
  30. DEFINE PLATFORMX64_ENABLE = TRUE
  31. DEFINE DXE_ARCHITECTURE = X64
  32. FLASH_DEFINITION = Vlv2TbltDevicePkg/PlatformPkgGcc.fdf
  33. !if $(LFMA_ENABLE) == TRUE
  34. FIX_LOAD_TOP_MEMORY_ADDRESS = 0xFFFFFFFFFFFFFFFF
  35. DEFINE TOP_MEMORY_ADDRESS = 0xFFFFFFFFFFFFFFFF
  36. !else
  37. FIX_LOAD_TOP_MEMORY_ADDRESS = 0x0
  38. DEFINE TOP_MEMORY_ADDRESS = 0x0
  39. !endif
  40. DEFINE PLATFORM_PCIEXPRESS_BASE = 0E0000000
  41. ################################################################################
  42. #
  43. # SKU Identification section - list of all SKU IDs supported by this
  44. # Platform.
  45. #
  46. ################################################################################
  47. [SkuIds]
  48. 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.
  49. [DefaultStores]
  50. 0|STANDARD # UEFI Standard default 0|STANDARD is reserved.
  51. 1|MANUFACTURING # UEFI Manufacturing default 1|MANUFACTURING is reserved.
  52. ################################################################################
  53. #
  54. # Library Class section - list of all Library Classes needed by this Platform.
  55. #
  56. ################################################################################
  57. [LibraryClasses.common]
  58. #
  59. # Entry point
  60. #
  61. PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
  62. PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
  63. DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
  64. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  65. UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
  66. #
  67. # Basic
  68. #
  69. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  70. !if $(SSE2_ENABLE) == TRUE
  71. BaseMemoryLib|MdePkg/Library/BaseMemoryLibSse2/BaseMemoryLibSse2.inf
  72. !else
  73. BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
  74. !endif
  75. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  76. CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
  77. IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
  78. PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
  79. PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
  80. PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
  81. PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
  82. CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
  83. PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
  84. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  85. !if $(RC_BINARY_RELEASE) == TRUE
  86. PchPlatformLib|Vlv2TbltDevicePkg/Library/PchPlatformLib/PchPlatformLib.inf
  87. !endif
  88. #
  89. # UEFI & PI
  90. #
  91. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  92. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  93. UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
  94. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  95. HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
  96. UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
  97. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  98. UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiTianoCustomDecompressLib.inf
  99. PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
  100. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  101. DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
  102. DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
  103. UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
  104. UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
  105. BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
  106. SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
  107. FlashDeviceLib|Vlv2TbltDevicePkg/Library/FlashDeviceLib/FlashDeviceLib.inf
  108. UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
  109. #
  110. # Framework
  111. #
  112. !if $(S3_ENABLE) == TRUE
  113. S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
  114. !else
  115. S3BootScriptLib|MdePkg/Library/BaseS3BootScriptLibNull/BaseS3BootScriptLibNull.inf
  116. !endif
  117. S3IoLib|MdePkg/Library/BaseS3IoLib/BaseS3IoLib.inf
  118. S3PciLib|MdePkg/Library/BaseS3PciLib/BaseS3PciLib.inf
  119. #
  120. # Generic Modules
  121. #
  122. !if $(USB_ENABLE) == TRUE
  123. UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
  124. !endif
  125. !if $(SCSI_ENABLE) == TRUE
  126. UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
  127. !endif
  128. OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
  129. !if $(CAPSULE_ENABLE) == TRUE
  130. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf
  131. !else
  132. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
  133. !endif
  134. FmpAuthenticationLib|MdeModulePkg/Library/FmpAuthenticationLibNull/FmpAuthenticationLibNull.inf
  135. IniParsingLib|SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.inf
  136. PlatformFlashAccessLib|Vlv2TbltDevicePkg/Feature/Capsule/Library/PlatformFlashAccessLib/PlatformFlashAccessLib.inf
  137. MicrocodeFlashAccessLib|Vlv2TbltDevicePkg/Feature/Capsule/Library/PlatformFlashAccessLib/PlatformFlashAccessLib.inf
  138. DisplayUpdateProgressLib|MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.inf
  139. SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
  140. SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
  141. IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf
  142. DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  143. #
  144. # CPU
  145. #
  146. MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
  147. LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
  148. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
  149. MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
  150. #
  151. # ICH
  152. #
  153. SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
  154. SmmLib|Vlv2TbltDevicePkg/Library/PchSmmLib/PchSmmLib.inf
  155. #
  156. # Platform
  157. #
  158. TimerLib|Vlv2TbltDevicePkg/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
  159. ResetSystemLib|Vlv2TbltDevicePkg/Library/ResetSystemLib/ResetSystemLib.inf
  160. PlatformCmosLib|Vlv2TbltDevicePkg/Library/PlatformCmosLib/PlatformCmosLib.inf
  161. #
  162. # Misc
  163. #
  164. MonoStatusCodeLib|Vlv2TbltDevicePkg/MonoStatusCode/MonoStatusCode.inf
  165. !if $(TARGET) == RELEASE
  166. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  167. SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
  168. !else
  169. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  170. SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
  171. !endif
  172. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  173. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  174. !if $(TPM_ENABLED) == TRUE
  175. TpmCommLib|SecurityPkg/Library/TpmCommLib/TpmCommLib.inf
  176. Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
  177. Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
  178. !endif
  179. PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
  180. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  181. PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
  182. DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
  183. SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
  184. !else
  185. PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
  186. DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
  187. !endif
  188. #
  189. # CryptLib
  190. #
  191. !if $(TPM_ENABLED) == TRUE
  192. TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
  193. !else
  194. TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
  195. !endif
  196. BiosIdLib|BoardModulePkg/Library/BiosIdLib/DxeBiosIdLib.inf
  197. StallSmmLib|Vlv2TbltDevicePkg/Library/StallSmmLib/StallSmmLib.inf
  198. !if $(SECURE_BOOT_ENABLE) == TRUE
  199. PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
  200. AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
  201. !else
  202. AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
  203. !endif
  204. FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
  205. VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
  206. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  207. FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
  208. SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
  209. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
  210. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
  211. IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
  212. !if $(NETWORK_TLS_ENABLE) == TRUE
  213. TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
  214. !endif
  215. Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
  216. Tcg2PhysicalPresenceLib|SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.inf
  217. Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
  218. BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
  219. [LibraryClasses.IA32.SEC]
  220. !if $(PERFORMANCE_ENABLE) == TRUE
  221. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  222. !endif
  223. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  224. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  225. [LibraryClasses.IA32.PEIM, LibraryClasses.IA32.PEI_CORE, LibraryClasses.IA32.SEC]
  226. #
  227. # PEI phase common
  228. #
  229. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  230. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  231. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  232. ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
  233. ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
  234. MultiPlatformLib|Vlv2TbltDevicePkg/Library/MultiPlatformLib/MultiPlatformLib.inf
  235. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
  236. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
  237. MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
  238. !if $(PERFORMANCE_ENABLE) == TRUE
  239. PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
  240. TimerLib|Vlv2TbltDevicePkg/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
  241. !endif
  242. !if $(TARGET) == RELEASE
  243. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  244. SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
  245. !else
  246. DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
  247. SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
  248. !endif
  249. LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
  250. HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
  251. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  252. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
  253. !endif
  254. [LibraryClasses.X64]
  255. #
  256. # DXE phase common
  257. #
  258. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  259. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  260. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  261. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  262. ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
  263. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
  264. !if $(TPM_ENABLED) == TRUE
  265. TcgPhysicalPresenceLib|SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf
  266. !endif
  267. LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
  268. EfiRegTableLib|Vlv2TbltDevicePkg/Library/EfiRegTableLib/EfiRegTableLib.inf
  269. HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
  270. [LibraryClasses.X64.DXE_DRIVER]
  271. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  272. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  273. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  274. CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
  275. !if $(PERFORMANCE_ENABLE) == TRUE
  276. PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
  277. TimerLib|Vlv2TbltDevicePkg/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
  278. !endif
  279. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  280. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
  281. !endif
  282. FlashDeviceLib|Vlv2TbltDevicePkg/Library/FlashDeviceLib/FlashDeviceLibDxe.inf
  283. [LibraryClasses.X64.DXE_CORE]
  284. HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
  285. MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
  286. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  287. !if $(PERFORMANCE_ENABLE) == TRUE
  288. PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
  289. TimerLib|Vlv2TbltDevicePkg/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
  290. !endif
  291. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  292. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
  293. !endif
  294. [LibraryClasses.X64.DXE_SMM_DRIVER]
  295. MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
  296. SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
  297. ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
  298. MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
  299. LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
  300. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  301. SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
  302. SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
  303. SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
  304. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
  305. !if $(TARGET) != RELEASE
  306. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  307. !endif
  308. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  309. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
  310. TimerLib|Vlv2TbltDevicePkg/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
  311. !endif
  312. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
  313. !if $(TPM_ENABLED) == TRUE
  314. TcgPpVendorLib|SecurityPkg/Library/TcgPpVendorLibNull/TcgPpVendorLibNull.inf
  315. !endif
  316. [LibraryClasses.X64.SMM_CORE]
  317. MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
  318. SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
  319. ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
  320. SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
  321. SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
  322. !if $(TPM_ENABLED) == TRUE
  323. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
  324. !endif
  325. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  326. !if $(TARGET) != RELEASE
  327. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  328. !endif
  329. [LibraryClasses.X64.DXE_RUNTIME_DRIVER]
  330. ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
  331. !if $(SECURE_BOOT_ENABLE) == TRUE || $(TPM_ENABLED) == TRUE
  332. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
  333. !endif
  334. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  335. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
  336. !endif
  337. !if $(CAPSULE_ENABLE) == TRUE
  338. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf
  339. !endif
  340. [LibraryClasses.common.UEFI_DRIVER]
  341. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  342. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  343. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
  344. !endif
  345. [LibraryClasses.X64.UEFI_APPLICATION]
  346. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  347. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  348. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
  349. !endif
  350. ################################################################################
  351. #
  352. # Pcd Section - list of all EDK II PCD Entries defined by this Platform
  353. #
  354. ################################################################################
  355. [PcdsFeatureFlag.common]
  356. !if $(MINI_BIOS_ENABLE) == FALSE
  357. gPlatformModuleTokenSpaceGuid.PcdBdsDispatchAdditionalOprom|TRUE
  358. !else
  359. gPlatformModuleTokenSpaceGuid.PcdBdsDispatchAdditionalOprom|FALSE
  360. !endif
  361. #
  362. # If PcdDxeIplSwitchToLongMode is TRUE, DxeIpl will load a 64-bit DxeCore and switch to long mode to hand over to DxeCore.
  363. #
  364. gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE
  365. gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserGrayOutTextStatement|TRUE
  366. !if $(CAPSULE_RESET_ENABLE) == TRUE
  367. gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|TRUE
  368. !else
  369. gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|FALSE
  370. !endif
  371. gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE
  372. !if $(TARGET) == RELEASE
  373. gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
  374. !else
  375. gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
  376. !endif
  377. gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE
  378. !if $(ISA_SERIAL_STATUS_CODE_ENABLE) == TRUE
  379. gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseIsaSerial|TRUE
  380. !else
  381. gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseIsaSerial|FALSE
  382. !endif
  383. !if $(USB_SERIAL_STATUS_CODE_ENABLE) == TRUE
  384. gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseUsbSerial|TRUE
  385. !else
  386. gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseUsbSerial|FALSE
  387. !endif
  388. !if $(RAM_SERIAL_STATUS_CODE_ENABLE) == TRUE
  389. gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseRam|TRUE
  390. !else
  391. gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseRam|FALSE
  392. !endif
  393. !if $(VARIABLE_INFO_ENABLE) == TRUE
  394. gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics|TRUE
  395. !else
  396. gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics|FALSE
  397. !endif
  398. !if $(SOURCE_DEBUG_ENABLE)
  399. gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmDebug|TRUE
  400. !endif
  401. gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
  402. gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmBlockStartupThisAp|TRUE
  403. [PcdsFixedAtBuild.common]
  404. !if $(SECURE_BOOT_ENABLE) == TRUE
  405. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x22000
  406. !else
  407. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x4000
  408. !endif
  409. gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize|0x00000800
  410. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x400
  411. gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSupport|FALSE
  412. gEfiMdeModulePkgTokenSpaceGuid.PcdAriSupport|FALSE
  413. !if $(S4_ENABLE) == TRUE
  414. gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|TRUE
  415. !else
  416. gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
  417. !endif
  418. !if $(TARGET) == RELEASE
  419. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0
  420. gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x3
  421. !else
  422. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
  423. gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
  424. !endif
  425. !if $(PERFORMANCE_ENABLE) == TRUE
  426. gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0x1
  427. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|60
  428. !endif
  429. gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable|$(TOP_MEMORY_ADDRESS)
  430. gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserSubtitleTextColor|0x0
  431. gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserFieldTextColor|0x01
  432. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  433. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
  434. gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
  435. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE
  436. gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|2
  437. !endif
  438. #
  439. # Set SMM stack size to 16 KB.
  440. #
  441. gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
  442. gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
  443. #
  444. # Clear unused single certificate PCD
  445. #
  446. gEfiSecurityPkgTokenSpaceGuid.PcdPkcs7CertBuffer|{0}
  447. #
  448. # Lock all updatable firmware devices at End of DXE
  449. #
  450. gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceLockEventGuid|{GUID(gEfiEndOfDxeEventGroupGuid)}
  451. # gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceLockEventGuid|{GUID(gEfiEventReadyToBootGuid)}
  452. #
  453. # Set PcdFmpDeviceTestKeySha256Digest to {0} to disable test key detection
  454. #
  455. # gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceTestKeySha256Digest|{0}
  456. [PcdsFixedAtBuild.IA32]
  457. !if $(TARGET) == RELEASE
  458. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0
  459. gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x3
  460. !else
  461. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E
  462. gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
  463. !endif
  464. !if $(RECOVERY_ENABLE)
  465. gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryFileName|L"VLV2REC.Cap"
  466. !endif
  467. [PcdsPatchableInModule.common]
  468. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803805c6
  469. gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0x$(PLATFORM_PCIEXPRESS_BASE)
  470. #######################################################################################################
  471. #
  472. # Begin of MRC parameters
  473. #
  474. ## Memory Parameter Patchable.
  475. # FALSE - MRC Parameters are fixed for MinnowBoard Max<BR>
  476. # TRUE - MRC Parameters are patchable by following PCDs<BR>
  477. # @Prompt Memory Parameter Patchable.
  478. # @ValidList 0x80000001 | 0, 1
  479. gVlvRefCodePkgTokenSpaceGuid.PcdMemoryParameterPatchable|FALSE
  480. ## Memory Down or DIMM slot.
  481. # 0 - DIMM<BR>
  482. # 1 - Memory Down<BR>
  483. # @Prompt Enable Memory Down
  484. # @ValidList 0x80000001 | 0, 1
  485. gVlvRefCodePkgTokenSpaceGuid.PcdEnableMemoryDown|1
  486. ## The speed of DRAM.
  487. # 0 - 800 MHz<BR>
  488. # 1 - 1066 MHz<BR>
  489. # 2 - 1333 MHz<BR>
  490. # 3 - 1600 MHz<BR>
  491. # @Prompt DRAM Speed
  492. # @ValidList 0x80000001 | 0, 1, 2, 3
  493. gVlvRefCodePkgTokenSpaceGuid.PcdDramSpeed|1
  494. ## DRAM Type.
  495. # 0 - DDR3<BR>
  496. # 1 - DDR3L<BR>
  497. # 2 - DDR3U<BR>
  498. # 3 - DDR3All<BR>
  499. # 4 - LPDDR2<BR>
  500. # 5 - LPDDR3<BR>
  501. # 6 - DDR4<BR>
  502. # @Prompt DRAM Type
  503. # @ValidList 0x80000001 | 0, 1, 2, 3, 4, 5, 6
  504. gVlvRefCodePkgTokenSpaceGuid.PcdDramType|1
  505. ## Please populate DIMM slot 0 if only one DIMM is supported.
  506. # 0 - Disable<BR>
  507. # 1 - Enable<BR>
  508. # @Prompt DIMM 0 Enable
  509. # @ValidList 0x80000001 | 0, 1
  510. gVlvRefCodePkgTokenSpaceGuid.PcdEnableDimm0|1
  511. ## DIMM 1 has to be identical to DIMM 0.
  512. # 0 - Disable<BR>
  513. # 1 - Enable<BR>
  514. # @Prompt DIMM 1 Enable Type
  515. # @ValidList 0x80000001 | 0, 1
  516. gVlvRefCodePkgTokenSpaceGuid.PcdEnableDimm1|0
  517. ## DRAM device data width.
  518. # 0 - x8<BR>
  519. # 1 - x16<BR>
  520. # 2 - x32<BR>
  521. # @Prompt DIMM_DWIDTH
  522. # @ValidList 0x80000001 | 0, 1, 2
  523. gVlvRefCodePkgTokenSpaceGuid.PcdDimmDataWidth|1
  524. ## DRAM device data density.
  525. # 0 - 1 Gbit<BR>
  526. # 1 - 2 Gbit<BR>
  527. # 2 - 4 Gbit<BR>
  528. # 3 - 8 Gbit<BR>
  529. # @Prompt DIMM_Density
  530. # @ValidList 0x80000001 | 0, 1, 2, 3
  531. gVlvRefCodePkgTokenSpaceGuid.PcdDimmDensity|2
  532. ## DRAM device data bus width.
  533. # 0 - 8 bits<BR>
  534. # 1 - 16 bits<BR>
  535. # 2 - 32 bits<BR>
  536. # 3 - 64 bits<BR>
  537. # @Prompt DIMM_BusWidth
  538. # @ValidList 0x80000001 | 0, 1, 2, 3
  539. gVlvRefCodePkgTokenSpaceGuid.PcdDimmBusWidth|3
  540. ## Ranks Per DIMM or Sides Per DIMM.
  541. # 0 - 1 Rank<BR>
  542. # 1 - 2 Ranks<BR>
  543. # @Prompt DIMM_Sides
  544. # @ValidList 0x80000001 | 0, 1
  545. gVlvRefCodePkgTokenSpaceGuid.PcdRankPerDimm|0
  546. ## tCL.<BR><BR>
  547. # @Prompt tCL
  548. gVlvRefCodePkgTokenSpaceGuid.PcdTcl|11
  549. ## tRP and tRCD in DRAM clk - 5:12.5ns, 6:15ns, etc.
  550. # @Prompt tRP_tRCD
  551. gVlvRefCodePkgTokenSpaceGuid.PcdTrpTrcd|11
  552. ## tWR in DRAM clk.
  553. # @Prompt tWR
  554. gVlvRefCodePkgTokenSpaceGuid.PcdTwr|12
  555. ## tWTR in DRAM clk.
  556. # @Prompt tWTR
  557. gVlvRefCodePkgTokenSpaceGuid.PcdTwtr|6
  558. ## tRRD in DRAM clk.
  559. # @Prompt tRRD
  560. gVlvRefCodePkgTokenSpaceGuid.PcdTrrd|6
  561. ## tRTP in DRAM clk.
  562. # @Prompt tRTP
  563. gVlvRefCodePkgTokenSpaceGuid.PcdTrtp|6
  564. ## tFAW in DRAM clk.
  565. # @Prompt tFAW
  566. gVlvRefCodePkgTokenSpaceGuid.PcdTfaw|32
  567. #
  568. # End of MRC parameters.
  569. #
  570. ###############################################################################################
  571. [PcdsDynamicHii.common.DEFAULT]
  572. gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|5 # Variable: L"Timeout"
  573. gEfiMdePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|L"HwErrRecSupport"|gEfiGlobalVariableGuid|0x0|1 # Variable: L"HwErrRecSupport"
  574. gPlatformModuleTokenSpaceGuid.PcdBootState|L"BootState"|gPlatformModuleTokenSpaceGuid|0x0|TRUE
  575. [PcdsDynamicDefault.common.DEFAULT]
  576. gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateDataPtr|0x0
  577. !if $(TPM_ENABLED) == TRUE
  578. gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x7b, 0x3a, 0xcd, 0x72, 0xA5, 0xFE, 0x5e, 0x4f, 0x91, 0x65, 0x4d, 0xd1, 0x21, 0x87, 0xbb, 0x13}
  579. !endif
  580. ## This PCD defines the video horizontal resolution.
  581. # This PCD could be set to 0 then video resolution could be at highest resolution.
  582. #gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0
  583. gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
  584. ## This PCD defines the video vertical resolution.
  585. # This PCD could be set to 0 then video resolution could be at highest resolution.
  586. #gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0
  587. gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
  588. ## This PCD defines the Console output column and the default value is 25 according to UEFI spec.
  589. # This PCD could be set to 0 then console output could be at max column and max row.
  590. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|31
  591. ## This PCD defines the Console output row and the default value is 80 according to UEFI spec.
  592. # This PCD could be set to 0 then console output could be at max column and max row.
  593. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|100
  594. ## The PCD is used to specify the video horizontal resolution of text setup.
  595. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|800
  596. ## The PCD is used to specify the video vertical resolution of text setup.
  597. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|600
  598. ## The PCD is used to specify the console output column of text setup.
  599. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutColumn|100
  600. ## The PCD is used to specify the console output column of text setup.
  601. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutRow|31
  602. !if $(TPM_ENABLED) == TRUE
  603. gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy|1
  604. gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy|1
  605. !endif
  606. [PcdsDynamicExDefault.common.DEFAULT]
  607. gEfiVLVTokenSpaceGuid.PcdTCSmbaIoBaseAddress|0x1040
  608. gEfiVLVTokenSpaceGuid.PcdEmmcManufacturerId|0
  609. gEfiVLVTokenSpaceGuid.PcdProductSerialNumber|0
  610. gEfiVLVTokenSpaceGuid.PcdMeasuredBootEnable|TRUE
  611. gEfiVLVTokenSpaceGuid.PcdFTPMErrorOccur|FALSE
  612. gEfiVLVTokenSpaceGuid.PcdFTPMErrorSkip|FALSE
  613. gEfiVLVTokenSpaceGuid.PcdFTPMCommand|0
  614. gEfiVLVTokenSpaceGuid.PcdFTPMResponse|0
  615. gEfiVLVTokenSpaceGuid.PcdFTPMNotRespond|FALSE
  616. gEfiVLVTokenSpaceGuid.PcdFTPMStatus|0
  617. gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateSmmDataPtr|0
  618. gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateDataPtr|0
  619. gEfiVLVTokenSpaceGuid.PcdCpuLockBoxDataAddress|0
  620. gEfiVLVTokenSpaceGuid.PcdCpuSmramCpuDataAddress|0
  621. gEfiVLVTokenSpaceGuid.PcdCpuLockBoxSize|0
  622. gEfiSecurityPkgTokenSpaceGuid.PcdUserPhysicalPresence|TRUE
  623. [PcdsDynamicExDefault.X64.DEFAULT]
  624. !if $(RECOVERY_ENABLE)
  625. gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareFileGuid|{GUID("AF9C9EB2-12AD-4D3E-A4D4-96F6C9966215")}|VOID*|0x10
  626. gEfiMdeModulePkgTokenSpaceGuid.PcdSystemFmpCapsuleImageTypeIdGuid|{GUID("4096267b-da0a-42eb-b5eb-fef31d207cb4")}|VOID*|0x10
  627. !endif
  628. [PcdsDynamicExVpd.common.DEFAULT]
  629. gEfiMdeModulePkgTokenSpaceGuid.PcdNvStoreDefaultValueBuffer|*
  630. [PcdsDynamicExHii.common.DEFAULT.STANDARD]
  631. !include Vlv2TbltDevicePkg/PlatformSetupDefaults.dsc
  632. [PcdsDynamicExHii.common.DEFAULT.MANUFACTURING]
  633. !include Vlv2TbltDevicePkg/PlatformSetupDefaults.dsc
  634. [Components.IA32]
  635. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/IA32/SecCore.inf
  636. MdeModulePkg/Core/Pei/PeiMain.inf {
  637. !if $(TARGET) == DEBUG
  638. <PcdsFixedAtBuild>
  639. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E
  640. !endif
  641. <PcdsPatchableInModule>
  642. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
  643. }
  644. Vlv2TbltDevicePkg/MonoStatusCode/MonoStatusCode.inf {
  645. !if $(TARGET) == DEBUG
  646. <PcdsFixedAtBuild>
  647. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E
  648. !endif
  649. }
  650. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/IA32/MemoryInit.inf {
  651. <PcdsPatchableInModule>
  652. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
  653. }
  654. !if $(RC_BINARY_RELEASE) == TRUE
  655. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/IA32/SeCUma.inf
  656. !endif
  657. !if $(RC_BINARY_RELEASE) == TRUE
  658. Vlv2TbltDevicePkg/PlatformPei/PlatformPei.inf {
  659. !if $(TARGET) == DEBUG
  660. <PcdsFixedAtBuild>
  661. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E
  662. !endif
  663. }
  664. !endif
  665. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  666. SourceLevelDebugPkg/DebugAgentPei/DebugAgentPei.inf{
  667. <LibraryClasses>
  668. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  669. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
  670. PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
  671. SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
  672. }
  673. !endif
  674. !if $(TPM_ENABLED) == TRUE
  675. SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf
  676. SecurityPkg/Tcg/TcgPei/TcgPei.inf {
  677. <LibraryClasses>
  678. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  679. }
  680. !endif
  681. Vlv2TbltDevicePkg/PlatformInitPei/PlatformInitPei.inf {
  682. <PcdsPatchableInModule>
  683. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803805c6
  684. <LibraryClasses>
  685. !if $(TARGET) != RELEASE
  686. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  687. !endif
  688. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  689. }
  690. Vlv2TbltDevicePkg/FvInfoPei/FvInfoPei.inf
  691. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/IA32/VlvInitPeim.inf
  692. !if $(PCIESC_ENABLE) == TRUE
  693. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchEarlyInitPeim.inf {
  694. <PcdsPatchableInModule>
  695. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
  696. }
  697. !endif
  698. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchInitPeim.inf
  699. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchSmbusArpDisabled.inf
  700. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchSpiPeim.inf
  701. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PeiSmmAccess.inf
  702. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PeiSmmControl.inf
  703. MdeModulePkg/Universal/PCD/Pei/Pcd.inf
  704. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/IA32/CpuPeim.inf
  705. UefiCpuPkg/CpuIoPei/CpuIoPei.inf
  706. UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
  707. UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.inf
  708. !if $(RECOVERY_ENABLE)
  709. #
  710. # Recovery
  711. #
  712. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchUsb.inf
  713. MdeModulePkg/Bus/Pci/EhciPei/EhciPei.inf
  714. MdeModulePkg/Bus/Usb/UsbBusPei/UsbBusPei.inf
  715. MdeModulePkg/Bus/Usb/UsbBotPei/UsbBotPei.inf
  716. FatPkg/FatPei/FatPei.inf
  717. MdeModulePkg/Universal/Disk/CdExpressPei/CdExpressPei.inf
  718. SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.inf {
  719. <LibraryClasses>
  720. FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibRsa2048Sha256/FmpAuthenticationLibRsa2048Sha256.inf
  721. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  722. }
  723. !endif
  724. !if $(CAPSULE_ENABLE) == TRUE
  725. MdeModulePkg/Universal/CapsulePei/CapsulePei.inf
  726. !endif
  727. MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
  728. <LibraryClasses>
  729. !if $(LZMA_ENABLE) == TRUE
  730. NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
  731. !endif
  732. }
  733. MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
  734. MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
  735. !if $(TPM_ENABLED) == TRUE
  736. SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf {
  737. <LibraryClasses>
  738. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  739. }
  740. !endif
  741. !if $(ACPI50_ENABLE) == TRUE
  742. MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTablePei/FirmwarePerformancePei.inf{
  743. <LibraryClasses>
  744. TimerLib|Vlv2TbltDevicePkg/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
  745. }
  746. !endif
  747. !if $(PERFORMANCE_ENABLE) == TRUE
  748. MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
  749. !endif
  750. [Components.X64]
  751. #
  752. # EDK II Related Platform codes
  753. #
  754. MdeModulePkg/Core/Dxe/DxeMain.inf {
  755. <PcdsPatchableInModule>
  756. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
  757. <LibraryClasses>
  758. !if $(DXE_CRC32_SECTION_ENABLE) == TRUE
  759. NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
  760. !endif
  761. !if $(LZMA_ENABLE) == TRUE
  762. NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
  763. !endif
  764. !if $(TARGET) != RELEASE
  765. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  766. !endif
  767. }
  768. MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
  769. <LibraryClasses>
  770. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  771. }
  772. UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
  773. MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
  774. MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf {
  775. <LibraryClasses>
  776. !if $(TARGET) != RELEASE
  777. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  778. !endif
  779. }
  780. !if $(CAPSULE_ENABLE) == TRUE
  781. MdeModulePkg/Universal/CapsulePei/CapsuleX64.inf {
  782. <LibraryClasses>
  783. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  784. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  785. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  786. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
  787. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  788. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
  789. !endif
  790. }
  791. !endif
  792. MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterSmm.inf
  793. MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf{
  794. <LibraryClasses>
  795. !if $(SECURE_BOOT_ENABLE) == TRUE
  796. NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
  797. !endif
  798. !if $(TPM_ENABLED) == TRUE
  799. NULL|SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
  800. !endif
  801. }
  802. MdeModulePkg/Universal/Metronome/Metronome.inf
  803. MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
  804. <LibraryClasses>
  805. PlatformBootManagerLib|Vlv2TbltDevicePkg/Library/DxePlatformBootManagerLib/DxePlatformBootManagerLib.inf
  806. }
  807. MdeModulePkg/Logo/LogoDxe.inf
  808. MdeModulePkg/Application/UiApp/UiApp.inf {
  809. <LibraryClasses>
  810. NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
  811. NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
  812. NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
  813. }
  814. MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
  815. MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
  816. MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
  817. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
  818. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
  819. <LibraryClasses>
  820. NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
  821. SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
  822. }
  823. Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbSmm.inf
  824. MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
  825. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSpiSmm.inf
  826. !if $(SECURE_BOOT_ENABLE) == TRUE
  827. SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf {
  828. <LibraryClasses>
  829. PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
  830. <BuildOptions>
  831. #
  832. # Specify GUID gEfiIfrBootMaintenanceGuid, to install Secure Boot Configuration menu
  833. # into Boot Maintenance Manager menu
  834. #
  835. *_*_*_VFR_FLAGS = -g b2dedc91-d59f-48d2-898a-12490c74a4e0
  836. }
  837. !endif
  838. MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf {
  839. <LibraryClasses>
  840. FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
  841. }
  842. MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
  843. PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
  844. MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
  845. Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbRuntimeDxe.inf
  846. Vlv2TbltDevicePkg/PlatformSetupDxe/PlatformSetupDxe.inf
  847. MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
  848. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchS3SupportDxe.inf
  849. PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
  850. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmmControl.inf
  851. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSmbusDxe.inf
  852. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchReset.inf
  853. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchInitDxe.inf{
  854. <PcdsPatchableInModule>
  855. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
  856. }
  857. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchInitSmm.inf
  858. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSmiDispatcher.inf
  859. !if $(PCIESC_ENABLE) == TRUE
  860. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchPcieSmm.inf
  861. !endif
  862. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSpiRuntime.inf
  863. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchPolicyInitDxe.inf
  864. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchBiosWriteProtect.inf
  865. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmmAccess.inf
  866. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PciHostBridge.inf
  867. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/VlvInitDxe.inf
  868. #
  869. # Performance Application; Set PERFORMANCE_ENABLE=TRUE for normal boot performance and smm performance data
  870. #
  871. !if $(PERFORMANCE_ENABLE) == TRUE
  872. ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf {
  873. <PcdsFixedAtBuild>
  874. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  875. }
  876. !endif
  877. Vlv2TbltDevicePkg/VlvPlatformInitDxe/VlvPlatformInitDxe.inf{
  878. <LibraryClasses>
  879. !if $(TARGET) != RELEASE
  880. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  881. !endif
  882. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  883. }
  884. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/Dptf.inf
  885. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PnpDxe.inf
  886. !if $(TPM_ENABLED) == TRUE
  887. SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf {
  888. <LibraryClasses>
  889. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  890. }
  891. SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {
  892. <LibraryClasses>
  893. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  894. <BuildOptions>
  895. #
  896. # specify GUID gEfiIfrNotInTPVPageGuid, this page will not
  897. # be showed in TPV page.
  898. #
  899. *_*_*_VFR_FLAGS = -g e58809f8-fbc1-48e2-883a-a30fdc4b441e
  900. }
  901. SecurityPkg/Tcg/TcgDxe/TcgDxe.inf {
  902. <LibraryClasses>
  903. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  904. }
  905. SecurityPkg/Tcg/TcgSmm/TcgSmm.inf
  906. !endif
  907. #
  908. # EDK II Related Platform codes
  909. #
  910. Vlv2TbltDevicePkg/PlatformSmm/PlatformSmm.inf{
  911. <LibraryClasses>
  912. !if $(TARGET) != RELEASE
  913. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  914. !endif
  915. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  916. }
  917. Vlv2TbltDevicePkg/PlatformInfoDxe/PlatformInfoDxe.inf
  918. Vlv2TbltDevicePkg/PlatformCpuInfoDxe/PlatformCpuInfoDxe.inf
  919. Vlv2TbltDevicePkg/PlatformDxe/PlatformDxe.inf
  920. Vlv2TbltDevicePkg/PciPlatform/PciPlatform.inf
  921. Vlv2TbltDevicePkg/SaveMemoryConfig/SaveMemoryConfig.inf
  922. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PlatformCpuPolicy.inf
  923. Vlv2TbltDevicePkg/PpmPolicy/PpmPolicy.inf
  924. !if $(GOP_DRIVER_ENABLE) == TRUE
  925. Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.inf
  926. !endif
  927. #
  928. # SMM
  929. #
  930. MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
  931. MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
  932. UefiCpuPkg/CpuDxe/CpuDxe.inf
  933. UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
  934. UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
  935. UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
  936. MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf
  937. UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf
  938. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PowerManagement2.inf
  939. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/DigitalThermalSensor.inf
  940. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/GraphicDxeInitSmm.inf
  941. #
  942. # ACPI
  943. #
  944. MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf {
  945. <PcdsPatchableInModule>
  946. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
  947. <PcdsFixedAtBuild>
  948. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x27
  949. <LibraryClasses>
  950. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  951. }
  952. MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
  953. MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
  954. Vlv2DeviceRefCodePkg/ValleyView2Soc/CPU/PowerManagement/AcpiTables/PowerManagementAcpiTables.inf
  955. Vlv2DeviceRefCodePkg/AcpiTablesPCAT/AcpiTables.inf
  956. Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.inf
  957. MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
  958. #
  959. # PCI
  960. #
  961. MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
  962. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/ISPDxe.inf
  963. #
  964. # ISA
  965. #
  966. Vlv2TbltDevicePkg/PcuSio/PcuSio.inf
  967. MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
  968. !if $(ACPI50_ENABLE) == TRUE
  969. MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf {
  970. <LibraryClasses>
  971. TimerLib|Vlv2TbltDevicePkg/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
  972. }
  973. MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerformanceSmm.inf {
  974. <LibraryClasses>
  975. TimerLib|Vlv2TbltDevicePkg/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
  976. }
  977. !endif
  978. #
  979. # eMMC/SD Card
  980. #
  981. MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.inf
  982. MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.inf
  983. MdeModulePkg/Bus/Sd/SdDxe/SdDxe.inf
  984. #
  985. # IDE/SCSI/AHCI
  986. #
  987. MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
  988. MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
  989. MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
  990. MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
  991. FatPkg/EnhancedFatDxe/Fat.inf
  992. ShellPkg/Application/Shell/Shell.inf {
  993. <LibraryClasses>
  994. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  995. NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
  996. NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
  997. NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
  998. NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
  999. NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
  1000. NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
  1001. NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
  1002. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  1003. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  1004. BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
  1005. <PcdsFixedAtBuild>
  1006. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
  1007. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  1008. gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
  1009. }
  1010. !if $(SATA_ENABLE) == TRUE
  1011. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SataController.inf
  1012. !endif
  1013. MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
  1014. !if $(SCSI_ENABLE) == TRUE
  1015. MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
  1016. MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
  1017. !endif
  1018. #
  1019. # Console
  1020. #
  1021. MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
  1022. MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
  1023. MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
  1024. MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
  1025. MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
  1026. MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
  1027. MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
  1028. #
  1029. # USB
  1030. #
  1031. !if $(USB_ENABLE) == TRUE
  1032. MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
  1033. MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
  1034. MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
  1035. MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
  1036. MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
  1037. MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf
  1038. MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
  1039. !endif
  1040. #
  1041. # SMBIOS
  1042. #
  1043. MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
  1044. Vlv2TbltDevicePkg/SmBiosMiscDxe/SmBiosMiscDxe.inf
  1045. #
  1046. # CPU/FW Microde
  1047. #
  1048. Vlv2SocBinPkg/Microcode/MicrocodeUpdates.inf {
  1049. <BuildOptions>
  1050. *_*_*_GENFW_FLAGS = -a 0x800 -p 0xFF
  1051. }
  1052. #
  1053. # Network Stacks
  1054. #
  1055. !include NetworkPkg/Network.dsc.inc
  1056. !if $(CAPSULE_ENABLE) || $(MICOCODE_CAPSULE_ENABLE)
  1057. MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmpDxe.inf
  1058. MdeModulePkg/Application/CapsuleApp/CapsuleApp.inf
  1059. !endif
  1060. !if $(CAPSULE_ENABLE)
  1061. !include Vlv2TbltDevicePkg/FmpMinnowMaxSystem.dsc
  1062. !include Vlv2TbltDevicePkg/FmpGreenSampleDevice.dsc
  1063. !include Vlv2TbltDevicePkg/FmpBlueSampleDevice.dsc
  1064. !include Vlv2TbltDevicePkg/FmpRedSampleDevice.dsc
  1065. !endif
  1066. !if $(MICOCODE_CAPSULE_ENABLE)
  1067. IntelSiliconPkg/Feature/Capsule/MicrocodeUpdateDxe/MicrocodeUpdateDxe.inf {
  1068. <LibraryClasses>
  1069. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  1070. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  1071. SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
  1072. }
  1073. !endif
  1074. [BuildOptions]
  1075. #
  1076. # Define Build Options both for EDK and EDKII drivers.
  1077. #
  1078. #
  1079. # Define token for different Platform
  1080. #
  1081. !if $(CLKGEN_CONFIG_EXTRA_ENABLE) == TRUE
  1082. DEFINE CLKGEN_CONFIG_EXTRA_BUILD_OPTION = -DCLKGEN_CONFIG_EXTRA=1
  1083. !else
  1084. DEFINE CLKGEN_CONFIG_EXTRA_BUILD_OPTION =
  1085. !endif
  1086. !if $(PCIESC_ENABLE) == TRUE
  1087. DEFINE PCIESC_SUPPORT_BUILD_OPTION = -DPCIESC_SUPPORT=1
  1088. !else
  1089. DEFINE PCIESC_SUPPORT_BUILD_OPTION =
  1090. !endif
  1091. DEFINE EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS = $(CLKGEN_CONFIG_EXTRA_BUILD_OPTION) $(PCIESC_SUPPORT_BUILD_OPTION)
  1092. GCC:*_*_*_CC_FLAGS = -Wno-missing-braces
  1093. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  1094. MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
  1095. GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
  1096. INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
  1097. DEFINE SOURCE_LEVEL_DEBUG_BUILD_OPTIONS =
  1098. !else
  1099. DEFINE SOURCE_LEVEL_DEBUG_BUILD_OPTIONS =
  1100. !endif
  1101. #
  1102. # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
  1103. # protection of DXE_RUNTIME_DRIVER modules
  1104. #
  1105. [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
  1106. MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096
  1107. GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
  1108. #
  1109. # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
  1110. # protection of DXE_SMM_DRIVER/SMM_CORE modules
  1111. #
  1112. [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
  1113. MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096
  1114. GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
  1115. [BuildOptions.Common.EDKII]
  1116. *_*_IA32_CC_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
  1117. *_*_IA32_VFRPP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
  1118. *_*_IA32_APP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
  1119. *_*_IA32_PP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
  1120. *_*_IA32_ASLPP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
  1121. *_*_X64_CC_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS) $(SOURCE_LEVEL_DEBUG_BUILD_OPTIONS)
  1122. *_*_X64_VFRPP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
  1123. *_*_X64_APP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
  1124. *_*_X64_PP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
  1125. *_*_X64_ASLPP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)