UefiCpuPkg.dsc 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. ## @file
  2. # UefiCpuPkg Package
  3. #
  4. # Copyright (c) 2007 - 2019, 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. [LibraryClasses]
  22. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  23. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  24. CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
  25. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  26. SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
  27. DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  28. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  29. UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
  30. IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
  31. MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
  32. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  33. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  34. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  35. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  36. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  37. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  38. DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
  39. PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
  40. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  41. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  42. TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
  43. DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
  44. LocalApicLib|UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
  45. ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
  46. SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
  47. SmmMemLib|MdePkg/Library/SmmMemLib/SmmMemLib.inf
  48. CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
  49. PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
  50. PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
  51. SmmCpuPlatformHookLib|UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
  52. SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
  53. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  54. PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
  55. TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
  56. VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
  57. [LibraryClasses.common.SEC]
  58. PlatformSecLib|UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.inf
  59. !if $(TOOL_CHAIN_TAG) == "XCODE5"
  60. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
  61. !else
  62. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
  63. !endif
  64. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  65. PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
  66. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  67. [LibraryClasses.common.PEIM]
  68. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  69. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  70. LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
  71. MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
  72. RegisterCpuFeaturesLib|UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesLib.inf
  73. [LibraryClasses.IA32.PEIM, LibraryClasses.X64.PEIM]
  74. PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf
  75. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
  76. [LibraryClasses.common.DXE_DRIVER]
  77. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  78. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  79. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
  80. MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
  81. RegisterCpuFeaturesLib|UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.inf
  82. [LibraryClasses.common.DXE_SMM_DRIVER]
  83. SmmServicesTableLib|MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf
  84. MemoryAllocationLib|MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf
  85. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  86. CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
  87. [LibraryClasses.common.UEFI_APPLICATION]
  88. UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
  89. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  90. #
  91. # Drivers/Libraries within this package
  92. #
  93. [Components]
  94. UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
  95. UefiCpuPkg/CpuIoPei/CpuIoPei.inf
  96. UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/SecPeiDxeTimerLibUefiCpu.inf
  97. UefiCpuPkg/Application/Cpuid/Cpuid.inf
  98. UefiCpuPkg/Library/CpuTimerLib/BaseCpuTimerLib.inf
  99. UefiCpuPkg/Library/CpuTimerLib/DxeCpuTimerLib.inf
  100. UefiCpuPkg/Library/CpuTimerLib/PeiCpuTimerLib.inf
  101. [Components.IA32, Components.X64]
  102. UefiCpuPkg/CpuDxe/CpuDxe.inf
  103. UefiCpuPkg/CpuFeatures/CpuFeaturesPei.inf {
  104. <LibraryClasses>
  105. NULL|UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf
  106. }
  107. UefiCpuPkg/CpuFeatures/CpuFeaturesDxe.inf {
  108. <LibraryClasses>
  109. NULL|UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf
  110. }
  111. UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
  112. UefiCpuPkg/CpuMpPei/CpuMpPei.inf
  113. UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
  114. UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
  115. UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
  116. UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
  117. UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf
  118. UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf
  119. !if $(TOOL_CHAIN_TAG) != "XCODE5"
  120. UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCpuExceptionHandlerLib.inf
  121. !endif
  122. UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.inf
  123. UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib.inf
  124. UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExceptionHandlerLib.inf
  125. UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
  126. UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
  127. UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.inf
  128. UefiCpuPkg/Library/MtrrLib/MtrrLib.inf
  129. UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.inf
  130. UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesLib.inf
  131. UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.inf
  132. UefiCpuPkg/Library/SmmCpuPlatformHookLibNull/SmmCpuPlatformHookLibNull.inf
  133. UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf
  134. UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf
  135. UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf
  136. UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.inf
  137. UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf
  138. UefiCpuPkg/SecCore/SecCore.inf
  139. UefiCpuPkg/SecMigrationPei/SecMigrationPei.inf
  140. UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
  141. UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
  142. <Defines>
  143. FILE_GUID = D1D74FE9-7A4E-41D3-A0B3-67F13AD34D94
  144. <LibraryClasses>
  145. SmmCpuFeaturesLib|UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLibStm.inf
  146. }
  147. UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf
  148. UefiCpuPkg/ResetVector/Vtf0/Bin/ResetVector.inf
  149. [BuildOptions]
  150. *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES