PlatformPkgX64.dsc 51 KB

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