UefiCpuPkg.dsc 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  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. VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
  59. MicrocodeLib|UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
  60. SmmCpuRendezvousLib|UefiCpuPkg/Library/SmmCpuRendezvousLib/SmmCpuRendezvousLib.inf
  61. CpuPageTableLib|UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableLib.inf
  62. [LibraryClasses.common.SEC]
  63. PlatformSecLib|UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.inf
  64. !if $(TOOL_CHAIN_TAG) == "XCODE5"
  65. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
  66. !else
  67. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
  68. !endif
  69. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  70. PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
  71. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  72. [LibraryClasses.common.PEIM]
  73. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  74. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  75. LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
  76. MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
  77. RegisterCpuFeaturesLib|UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesLib.inf
  78. CpuCacheInfoLib|UefiCpuPkg/Library/CpuCacheInfoLib/PeiCpuCacheInfoLib.inf
  79. [LibraryClasses.IA32.PEIM, LibraryClasses.X64.PEIM]
  80. PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
  81. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
  82. [LibraryClasses.common.DXE_DRIVER]
  83. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  84. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  85. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
  86. MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
  87. RegisterCpuFeaturesLib|UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.inf
  88. CpuCacheInfoLib|UefiCpuPkg/Library/CpuCacheInfoLib/DxeCpuCacheInfoLib.inf
  89. [LibraryClasses.common.DXE_SMM_DRIVER]
  90. SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
  91. MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
  92. MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
  93. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  94. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
  95. [LibraryClasses.common.MM_STANDALONE]
  96. MmServicesTableLib|MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf
  97. [LibraryClasses.common.UEFI_APPLICATION]
  98. UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
  99. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  100. #
  101. # Drivers/Libraries within this package
  102. #
  103. [Components]
  104. UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
  105. UefiCpuPkg/CpuIoPei/CpuIoPei.inf
  106. UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/SecPeiDxeTimerLibUefiCpu.inf
  107. UefiCpuPkg/Application/Cpuid/Cpuid.inf
  108. UefiCpuPkg/Library/CpuTimerLib/BaseCpuTimerLib.inf
  109. UefiCpuPkg/Library/CpuCacheInfoLib/PeiCpuCacheInfoLib.inf
  110. UefiCpuPkg/Library/CpuCacheInfoLib/DxeCpuCacheInfoLib.inf
  111. UefiCpuPkg/MicrocodeMeasurementDxe/MicrocodeMeasurementDxe.inf
  112. [Components.IA32, Components.X64]
  113. UefiCpuPkg/CpuDxe/CpuDxe.inf
  114. UefiCpuPkg/CpuFeatures/CpuFeaturesPei.inf {
  115. <LibraryClasses>
  116. NULL|UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf
  117. }
  118. UefiCpuPkg/CpuFeatures/CpuFeaturesDxe.inf {
  119. <LibraryClasses>
  120. NULL|UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf
  121. }
  122. UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
  123. UefiCpuPkg/CpuIo2Smm/CpuIo2StandaloneMm.inf
  124. UefiCpuPkg/CpuMpPei/CpuMpPei.inf
  125. UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
  126. UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
  127. UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
  128. UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
  129. UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf
  130. UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
  131. !if $(TOOL_CHAIN_TAG) != "XCODE5"
  132. UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
  133. !endif
  134. UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
  135. UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
  136. UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
  137. UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
  138. UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
  139. UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf
  140. UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf
  141. UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
  142. UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.inf
  143. UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesLib.inf
  144. UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.inf
  145. UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
  146. UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
  147. UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf
  148. UefiCpuPkg/Library/SmmCpuFeaturesLib/StandaloneMmCpuFeaturesLib.inf
  149. UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
  150. UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.inf
  151. UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf
  152. UefiCpuPkg/SecCore/SecCore.inf
  153. UefiCpuPkg/SecCore/SecCoreNative.inf
  154. UefiCpuPkg/SecMigrationPei/SecMigrationPei.inf
  155. UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
  156. UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
  157. <Defines>
  158. FILE_GUID = D1D74FE9-7A4E-41D3-A0B3-67F13AD34D94
  159. <LibraryClasses>
  160. SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf
  161. }
  162. UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
  163. UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf
  164. UefiCpuPkg/Library/SmmCpuRendezvousLib/SmmCpuRendezvousLib.inf
  165. UefiCpuPkg/Library/CpuPageTableLib/CpuPageTableLib.inf
  166. [BuildOptions]
  167. *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES