PlatformPkgX64.dsc 50 KB

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