PlatformPkgX64.dsc 52 KB

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