#
|
# Copyright (c) 2013-2014, ARM Limited. All rights reserved.
|
# Copyright (c) 2017-2018, Linaro Limited. All rights reserved.
|
#
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
#
|
|
################################################################################
|
#
|
# Defines Section - statements that will be processed to create a Makefile.
|
#
|
################################################################################
|
[Defines]
|
PLATFORM_NAME = DeveloperBoxMm
|
PLATFORM_GUID = cedcc3f9-fb42-45e6-b134-e7ca97abbffd
|
PLATFORM_VERSION = 0.1
|
DSC_SPECIFICATION = 0x0001001B
|
OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME)
|
SUPPORTED_ARCHITECTURES = AARCH64
|
BUILD_TARGETS = DEBUG|RELEASE|NOOPT
|
SKUID_IDENTIFIER = DEFAULT
|
FLASH_DEFINITION = Platform/Socionext/DeveloperBox/$(PLATFORM_NAME).fdf
|
BUILD_NUMBER = 1
|
|
!include Platform/Socionext/DeveloperBox/DeveloperBox.dsc.inc
|
!include MdePkg/MdeLibs.dsc.inc
|
|
[LibraryClasses]
|
ArmSvcLib|ArmPkg/Library/ArmSvcLib/ArmSvcLib.inf
|
BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
|
FvLib|StandaloneMmPkg/Library/FvLib/FvLib.inf
|
MemLib|StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf
|
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
PeCoffExtraActionLib|StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneMmPeCoffExtraActionLib.inf
|
StandaloneMmCoreEntryPoint|StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf
|
StandaloneMmDriverEntryPoint|MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf
|
StandaloneMmMmuLib|ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf
|
|
SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
|
PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
|
PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
|
PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
|
|
[LibraryClasses.common.MM_CORE_STANDALONE]
|
HobLib|StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCoreHobLib.inf
|
MemoryAllocationLib|StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.inf
|
|
[LibraryClasses.common.MM_STANDALONE]
|
HobLib|StandaloneMmPkg/Library/StandaloneMmHobLib/StandaloneMmHobLib.inf
|
MemoryAllocationLib|StandaloneMmPkg/Library/StandaloneMmMemoryAllocationLib/StandaloneMmMemoryAllocationLib.inf
|
MmServicesTableLib|MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf
|
|
[BuildOptions.common.EDKII.MM_STANDALONE, BuildOptions.common.EDKII.MM_CORE_STANDALONE]
|
GCC:*_*_*_CC_FLAGS = -mstrict-align -mgeneral-regs-only
|
GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
|
|
################################################################################
|
#
|
# Pcd Section - list of all EDK II PCD Entries defined by this Platform
|
#
|
################################################################################
|
|
[PcdsFixedAtBuild]
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x51040000
|
|
################################################################################
|
#
|
# Components Section - list of all EDK II Modules needed by this Platform
|
#
|
################################################################################
|
[Components.common]
|
#
|
# Standalone MM components
|
#
|
StandaloneMmPkg/Core/StandaloneMmCore.inf {
|
<LibraryClasses>
|
ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
|
NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
<PcdsFixedAtBuild>
|
gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x2
|
}
|
|
StandaloneMmPkg/Drivers/StandaloneMmCpu/StandaloneMmCpu.inf
|
Silicon/Socionext/SynQuacer/Drivers/Fip006Dxe/Fip006StandaloneMm.inf
|
MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteStandaloneMm.inf
|
MdeModulePkg/Universal/Variable/RuntimeDxe/VariableStandaloneMm.inf {
|
<LibraryClasses>
|
AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
|
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
|
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
|
NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
|
NULL|MdeModulePkg/Library/VarCheckPolicyLib/VarCheckPolicyLibStandaloneMm.inf
|
}
|