PlatformPkgX64.dsc 51 KB

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