PlatformPkg.dsc 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850
  1. ## @file
  2. # X64 Platform with 64-bit DXE.
  3. #
  4. # @copyright
  5. # Copyright 2008 - 2021 Intel Corporation. <BR>
  6. # Copyright (c) 2021, American Megatrends International LLC. <BR>
  7. #
  8. # SPDX-License-Identifier: BSD-2-Clause-Patent
  9. ##
  10. ################################################################################
  11. #
  12. # Defines Section - statements that will be processed to create a Makefile.
  13. #
  14. ################################################################################
  15. [Defines]
  16. PLATFORM_NAME = $(RP_PKG)
  17. PLATFORM_GUID = D7EAF54D-C9B9-4075-89F0-71943DBCFA61
  18. PLATFORM_VERSION = 0.1
  19. DSC_SPECIFICATION = 0x00010005
  20. OUTPUT_DIRECTORY = Build/$(RP_PKG)
  21. SUPPORTED_ARCHITECTURES = IA32|X64
  22. BUILD_TARGETS = DEBUG|RELEASE
  23. SKUID_IDENTIFIER = DEFAULT
  24. VPD_TOOL_GUID = 8C3D856A-9BE6-468E-850A-24F7A8D38E08
  25. FLASH_DEFINITION = $(RP_PKG)/PlatformPkg.fdf
  26. PLATFORM_SI_PACKAGE = ClientOneSiliconPkg
  27. DEFINE PLATFORM_SI_BIN_PACKAGE = WhitleySiliconBinPkg
  28. PEI_ARCH = IA32
  29. DXE_ARCH = X64
  30. !if $(CPUTARGET) == "CPX"
  31. DEFINE FSP_BIN_PKG = CedarIslandFspBinPkg
  32. DEFINE IIO_INSTANCE = Skx
  33. !elseif $(CPUTARGET) == "ICX"
  34. DEFINE FSP_BIN_PKG = WhitleyFspBinPkg
  35. DEFINE IIO_INSTANCE = Icx
  36. !else
  37. DEFINE IIO_INSTANCE = UnknownCpu
  38. !endif
  39. #
  40. # MinPlatform common include for required feature PCD
  41. # These PCD must be set before the core include files, CoreCommonLib,
  42. # CorePeiLib, and CoreDxeLib.
  43. # Optional MinPlatformPkg features should be enabled after this
  44. #
  45. !include MinPlatformPkg/Include/Dsc/MinPlatformFeaturesPcd.dsc.inc
  46. #
  47. # AdvancedFeature common include for feature enable/disable PCD
  48. #
  49. #
  50. !include AdvancedFeaturePkg/Include/AdvancedFeaturesPcd.dsc
  51. #
  52. # PCD required by advanced features
  53. #
  54. [PcdsFixedAtBuild]
  55. gUsb3DebugFeaturePkgTokenSpaceGuid.PcdUsb3DebugPortLibInstance|1
  56. #
  57. # Platform On/Off features are defined here
  58. #
  59. !include $(RP_PKG)/PlatformPkgConfig.dsc
  60. #
  61. # MRC common configuration options defined here
  62. #
  63. !include $(SILICON_PKG)/MrcCommonConfig.dsc
  64. [Packages]
  65. IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec
  66. !include $(FSP_BIN_PKG)/DynamicExPcd.dsc
  67. !include $(FSP_BIN_PKG)/DynamicExPcdFvLateSilicon.dsc
  68. !include $(RP_PKG)/DynamicExPcd.dsc
  69. !include $(RP_PKG)/Uba/UbaCommon.dsc
  70. !include $(RP_PKG)/Uba/UbaRpBoards.dsc
  71. !include $(RP_PKG)/Include/Dsc/EnablePerformanceMonitoringInfrastructure.dsc
  72. ################################################################################
  73. #
  74. # SKU Identification section - list of all SKU IDs supported by this
  75. # Platform.
  76. #
  77. ################################################################################
  78. [SkuIds]
  79. 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.
  80. [DefaultStores]
  81. 0|STANDARD
  82. 1|MANUFACTURING
  83. ################################################################################
  84. #
  85. # Pcd Section - list of all EDK II PCD Entries defined by this Platform
  86. #
  87. ################################################################################
  88. [PcdsFeatureFlag]
  89. #
  90. # don't degrade 64bit MMIO space to 32-bit
  91. #
  92. gEfiMdeModulePkgTokenSpaceGuid.PcdPciDegradeResourceForOptionRom|FALSE
  93. #
  94. # Server doesn't support capsule update on Reset.
  95. #
  96. gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|FALSE
  97. gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmEnableBspElection|TRUE
  98. gUefiCpuPkgTokenSpaceGuid.PcdCpuHotPlugSupport|FALSE
  99. gEfiMdeModulePkgTokenSpaceGuid.PcdPciBusHotplugDeviceSupport|FALSE
  100. gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE
  101. gEfiCpRcPkgTokenSpaceGuid.Reserved15|TRUE
  102. !if ($(CPUTARGET) == "ICX")
  103. gEfiCpRcPkgTokenSpaceGuid.PcdMemBootHealthFeatureSupported|FALSE
  104. !endif # $(CPUTARGET) == "ICX"
  105. gCpuPkgTokenSpaceGuid.PcdCpuSkylakeFamilyFlag|TRUE
  106. gCpuPkgTokenSpaceGuid.PcdCpuIcelakeFamilyFlag|TRUE
  107. gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmDebug|FALSE
  108. gCpuPkgTokenSpaceGuid.PcdCpuSelectLfpAsBspFlag|TRUE
  109. ## Uncomment for better boot performance
  110. # gPerfOptTokenSpaceGuid.PcdPreUefiLegacyEnable|FALSE
  111. # gPerfOptTokenSpaceGuid.PcdLocalVideoEnable|FALSE
  112. gPlatformTokenSpaceGuid.PcdSupportUnsignedCapsuleImage|TRUE
  113. ## This PCD specified whether ACPI SDT protocol is installed.
  114. gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
  115. ## This PCD specifies whether FPGA routine will be active
  116. gSocketPkgFpgaGuid.PcdSktFpgaActive|TRUE
  117. !if $(CPUTARGET) == "CPX"
  118. gEfiCpRcPkgTokenSpaceGuid.PerBitMargin|FALSE
  119. gEfiCpRcPkgTokenSpaceGuid.PcdSeparateCwlAdj|TRUE
  120. !endif
  121. ## This PCD specifies whether or not to enable the High Speed UART
  122. gPlatformModuleTokenSpaceGuid.PcdEnableHighSpeedUart|FALSE
  123. gEfiMdeModulePkgTokenSpaceGuid.PcdHiiOsRuntimeSupport|FALSE
  124. [PcdsFixedAtBuild]
  125. gEfiCpRcPkgTokenSpaceGuid.PcdRankSwitchFixOption|2
  126. ## MinPlatform Boot Stage Selector
  127. # Stage 1 - enable debug (system deadloop after debug init)
  128. # Stage 2 - mem init (system deadloop after mem init)
  129. # Stage 3 - boot to shell only
  130. # Stage 4 - boot to OS
  131. # Stage 5 - boot to OS with security boot enabled
  132. # Stage 6 - boot with advanced features enabled
  133. #
  134. gMinPlatformPkgTokenSpaceGuid.PcdBootStage|6
  135. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F # Enable asserts, prints, code, clear memory, and deadloops on asserts.
  136. gEfiMdePkgTokenSpaceGuid.PcdFixedDebugPrintErrorLevel|0x80200047 # Built in messages: Error, MTRR, info, load, warn, init
  137. !if $(TARGET) == "DEBUG"
  138. gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2 # This is set to INT3 (0x2) for Simics source level debugging
  139. !endif
  140. gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable|0
  141. gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize|0x0
  142. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x10000
  143. gEfiMdeModulePkgTokenSpaceGuid.PcdShadowPeimOnS3Boot|TRUE
  144. gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize|0x0
  145. gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0x0
  146. gEfiMdePkgTokenSpaceGuid.PcdFSBClock|100000000
  147. gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemId|"INTEL "
  148. gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemTableId|0x4449204C45544E49 # "INTEL ID"
  149. gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreMaxPeiStackSize|0x100000
  150. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxSizeNonPopulateCapsule|0x2100000
  151. gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0302
  152. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|140
  153. gCpuPkgTokenSpaceGuid.PcdCpuIEDRamSize|0x400000
  154. gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmApSyncTimeout|10000
  155. gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|512
  156. gCpuPkgTokenSpaceGuid.PcdPlatformType|2
  157. gCpuPkgTokenSpaceGuid.PcdPlatformCpuMaxCoreFrequency|4000
  158. gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x10000
  159. #PcdCpuMicrocodePatchRegionSize = PcdFlashNvStorageMicrocodeSize - (EFI_FIRMWARE_VOLUME_HEADER. HeaderLength + sizeof (EFI_FFS_FILE_HEADER))
  160. gUefiCpuPkgTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize|0x1FFF70
  161. #
  162. # This controls the NEM code region cached during SEC
  163. # It usually isn't necessary to match exactly the FV layout in the FDF file.
  164. # It is a performance optimization to have it match the flash region exactly
  165. # as then no extra reads are done to load unused flash into cache.
  166. #
  167. gCpuUncoreTokenSpaceGuid.PcdFlashSecCacheRegionBase|0xFFC00000
  168. gCpuUncoreTokenSpaceGuid.PcdFlashSecCacheRegionSize|0x00400000
  169. gIntelFsp2PkgTokenSpaceGuid.PcdTemporaryRamBase|0x00FE800000
  170. gIntelFsp2PkgTokenSpaceGuid.PcdTemporaryRamSize|0x0000200000
  171. #
  172. # Mode | FSP_MODE | PcdFspModeSelection
  173. # ------------------|----------|--------------------
  174. # FSP Dispatch Mode | 1 | 0
  175. # FSP API Mode | 0 | 1
  176. #
  177. !if ($(FSP_MODE) == 0)
  178. gIntelFsp2WrapperTokenSpaceGuid.PcdFspModeSelection|1
  179. gIntelFsp2PkgTokenSpaceGuid.PcdFspTemporaryRamSize|0x00070000
  180. !else
  181. gIntelFsp2WrapperTokenSpaceGuid.PcdFspModeSelection|0
  182. !endif
  183. gUefiCpuPkgTokenSpaceGuid.PcdPeiTemporaryRamStackSize|0x20000
  184. #
  185. # These will be initialized during build
  186. #
  187. gMinPlatformPkgTokenSpaceGuid.PcdFlashFvFspTOffset|0x00000000
  188. gMinPlatformPkgTokenSpaceGuid.PcdFlashFvFspTSize|0x00000000
  189. gMinPlatformPkgTokenSpaceGuid.PcdFlashFvFspTBase|0x00000000
  190. gMinPlatformPkgTokenSpaceGuid.PcdFlashFvFspMOffset|0x00000000
  191. gMinPlatformPkgTokenSpaceGuid.PcdFlashFvFspMSize|0x00000000
  192. gMinPlatformPkgTokenSpaceGuid.PcdFlashFvFspSOffset|0x00000000
  193. gMinPlatformPkgTokenSpaceGuid.PcdFlashFvFspMBase|0x00000000
  194. gMinPlatformPkgTokenSpaceGuid.PcdFlashFvFspSSize|0x00000000
  195. gMinPlatformPkgTokenSpaceGuid.PcdFlashFvFspSBase|0x00000000
  196. gMinPlatformPkgTokenSpaceGuid.PcdFlashFvMicrocodeBase|0x00000000
  197. gMinPlatformPkgTokenSpaceGuid.PcdFlashFvMicrocodeSize|0x00000000
  198. gCpPlatFlashTokenSpaceGuid.PcdFlashFvAcmRegionBase|0x00000000
  199. ## Specifies delay value in microseconds after sending out an INIT IPI.
  200. # @Prompt Configure delay value after send an INIT IPI
  201. gUefiCpuPkgTokenSpaceGuid.PcdCpuInitIpiDelayInMicroSeconds|10
  202. ## Specifies max supported number of Logical Processors.
  203. # @Prompt Configure max supported number of Logical Processorss
  204. gUefiCpuPkgTokenSpaceGuid.PcdCpuApStackSize|0x1000
  205. gPlatformTokenSpaceGuid.PcdPerfPkgPchPmBaseFunctionNumber|0x2
  206. gPlatformTokenSpaceGuid.PcdUboDev|0x08
  207. gPlatformTokenSpaceGuid.PcdUboFunc|0x02
  208. gPlatformTokenSpaceGuid.PcdUboCpuBusNo0|0xCC
  209. gCpuPkgTokenSpaceGuid.PcdCpuIEDEnabled|TRUE
  210. gPlatformTokenSpaceGuid.PcdSupportLegacyStack|FALSE
  211. ## Defines the ACPI register set base address.
  212. # The invalid 0xFFFF is as its default value. It must be configured to the real value.
  213. # @Prompt ACPI Timer IO Port Address
  214. gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPortBaseAddress | 0x0500
  215. ## Defines the PCI Bus Number of the PCI device that contains the BAR and Enable for ACPI hardware registers.
  216. # @Prompt ACPI Hardware PCI Bus Number
  217. gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBusNumber | 0x00
  218. ## Defines the PCI Device Number of the PCI device that contains the BAR and Enable for ACPI hardware registers.
  219. # The invalid 0xFF is as its default value. It must be configured to the real value.
  220. # @Prompt ACPI Hardware PCI Device Number
  221. gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciDeviceNumber | 0x1F
  222. ## Defines the PCI Function Number of the PCI device that contains the BAR and Enable for ACPI hardware registers.
  223. # The invalid 0xFF is as its default value. It must be configured to the real value.
  224. # @Prompt ACPI Hardware PCI Function Number
  225. gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciFunctionNumber | 0x02
  226. ## Defines the PCI Register Offset of the PCI device that contains the Enable for ACPI hardware registers.
  227. # The invalid 0xFFFF is as its default value. It must be configured to the real value.
  228. # @Prompt ACPI Hardware PCI Register Offset
  229. gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciEnableRegisterOffset |0x0044
  230. ## Defines the bit mask that must be set to enable the APIC hardware register BAR.
  231. # @Prompt ACPI Hardware PCI Bar Enable BitMask
  232. gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoBarEnableMask | 0x80
  233. ## Defines the PCI Register Offset of the PCI device that contains the BAR for ACPI hardware registers.
  234. # The invalid 0xFFFF is as its default value. It must be configured to the real value.
  235. # @Prompt ACPI Hardware PCI Bar Register Offset
  236. gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiIoPciBarRegisterOffset |0x0040
  237. ## Defines the offset to the 32-bit Timer Value register that resides within the ACPI BAR.
  238. # @Prompt Offset to 32-bit Timer register in ACPI BAR
  239. gPcAtChipsetPkgTokenSpaceGuid.PcdAcpiPm1TmrOffset |0x0008
  240. !if $(CPUTARGET) == "ICX"
  241. #
  242. # ACPI PCD custom override
  243. #
  244. gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorId|0x4C544E49
  245. gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorRevision|0x01000013
  246. !endif
  247. gMinPlatformPkgTokenSpaceGuid.PcdMaxCpuCoreCount|28
  248. gMinPlatformPkgTokenSpaceGuid.PcdMaxCpuSocketCount|$(MAX_SOCKET)
  249. gMinPlatformPkgTokenSpaceGuid.PcdWsmtProtectionFlags|0x07
  250. # Enable DDRT scheduler debug features for power on
  251. gEfiCpRcPkgTokenSpaceGuid.PcdDdrtSchedulerDebugDefault|TRUE
  252. # Disable Fast Warm Boot for Whitley Openboard Package
  253. gEfiCpRcPkgTokenSpaceGuid.PcdMrcFastBootDefault|FALSE
  254. !if $(CPUTARGET) == "ICX"
  255. gCpuUncoreTokenSpaceGuid.PcdWaSerializationEn|FALSE
  256. gEfiCpRcPkgTokenSpaceGuid.PcdMrcCmdVrefCenteringTrainingEnable|FALSE
  257. !endif
  258. gPcAtChipsetPkgTokenSpaceGuid.PcdRtcIndexRegister|0x74
  259. gPcAtChipsetPkgTokenSpaceGuid.PcdRtcTargetRegister|0x75
  260. #
  261. # PlatformInitPreMem
  262. #
  263. gMinPlatformPkgTokenSpaceGuid.PcdPlatformEfiAcpiReclaimMemorySize|0x100
  264. gMinPlatformPkgTokenSpaceGuid.PcdPlatformEfiAcpiNvsMemorySize|0xA30
  265. gMinPlatformPkgTokenSpaceGuid.PcdPlatformEfiReservedMemorySize|0x100
  266. gMinPlatformPkgTokenSpaceGuid.PcdPlatformEfiRtDataMemorySize|0x100
  267. gMinPlatformPkgTokenSpaceGuid.PcdPlatformEfiRtCodeMemorySize|0x100
  268. gEfiCpRcPkgTokenSpaceGuid.PcdReserved15|0
  269. !include $(SILICON_PKG)/Product/Whitley/SiliconPkg10nmPcds.dsc
  270. [PcdsFixedAtBuild.IA32]
  271. #
  272. # FSP Base address PCD will be updated in FDF basing on flash map.
  273. #
  274. gIntelFsp2WrapperTokenSpaceGuid.PcdFsptBaseAddress|0
  275. gIntelFsp2WrapperTokenSpaceGuid.PcdFspmBaseAddress|0
  276. !if ($(FSP_MODE) == 0)
  277. gMinPlatformPkgTokenSpaceGuid.PcdFspWrapperBootMode|TRUE
  278. gIntelFsp2WrapperTokenSpaceGuid.PcdPeiMinMemSize|0x4000000
  279. gEfiMdePkgTokenSpaceGuid.PcdSpeculationBarrierType|0
  280. !endif
  281. [PcdsFixedAtBuild.X64]
  282. # Change PcdBootManagerMenuFile to UiApp
  283. ##
  284. gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
  285. gPlatformModuleTokenSpaceGuid.PcdS3AcpiReservedMemorySize|0xC00000
  286. gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmCodeAccessCheckEnable |TRUE
  287. #
  288. # AcpiPlatform
  289. #
  290. gMinPlatformPkgTokenSpaceGuid.PcdAcpiEnableSwSmi|0xA0
  291. gMinPlatformPkgTokenSpaceGuid.PcdAcpiDisableSwSmi|0xA1
  292. gMinPlatformPkgTokenSpaceGuid.PcdPcIoApicCount|32
  293. gMinPlatformPkgTokenSpaceGuid.PcdPcIoApicIdBase|0x09
  294. gMinPlatformPkgTokenSpaceGuid.PcdPcIoApicAddressBase|0xFEC01000
  295. gMinPlatformPkgTokenSpaceGuid.PcdPcIoApicInterruptBase|24
  296. gMinPlatformPkgTokenSpaceGuid.PcdLocalApicAddress|0xFEE00000
  297. gMinPlatformPkgTokenSpaceGuid.PcdIoApicAddress|0xFEC00000
  298. gMinPlatformPkgTokenSpaceGuid.PcdIoApicId|0x08
  299. gMinPlatformPkgTokenSpaceGuid.PcdAcpiPm1AEventBlockAddress|0x500
  300. gMinPlatformPkgTokenSpaceGuid.PcdAcpiPm1BEventBlockAddress|0
  301. gMinPlatformPkgTokenSpaceGuid.PcdAcpiPm1AControlBlockAddress|0x504
  302. gMinPlatformPkgTokenSpaceGuid.PcdAcpiPm1BControlBlockAddress|0
  303. gMinPlatformPkgTokenSpaceGuid.PcdAcpiPm2ControlBlockAddress|0x550
  304. gMinPlatformPkgTokenSpaceGuid.PcdAcpiPmTimerBlockAddress|0x508
  305. gMinPlatformPkgTokenSpaceGuid.PcdAcpiGpe0BlockAddress|0x580
  306. gMinPlatformPkgTokenSpaceGuid.PcdAcpiGpe1BlockAddress|0
  307. gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmRestrictedMemoryAccess|FALSE
  308. gMinPlatformPkgTokenSpaceGuid.PcdTrustedConsoleInputDevicePath|{ 0x02, 0x01, 0x0C, 0x00, 0xD0, 0x41, 0x03, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x06, 0x00, 0x00, 0x1F, 0x02, 0x01, 0x0C, 0x00, 0xD0, 0x41, 0x01, 0x05, 0x00, 0x00, 0x00, 0x00, 0x03, 0x0e, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC2, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x01, 0x01, 0x03, 0x0a, 0x14, 0x00, 0x53, 0x47, 0xC1, 0xe0, 0xbe, 0xf9, 0xd2, 0x11, 0x9a, 0x0c, 0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d, 0x7F, 0x01, 0x04, 0x00, 0x03, 0x0F, 0x0B, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x03, 0x01, 0x01, 0x7F, 0xFF, 0x04, 0x00}
  309. gMinPlatformPkgTokenSpaceGuid.PcdTrustedConsoleOutputDevicePath|{ 0x02, 0x01, 0x0C, 0x00, 0xD0, 0x41, 0x03, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x06, 0x00, 0x00, 0x1F, 0x02, 0x01, 0x0C, 0x00, 0xD0, 0x41, 0x01, 0x05, 0x00, 0x00, 0x00, 0x00, 0x03, 0x0e, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC2, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x01, 0x01, 0x03, 0x0a, 0x14, 0x00, 0x53, 0x47, 0xC1, 0xe0, 0xbe, 0xf9, 0xd2, 0x11, 0x9a, 0x0c, 0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d, 0x7F, 0x01, 0x04, 0x00, 0x02, 0x01, 0x0C, 0x00, 0xd0, 0x41, 0x03, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x06, 0x00, 0x00, 0x02, 0x7F, 0xFF, 0x04, 0x00}
  310. gBoardModulePkgTokenSpaceGuid.PcdSuperIoPciIsaBridgeDevice|{0x0, 0x0, 0x1F, 0x0}
  311. gBoardModulePkgTokenSpaceGuid.PcdUart1Enable|0x01
  312. [PcdsPatchableInModule]
  313. #
  314. # These debug options are patcheable so that they can be manipulated during debug (if memory is updateable)
  315. #
  316. gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07 # Enable status codes for debug, progress, and errors
  317. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000047 # Displayed messages: Error, Info, warn
  318. gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0x80000000
  319. gUefiCpuPkgTokenSpaceGuid.PcdCpuNumberOfReservedVariableMtrrs|0
  320. !if $(PREMEM_PAGE_ALLOC_SUPPORT) == FALSE
  321. gEfiCpRcPkgTokenSpaceGuid.PcdPeiTemporaryRamRcHeapSize|0x130000
  322. !endif
  323. [PcdsDynamicExDefault.IA32]
  324. !if ($(FSP_MODE) == 0)
  325. gIntelFsp2WrapperTokenSpaceGuid.PcdFspmUpdDataAddress|0x00000000
  326. !endif
  327. [PcdsDynamicExHii]
  328. gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|L"1GPageTable"|gEfiGenericVariableGuid|0x0|TRUE
  329. gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|0 # Variable: L"Timeout"
  330. gPlatformTokenSpaceGuid.PcdPlatformMemoryCheck|L"MemoryCheck"|gPlatformTokenSpaceGuid|0x0|0
  331. gCpPlatTokenSpaceGuid.PcdUefiOptimizedBoot|L"UefiOptimizedBoot"|gCpPlatTokenSpaceGuid|0x0|TRUE
  332. gPlatformModuleTokenSpaceGuid.PcdBootState|L"BootState"|gEfiGenericVariableGuid|0x0|TRUE
  333. gEfiMdePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|L"HwErrRecSupport"|gEfiGlobalVariableGuid|0x0|1 # Variable: L"HwErrRecSupport"
  334. gPlatformTokenSpaceGuid.PcdBootDeviceScratchPad5Changed|L"BootDeviceScratchPad"|gEfiGenericVariableGuid|0x0|FALSE
  335. [PcdsDynamicExDefault]
  336. gUefiCpuPkgTokenSpaceGuid.PcdCpuApInitTimeOutInMicroSeconds|200000
  337. gEfiSecurityPkgTokenSpaceGuid.PcdTpmPhysicalPresence|TRUE
  338. gEfiSecurityPkgTokenSpaceGuid.PcdTpmAutoDetection|TRUE
  339. gEfiMdeModulePkgTokenSpaceGuid.PcdAriSupport|TRUE
  340. gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
  341. gPlatformModuleTokenSpaceGuid.PcdLtConfigLockEnable|TRUE
  342. gPlatformModuleTokenSpaceGuid.PcdProcessorLtsxEnable|FALSE
  343. gCpuPkgTokenSpaceGuid.PcdCpuSmmMsrSaveStateEnable|FALSE
  344. gCpuPkgTokenSpaceGuid.PcdCpuSmmProtectedModeEnable|FALSE
  345. gCpuPkgTokenSpaceGuid.PcdCpuSmmRuntimeCtlHooks|FALSE
  346. gSiPkgTokenSpaceGuid.PcdWakeOnRTCS5|FALSE
  347. gSiPkgTokenSpaceGuid.PcdRtcWakeupTimeHour|0
  348. gSiPkgTokenSpaceGuid.PcdRtcWakeupTimeMinute|0
  349. gSiPkgTokenSpaceGuid.PcdRtcWakeupTimeSecond|0
  350. #Platform should change it to by code
  351. gSiPkgTokenSpaceGuid.PcdPchSataInitReg78Data|0xAAAA0000
  352. gSiPkgTokenSpaceGuid.PcdPchSataInitReg88Data|0xAA33AA22
  353. gEfiSecurityPkgTokenSpaceGuid.PcdUserPhysicalPresence|TRUE
  354. #
  355. # CPU features related PCDs.
  356. #
  357. gCpuPkgTokenSpaceGuid.PcdCpuEnergyPolicy
  358. gUefiCpuPkgTokenSpaceGuid.PcdCpuClockModulationDutyCycle
  359. gUefiCpuPkgTokenSpaceGuid.PcdIsPowerOnReset
  360. gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSupport|TRUE
  361. gEfiMdeModulePkgTokenSpaceGuid.PcdAriSupport|TRUE
  362. gEfiMdeModulePkgTokenSpaceGuid.PcdMrIovSupport|FALSE
  363. gEfiMdeModulePkgTokenSpaceGuid.PcdSrIovSystemPageSize|0x01
  364. ## Put fTPM guid here: e.g. { 0xf9c6a62f, 0xc60f, 0x4b44, { 0xa6, 0x29, 0xed, 0x3d, 0x40, 0xae, 0xfa, 0x5f } }
  365. ## TPM1.2 { 0x8b01e5b6, 0x4f19, 0x46e8, { 0xab, 0x93, 0x1c, 0x53, 0x67, 0x1b, 0x90, 0xcc } }
  366. ## TPM2.0Dtpm { 0x286bf25a, 0xc2c3, 0x408c, { 0xb3, 0xb4, 0x25, 0xe6, 0x75, 0x8b, 0x73, 0x17 } }
  367. #TPM2.0#
  368. gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x5a, 0xf2, 0x6b, 0x28, 0xc3, 0xc2, 0x8c, 0x40, 0xb3, 0xb4, 0x25, 0xe6, 0x75, 0x8b, 0x73, 0x17}
  369. gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy|0
  370. gEfiSecurityPkgTokenSpaceGuid.PcdTpm2InitializationPolicy|1
  371. gEfiSecurityPkgTokenSpaceGuid.PcdTpm2SelfTestPolicy|0
  372. gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|4
  373. gEfiSecurityPkgTokenSpaceGuid.PcdTcg2PhysicalPresenceFlags|0x600C0
  374. gCpuPkgTokenSpaceGuid.PcdCpuSmmUseDelayIndication|FALSE
  375. gCpuPkgTokenSpaceGuid.PcdCpuSmmUseBlockIndication|FALSE
  376. gPlatformTokenSpaceGuid.PcdOnboardVideoPciVendorId|0x102b
  377. gPlatformTokenSpaceGuid.PcdOnboardVideoPciDeviceId|0x0522
  378. gPlatformTokenSpaceGuid.PcdSetupMenuScanCode|0x000C
  379. gPlatformTokenSpaceGuid.PcdBootDeviceListScanCode|0x0011
  380. gPlatformTokenSpaceGuid.PcdBootMenuFile|{ 0xdc, 0x5b, 0xc2, 0xee, 0xf2, 0x67, 0x95, 0x4d, 0xb1, 0xd5, 0xf8, 0x1b, 0x20, 0x39, 0xd1, 0x1d }
  381. gMinPlatformPkgTokenSpaceGuid.PcdPcIoApicEnable|0x0
  382. gMinPlatformPkgTokenSpaceGuid.PcdFadtPreferredPmProfile|0x04
  383. gMinPlatformPkgTokenSpaceGuid.PcdFadtIaPcBootArch|0x0000
  384. gMinPlatformPkgTokenSpaceGuid.PcdFadtFlags|0x000004A5
  385. [PcdsDynamicExDefault.X64]
  386. gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|115200
  387. gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits|8
  388. gEfiMdePkgTokenSpaceGuid.PcdUartDefaultParity|1
  389. gEfiMdePkgTokenSpaceGuid.PcdUartDefaultStopBits|1
  390. gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|0
  391. #
  392. # Set video to 1024x768 resolution
  393. #
  394. gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1024
  395. gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|768
  396. [PcdsDynamicExDefault]
  397. !if $(CPUTARGET) == "CPX"
  398. !include $(RP_PKG)/StructurePcdCpx.dsc
  399. !else
  400. !include $(RP_PKG)/StructurePcd.dsc
  401. !endif
  402. [PcdsFeatureFlag]
  403. !if $(gMinPlatformPkgTokenSpaceGuid.PcdBootStage) >= 5
  404. gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable |TRUE
  405. gMinPlatformPkgTokenSpaceGuid.PcdUefiSecureBootEnable |TRUE
  406. !else
  407. gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable |FALSE
  408. gMinPlatformPkgTokenSpaceGuid.PcdUefiSecureBootEnable |FALSE
  409. !endif
  410. [Defines]
  411. !if gMinPlatformPkgTokenSpaceGuid.PcdUefiSecureBootEnable == TRUE
  412. DEFINE SECURE_BOOT_ENABLE = TRUE
  413. !endif
  414. ################################################################################
  415. #
  416. # Library Class section - list of all Library Classes needed by this Platform.
  417. #
  418. ################################################################################
  419. !include MinPlatformPkg/Include/Dsc/CoreCommonLib.dsc
  420. !include MinPlatformPkg/Include/Dsc/CorePeiLib.dsc
  421. !include MinPlatformPkg/Include/Dsc/CoreDxeLib.dsc
  422. [LibraryClasses]
  423. #
  424. # Simics source level debugging requires the non-null version of PeCoffExtraActionLib
  425. #
  426. !if $(TARGET) == "DEBUG"
  427. PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf
  428. !else
  429. PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
  430. !endif
  431. #
  432. # Basic
  433. #
  434. PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
  435. SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
  436. #
  437. # Framework
  438. #
  439. S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
  440. FrameBufferBltLib|MdeModulePkg/Library/FrameBufferBltLib/FrameBufferBltLib.inf
  441. SiliconPolicyInitLib|WhitleySiliconPkg/Library/SiliconPolicyInitLibShim/SiliconPolicyInitLibShim.inf
  442. !if ($(FSP_MODE) == 0)
  443. SiliconPolicyUpdateLib|$(RP_PKG)/Library/SiliconPolicyUpdateLib/SiliconPolicyUpdateLibFsp.inf
  444. !else
  445. SiliconPolicyUpdateLib|$(RP_PKG)/Library/SiliconPolicyUpdateLib/SiliconPolicyUpdateLib.inf
  446. !endif
  447. SetupLib|WhitleySiliconPkg/Library/SetupLib/SetupLib.inf
  448. #
  449. # ToDo: Can we use BaseAcpiTimerLib from MinPlatform?
  450. #
  451. TimerLib|PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
  452. MultiPlatSupportLib|$(RP_PKG)/Library/MultiPlatSupportLib/MultiPlatSupportLib.inf
  453. ReadFfsLib|$(RP_PKG)/Library/ReadFfsLib/ReadFfsLib.inf
  454. PlatformSetupVariableSyncLib|$(RP_PKG)/Library/PlatformSetupVariableSyncLibNull/PlatformSetupVariableSyncLibNull.inf
  455. PlatformVariableHookLib |$(RP_PKG)/Library/PlatformVariableHookLibNull/PlatformVariableHookLibNull.inf
  456. PlatformBootManagerLib|$(PLATFORM_PKG)/Bds/Library/DxePlatformBootManagerLib/DxePlatformBootManagerLib.inf
  457. SerialPortLib|$(RP_PKG)/Library/SerialPortLib/SerialPortLib.inf
  458. PlatformHooksLib|$(RP_PKG)/Library/PlatformHooksLib/PlatformHooksLib.inf
  459. CmosAccessLib|BoardModulePkg/Library/CmosAccessLib/CmosAccessLib.inf
  460. PlatformCmosAccessLib|$(RP_PKG)/Library/PlatformCmosAccessLib/PlatformCmosAccessLib.inf
  461. SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
  462. TpmCommLib|SecurityPkg/Library/TpmCommLib/TpmCommLib.inf
  463. #
  464. # MinPlatform uses port 80, we don't want to assume HW
  465. #
  466. PostCodeLib|MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.inf
  467. TcgPpVendorLib|SecurityPkg/Library/TcgPpVendorLibNull/TcgPpVendorLibNull.inf
  468. Tcg2PpVendorLib|SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf
  469. AslUpdateLib|$(PLATFORM_PKG)/Acpi/Library/DxeAslUpdateLib/DxeAslUpdateLib.inf
  470. PciSegmentInfoLib|$(PLATFORM_PKG)/Pci/Library/PciSegmentInfoLibSimple/PciSegmentInfoLibSimple.inf
  471. PlatformOpromPolicyLib|$(RP_PKG)/Library/PlatformOpromPolicyLibNull/PlatformOpromPolicyLibNull.inf
  472. CcExitLib|UefiCpuPkg/Library/CcExitLibNull/CcExitLibNull.inf
  473. CrcLib|WhitleyOpenBoardPkg/Library/BaseCrcLib/BaseCrcLib.inf
  474. PlatformSpecificAcpiTableLib|WhitleyOpenBoardPkg/Library/PlatformSpecificAcpiTableLibNull/PlatformSpecificAcpiTableLibNull.inf
  475. BuildAcpiTablesLib|WhitleyOpenBoardPkg/Library/BuildAcpiTablesLib/DxeBuildAcpiTablesLib.inf
  476. AcpiPlatformTableLib|WhitleyOpenBoardPkg/Library/AcpiPlatformTableLib/AcpiPlatformLib.inf
  477. [LibraryClasses.Common.SEC, LibraryClasses.Common.PEI_CORE, LibraryClasses.Common.PEIM]
  478. FspWrapperApiLib|IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/BaseFspWrapperApiLib.inf
  479. FspWrapperApiTestLib|IntelFsp2WrapperPkg/Library/PeiFspWrapperApiTestLib/PeiFspWrapperApiTestLib.inf
  480. FspWrapperPlatformLib|WhitleySiliconPkg/Library/FspWrapperPlatformLib/FspWrapperPlatformLib.inf
  481. FspWrapperHobProcessLib|WhitleyOpenBoardPkg/Library/PeiFspWrapperHobProcessLib/PeiFspWrapperHobProcessLib.inf
  482. FspSwitchStackLib|IntelFsp2Pkg/Library/BaseFspSwitchStackLib/BaseFspSwitchStackLib.inf
  483. FspCommonLib|IntelFsp2Pkg/Library/BaseFspCommonLib/BaseFspCommonLib.inf
  484. FspPlatformLib|IntelFsp2Pkg/Library/BaseFspPlatformLib/BaseFspPlatformLib.inf
  485. [LibraryClasses.Common.SEC]
  486. #
  487. # SEC phase
  488. #
  489. TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
  490. PlatformSecLib|$(RP_PKG)/Library/SecFspWrapperPlatformSecLib/SecFspWrapperPlatformSecLib.inf
  491. SecBoardInitLib|MinPlatformPkg/PlatformInit/Library/SecBoardInitLibNull/SecBoardInitLibNull.inf
  492. TestPointCheckLib|MinPlatformPkg/Test/Library/TestPointCheckLib/SecTestPointCheckLib.inf
  493. VariableReadLib|MinPlatformPkg/Library/BaseVariableReadLibNull/BaseVariableReadLibNull.inf
  494. [LibraryClasses.Common.PEI_CORE, LibraryClasses.Common.PEIM]
  495. #
  496. # ToDo: Can we remove
  497. #
  498. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
  499. MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
  500. PeiPlatformHookLib|$(RP_PKG)/Library/PeiPlatformHookLib/PeiPlatformHooklib.inf
  501. PlatformClocksLib|$(RP_PKG)/Library/PlatformClocksLib/Pei/PlatformClocksLib.inf
  502. TestPointCheckLib|MinPlatformPkg/Test/Library/TestPointCheckLib/PeiTestPointCheckLib.inf
  503. TestPointLib|MinPlatformPkg/Test/Library/TestPointLib/PeiTestPointLib.inf
  504. ReportFvLib|$(RP_PKG)/Library/PeiReportFvLib/PeiReportFvLib.inf
  505. [LibraryClasses.Common.PEIM]
  506. #
  507. # Library instance consumed by MinPlatformPkg PlatformInit modules.
  508. #
  509. ReportCpuHobLib|MinPlatformPkg/PlatformInit/Library/ReportCpuHobLib/ReportCpuHobLib.inf
  510. SetCacheMtrrLib|$(RP_PKG)/Library/SetCacheMtrrLib/SetCacheMtrrLib.inf
  511. ResetSystemLib|MdeModulePkg/Library/PeiResetSystemLib/PeiResetSystemLib.inf
  512. [LibraryClasses.common.DXE_CORE, LibraryClasses.common.DXE_SMM_DRIVER, LibraryClasses.common.SMM_CORE, LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
  513. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  514. Tcg2PhysicalPresenceLib|SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.inf
  515. TcgPhysicalPresenceLib|SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.inf
  516. BiosIdLib|BoardModulePkg/Library/BiosIdLib/DxeBiosIdLib.inf
  517. MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
  518. TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
  519. Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf
  520. TestPointCheckLib|MinPlatformPkg/Test/Library/TestPointCheckLibNull/TestPointCheckLibNull.inf
  521. TestPointLib|MinPlatformPkg/Test/Library/TestPointLib/DxeTestPointLib.inf
  522. BoardBdsHookLib|BoardModulePkg/Library/BoardBdsHookLib/BoardBdsHookLib.inf
  523. BoardBootManagerLib|MinPlatformPkg/Bds/Library/BoardBootManagerLibNull/BoardBootManagerLibNull.inf
  524. CompressDxeLib|MinPlatformPkg/Library/CompressLib/CompressLib.inf
  525. [LibraryClasses.Common.DXE_SMM_DRIVER]
  526. SpiFlashCommonLib|$(RP_PKG)/Library/SmmSpiFlashCommonLib/SmmSpiFlashCommonLib.inf
  527. TestPointCheckLib|MinPlatformPkg/Test/Library/TestPointCheckLib/SmmTestPointCheckLib.inf
  528. TestPointLib|MinPlatformPkg/Test/Library/TestPointLib/SmmTestPointLib.inf
  529. MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
  530. BoardAcpiEnableLib|$(RP_PKG)/Library/BoardAcpiLib/SmmBoardAcpiEnableLib.inf
  531. Tcg2PhysicalPresenceLib|SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf
  532. [LibraryClasses.Common.SMM_CORE]
  533. S3BootScriptLib|MdePkg/Library/BaseS3BootScriptLibNull/BaseS3BootScriptLibNull.inf
  534. [LibraryClasses.Common]
  535. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  536. PeiLib|MinPlatformPkg/Library/PeiLib/PeiLib.inf
  537. [Components.IA32]
  538. UefiCpuPkg/SecCore/SecCore.inf
  539. !include MinPlatformPkg/Include/Dsc/CorePeiInclude.dsc
  540. MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
  541. <LibraryClasses>
  542. #
  543. # Beware of circular dependencies on PCD if you want to use another DebugLib instance.
  544. #
  545. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  546. NULL|$(FSP_BIN_PKG)/Library/FspPcdListLibNull/FspPcdListLibNull.inf # Include FSP DynamicEx PCD
  547. NULL|$(FSP_BIN_PKG)/Library/FspPcdListLibNull/FspPcdListLibNullFvLateSilicon.inf # Include FvLateSilicon DynamicEx PCD
  548. NULL|$(FSP_BIN_PKG)/Library/FspPcdListLibNull/FspPcdListLibNullFvLateOpenBoard.inf # Include FvLateBoard DynamicEx PCD
  549. }
  550. $(RP_PKG)/Universal/PeiExStatusCodeRouter/ExReportStatusCodeRouterPei.inf
  551. $(RP_PKG)/Universal/PeiExStatusCodeHandler/ExStatusCodeHandlerPei.inf
  552. $(RP_PKG)/Universal/PeiInterposerToSvidMap/PeiInterposerToSvidMap.inf
  553. $(RP_PKG)/Features/Variable/PlatformVariable/Pei/PlatformVariableInitPei.inf
  554. $(RP_PKG)/Platform/Pei/PlatformInfo/PlatformInfo.inf
  555. $(PLATFORM_PKG)/PlatformInit/PlatformInitPei/PlatformInitPreMem.inf {
  556. <LibraryClasses>
  557. TestPointCheckLib|MinPlatformPkg/Test/Library/TestPointCheckLibNull/TestPointCheckLibNull.inf
  558. BoardInitLib|$(RP_PKG)/Library/BoardInitLib/BoardInitPreMemLib.inf
  559. }
  560. $(PLATFORM_PKG)/PlatformInit/ReportFv/ReportFvPei.inf
  561. $(PLATFORM_PKG)/PlatformInit/SiliconPolicyPei/SiliconPolicyPeiPreMem.inf{
  562. <LibraryClasses>
  563. SiliconWorkaroundLib|WhitleySiliconPkg/Library/SiliconWorkaroundLibNull/SiliconWorkaroundLibNull.inf
  564. }
  565. $(RP_PKG)/Platform/Pei/EmulationPlatformInit/EmulationPlatformInit.inf
  566. $(PLATFORM_PKG)/PlatformInit/PlatformInitPei/PlatformInitPostMem.inf {
  567. <LibraryClasses>
  568. TestPointCheckLib|MinPlatformPkg/Test/Library/TestPointCheckLibNull/TestPointCheckLibNull.inf
  569. BoardInitLib|$(PLATFORM_PKG)/PlatformInit/Library/BoardInitLibNull/BoardInitLibNull.inf
  570. }
  571. IntelFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.inf
  572. !if ($(FSP_MODE) == 0)
  573. IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.inf
  574. $(RP_PKG)/Platform/Pei/DummyPchSpi/DummyPchSpi.inf
  575. !endif
  576. $(RP_PKG)/BiosInfo/BiosInfo.inf
  577. WhitleySiliconPkg/Pch/SouthClusterLbg/MultiPch/Pei/MultiPchPei.inf
  578. UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.inf
  579. UefiCpuPkg/CpuMpPei/CpuMpPei.inf
  580. UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
  581. <LibraryClasses>
  582. !if gMinPlatformPkgTokenSpaceGuid.PcdPerformanceEnable == TRUE
  583. TimerLib|UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/SecPeiDxeTimerLibUefiCpu.inf
  584. !endif
  585. }
  586. [Components.X64]
  587. !include MinPlatformPkg/Include/Dsc/CoreDxeInclude.dsc
  588. $(RP_PKG)/Platform/Dxe/PlatformType/PlatformType.inf
  589. MinPlatformPkg/Test/TestPointDumpApp/TestPointDumpApp.inf
  590. MdeModulePkg/Universal/SectionExtractionDxe/SectionExtractionDxe.inf
  591. MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
  592. MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
  593. MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf
  594. UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf
  595. ShellPkg/Application/Shell/Shell.inf {
  596. <LibraryClasses>
  597. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  598. NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
  599. NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
  600. NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
  601. NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
  602. NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
  603. NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
  604. NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
  605. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  606. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  607. BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
  608. IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
  609. <PcdsFixedAtBuild>
  610. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
  611. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  612. gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
  613. }
  614. $(RP_PKG)/Cpu/Dxe/PlatformCpuPolicy/PlatformCpuPolicy.inf
  615. UefiCpuPkg/CpuDxe/CpuDxe.inf
  616. UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
  617. $(RP_PKG)/Features/Pci/Dxe/PciHostBridge/PciHostBridge.inf
  618. IntelSiliconPkg/Feature/Flash/SpiFvbService/SpiFvbServiceSmm.inf
  619. $(RP_PKG)/Features/Pci/Dxe/PciPlatform/PciPlatform.inf
  620. !if $(CPUTARGET) == "ICX"
  621. $(RP_PKG)/Features/Acpi/AcpiPlatform/AcpiPlatform.inf
  622. $(RP_PKG)/Features/Acpi/AcpiTables/AcpiTables10nm.inf
  623. !endif
  624. $(RP_PKG)/Features/AcpiVtd/AcpiVtd.inf
  625. $(PLATFORM_PKG)/Acpi/AcpiSmm/AcpiSmm.inf
  626. $(PLATFORM_PKG)/PlatformInit/PlatformInitDxe/PlatformInitDxe.inf {
  627. <LibraryClasses>
  628. BoardInitLib|$(RP_PKG)/Library/BoardInitLib/BoardInitDxeLib.inf
  629. }
  630. $(RP_PKG)/Platform/Dxe/S3NvramSave/S3NvramSave.inf {
  631. !if ($(FSP_MODE) == 0)
  632. <BuildOptions>
  633. *_*_*_CC_FLAGS = -D FSP_API_MODE
  634. !endif
  635. }
  636. $(PLATFORM_PKG)/FspWrapper/SaveMemoryConfig/SaveMemoryConfig.inf
  637. $(PLATFORM_SI_BIN_PACKAGE)/CpxMicrocode/MicrocodeUpdates.inf
  638. $(PLATFORM_SI_BIN_PACKAGE)/IcxMicrocode/MicrocodeUpdates.inf
  639. MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe.inf
  640. MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
  641. BoardModulePkg/LegacySioDxe/LegacySioDxe.inf
  642. BoardModulePkg/BoardBdsHookDxe/BoardBdsHookDxe.inf
  643. MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
  644. MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatformDriOverrideDxe.inf
  645. MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
  646. MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.inf
  647. MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
  648. MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
  649. #
  650. # SiliconPkg code for Platform Integration are defined here
  651. #
  652. !if $(CPUTARGET) == "CPX"
  653. DEFINE CPU_CPX_SUPPORT = TRUE
  654. !else
  655. DEFINE CPU_CPX_SUPPORT = FALSE
  656. !endif
  657. [PcdsFixedAtBuild]
  658. !if $(CPUTARGET) == "CPX"
  659. gSiPkgTokenSpaceGuid.PcdPostedCsrAccessSupported |FALSE
  660. !endif
  661. [LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.UEFI_DRIVER, LibraryClasses.common.UEFI_APPLICATION]
  662. ResetSystemLib|MdeModulePkg/Library/DxeResetSystemLib/DxeResetSystemLib.inf
  663. [LibraryClasses.common.DXE_RUNTIME_DRIVER]
  664. ResetSystemLib|MdeModulePkg/Library/RuntimeResetSystemLib/RuntimeResetSystemLib.inf
  665. ###################################################################################################
  666. #
  667. # BuildOptions Section - Define the module specific tool chain flags that should be used as
  668. # the default flags for a module. These flags are appended to any
  669. # standard flags that are defined by the build process. They can be
  670. # applied for any modules or only those modules with the specific
  671. # module style (EDK or EDKII) specified in [Components] section.
  672. #
  673. ###################################################################################################
  674. !include $(RP_PKG)/Include/Dsc/BuildOptions.dsc