PlatformPkgX64.dsc 52 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321
  1. #/** @file
  2. # Platform description.
  3. #
  4. # Copyright (c) 2012 - 2021, 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/Vlv2TbltDevicePkgX64
  21. SUPPORTED_ARCHITECTURES = IA32|X64
  22. BUILD_TARGETS = DEBUG|RELEASE
  23. SKUID_IDENTIFIER = DEFAULT
  24. VPD_TOOL_GUID = 8C3D856A-9BE6-468E-850A-24F7A8D38E08
  25. PREBUILD = python Vlv2TbltDevicePkg/PreBuild.py
  26. POSTBUILD = python Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/GenCapsuleAll.py
  27. DEFINE RC_BINARY_RELEASE = TRUE
  28. #
  29. # Platform On/Off features are defined here
  30. #
  31. !include Vlv2TbltDevicePkg/PlatformPkgConfig.dsc
  32. DEFINE PLATFORMX64_ENABLE = TRUE
  33. DEFINE DXE_ARCHITECTURE = X64
  34. FLASH_DEFINITION = Vlv2TbltDevicePkg/PlatformPkg.fdf
  35. !if $(LFMA_ENABLE) == TRUE
  36. FIX_LOAD_TOP_MEMORY_ADDRESS = 0xFFFFFFFFFFFFFFFF
  37. DEFINE TOP_MEMORY_ADDRESS = 0xFFFFFFFFFFFFFFFF
  38. !else
  39. FIX_LOAD_TOP_MEMORY_ADDRESS = 0x0
  40. DEFINE TOP_MEMORY_ADDRESS = 0x0
  41. !endif
  42. DEFINE PLATFORM_PCIEXPRESS_BASE = 0E0000000
  43. ################################################################################
  44. #
  45. # SKU Identification section - list of all SKU IDs supported by this
  46. # Platform.
  47. #
  48. ################################################################################
  49. [SkuIds]
  50. 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.
  51. [DefaultStores]
  52. 0|STANDARD # UEFI Standard default 0|STANDARD is reserved.
  53. 1|MANUFACTURING # UEFI Manufacturing default 1|MANUFACTURING is reserved.
  54. ################################################################################
  55. #
  56. # Library Class section - list of all Library Classes needed by this Platform.
  57. #
  58. ################################################################################
  59. !include MdePkg/MdeLibs.dsc.inc
  60. [LibraryClasses.common]
  61. #
  62. # Entry point
  63. #
  64. PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
  65. PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
  66. DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
  67. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  68. UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
  69. #
  70. # Basic
  71. #
  72. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  73. !if $(SSE2_ENABLE) == TRUE
  74. BaseMemoryLib|MdePkg/Library/BaseMemoryLibSse2/BaseMemoryLibSse2.inf
  75. !else
  76. BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
  77. !endif
  78. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  79. CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
  80. IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
  81. PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
  82. PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
  83. PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
  84. PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
  85. CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
  86. PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
  87. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  88. !if $(RC_BINARY_RELEASE) == TRUE
  89. PchPlatformLib|Vlv2TbltDevicePkg/Library/PchPlatformLib/PchPlatformLib.inf
  90. !endif
  91. #
  92. # UEFI & PI
  93. #
  94. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  95. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  96. UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
  97. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  98. HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
  99. UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
  100. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  101. UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiTianoCustomDecompressLib.inf
  102. PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
  103. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  104. DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
  105. DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
  106. UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
  107. UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
  108. BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
  109. SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
  110. FlashDeviceLib|Vlv2TbltDevicePkg/Library/FlashDeviceLib/FlashDeviceLib.inf
  111. UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
  112. #
  113. # Framework
  114. #
  115. !if $(S3_ENABLE) == TRUE
  116. S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
  117. !else
  118. S3BootScriptLib|MdePkg/Library/BaseS3BootScriptLibNull/BaseS3BootScriptLibNull.inf
  119. !endif
  120. S3IoLib|MdePkg/Library/BaseS3IoLib/BaseS3IoLib.inf
  121. S3PciLib|MdePkg/Library/BaseS3PciLib/BaseS3PciLib.inf
  122. #
  123. # Generic Modules
  124. #
  125. !if $(USB_ENABLE) == TRUE
  126. UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
  127. !endif
  128. !if $(SCSI_ENABLE) == TRUE
  129. UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
  130. !endif
  131. OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
  132. !if $(CAPSULE_ENABLE) == TRUE
  133. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf
  134. !else
  135. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
  136. !endif
  137. FmpAuthenticationLib|MdeModulePkg/Library/FmpAuthenticationLibNull/FmpAuthenticationLibNull.inf
  138. IniParsingLib|SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.inf
  139. PlatformFlashAccessLib|Vlv2TbltDevicePkg/Feature/Capsule/Library/PlatformFlashAccessLib/PlatformFlashAccessLib.inf
  140. MicrocodeFlashAccessLib|Vlv2TbltDevicePkg/Feature/Capsule/Library/PlatformFlashAccessLib/PlatformFlashAccessLib.inf
  141. DisplayUpdateProgressLib|MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.inf
  142. SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
  143. SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
  144. IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf
  145. DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  146. #
  147. # CPU
  148. #
  149. MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
  150. LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
  151. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
  152. MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
  153. CcExitLib|UefiCpuPkg/Library/CcExitLibNull/CcExitLibNull.inf
  154. MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
  155. #
  156. # ICH
  157. #
  158. SmbusLib|MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf
  159. SmmLib|Vlv2TbltDevicePkg/Library/PchSmmLib/PchSmmLib.inf
  160. #
  161. # Platform
  162. #
  163. TimerLib|Vlv2TbltDevicePkg/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
  164. ResetSystemLib|Vlv2TbltDevicePkg/Library/ResetSystemLib/ResetSystemLib.inf
  165. PlatformCmosLib|Vlv2TbltDevicePkg/Library/PlatformCmosLib/PlatformCmosLib.inf
  166. #
  167. # Misc
  168. #
  169. MonoStatusCodeLib|Vlv2TbltDevicePkg/MonoStatusCode/MonoStatusCode.inf
  170. !if $(TARGET) == RELEASE
  171. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  172. SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
  173. !else
  174. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  175. SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
  176. !endif
  177. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  178. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  179. !if $(TPM_ENABLED) == TRUE
  180. TpmCommLib|SecurityPkg/Library/TpmCommLib/TpmCommLib.inf
  181. Tpm12CommandLib|SecurityPkg/Library/Tpm12CommandLib/Tpm12CommandLib.inf
  182. Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
  183. !endif
  184. PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
  185. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  186. PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
  187. DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
  188. SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
  189. !else
  190. PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
  191. DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
  192. !endif
  193. #
  194. # CryptLib
  195. #
  196. !if $(TPM_ENABLED) == TRUE
  197. TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
  198. !else
  199. TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
  200. !endif
  201. BiosIdLib|BoardModulePkg/Library/BiosIdLib/DxeBiosIdLib.inf
  202. StallSmmLib|Vlv2TbltDevicePkg/Library/StallSmmLib/StallSmmLib.inf
  203. !if $(SECURE_BOOT_ENABLE) == TRUE
  204. PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
  205. AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
  206. !else
  207. AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
  208. !endif
  209. FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
  210. VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
  211. VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
  212. VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
  213. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  214. FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
  215. SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
  216. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
  217. RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
  218. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
  219. IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
  220. !if $(NETWORK_TLS_ENABLE) == TRUE
  221. TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
  222. !endif
  223. Tpm2CommandLib|SecurityPkg/Library/Tpm2CommandLib/Tpm2CommandLib.inf
  224. Tcg2PhysicalPresenceLib|SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.inf
  225. Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
  226. BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
  227. !if $(RECOVERY_ENABLE)
  228. EdkiiSystemCapsuleLib|SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/EdkiiSystemCapsuleLib.inf
  229. !endif
  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. Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf
  275. !if $(TPM_ENABLED) == TRUE
  276. TcgPhysicalPresenceLib|SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf
  277. !endif
  278. LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
  279. EfiRegTableLib|Vlv2TbltDevicePkg/Library/EfiRegTableLib/EfiRegTableLib.inf
  280. HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
  281. MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf
  282. [LibraryClasses.X64.DXE_DRIVER]
  283. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  284. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  285. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  286. CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
  287. !if $(PERFORMANCE_ENABLE) == TRUE
  288. PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
  289. TimerLib|Vlv2TbltDevicePkg/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
  290. !endif
  291. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  292. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
  293. !endif
  294. FlashDeviceLib|Vlv2TbltDevicePkg/Library/FlashDeviceLib/FlashDeviceLibDxe.inf
  295. [LibraryClasses.X64.DXE_CORE]
  296. HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
  297. MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
  298. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  299. !if $(PERFORMANCE_ENABLE) == TRUE
  300. PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
  301. TimerLib|Vlv2TbltDevicePkg/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
  302. !endif
  303. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  304. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
  305. !endif
  306. [LibraryClasses.X64.DXE_SMM_DRIVER]
  307. MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
  308. SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
  309. ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
  310. MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
  311. LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
  312. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  313. SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
  314. SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
  315. SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
  316. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
  317. !if $(TARGET) != RELEASE
  318. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  319. !endif
  320. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  321. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgentLib.inf
  322. TimerLib|Vlv2TbltDevicePkg/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
  323. !endif
  324. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
  325. !if $(TPM_ENABLED) == TRUE
  326. TcgPpVendorLib|SecurityPkg/Library/TcgPpVendorLibNull/TcgPpVendorLibNull.inf
  327. !endif
  328. [LibraryClasses.X64.SMM_CORE]
  329. MemoryAllocationLib|MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/PiSmmCoreMemoryAllocationLib.inf
  330. SmmServicesTableLib|MdeModulePkg/Library/PiSmmCoreSmmServicesTableLib/PiSmmCoreSmmServicesTableLib.inf
  331. ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCodeLib.inf
  332. SmmCorePlatformHookLib|MdeModulePkg/Library/SmmCorePlatformHookLibNull/SmmCorePlatformHookLibNull.inf
  333. SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
  334. !if $(TPM_ENABLED) == TRUE
  335. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
  336. !endif
  337. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  338. !if $(TARGET) != RELEASE
  339. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  340. !endif
  341. [LibraryClasses.X64.DXE_RUNTIME_DRIVER]
  342. ReportStatusCodeLib|MdeModulePkg/Library/RuntimeDxeReportStatusCodeLib/RuntimeDxeReportStatusCodeLib.inf
  343. VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
  344. !if $(SECURE_BOOT_ENABLE) == TRUE || $(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 $(ISA_SERIAL_STATUS_CODE_ENABLE) == TRUE
  386. gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseIsaSerial|TRUE
  387. !else
  388. gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseIsaSerial|FALSE
  389. !endif
  390. !if $(USB_SERIAL_STATUS_CODE_ENABLE) == TRUE
  391. gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseUsbSerial|TRUE
  392. !else
  393. gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseUsbSerial|FALSE
  394. !endif
  395. !if $(RAM_SERIAL_STATUS_CODE_ENABLE) == TRUE
  396. gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseRam|TRUE
  397. !else
  398. gEfiSerialPortTokenSpaceGuid.PcdStatusCodeUseRam|FALSE
  399. !endif
  400. !if $(VARIABLE_INFO_ENABLE) == TRUE
  401. gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics|TRUE
  402. !else
  403. gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics|FALSE
  404. !endif
  405. !if $(SOURCE_DEBUG_ENABLE)
  406. gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmDebug|TRUE
  407. !endif
  408. gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
  409. gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmBlockStartupThisAp|TRUE
  410. [PcdsFixedAtBuild.common]
  411. !if $(SECURE_BOOT_ENABLE) == TRUE
  412. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x22000
  413. !else
  414. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x4000
  415. !endif
  416. gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize|0x00000800
  417. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize|0x400
  418. gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSupport|FALSE
  419. gEfiMdeModulePkgTokenSpaceGuid.PcdAriSupport|FALSE
  420. !if $(S4_ENABLE) == TRUE
  421. gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|TRUE
  422. !else
  423. gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
  424. !endif
  425. !if $(TARGET) == RELEASE
  426. gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
  427. !else
  428. gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE
  429. !endif
  430. gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE
  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. gEfiMdeModulePkgTokenSpaceGuid.PcdSystemFmpCapsuleImageTypeIdGuid|{GUID("$(FMP_MINNOW_MAX_SYSTEM)")}|VOID*|0x10
  637. !if $(RECOVERY_ENABLE)
  638. gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareImageDescriptor|{0x0}|VOID*|0x100
  639. gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareFileGuid|{GUID("AF9C9EB2-12AD-4D3E-A4D4-96F6C9966215")}|VOID*|0x10
  640. !endif
  641. [PcdsDynamicExVpd.common.DEFAULT]
  642. gEfiMdeModulePkgTokenSpaceGuid.PcdNvStoreDefaultValueBuffer|*
  643. [PcdsDynamicExHii.common.DEFAULT.STANDARD]
  644. !include Vlv2TbltDevicePkg/PlatformSetupDefaults.dsc
  645. [Components.IA32]
  646. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/IA32/SecCore.inf
  647. MdeModulePkg/Core/Pei/PeiMain.inf {
  648. !if $(TARGET) == DEBUG
  649. <PcdsFixedAtBuild>
  650. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E
  651. !endif
  652. <PcdsPatchableInModule>
  653. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
  654. }
  655. Vlv2TbltDevicePkg/MonoStatusCode/MonoStatusCode.inf {
  656. !if $(TARGET) == DEBUG
  657. <PcdsFixedAtBuild>
  658. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E
  659. !endif
  660. }
  661. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/IA32/MemoryInit.inf {
  662. <PcdsPatchableInModule>
  663. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
  664. }
  665. !if $(RC_BINARY_RELEASE) == TRUE
  666. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/IA32/SeCUma.inf
  667. !endif
  668. !if $(RC_BINARY_RELEASE) == TRUE
  669. Vlv2TbltDevicePkg/PlatformPei/PlatformPei.inf {
  670. !if $(TARGET) == DEBUG
  671. <PcdsFixedAtBuild>
  672. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2E
  673. !endif
  674. }
  675. !endif
  676. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  677. SourceLevelDebugPkg/DebugAgentPei/DebugAgentPei.inf{
  678. <LibraryClasses>
  679. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  680. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
  681. PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
  682. SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
  683. }
  684. !endif
  685. !if $(TPM_ENABLED) == TRUE
  686. SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.inf
  687. SecurityPkg/Tcg/TcgPei/TcgPei.inf {
  688. <LibraryClasses>
  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. }
  818. MdeModulePkg/Logo/LogoDxe.inf
  819. MdeModulePkg/Application/UiApp/UiApp.inf {
  820. <LibraryClasses>
  821. NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
  822. NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
  823. NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
  824. }
  825. MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf
  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. NULL|MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.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/Tcg2ConfigDxe.inf {
  901. <LibraryClasses>
  902. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.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. MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.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. # eMMC/SD Card
  993. #
  994. MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.inf
  995. MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.inf
  996. MdeModulePkg/Bus/Sd/SdDxe/SdDxe.inf
  997. #
  998. # IDE/SCSI/AHCI
  999. #
  1000. MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
  1001. MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
  1002. MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
  1003. MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
  1004. FatPkg/EnhancedFatDxe/Fat.inf
  1005. ShellPkg/Application/Shell/Shell.inf {
  1006. <LibraryClasses>
  1007. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  1008. NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
  1009. NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
  1010. NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
  1011. NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
  1012. NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
  1013. NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
  1014. NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
  1015. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  1016. OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
  1017. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  1018. BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
  1019. <PcdsFixedAtBuild>
  1020. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
  1021. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  1022. gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
  1023. }
  1024. !if $(SATA_ENABLE) == TRUE
  1025. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SataController.inf
  1026. !endif
  1027. MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
  1028. !if $(SCSI_ENABLE) == TRUE
  1029. MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
  1030. MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
  1031. !endif
  1032. #
  1033. # Console
  1034. #
  1035. MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
  1036. MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
  1037. MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
  1038. MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
  1039. MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
  1040. MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
  1041. MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
  1042. #
  1043. # USB
  1044. #
  1045. !if $(USB_ENABLE) == TRUE
  1046. MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
  1047. MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
  1048. MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
  1049. MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
  1050. MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
  1051. MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf
  1052. MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
  1053. !endif
  1054. #
  1055. # SMBIOS
  1056. #
  1057. MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
  1058. Vlv2TbltDevicePkg/SmBiosMiscDxe/SmBiosMiscDxe.inf
  1059. #
  1060. # CPU/FW Microde
  1061. #
  1062. Vlv2SocBinPkg/Microcode/MicrocodeUpdates.inf {
  1063. <BuildOptions>
  1064. *_*_*_GENFW_FLAGS = -a 0x800 -p 0xFF
  1065. }
  1066. #
  1067. # Network Stacks
  1068. #
  1069. !include NetworkPkg/Network.dsc.inc
  1070. !if $(CAPSULE_ENABLE) || $(MICOCODE_CAPSULE_ENABLE)
  1071. MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmpDxe.inf
  1072. MdeModulePkg/Application/CapsuleApp/CapsuleApp.inf
  1073. !endif
  1074. !if $(CAPSULE_ENABLE)
  1075. !include Vlv2TbltDevicePkg/FmpMinnowMaxSystem.dsc
  1076. !include Vlv2TbltDevicePkg/FmpGreenSampleDevice.dsc
  1077. !include Vlv2TbltDevicePkg/FmpBlueSampleDevice.dsc
  1078. !include Vlv2TbltDevicePkg/FmpRedSampleDevice.dsc
  1079. !endif
  1080. !if $(MICOCODE_CAPSULE_ENABLE)
  1081. IntelSiliconPkg/Feature/Capsule/MicrocodeUpdateDxe/MicrocodeUpdateDxe.inf {
  1082. <LibraryClasses>
  1083. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  1084. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  1085. SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
  1086. }
  1087. !endif
  1088. [BuildOptions]
  1089. #
  1090. # Define Build Options both for EDK and EDKII drivers.
  1091. #
  1092. GCC:*_*_*_CC_FLAGS = -Wno-missing-braces
  1093. #
  1094. # Define token for different Platform
  1095. #
  1096. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  1097. MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
  1098. GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
  1099. INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
  1100. !endif
  1101. #
  1102. # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
  1103. # protection of DXE_RUNTIME_DRIVER modules
  1104. #
  1105. [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
  1106. MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096
  1107. GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
  1108. XCODE:*_*_*_DLINK_FLAGS = -segalign 0x1000
  1109. #
  1110. # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
  1111. # protection of DXE_SMM_DRIVER/SMM_CORE modules
  1112. #
  1113. [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
  1114. MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096
  1115. GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
  1116. XCODE:*_*_*_DLINK_FLAGS = -segalign 0x1000
  1117. [BuildOptions.Common.EDKII]
  1118. !if $(CLKGEN_CONFIG_EXTRA_ENABLE) == TRUE
  1119. MSFT:*_*_*_CC_FLAGS = /DCLKGEN_CONFIG_EXTRA=1
  1120. MSFT:*_*_*_VFRPP_FLAGS = /DCLKGEN_CONFIG_EXTRA=1
  1121. MSFT:*_*_*_APP_FLAGS = /DCLKGEN_CONFIG_EXTRA=1
  1122. MSFT:*_*_*_PP_FLAGS = /DCLKGEN_CONFIG_EXTRA=1
  1123. MSFT:*_*_*_ASLPP_FLAGS = /DCLKGEN_CONFIG_EXTRA=1
  1124. GCC:*_*_*_CC_FLAGS = -DCLKGEN_CONFIG_EXTRA=1
  1125. GCC:*_*_*_VFRPP_FLAGS = -DCLKGEN_CONFIG_EXTRA=1
  1126. GCC:*_*_*_APP_FLAGS = -DCLKGEN_CONFIG_EXTRA=1
  1127. GCC:*_*_*_PP_FLAGS = -DCLKGEN_CONFIG_EXTRA=1
  1128. GCC:*_*_*_ASLPP_FLAGS = -DCLKGEN_CONFIG_EXTRA=1
  1129. !endif
  1130. !if $(PCIESC_ENABLE) == TRUE
  1131. MSFT:*_*_*_CC_FLAGS = /DPCIESC_SUPPORT=1
  1132. MSFT:*_*_*_VFRPP_FLAGS = /DPCIESC_SUPPORT=1
  1133. MSFT:*_*_*_APP_FLAGS = /DPCIESC_SUPPORT=1
  1134. MSFT:*_*_*_PP_FLAGS = /DPCIESC_SUPPORT=1
  1135. MSFT:*_*_*_ASLPP_FLAGS = /DPCIESC_SUPPORT=1
  1136. GCC:*_*_*_CC_FLAGS = -DPCIESC_SUPPORT=1
  1137. GCC:*_*_*_VFRPP_FLAGS = -DPCIESC_SUPPORT=1
  1138. GCC:*_*_*_APP_FLAGS = -DPCIESC_SUPPORT=1
  1139. GCC:*_*_*_PP_FLAGS = -DPCIESC_SUPPORT=1
  1140. GCC:*_*_*_ASLPP_FLAGS = -DPCIESC_SUPPORT=1
  1141. !endif
  1142. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  1143. !if $(TARGET) == DEBUG
  1144. MSFT:*_*_X64_CC_FLAGS = /Od /Oy-
  1145. !endif
  1146. !endif