DeveloperBoxMm.dsc 4.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. #
  2. # Copyright (c) 2013-2014, ARM Limited. All rights reserved.
  3. # Copyright (c) 2017-2018, Linaro Limited. All rights reserved.
  4. #
  5. # SPDX-License-Identifier: BSD-2-Clause-Patent
  6. #
  7. ################################################################################
  8. #
  9. # Defines Section - statements that will be processed to create a Makefile.
  10. #
  11. ################################################################################
  12. [Defines]
  13. PLATFORM_NAME = DeveloperBoxMm
  14. PLATFORM_GUID = cedcc3f9-fb42-45e6-b134-e7ca97abbffd
  15. PLATFORM_VERSION = 0.1
  16. DSC_SPECIFICATION = 0x0001001B
  17. OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME)
  18. SUPPORTED_ARCHITECTURES = AARCH64
  19. BUILD_TARGETS = DEBUG|RELEASE|NOOPT
  20. SKUID_IDENTIFIER = DEFAULT
  21. FLASH_DEFINITION = Platform/Socionext/DeveloperBox/$(PLATFORM_NAME).fdf
  22. BUILD_NUMBER = 1
  23. !include Platform/Socionext/DeveloperBox/DeveloperBox.dsc.inc
  24. !include MdePkg/MdeLibs.dsc.inc
  25. [LibraryClasses]
  26. ArmSvcLib|ArmPkg/Library/ArmSvcLib/ArmSvcLib.inf
  27. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  28. FvLib|StandaloneMmPkg/Library/FvLib/FvLib.inf
  29. MemLib|StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf
  30. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  31. PeCoffExtraActionLib|StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneMmPeCoffExtraActionLib.inf
  32. StandaloneMmCoreEntryPoint|StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf
  33. StandaloneMmDriverEntryPoint|MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf
  34. StandaloneMmMmuLib|ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf
  35. SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
  36. PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
  37. PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
  38. PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
  39. [LibraryClasses.common.MM_CORE_STANDALONE]
  40. HobLib|StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCoreHobLib.inf
  41. MemoryAllocationLib|StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.inf
  42. [LibraryClasses.common.MM_STANDALONE]
  43. HobLib|StandaloneMmPkg/Library/StandaloneMmHobLib/StandaloneMmHobLib.inf
  44. MemoryAllocationLib|StandaloneMmPkg/Library/StandaloneMmMemoryAllocationLib/StandaloneMmMemoryAllocationLib.inf
  45. MmServicesTableLib|MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf
  46. [BuildOptions.common.EDKII.MM_STANDALONE, BuildOptions.common.EDKII.MM_CORE_STANDALONE]
  47. GCC:*_*_*_CC_FLAGS = -mstrict-align -mgeneral-regs-only
  48. GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
  49. ################################################################################
  50. #
  51. # Pcd Section - list of all EDK II PCD Entries defined by this Platform
  52. #
  53. ################################################################################
  54. [PcdsFixedAtBuild]
  55. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x51040000
  56. ################################################################################
  57. #
  58. # Components Section - list of all EDK II Modules needed by this Platform
  59. #
  60. ################################################################################
  61. [Components.common]
  62. #
  63. # Standalone MM components
  64. #
  65. StandaloneMmPkg/Core/StandaloneMmCore.inf {
  66. <LibraryClasses>
  67. ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
  68. NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
  69. <PcdsFixedAtBuild>
  70. gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x2
  71. }
  72. StandaloneMmPkg/Drivers/StandaloneMmCpu/StandaloneMmCpu.inf
  73. Silicon/Socionext/SynQuacer/Drivers/Fip006Dxe/Fip006StandaloneMm.inf
  74. MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteStandaloneMm.inf
  75. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableStandaloneMm.inf {
  76. <LibraryClasses>
  77. AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
  78. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
  79. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  80. VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
  81. NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
  82. NULL|MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLibStandaloneMm.inf
  83. }