PlatformPkgIA32.dsc 50 KB

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