UefiCpuPkg.dsc 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. ## @file
  2. # UefiCpuPkg Package
  3. #
  4. # Copyright (c) 2007 - 2022, Intel Corporation. All rights reserved.<BR>
  5. #
  6. # SPDX-License-Identifier: BSD-2-Clause-Patent
  7. #
  8. ##
  9. [Defines]
  10. PLATFORM_NAME = UefiCpu
  11. PLATFORM_GUID = a1b7be22-78b3-4260-9569-8649e8c17d49
  12. PLATFORM_VERSION = 0.90
  13. DSC_SPECIFICATION = 0x00010005
  14. OUTPUT_DIRECTORY = Build/UefiCpu
  15. SUPPORTED_ARCHITECTURES = IA32|X64
  16. BUILD_TARGETS = DEBUG|RELEASE|NOOPT
  17. SKUID_IDENTIFIER = DEFAULT
  18. #
  19. # External libraries to build package
  20. #
  21. !include MdePkg/MdeLibs.dsc.inc
  22. [LibraryClasses]
  23. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  24. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  25. CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
  26. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  27. SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
  28. DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  29. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  30. UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
  31. IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
  32. MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
  33. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  34. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  35. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  36. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  37. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  38. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  39. StandaloneMmDriverEntryPoint|MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf
  40. DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
  41. PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
  42. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  43. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  44. TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
  45. DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
  46. LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
  47. ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
  48. SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
  49. SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
  50. CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
  51. PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
  52. PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
  53. SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
  54. SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
  55. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  56. PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
  57. TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
  58. CcExitLib|UefiCpuPkg/Library/CcExitLibNull/CcExitLibNull.inf
  59. MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
  60. SmmCpuRendezvousLib|UefiCpuPkg/Library/SmmCpuRendezvousLib/SmmCpuRendezvousLib.inf
  61. CpuPageTableLib|UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableLib.inf
  62. UnitTestLib|UnitTestFrameworkPkg/Library/UnitTestLib/UnitTestLib.inf
  63. UnitTestPersistenceLib|UnitTestFrameworkPkg/Library/UnitTestPersistenceLibNull/UnitTestPersistenceLibNull.inf
  64. UnitTestResultReportLib|UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLibDebugLib.inf
  65. [LibraryClasses.common.SEC]
  66. PlatformSecLib|UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.inf
  67. !if $(TOOL_CHAIN_TAG) == "XCODE5"
  68. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
  69. !else
  70. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
  71. !endif
  72. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  73. PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
  74. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  75. [LibraryClasses.common.PEIM]
  76. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  77. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  78. LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
  79. MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
  80. RegisterCpuFeaturesLib|UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesLib.inf
  81. CpuCacheInfoLib|UefiCpuPkg/Library/CpuCacheInfoLib/PeiCpuCacheInfoLib.inf
  82. [LibraryClasses.IA32.PEIM, LibraryClasses.X64.PEIM]
  83. PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
  84. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
  85. [LibraryClasses.common.DXE_DRIVER]
  86. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  87. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  88. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
  89. MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
  90. RegisterCpuFeaturesLib|UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.inf
  91. CpuCacheInfoLib|UefiCpuPkg/Library/CpuCacheInfoLib/DxeCpuCacheInfoLib.inf
  92. [LibraryClasses.common.DXE_SMM_DRIVER]
  93. SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
  94. MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
  95. MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
  96. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  97. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
  98. [LibraryClasses.common.MM_STANDALONE]
  99. MmServicesTableLib|MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf
  100. [LibraryClasses.common.UEFI_APPLICATION]
  101. UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
  102. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  103. #
  104. # Drivers/Libraries within this package
  105. #
  106. [Components]
  107. UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
  108. UefiCpuPkg/CpuIoPei/CpuIoPei.inf
  109. UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/SecPeiDxeTimerLibUefiCpu.inf
  110. UefiCpuPkg/Application/Cpuid/Cpuid.inf
  111. UefiCpuPkg/Library/CpuTimerLib/BaseCpuTimerLib.inf
  112. UefiCpuPkg/Library/CpuCacheInfoLib/PeiCpuCacheInfoLib.inf
  113. UefiCpuPkg/Library/CpuCacheInfoLib/DxeCpuCacheInfoLib.inf
  114. UefiCpuPkg/MicrocodeMeasurementDxe/MicrocodeMeasurementDxe.inf
  115. [Components.IA32, Components.X64]
  116. UefiCpuPkg/CpuDxe/CpuDxe.inf
  117. UefiCpuPkg/CpuFeatures/CpuFeaturesPei.inf {
  118. <LibraryClasses>
  119. NULL|UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf
  120. }
  121. UefiCpuPkg/CpuFeatures/CpuFeaturesDxe.inf {
  122. <LibraryClasses>
  123. NULL|UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf
  124. }
  125. UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
  126. UefiCpuPkg/CpuIo2Smm/CpuIo2StandaloneMm.inf
  127. UefiCpuPkg/CpuMpPei/CpuMpPei.inf
  128. UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
  129. UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
  130. UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
  131. UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
  132. UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf
  133. UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
  134. !if $(TOOL_CHAIN_TAG) != "XCODE5"
  135. UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
  136. !endif
  137. UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
  138. UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
  139. UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
  140. UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
  141. UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
  142. UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf
  143. UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
  144. UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
  145. UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.inf
  146. UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesLib.inf
  147. UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.inf
  148. UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
  149. UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
  150. UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf
  151. UefiCpuPkg/Library/SmmCpuFeaturesLib/StandaloneMmCpuFeaturesLib.inf
  152. UefiCpuPkg/Library/CcExitLibNull/CcExitLibNull.inf
  153. UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.inf
  154. UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf
  155. UefiCpuPkg/SecCore/SecCore.inf
  156. UefiCpuPkg/SecCore/SecCoreNative.inf
  157. UefiCpuPkg/SecMigrationPei/SecMigrationPei.inf
  158. UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
  159. UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
  160. <Defines>
  161. FILE_GUID = D1D74FE9-7A4E-41D3-A0B3-67F13AD34D94
  162. <LibraryClasses>
  163. SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf
  164. }
  165. UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
  166. UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf
  167. UefiCpuPkg/Library/SmmCpuRendezvousLib/SmmCpuRendezvousLib.inf
  168. UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableLib.inf
  169. UefiCpuPkg/Library/CpuExceptionHandlerLib/UnitTest/PeiCpuExceptionHandlerLibUnitTest.inf
  170. UefiCpuPkg/Test/UnitTest/EfiMpServicesPpiProtocol/EdkiiPeiMpServices2PpiPeiUnitTest.inf
  171. UefiCpuPkg/Test/UnitTest/EfiMpServicesPpiProtocol/EfiMpServiceProtocolDxeUnitTest.inf
  172. UefiCpuPkg/Test/UnitTest/EfiMpServicesPpiProtocol/EfiMpServiceProtocolDynamicCmdUnitTest.inf {
  173. <LibraryClasses>
  174. UnitTestResultReportLib|UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLibConOut.inf
  175. }
  176. UefiCpuPkg/Test/UnitTest/EfiMpServicesPpiProtocol/EfiMpServiceProtocolShellUnitTest.inf {
  177. <LibraryClasses>
  178. UnitTestResultReportLib|UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLibConOut.inf
  179. }
  180. [Components.X64]
  181. UefiCpuPkg/Library/CpuExceptionHandlerLib/UnitTest/DxeCpuExceptionHandlerLibUnitTest.inf
  182. [Components.RISCV64]
  183. UefiCpuPkg/Library/BaseRiscV64CpuExceptionHandlerLib/BaseRiscV64CpuExceptionHandlerLib.inf
  184. UefiCpuPkg/Library/BaseRiscV64CpuTimerLib/BaseRiscV64CpuTimerLib.inf
  185. UefiCpuPkg/CpuTimerDxeRiscV64/CpuTimerDxeRiscV64.inf
  186. UefiCpuPkg/CpuDxeRiscV64/CpuDxeRiscV64.inf
  187. [BuildOptions]
  188. *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES