DeveloperBoxMm.dsc 4.9 KB

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