2 # Module entry point library for DXE core.
4 # Copyright (c) 2017 - 2021, Arm Ltd. All rights reserved.<BR>
6 # SPDX-License-Identifier: BSD-2-Clause-Patent
12 INF_VERSION = 0x0001001A
13 BASE_NAME = StandaloneMmCoreEntryPoint
14 FILE_GUID = C97AC593-109A-4C63-905C-675FDE2689E8
15 MODULE_TYPE = MM_CORE_STANDALONE
17 PI_SPECIFICATION_VERSION = 0x00010032
18 LIBRARY_CLASS = StandaloneMmCoreEntryPoint|MM_CORE_STANDALONE
21 # VALID_ARCHITECTURES = IA32 X64 IPF EBC (EBC is for build only)
24 [Sources.AARCH64, Sources.ARM]
25 Arm/StandaloneMmCoreEntryPoint.c
30 X64/StandaloneMmCoreEntryPoint.c
34 MdeModulePkg/MdeModulePkg.dec
35 StandaloneMmPkg/StandaloneMmPkg.dec
37 [Packages.ARM, Packages.AARCH64]
44 [LibraryClasses.ARM, LibraryClasses.AARCH64]
50 gEfiMmPeiMmramMemoryReserveGuid
51 gEfiStandaloneMmNonSecureBufferGuid
52 gEfiArmTfCpuDriverEpDescriptorGuid
54 [FeaturePcd.ARM, FeaturePcd.AARCH64]
55 gArmTokenSpaceGuid.PcdFfaEnable
58 # This configuration fails for CLANGPDB, which does not support PIE in the GCC
59 # sense. Such however is required for ARM family StandaloneMmCore
60 # self-relocation, and thus the CLANGPDB toolchain is unsupported for ARM and
61 # AARCH64 for this module.
64 GCC:*_*_ARM_CC_FLAGS = -fpie
65 GCC:*_*_AARCH64_CC_FLAGS = -fpie