PlatformPkg.dsc 39 KB

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