PlatformPkgX64.dsc 52 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345
  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|Vlv2TbltDevicePkg/Library/BiosIdLib/BiosIdLib.inf
  203. CpuIA32Lib|Vlv2TbltDevicePkg/Library/CpuIA32Lib/CpuIA32Lib.inf
  204. StallSmmLib|Vlv2TbltDevicePkg/Library/StallSmmLib/StallSmmLib.inf
  205. !if $(SECURE_BOOT_ENABLE) == TRUE
  206. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
  207. IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
  208. PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
  209. TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
  210. AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
  211. FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
  212. !else
  213. TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
  214. AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
  215. !endif
  216. VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
  217. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  218. FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
  219. SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
  220. !if $(NETWORK_ISCSI_ENABLE) == TRUE
  221. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
  222. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
  223. IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
  224. !endif
  225. TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
  226. Tcg2PhysicalPresenceLib|SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.inf
  227. Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
  228. Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
  229. BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
  230. [LibraryClasses.IA32.SEC]
  231. !if $(PERFORMANCE_ENABLE) == TRUE
  232. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  233. !endif
  234. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  235. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  236. [LibraryClasses.IA32.PEIM, LibraryClasses.IA32.PEI_CORE, LibraryClasses.IA32.SEC]
  237. #
  238. # PEI phase common
  239. #
  240. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  241. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  242. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  243. ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
  244. ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
  245. MultiPlatformLib|Vlv2TbltDevicePkg/Library/MultiPlatformLib/MultiPlatformLib.inf
  246. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
  247. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
  248. MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
  249. !if $(PERFORMANCE_ENABLE) == TRUE
  250. PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
  251. TimerLib|Vlv2TbltDevicePkg/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
  252. !endif
  253. !if $(TARGET) == RELEASE
  254. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  255. SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
  256. !else
  257. DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
  258. SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
  259. !endif
  260. LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
  261. HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
  262. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  263. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
  264. !endif
  265. [LibraryClasses.X64]
  266. #
  267. # DXE phase common
  268. #
  269. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  270. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  271. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  272. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  273. ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
  274. TcgPhysicalPresenceLib|SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf
  275. !if $(TPM_ENABLED) == TRUE
  276. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
  277. !endif
  278. LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
  279. EfiRegTableLib|Vlv2TbltDevicePkg/Library/EfiRegTableLib/EfiRegTableLib.inf
  280. !if $(SECURE_BOOT_ENABLE) == TRUE
  281. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
  282. !endif
  283. HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
  284. [LibraryClasses.X64.DXE_DRIVER]
  285. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  286. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  287. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  288. CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
  289. !if $(PERFORMANCE_ENABLE) == TRUE
  290. PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
  291. TimerLib|Vlv2TbltDevicePkg/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
  292. !endif
  293. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  294. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
  295. !endif
  296. FlashDeviceLib|Vlv2TbltDevicePkg/Library/FlashDeviceLib/FlashDeviceLibDxe.inf
  297. [LibraryClasses.X64.DXE_CORE]
  298. HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
  299. MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
  300. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  301. !if $(PERFORMANCE_ENABLE) == TRUE
  302. PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
  303. TimerLib|Vlv2TbltDevicePkg/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
  304. !endif
  305. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  306. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
  307. !endif
  308. [LibraryClasses.X64.DXE_SMM_DRIVER]
  309. MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
  310. SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
  311. ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
  312. MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
  313. LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
  314. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  315. SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
  316. SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
  317. SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
  318. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
  319. !if $(TARGET) != RELEASE
  320. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  321. !endif
  322. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  323. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
  324. TimerLib|Vlv2TbltDevicePkg/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
  325. !endif
  326. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
  327. [LibraryClasses.X64.SMM_CORE]
  328. MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
  329. SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
  330. ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
  331. SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
  332. SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
  333. !if $(TPM_ENABLED) == TRUE
  334. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
  335. !endif
  336. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  337. !if $(TARGET) != RELEASE
  338. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  339. !endif
  340. [LibraryClasses.X64.DXE_RUNTIME_DRIVER]
  341. ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
  342. !if $(SECURE_BOOT_ENABLE) == TRUE
  343. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
  344. !endif
  345. !if $(TPM_ENABLED) == TRUE
  346. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
  347. !endif
  348. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  349. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
  350. !endif
  351. !if $(CAPSULE_ENABLE) == TRUE
  352. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf
  353. !endif
  354. [LibraryClasses.common.UEFI_DRIVER]
  355. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  356. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  357. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
  358. !endif
  359. [LibraryClasses.X64.UEFI_APPLICATION]
  360. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  361. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  362. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
  363. !endif
  364. ################################################################################
  365. #
  366. # Pcd Section - list of all EDK II PCD Entries defined by this Platform
  367. #
  368. ################################################################################
  369. [PcdsFeatureFlag.common]
  370. !if $(MINI_BIOS_ENABLE) == FALSE
  371. gPlatformModuleTokenSpaceGuid.PcdBdsDispatchAdditionalOprom|TRUE
  372. !else
  373. gPlatformModuleTokenSpaceGuid.PcdBdsDispatchAdditionalOprom|FALSE
  374. !endif
  375. #
  376. # If PcdDxeIplSwitchToLongMode is TRUE, DxeIpl will load a 64-bit DxeCore and switch to long mode to hand over to DxeCore.
  377. #
  378. gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE
  379. gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserGrayOutTextStatement|TRUE
  380. !if $(CAPSULE_RESET_ENABLE) == TRUE
  381. gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|TRUE
  382. !else
  383. gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|FALSE
  384. !endif
  385. gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|FALSE
  386. !if $(TARGET) == RELEASE
  387. gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
  388. !else
  389. gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
  390. !endif
  391. gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE
  392. !if $(ISA_SERIAL_STATUS_CODE_ENABLE) == TRUE
  393. gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseIsaSerial|TRUE
  394. !else
  395. gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseIsaSerial|FALSE
  396. !endif
  397. !if $(USB_SERIAL_STATUS_CODE_ENABLE) == TRUE
  398. gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseUsbSerial|TRUE
  399. !else
  400. gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseUsbSerial|FALSE
  401. !endif
  402. !if $(RAM_SERIAL_STATUS_CODE_ENABLE) == TRUE
  403. gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseRam|TRUE
  404. !else
  405. gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseRam|FALSE
  406. !endif
  407. !if $(VARIABLE_INFO_ENABLE) == TRUE
  408. gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics|TRUE
  409. !else
  410. gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics|FALSE
  411. !endif
  412. !if $(SOURCE_DEBUG_ENABLE)
  413. gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmDebug|TRUE
  414. !endif
  415. gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
  416. gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmBlockStartupThisAp|TRUE
  417. [PcdsFixedAtBuild.common]
  418. !if $(SECURE_BOOT_ENABLE) == TRUE
  419. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x22000
  420. !else
  421. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x4000
  422. !endif
  423. gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize|0x00000800
  424. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x400
  425. gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSupport|FALSE
  426. gEfiMdeModulePkgTokenSpaceGuid.PcdAriSupport|FALSE
  427. !if $(S4_ENABLE) == TRUE
  428. gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|TRUE
  429. !else
  430. gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
  431. !endif
  432. !if $(TARGET) == RELEASE
  433. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0
  434. gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x3
  435. !else
  436. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
  437. gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
  438. !endif
  439. !if $(PERFORMANCE_ENABLE) == TRUE
  440. gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0x1
  441. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|60
  442. !endif
  443. gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable|$(TOP_MEMORY_ADDRESS)
  444. gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserSubtitleTextColor|0x0
  445. gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserFieldTextColor|0x01
  446. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  447. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
  448. gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
  449. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE
  450. gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|2
  451. !endif
  452. #
  453. # Set SMM stack size to 16 KB.
  454. #
  455. gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
  456. gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
  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. gPlatformModuleTokenSpaceGuid.PcdBootState|L"BootState"|gPlatformModuleTokenSpaceGuid|0x0|TRUE
  589. [PcdsDynamicDefault.common.DEFAULT]
  590. gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateDataPtr|0x0
  591. !if $(TPM_ENABLED) == TRUE
  592. gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x7b, 0x3a, 0xcd, 0x72, 0xA5, 0xFE, 0x5e, 0x4f, 0x91, 0x65, 0x4d, 0xd1, 0x21, 0x87, 0xbb, 0x13}
  593. !endif
  594. ## This PCD defines the video horizontal resolution.
  595. # This PCD could be set to 0 then video resolution could be at highest resolution.
  596. #gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0
  597. gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
  598. ## This PCD defines the video vertical resolution.
  599. # This PCD could be set to 0 then video resolution could be at highest resolution.
  600. #gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0
  601. gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
  602. ## This PCD defines the Console output column and the default value is 25 according to UEFI spec.
  603. # This PCD could be set to 0 then console output could be at max column and max row.
  604. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|31
  605. ## This PCD defines the Console output row and the default value is 80 according to UEFI spec.
  606. # This PCD could be set to 0 then console output could be at max column and max row.
  607. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|100
  608. ## The PCD is used to specify the video horizontal resolution of text setup.
  609. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|800
  610. ## The PCD is used to specify the video vertical resolution of text setup.
  611. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|600
  612. ## The PCD is used to specify the console output column of text setup.
  613. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutColumn|100
  614. ## The PCD is used to specify the console output column of text setup.
  615. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutRow|31
  616. !if $(TPM_ENABLED) == TRUE
  617. gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy|1
  618. gEfiSecurityPkgTokenSpaceGuid.PcdTpmScrtmPolicy|1
  619. !endif
  620. [PcdsDynamicExDefault.common.DEFAULT]
  621. gEfiVLVTokenSpaceGuid.PcdTCSmbaIoBaseAddress|0x1040
  622. gEfiVLVTokenSpaceGuid.PcdEmmcManufacturerId|0
  623. gEfiVLVTokenSpaceGuid.PcdProductSerialNumber|0
  624. gEfiVLVTokenSpaceGuid.PcdMeasuredBootEnable|TRUE
  625. gEfiVLVTokenSpaceGuid.PcdFTPMErrorOccur|FALSE
  626. gEfiVLVTokenSpaceGuid.PcdFTPMErrorSkip|FALSE
  627. gEfiVLVTokenSpaceGuid.PcdFTPMCommand|0
  628. gEfiVLVTokenSpaceGuid.PcdFTPMResponse|0
  629. gEfiVLVTokenSpaceGuid.PcdFTPMNotRespond|FALSE
  630. gEfiVLVTokenSpaceGuid.PcdFTPMStatus|0
  631. gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateSmmDataPtr|0
  632. gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateDataPtr|0
  633. gEfiVLVTokenSpaceGuid.PcdCpuLockBoxDataAddress|0
  634. gEfiVLVTokenSpaceGuid.PcdCpuSmramCpuDataAddress|0
  635. gEfiVLVTokenSpaceGuid.PcdCpuLockBoxSize|0
  636. gEfiSecurityPkgTokenSpaceGuid.PcdUserPhysicalPresence|TRUE
  637. [PcdsDynamicExDefault.X64.DEFAULT]
  638. !if $(RECOVERY_ENABLE)
  639. gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareFileGuid|{GUID("AF9C9EB2-12AD-4D3E-A4D4-96F6C9966215")}|VOID*|0x10
  640. gEfiMdeModulePkgTokenSpaceGuid.PcdSystemFmpCapsuleImageTypeIdGuid|{GUID("4096267b-da0a-42eb-b5eb-fef31d207cb4")}|VOID*|0x10
  641. !endif
  642. [Components.IA32]
  643. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/IA32/SecCore.inf
  644. MdeModulePkg/Core/Pei/PeiMain.inf {
  645. !if $(TARGET) == DEBUG
  646. <PcdsFixedAtBuild>
  647. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E
  648. !endif
  649. <PcdsPatchableInModule>
  650. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
  651. }
  652. Vlv2TbltDevicePkg/MonoStatusCode/MonoStatusCode.inf {
  653. !if $(TARGET) == DEBUG
  654. <PcdsFixedAtBuild>
  655. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E
  656. !endif
  657. }
  658. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/IA32/MemoryInit.inf {
  659. <PcdsPatchableInModule>
  660. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
  661. }
  662. !if $(RC_BINARY_RELEASE) == TRUE
  663. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/IA32/SeCUma.inf
  664. !endif
  665. !if $(RC_BINARY_RELEASE) == TRUE
  666. Vlv2TbltDevicePkg/PlatformPei/PlatformPei.inf {
  667. <BuildOptions>
  668. *_*_IA32_CC_FLAGS = /DRC_BINARY_RELEASE
  669. !if $(TARGET) == DEBUG
  670. <PcdsFixedAtBuild>
  671. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E
  672. !endif
  673. }
  674. !endif
  675. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  676. SourceLevelDebugPkg/DebugAgentPei/DebugAgentPei.inf{
  677. <LibraryClasses>
  678. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  679. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
  680. PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
  681. SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
  682. }
  683. !endif
  684. !if $(TPM_ENABLED) == TRUE
  685. SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf
  686. SecurityPkg/Tcg/TcgPei/TcgPei.inf {
  687. <LibraryClasses>
  688. NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
  689. NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
  690. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  691. }
  692. !endif
  693. Vlv2TbltDevicePkg/PlatformInitPei/PlatformInitPei.inf {
  694. <PcdsPatchableInModule>
  695. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803805c6
  696. <LibraryClasses>
  697. !if $(TARGET) != RELEASE
  698. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  699. !endif
  700. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  701. }
  702. Vlv2TbltDevicePkg/FvInfoPei/FvInfoPei.inf
  703. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/IA32/VlvInitPeim.inf
  704. !if $(PCIESC_ENABLE) == TRUE
  705. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchEarlyInitPeim.inf {
  706. <PcdsPatchableInModule>
  707. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
  708. }
  709. !endif
  710. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchInitPeim.inf
  711. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchSmbusArpDisabled.inf
  712. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchSpiPeim.inf
  713. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PeiSmmAccess.inf
  714. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PeiSmmControl.inf
  715. MdeModulePkg/Universal/PCD/Pei/Pcd.inf
  716. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/IA32/CpuPeim.inf
  717. UefiCpuPkg/CpuIoPei/CpuIoPei.inf
  718. UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
  719. UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.inf
  720. !if $(RECOVERY_ENABLE)
  721. #
  722. # Recovery
  723. #
  724. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/IA32/PchUsb.inf
  725. MdeModulePkg/Bus/Pci/EhciPei/EhciPei.inf
  726. MdeModulePkg/Bus/Usb/UsbBusPei/UsbBusPei.inf
  727. MdeModulePkg/Bus/Usb/UsbBotPei/UsbBotPei.inf
  728. FatPkg/FatPei/FatPei.inf
  729. MdeModulePkg/Universal/Disk/CdExpressPei/CdExpressPei.inf
  730. SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.inf {
  731. <LibraryClasses>
  732. FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibRsa2048Sha256/FmpAuthenticationLibRsa2048Sha256.inf
  733. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  734. }
  735. !endif
  736. !if $(CAPSULE_ENABLE) == TRUE
  737. MdeModulePkg/Universal/CapsulePei/CapsulePei.inf
  738. !endif
  739. MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
  740. <LibraryClasses>
  741. !if $(LZMA_ENABLE) == TRUE
  742. NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
  743. !endif
  744. }
  745. MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
  746. MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
  747. !if $(TPM_ENABLED) == TRUE
  748. SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf {
  749. <LibraryClasses>
  750. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  751. }
  752. !endif
  753. !if $(ACPI50_ENABLE) == TRUE
  754. MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTablePei/FirmwarePerformancePei.inf{
  755. <LibraryClasses>
  756. TimerLib|Vlv2TbltDevicePkg/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
  757. }
  758. !endif
  759. !if $(PERFORMANCE_ENABLE) == TRUE
  760. MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf
  761. !endif
  762. [Components.X64]
  763. #
  764. # EDK II Related Platform codes
  765. #
  766. MdeModulePkg/Core/Dxe/DxeMain.inf {
  767. <PcdsPatchableInModule>
  768. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
  769. <LibraryClasses>
  770. !if $(DXE_CRC32_SECTION_ENABLE) == TRUE
  771. NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
  772. !endif
  773. !if $(LZMA_ENABLE) == TRUE
  774. NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
  775. !endif
  776. !if $(TARGET) != RELEASE
  777. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  778. !endif
  779. }
  780. MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
  781. <LibraryClasses>
  782. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  783. }
  784. UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
  785. MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf
  786. MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf {
  787. <LibraryClasses>
  788. !if $(TARGET) != RELEASE
  789. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  790. !endif
  791. }
  792. !if $(CAPSULE_ENABLE) == TRUE
  793. MdeModulePkg/Universal/CapsulePei/CapsuleX64.inf {
  794. <LibraryClasses>
  795. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  796. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  797. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  798. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
  799. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  800. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
  801. !endif
  802. }
  803. !endif
  804. MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterSmm.inf
  805. MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf{
  806. <LibraryClasses>
  807. !if $(SECURE_BOOT_ENABLE) == TRUE
  808. NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
  809. !endif
  810. !if $(TPM_ENABLED) == TRUE
  811. NULL|SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
  812. !endif
  813. }
  814. MdeModulePkg/Universal/Metronome/Metronome.inf
  815. MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
  816. <LibraryClasses>
  817. PlatformBootManagerLib|Vlv2TbltDevicePkg/Library/DxePlatformBootManagerLib/DxePlatformBootManagerLib.inf
  818. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
  819. }
  820. MdeModulePkg/Logo/LogoDxe.inf
  821. MdeModulePkg/Application/UiApp/UiApp.inf {
  822. <LibraryClasses>
  823. NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
  824. NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
  825. NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
  826. }
  827. MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
  828. MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
  829. MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
  830. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
  831. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
  832. <LibraryClasses>
  833. NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
  834. SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
  835. }
  836. Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbSmm.inf
  837. MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
  838. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSpiSmm.inf
  839. !if $(SECURE_BOOT_ENABLE) == TRUE
  840. SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf {
  841. <LibraryClasses>
  842. PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
  843. <BuildOptions>
  844. #
  845. # Specify GUID gEfiIfrBootMaintenanceGuid, to install Secure Boot Configuration menu
  846. # into Boot Maintenance Manager menu
  847. #
  848. *_*_*_VFR_FLAGS = -g b2dedc91-d59f-48d2-898a-12490c74a4e0
  849. }
  850. !endif
  851. MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf {
  852. <LibraryClasses>
  853. FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
  854. }
  855. MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
  856. PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
  857. MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
  858. Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbRuntimeDxe.inf
  859. Vlv2TbltDevicePkg/PlatformSetupDxe/PlatformSetupDxe.inf
  860. MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
  861. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchS3SupportDxe.inf
  862. PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
  863. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmmControl.inf
  864. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSmbusDxe.inf
  865. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchReset.inf
  866. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchInitDxe.inf{
  867. <PcdsPatchableInModule>
  868. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
  869. }
  870. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchInitSmm.inf
  871. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSmiDispatcher.inf
  872. !if $(PCIESC_ENABLE) == TRUE
  873. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchPcieSmm.inf
  874. !endif
  875. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSpiRuntime.inf
  876. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchPolicyInitDxe.inf
  877. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchBiosWriteProtect.inf
  878. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmmAccess.inf
  879. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PciHostBridge.inf
  880. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/VlvInitDxe.inf
  881. #
  882. # Performance Application; Set PERFORMANCE_ENABLE=TRUE for normal boot performance and smm performance data
  883. #
  884. !if $(PERFORMANCE_ENABLE) == TRUE
  885. ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf {
  886. <PcdsFixedAtBuild>
  887. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  888. }
  889. !endif
  890. Vlv2TbltDevicePkg/VlvPlatformInitDxe/VlvPlatformInitDxe.inf{
  891. <LibraryClasses>
  892. !if $(TARGET) != RELEASE
  893. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  894. !endif
  895. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  896. }
  897. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/Dptf.inf
  898. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PnpDxe.inf
  899. !if $(TPM_ENABLED) == TRUE
  900. SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf {
  901. <LibraryClasses>
  902. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  903. }
  904. SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {
  905. <LibraryClasses>
  906. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  907. <BuildOptions>
  908. #
  909. # specify GUID gEfiIfrNotInTPVPageGuid, this page will not
  910. # be showed in TPV page.
  911. #
  912. *_*_*_VFR_FLAGS = -g e58809f8-fbc1-48e2-883a-a30fdc4b441e
  913. }
  914. SecurityPkg/Tcg/TcgDxe/TcgDxe.inf {
  915. <LibraryClasses>
  916. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  917. }
  918. SecurityPkg/Tcg/TcgSmm/TcgSmm.inf
  919. !endif
  920. #
  921. # EDK II Related Platform codes
  922. #
  923. Vlv2TbltDevicePkg/PlatformSmm/PlatformSmm.inf{
  924. <LibraryClasses>
  925. !if $(TARGET) != RELEASE
  926. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  927. !endif
  928. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  929. }
  930. Vlv2TbltDevicePkg/PlatformInfoDxe/PlatformInfoDxe.inf
  931. Vlv2TbltDevicePkg/PlatformCpuInfoDxe/PlatformCpuInfoDxe.inf
  932. Vlv2TbltDevicePkg/PlatformDxe/PlatformDxe.inf
  933. Vlv2TbltDevicePkg/PciPlatform/PciPlatform.inf
  934. Vlv2TbltDevicePkg/SaveMemoryConfig/SaveMemoryConfig.inf
  935. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PlatformCpuPolicy.inf
  936. Vlv2TbltDevicePkg/PpmPolicy/PpmPolicy.inf
  937. !if $(GOP_DRIVER_ENABLE) == TRUE
  938. Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.inf
  939. !endif
  940. #
  941. # SMM
  942. #
  943. MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
  944. MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
  945. UefiCpuPkg/CpuDxe/CpuDxe.inf
  946. UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
  947. UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
  948. UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
  949. MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf
  950. UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf
  951. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PowerManagement2.inf
  952. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/DigitalThermalSensor.inf
  953. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/GraphicDxeInitSmm.inf
  954. #
  955. # ACPI
  956. #
  957. MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf {
  958. <PcdsPatchableInModule>
  959. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
  960. <PcdsFixedAtBuild>
  961. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x27
  962. <LibraryClasses>
  963. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  964. }
  965. MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
  966. IntelFrameworkModulePkg/Universal/Acpi/AcpiSupportDxe/AcpiSupportDxe.inf
  967. Vlv2DeviceRefCodePkg/ValleyView2Soc/CPU/PowerManagement/AcpiTables/PowerManagementAcpiTables.inf
  968. Vlv2DeviceRefCodePkg/AcpiTablesPCAT/AcpiTables.inf
  969. Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.inf
  970. MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
  971. #
  972. # PCI
  973. #
  974. MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
  975. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/ISPDxe.inf
  976. #
  977. # ISA
  978. #
  979. Vlv2TbltDevicePkg/PcuSio/PcuSio.inf
  980. MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
  981. !if $(ACPI50_ENABLE) == TRUE
  982. MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf {
  983. <LibraryClasses>
  984. TimerLib|Vlv2TbltDevicePkg/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
  985. }
  986. MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerformanceSmm.inf {
  987. <LibraryClasses>
  988. TimerLib|Vlv2TbltDevicePkg/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
  989. }
  990. !endif
  991. #
  992. # IDE/SCSI/AHCI
  993. #
  994. MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
  995. MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
  996. MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
  997. MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
  998. FatPkg/EnhancedFatDxe/Fat.inf
  999. ShellPkg/Application/Shell/Shell.inf {
  1000. <LibraryClasses>
  1001. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  1002. NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
  1003. NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
  1004. NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
  1005. NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
  1006. NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
  1007. NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
  1008. NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
  1009. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  1010. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  1011. BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
  1012. <PcdsFixedAtBuild>
  1013. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
  1014. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  1015. gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
  1016. }
  1017. !if $(SATA_ENABLE) == TRUE
  1018. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SataController.inf
  1019. !endif
  1020. MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
  1021. !if $(SCSI_ENABLE) == TRUE
  1022. MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
  1023. MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
  1024. !endif
  1025. #
  1026. # Console
  1027. #
  1028. MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
  1029. MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
  1030. MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
  1031. MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
  1032. MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
  1033. MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
  1034. MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
  1035. #
  1036. # USB
  1037. #
  1038. !if $(USB_ENABLE) == TRUE
  1039. MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
  1040. MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
  1041. MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
  1042. MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
  1043. MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
  1044. MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf
  1045. MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
  1046. !endif
  1047. #
  1048. # SMBIOS
  1049. #
  1050. MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
  1051. Vlv2TbltDevicePkg/SmBiosMiscDxe/SmBiosMiscDxe.inf
  1052. #
  1053. # CPU/FW Microde
  1054. #
  1055. Vlv2SocBinPkg/Microcode/MicrocodeUpdates.inf {
  1056. <BuildOptions>
  1057. *_*_*_GENFW_FLAGS = -a 0x800 -p 0xFF
  1058. }
  1059. #
  1060. # Network Stacks
  1061. #
  1062. !include NetworkPkg/Network.dsc.inc
  1063. !if $(CAPSULE_ENABLE) || $(MICOCODE_CAPSULE_ENABLE)
  1064. MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmpDxe.inf
  1065. MdeModulePkg/Application/CapsuleApp/CapsuleApp.inf
  1066. !endif
  1067. !if $(CAPSULE_ENABLE)
  1068. !include Vlv2TbltDevicePkg/FmpMinnowMaxSystem.dsc
  1069. !include Vlv2TbltDevicePkg/FmpGreenSampleDevice.dsc
  1070. !include Vlv2TbltDevicePkg/FmpBlueSampleDevice.dsc
  1071. !include Vlv2TbltDevicePkg/FmpRedSampleDevice.dsc
  1072. !endif
  1073. !if $(MICOCODE_CAPSULE_ENABLE)
  1074. IntelSiliconPkg/Feature/Capsule/MicrocodeUpdateDxe/MicrocodeUpdateDxe.inf {
  1075. <LibraryClasses>
  1076. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  1077. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  1078. SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
  1079. }
  1080. !endif
  1081. [BuildOptions]
  1082. #
  1083. # Define Build Options both for EDK and EDKII drivers.
  1084. #
  1085. #
  1086. # Define token for different Platform
  1087. #
  1088. DEFINE MINNOW2_FSP_OPTION =
  1089. !if $(ENBDT_PF_BUILD) == TRUE
  1090. DEFINE ENBDT_PF_ENABLE = /DENBDT_PF_ENABLE=1
  1091. !else
  1092. DEFINE ENBDT_PF_ENABLE = /DENBDT_PF_ENABLE=0
  1093. !endif
  1094. !if $(CLKGEN_CONFIG_EXTRA_ENABLE) == TRUE
  1095. DEFINE CLKGEN_CONFIG_EXTRA_BUILD_OPTION = /DCLKGEN_CONFIG_EXTRA=1
  1096. !else
  1097. DEFINE CLKGEN_CONFIG_EXTRA_BUILD_OPTION =
  1098. !endif
  1099. !if $(PCIESC_ENABLE) == TRUE
  1100. DEFINE PCIESC_SUPPORT_BUILD_OPTION = /DPCIESC_SUPPORT=1
  1101. !else
  1102. DEFINE PCIESC_SUPPORT_BUILD_OPTION =
  1103. !endif
  1104. !if $(SATA_ENABLE) == TRUE
  1105. DEFINE SATA_SUPPORT_BUILD_OPTION = /DSATA_SUPPORT=1
  1106. !else
  1107. DEFINE SATA_SUPPORT_BUILD_OPTION =
  1108. !endif
  1109. !if $(ENBDT_S3_SUPPORT) == TRUE
  1110. DEFINE ENBDT_S3_SUPPORT_OPTIONS = /DNOCS_S3_SUPPORT
  1111. !else
  1112. DEFINE ENBDT_S3_SUPPORT_OPTIONS =
  1113. !endif
  1114. !if $(X64_CONFIG) == TRUE
  1115. DEFINE X64_BUILD_ENABLE = /DX64_BUILD_ENABLE=1
  1116. !else
  1117. DEFINE X64_BUILD_ENABLE =
  1118. !endif
  1119. !if $(TPM_ENABLED) == TRUE
  1120. DEFINE DSC_TPM_BUILD_OPTIONS = /DTPM_ENABLED
  1121. !else
  1122. DEFINE DSC_TPM_BUILD_OPTIONS =
  1123. !endif
  1124. 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)
  1125. !if $(PERFORMANCE_ENABLE) == TRUE
  1126. DEFINE PDB_BUILD_OPTION = /Zi
  1127. !endif
  1128. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  1129. MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
  1130. GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
  1131. INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
  1132. !if $(TARGET) == DEBUG
  1133. DEFINE SOURCE_LEVEL_DEBUG_BUILD_OPTIONS = /Od /Oy-
  1134. !endif
  1135. !else
  1136. DEFINE SOURCE_LEVEL_DEBUG_BUILD_OPTIONS =
  1137. !endif
  1138. #
  1139. # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
  1140. # protection of DXE_RUNTIME_DRIVER modules
  1141. #
  1142. [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
  1143. MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096
  1144. GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
  1145. #
  1146. # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
  1147. # protection of DXE_SMM_DRIVER/SMM_CORE modules
  1148. #
  1149. [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
  1150. MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096
  1151. GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
  1152. [BuildOptions.Common.EDKII]
  1153. *_*_IA32_ASM_FLAGS = $(VP_BUILD_OPTIONS) /D EDKII_GLUE_PciExpressBaseAddress=$(PLATFORM_PCIEXPRESS_BASE)h /DNOCS_S3_SUPPORT
  1154. *_*_IA32_CC_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
  1155. *_*_IA32_VFRPP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
  1156. *_*_IA32_APP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
  1157. *_*_IA32_PP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
  1158. *_*_IA32_ASLPP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
  1159. *_*_X64_CC_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS) $(SOURCE_LEVEL_DEBUG_BUILD_OPTIONS)
  1160. *_*_X64_VFRPP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
  1161. *_*_X64_APP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
  1162. *_*_X64_PP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)
  1163. *_*_X64_ASLPP_FLAGS = $(EDK_EDKII_DSC_FEATURE_BUILD_OPTIONS)