PlatformPkgIA32.dsc 50 KB

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