ArmPkg.dsc 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. #/** @file
  2. # ARM processor package.
  3. #
  4. # Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>
  5. # Copyright (c) 2011 - 2021, Arm Limited. All rights reserved.<BR>
  6. # Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>
  7. # Copyright (c) Microsoft Corporation.<BR>
  8. # Copyright (c) 2021, Ampere Computing LLC. All rights reserved.
  9. #
  10. # SPDX-License-Identifier: BSD-2-Clause-Patent
  11. #
  12. #**/
  13. ################################################################################
  14. #
  15. # Defines Section - statements that will be processed to create a Makefile.
  16. #
  17. ################################################################################
  18. [Defines]
  19. PLATFORM_NAME = ArmPkg
  20. PLATFORM_GUID = 5CFBD99E-3C43-4E7F-8054-9CDEAFF7710F
  21. PLATFORM_VERSION = 0.1
  22. DSC_SPECIFICATION = 0x00010005
  23. OUTPUT_DIRECTORY = Build/Arm
  24. SUPPORTED_ARCHITECTURES = ARM|AARCH64
  25. BUILD_TARGETS = DEBUG|RELEASE|NOOPT
  26. SKUID_IDENTIFIER = DEFAULT
  27. [BuildOptions]
  28. RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
  29. *_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES
  30. [PcdsFixedAtBuild]
  31. gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|4
  32. !include MdePkg/MdeLibs.dsc.inc
  33. [LibraryClasses.common]
  34. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  35. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  36. BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
  37. CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
  38. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
  39. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  40. DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
  41. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  42. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  43. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  44. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  45. TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
  46. UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
  47. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  48. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  49. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  50. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  51. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  52. PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
  53. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  54. PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
  55. UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
  56. HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
  57. SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
  58. DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
  59. DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
  60. CpuExceptionHandlerLib|ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf
  61. CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
  62. ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
  63. ArmGicArchLib|ArmPkg/Library/ArmGicArchLib/ArmGicArchLib.inf
  64. ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf
  65. ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
  66. ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
  67. OpteeLib|ArmPkg/Library/OpteeLib/OpteeLib.inf
  68. UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
  69. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  70. SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
  71. FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
  72. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  73. FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
  74. SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
  75. IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
  76. ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
  77. ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
  78. ArmMtlLib|ArmPkg/Library/ArmMtlNullLib/ArmMtlNullLib.inf
  79. OemMiscLib|ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLibNull.inf
  80. [LibraryClasses.common.PEIM]
  81. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  82. PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
  83. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  84. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  85. PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
  86. [LibraryClasses.ARM, LibraryClasses.AARCH64]
  87. NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
  88. # Add support for GCC stack protector
  89. NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
  90. [Components.common]
  91. ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
  92. ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
  93. ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
  94. ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf
  95. ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
  96. ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
  97. ArmPkg/Library/SemiHostingDebugLib/SemiHostingDebugLib.inf
  98. ArmPkg/Library/SemiHostingSerialPortLib/SemiHostingSerialPortLib.inf
  99. ArmPkg/Library/SemihostLib/SemihostLib.inf
  100. ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf
  101. ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf
  102. ArmPkg/Library/ArmExceptionLib/ArmRelocateExceptionLib.inf
  103. ArmPkg/Drivers/CpuDxe/CpuDxe.inf
  104. ArmPkg/Drivers/CpuPei/CpuPei.inf
  105. ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
  106. ArmPkg/Drivers/ArmGic/ArmGicLib.inf
  107. ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.inf
  108. ArmPkg/Drivers/TimerDxe/TimerDxe.inf
  109. ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf
  110. ArmPkg/Library/ArmGenericTimerVirtCounterLib/ArmGenericTimerVirtCounterLib.inf
  111. ArmPkg/Library/ArmTrngLib/ArmTrngLib.inf
  112. ArmPkg/Library/ArmHvcLib/ArmHvcLib.inf
  113. ArmPkg/Library/ArmHvcLibNull/ArmHvcLibNull.inf
  114. ArmPkg/Library/ArmMonitorLib/ArmMonitorLib.inf
  115. ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
  116. ArmPkg/Library/ArmSmcLibNull/ArmSmcLibNull.inf
  117. ArmPkg/Library/ArmSvcLib/ArmSvcLib.inf
  118. ArmPkg/Library/OpteeLib/OpteeLib.inf
  119. ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
  120. ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
  121. ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.inf
  122. ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf
  123. ArmPkg/Library/ArmGicArchLib/ArmGicArchLib.inf
  124. ArmPkg/Library/ArmGicArchSecLib/ArmGicArchSecLib.inf
  125. ArmPkg/Library/ArmLib/ArmBaseLib.inf
  126. ArmPkg/Library/ArmMtlNullLib/ArmMtlNullLib.inf
  127. ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf
  128. ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf
  129. ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
  130. ArmPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
  131. ArmPkg/Library/LinuxBootBootManagerLib/LinuxBootBootManagerLib.inf
  132. ArmPkg/Drivers/ArmCrashDumpDxe/ArmCrashDumpDxe.inf
  133. ArmPkg/Drivers/ArmScmiDxe/ArmScmiDxe.inf
  134. ArmPkg/Universal/Smbios/ProcessorSubClassDxe/ProcessorSubClassDxe.inf
  135. ArmPkg/Universal/Smbios/SmbiosMiscDxe/SmbiosMiscDxe.inf
  136. ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLibNull.inf
  137. [Components.AARCH64]
  138. ArmPkg/Drivers/ArmPsciMpServicesDxe/ArmPsciMpServicesDxe.inf
  139. ArmPkg/Drivers/MmCommunicationDxe/MmCommunication.inf
  140. ArmPkg/Library/ArmMmuLib/ArmMmuPeiLib.inf
  141. [Components.AARCH64, Components.ARM]
  142. ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf