PlatformPkgX64.dsc 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320
  1. #/** @file
  2. # Platform description.
  3. #
  4. # Copyright (c) 2012 - 2023, Intel Corporation. All rights reserved.<BR>
  5. #
  6. # SPDX-License-Identifier: BSD-2-Clause-Patent
  7. #
  8. #
  9. #**/
  10. ################################################################################
  11. #
  12. # Defines Section - statements that will be processed to create a Makefile.
  13. #
  14. ################################################################################
  15. [Defines]
  16. PLATFORM_NAME = Vlv2TbltDevicePkg
  17. PLATFORM_GUID = 465B0A0B-7AC1-443b-8F67-7B8DEC145F90
  18. PLATFORM_VERSION = 0.1
  19. DSC_SPECIFICATION = 0x00010005
  20. OUTPUT_DIRECTORY = Build/Vlv2TbltDevicePkgX64
  21. SUPPORTED_ARCHITECTURES = IA32|X64
  22. BUILD_TARGETS = DEBUG|RELEASE
  23. SKUID_IDENTIFIER = DEFAULT
  24. VPD_TOOL_GUID = 8C3D856A-9BE6-468E-850A-24F7A8D38E08
  25. PREBUILD = python Vlv2TbltDevicePkg/PreBuild.py
  26. POSTBUILD = python Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/GenCapsuleAll.py
  27. DEFINE RC_BINARY_RELEASE = TRUE
  28. #
  29. # Platform On/Off features are defined here
  30. #
  31. !include Vlv2TbltDevicePkg/PlatformPkgConfig.dsc
  32. DEFINE PLATFORMX64_ENABLE = TRUE
  33. DEFINE DXE_ARCHITECTURE = X64
  34. FLASH_DEFINITION = Vlv2TbltDevicePkg/PlatformPkg.fdf
  35. !if $(LFMA_ENABLE) == TRUE
  36. FIX_LOAD_TOP_MEMORY_ADDRESS = 0xFFFFFFFFFFFFFFFF
  37. DEFINE TOP_MEMORY_ADDRESS = 0xFFFFFFFFFFFFFFFF
  38. !else
  39. FIX_LOAD_TOP_MEMORY_ADDRESS = 0x0
  40. DEFINE TOP_MEMORY_ADDRESS = 0x0
  41. !endif
  42. DEFINE PLATFORM_PCIEXPRESS_BASE = 0E0000000
  43. ################################################################################
  44. #
  45. # SKU Identification section - list of all SKU IDs supported by this
  46. # Platform.
  47. #
  48. ################################################################################
  49. [SkuIds]
  50. 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.
  51. [DefaultStores]
  52. 0|STANDARD # UEFI Standard default 0|STANDARD is reserved.
  53. 1|MANUFACTURING # UEFI Manufacturing default 1|MANUFACTURING is reserved.
  54. ################################################################################
  55. #
  56. # Library Class section - list of all Library Classes needed by this Platform.
  57. #
  58. ################################################################################
  59. !include MdePkg/MdeLibs.dsc.inc
  60. [LibraryClasses.common]
  61. #
  62. # Entry point
  63. #
  64. PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
  65. PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
  66. DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
  67. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  68. UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
  69. #
  70. # Basic
  71. #
  72. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  73. !if $(SSE2_ENABLE) == TRUE
  74. BaseMemoryLib|MdePkg/Library/BaseMemoryLibSse2/BaseMemoryLibSse2.inf
  75. !else
  76. BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
  77. !endif
  78. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  79. CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
  80. IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
  81. PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
  82. PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
  83. PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
  84. PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
  85. CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
  86. PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
  87. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  88. !if $(RC_BINARY_RELEASE) == TRUE
  89. PchPlatformLib|Vlv2TbltDevicePkg/Library/PchPlatformLib/PchPlatformLib.inf
  90. !endif
  91. #
  92. # UEFI & PI
  93. #
  94. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  95. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  96. UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
  97. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  98. HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
  99. UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
  100. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  101. UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiTianoCustomDecompressLib.inf
  102. PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
  103. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  104. DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
  105. DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
  106. 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.X64]
  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.X64.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.X64.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.X64.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.X64.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.X64.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.X64.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|TRUE
  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.X64]
  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. !if $(CAPSULE_ENABLE) == TRUE
  791. MdeModulePkg/Universal/CapsulePei/CapsuleX64.inf {
  792. <LibraryClasses>
  793. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  794. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  795. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  796. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
  797. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  798. DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
  799. !endif
  800. }
  801. !endif
  802. MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCodeRouterSmm.inf
  803. MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf{
  804. <LibraryClasses>
  805. !if $(SECURE_BOOT_ENABLE) == TRUE
  806. NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
  807. !endif
  808. !if $(TPM_ENABLED) == TRUE
  809. NULL|SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
  810. !endif
  811. }
  812. MdeModulePkg/Universal/Metronome/Metronome.inf
  813. MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {
  814. <LibraryClasses>
  815. PlatformBootManagerLib|Vlv2TbltDevicePkg/Library/DxePlatformBootManagerLib/DxePlatformBootManagerLib.inf
  816. }
  817. MdeModulePkg/Logo/LogoDxe.inf
  818. MdeModulePkg/Application/UiApp/UiApp.inf {
  819. <LibraryClasses>
  820. NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
  821. NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
  822. NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
  823. }
  824. MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenuApp.inf
  825. MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
  826. MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
  827. MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
  828. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
  829. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf {
  830. <LibraryClasses>
  831. NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
  832. NULL|MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLib.inf
  833. SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
  834. }
  835. Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbSmm.inf
  836. MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf
  837. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSpiSmm.inf
  838. !if $(SECURE_BOOT_ENABLE) == TRUE
  839. SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf {
  840. <LibraryClasses>
  841. PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
  842. <BuildOptions>
  843. #
  844. # Specify GUID gEfiIfrBootMaintenanceGuid, to install Secure Boot Configuration menu
  845. # into Boot Maintenance Manager menu
  846. #
  847. *_*_*_VFR_FLAGS = -g b2dedc91-d59f-48d2-898a-12490c74a4e0
  848. }
  849. !endif
  850. MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf {
  851. <LibraryClasses>
  852. FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
  853. }
  854. MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
  855. PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
  856. MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
  857. Vlv2TbltDevicePkg/FvbRuntimeDxe/FvbRuntimeDxe.inf
  858. Vlv2TbltDevicePkg/PlatformSetupDxe/PlatformSetupDxe.inf
  859. MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
  860. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchS3SupportDxe.inf
  861. PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf
  862. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmmControl.inf
  863. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSmbusDxe.inf
  864. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchReset.inf
  865. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchInitDxe.inf{
  866. <PcdsPatchableInModule>
  867. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
  868. }
  869. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchInitSmm.inf
  870. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSmiDispatcher.inf
  871. !if $(PCIESC_ENABLE) == TRUE
  872. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchPcieSmm.inf
  873. !endif
  874. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchSpiRuntime.inf
  875. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchPolicyInitDxe.inf
  876. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PchBiosWriteProtect.inf
  877. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SmmAccess.inf
  878. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PciHostBridge.inf
  879. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/VlvInitDxe.inf
  880. #
  881. # Performance Application; Set PERFORMANCE_ENABLE=TRUE for normal boot performance and smm performance data
  882. #
  883. !if $(PERFORMANCE_ENABLE) == TRUE
  884. ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf {
  885. <PcdsFixedAtBuild>
  886. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  887. }
  888. !endif
  889. Vlv2TbltDevicePkg/VlvPlatformInitDxe/VlvPlatformInitDxe.inf{
  890. <LibraryClasses>
  891. !if $(TARGET) != RELEASE
  892. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  893. !endif
  894. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  895. }
  896. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/Dptf.inf
  897. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PnpDxe.inf
  898. !if $(TPM_ENABLED) == TRUE
  899. SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf {
  900. <LibraryClasses>
  901. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  902. }
  903. SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf {
  904. <LibraryClasses>
  905. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  906. <BuildOptions>
  907. #
  908. # specify GUID gEfiIfrNotInTPVPageGuid, this page will not
  909. # be showed in TPV page.
  910. #
  911. *_*_*_VFR_FLAGS = -g e58809f8-fbc1-48e2-883a-a30fdc4b441e
  912. }
  913. SecurityPkg/Tcg/TcgDxe/TcgDxe.inf {
  914. <LibraryClasses>
  915. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  916. }
  917. SecurityPkg/Tcg/TcgSmm/TcgSmm.inf
  918. !endif
  919. #
  920. # EDK II Related Platform codes
  921. #
  922. Vlv2TbltDevicePkg/PlatformSmm/PlatformSmm.inf{
  923. <LibraryClasses>
  924. !if $(TARGET) != RELEASE
  925. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  926. !endif
  927. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  928. }
  929. Vlv2TbltDevicePkg/PlatformInfoDxe/PlatformInfoDxe.inf
  930. Vlv2TbltDevicePkg/PlatformCpuInfoDxe/PlatformCpuInfoDxe.inf
  931. Vlv2TbltDevicePkg/PlatformDxe/PlatformDxe.inf
  932. Vlv2TbltDevicePkg/PciPlatform/PciPlatform.inf
  933. Vlv2TbltDevicePkg/SaveMemoryConfig/SaveMemoryConfig.inf
  934. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PlatformCpuPolicy.inf
  935. Vlv2TbltDevicePkg/PpmPolicy/PpmPolicy.inf
  936. !if $(GOP_DRIVER_ENABLE) == TRUE
  937. Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.inf
  938. !endif
  939. #
  940. # SMM
  941. #
  942. MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
  943. MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
  944. UefiCpuPkg/CpuDxe/CpuDxe.inf
  945. UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
  946. UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
  947. UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
  948. MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf
  949. UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf
  950. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/PowerManagement2.inf
  951. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/DigitalThermalSensor.inf
  952. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/GraphicDxeInitSmm.inf
  953. #
  954. # ACPI
  955. #
  956. MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf {
  957. <PcdsPatchableInModule>
  958. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0xF0000043
  959. <PcdsFixedAtBuild>
  960. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x27
  961. <LibraryClasses>
  962. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  963. }
  964. MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
  965. MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
  966. Vlv2DeviceRefCodePkg/ValleyView2Soc/CPU/PowerManagement/AcpiTables/PowerManagementAcpiTables.inf
  967. Vlv2DeviceRefCodePkg/AcpiTablesPCAT/AcpiTables.inf
  968. Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.inf
  969. MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
  970. #
  971. # PCI
  972. #
  973. MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
  974. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/ISPDxe.inf
  975. #
  976. # ISA
  977. #
  978. Vlv2TbltDevicePkg/PcuSio/PcuSio.inf
  979. MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
  980. !if $(ACPI50_ENABLE) == TRUE
  981. MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf {
  982. <LibraryClasses>
  983. TimerLib|Vlv2TbltDevicePkg/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
  984. }
  985. MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerformanceSmm.inf {
  986. <LibraryClasses>
  987. TimerLib|Vlv2TbltDevicePkg/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
  988. }
  989. !endif
  990. #
  991. # eMMC/SD Card
  992. #
  993. MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.inf
  994. MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.inf
  995. MdeModulePkg/Bus/Sd/SdDxe/SdDxe.inf
  996. #
  997. # IDE/SCSI/AHCI
  998. #
  999. MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
  1000. MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
  1001. MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
  1002. MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
  1003. FatPkg/EnhancedFatDxe/Fat.inf
  1004. ShellPkg/Application/Shell/Shell.inf {
  1005. <LibraryClasses>
  1006. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  1007. NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
  1008. NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
  1009. NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
  1010. NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
  1011. NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
  1012. NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
  1013. NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
  1014. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  1015. OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
  1016. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  1017. BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
  1018. <PcdsFixedAtBuild>
  1019. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
  1020. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  1021. gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
  1022. }
  1023. !if $(SATA_ENABLE) == TRUE
  1024. Vlv2SocBinPkg/$(DXE_ARCHITECTURE)$(TARGET)/$(DXE_ARCHITECTURE)/SataController.inf
  1025. !endif
  1026. MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
  1027. !if $(SCSI_ENABLE) == TRUE
  1028. MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
  1029. MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
  1030. !endif
  1031. #
  1032. # Console
  1033. #
  1034. MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
  1035. MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
  1036. MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
  1037. MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
  1038. MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
  1039. MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
  1040. MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
  1041. #
  1042. # USB
  1043. #
  1044. !if $(USB_ENABLE) == TRUE
  1045. MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
  1046. MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
  1047. MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
  1048. MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
  1049. MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
  1050. MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf
  1051. MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
  1052. !endif
  1053. #
  1054. # SMBIOS
  1055. #
  1056. MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
  1057. Vlv2TbltDevicePkg/SmBiosMiscDxe/SmBiosMiscDxe.inf
  1058. #
  1059. # CPU/FW Microde
  1060. #
  1061. Vlv2SocBinPkg/Microcode/MicrocodeUpdates.inf {
  1062. <BuildOptions>
  1063. *_*_*_GENFW_FLAGS = -a 0x800 -p 0xFF
  1064. }
  1065. #
  1066. # Network Stacks
  1067. #
  1068. !include NetworkPkg/Network.dsc.inc
  1069. !if $(CAPSULE_ENABLE) || $(MICOCODE_CAPSULE_ENABLE)
  1070. MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmpDxe.inf
  1071. MdeModulePkg/Application/CapsuleApp/CapsuleApp.inf
  1072. !endif
  1073. !if $(CAPSULE_ENABLE)
  1074. !include Vlv2TbltDevicePkg/FmpMinnowMaxSystem.dsc
  1075. !include Vlv2TbltDevicePkg/FmpGreenSampleDevice.dsc
  1076. !include Vlv2TbltDevicePkg/FmpBlueSampleDevice.dsc
  1077. !include Vlv2TbltDevicePkg/FmpRedSampleDevice.dsc
  1078. !endif
  1079. !if $(MICOCODE_CAPSULE_ENABLE)
  1080. IntelSiliconPkg/Feature/Capsule/MicrocodeUpdateDxe/MicrocodeUpdateDxe.inf {
  1081. <LibraryClasses>
  1082. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  1083. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  1084. SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
  1085. }
  1086. !endif
  1087. [BuildOptions]
  1088. #
  1089. # Define Build Options both for EDK and EDKII drivers.
  1090. #
  1091. GCC:*_*_*_CC_FLAGS = -Wno-missing-braces
  1092. #
  1093. # Define token for different Platform
  1094. #
  1095. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  1096. MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
  1097. GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
  1098. INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
  1099. !endif
  1100. #
  1101. # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
  1102. # protection of DXE_RUNTIME_DRIVER modules
  1103. #
  1104. [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
  1105. MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096
  1106. GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
  1107. XCODE:*_*_*_DLINK_FLAGS = -segalign 0x1000
  1108. #
  1109. # Force PE/COFF sections to be aligned at 4KB boundaries to support page level
  1110. # protection of DXE_SMM_DRIVER/SMM_CORE modules
  1111. #
  1112. [BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE]
  1113. MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096
  1114. GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
  1115. XCODE:*_*_*_DLINK_FLAGS = -segalign 0x1000
  1116. [BuildOptions.Common.EDKII]
  1117. !if $(CLKGEN_CONFIG_EXTRA_ENABLE) == TRUE
  1118. MSFT:*_*_*_CC_FLAGS = /DCLKGEN_CONFIG_EXTRA=1
  1119. MSFT:*_*_*_VFRPP_FLAGS = /DCLKGEN_CONFIG_EXTRA=1
  1120. MSFT:*_*_*_APP_FLAGS = /DCLKGEN_CONFIG_EXTRA=1
  1121. MSFT:*_*_*_PP_FLAGS = /DCLKGEN_CONFIG_EXTRA=1
  1122. MSFT:*_*_*_ASLPP_FLAGS = /DCLKGEN_CONFIG_EXTRA=1
  1123. GCC:*_*_*_CC_FLAGS = -DCLKGEN_CONFIG_EXTRA=1
  1124. GCC:*_*_*_VFRPP_FLAGS = -DCLKGEN_CONFIG_EXTRA=1
  1125. GCC:*_*_*_APP_FLAGS = -DCLKGEN_CONFIG_EXTRA=1
  1126. GCC:*_*_*_PP_FLAGS = -DCLKGEN_CONFIG_EXTRA=1
  1127. GCC:*_*_*_ASLPP_FLAGS = -DCLKGEN_CONFIG_EXTRA=1
  1128. !endif
  1129. !if $(PCIESC_ENABLE) == TRUE
  1130. MSFT:*_*_*_CC_FLAGS = /DPCIESC_SUPPORT=1
  1131. MSFT:*_*_*_VFRPP_FLAGS = /DPCIESC_SUPPORT=1
  1132. MSFT:*_*_*_APP_FLAGS = /DPCIESC_SUPPORT=1
  1133. MSFT:*_*_*_PP_FLAGS = /DPCIESC_SUPPORT=1
  1134. MSFT:*_*_*_ASLPP_FLAGS = /DPCIESC_SUPPORT=1
  1135. GCC:*_*_*_CC_FLAGS = -DPCIESC_SUPPORT=1
  1136. GCC:*_*_*_VFRPP_FLAGS = -DPCIESC_SUPPORT=1
  1137. GCC:*_*_*_APP_FLAGS = -DPCIESC_SUPPORT=1
  1138. GCC:*_*_*_PP_FLAGS = -DPCIESC_SUPPORT=1
  1139. GCC:*_*_*_ASLPP_FLAGS = -DPCIESC_SUPPORT=1
  1140. !endif
  1141. !if $(SOURCE_DEBUG_ENABLE) == TRUE
  1142. !if $(TARGET) == DEBUG
  1143. MSFT:*_*_X64_CC_FLAGS = /Od /Oy-
  1144. !endif
  1145. !endif