PlatformPkgX64.dsc 52 KB

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