StandaloneMmPkg.dsc 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. ## @file
  2. # Standalone MM Platform.
  3. #
  4. # Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
  5. # Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR>
  6. #
  7. # SPDX-License-Identifier: BSD-2-Clause-Patent
  8. #
  9. ##
  10. ################################################################################
  11. #
  12. # Defines Section - statements that will be processed to create a Makefile.
  13. #
  14. ################################################################################
  15. [Defines]
  16. PLATFORM_NAME = StandaloneMm
  17. PLATFORM_GUID = 9A4BBA60-B4F9-47C7-9258-3BD77CAE9322
  18. PLATFORM_VERSION = 1.0
  19. DSC_SPECIFICATION = 0x00010011
  20. OUTPUT_DIRECTORY = Build/StandaloneMm
  21. SUPPORTED_ARCHITECTURES = IA32|X64|AARCH64
  22. BUILD_TARGETS = DEBUG|RELEASE
  23. SKUID_IDENTIFIER = DEFAULT
  24. # LzmaF86
  25. DEFINE COMPRESSION_TOOL_GUID = D42AE6BD-1352-4bfb-909A-CA72A6EAE889
  26. ################################################################################
  27. #
  28. # Library Class section - list of all Library Classes needed by this Platform.
  29. #
  30. ################################################################################
  31. [LibraryClasses]
  32. #
  33. # Basic
  34. #
  35. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  36. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  37. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  38. DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  39. FvLib|StandaloneMmPkg/Library/FvLib/FvLib.inf
  40. HobLib|StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCoreHobLib.inf
  41. IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
  42. MemLib|StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf
  43. MemoryAllocationLib|StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.inf
  44. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  45. PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
  46. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  47. ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
  48. #
  49. # Entry point
  50. #
  51. StandaloneMmDriverEntryPoint|StandaloneMmPkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf
  52. [LibraryClasses.AARCH64]
  53. ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
  54. StandaloneMmMmuLib|ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf
  55. ArmSvcLib|ArmPkg/Library/ArmSvcLib/ArmSvcLib.inf
  56. CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
  57. PeCoffExtraActionLib|StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneMmPeCoffExtraActionLib.inf
  58. StandaloneMmCoreEntryPoint|StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf
  59. ################################################################################
  60. #
  61. # Pcd Section - list of all EDK II PCD Entries defined by this Platform
  62. #
  63. ################################################################################
  64. [PcdsFixedAtBuild]
  65. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x800000CF
  66. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xff
  67. gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0f
  68. ###################################################################################################
  69. #
  70. # Components Section - list of the modules and components that will be processed by compilation
  71. # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
  72. #
  73. # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
  74. # into firmware volume images. This section is just a list of modules to compile from
  75. # source into UEFI-compliant binaries.
  76. # It is the FDF file that contains information on combining binary files into firmware
  77. # volume images, whose concept is beyond UEFI and is described in PI specification.
  78. # Binary modules do not need to be listed in this section, as they should be
  79. # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
  80. # Logo (Logo.bmp), and etc.
  81. # There may also be modules listed in this section that are not required in the FDF file,
  82. # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
  83. # generated for it, but the binary will not be put into any firmware volume.
  84. #
  85. ###################################################################################################
  86. [Components.common]
  87. #
  88. # MM Core
  89. #
  90. StandaloneMmPkg/Core/StandaloneMmCore.inf
  91. [Components.AARCH64]
  92. StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.inf
  93. ###################################################################################################
  94. #
  95. # BuildOptions Section - Define the module specific tool chain flags that should be used as
  96. # the default flags for a module. These flags are appended to any
  97. # standard flags that are defined by the build process. They can be
  98. # applied for any modules or only those modules with the specific
  99. # module style (EDK or EDKII) specified in [Components] section.
  100. #
  101. ###################################################################################################
  102. [BuildOptions.AARCH64]
  103. GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000 -march=armv8-a+nofp -mstrict-align
  104. GCC:*_*_*_CC_FLAGS = -mstrict-align