PlatformPkgIA32.dsc 51 KB

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