## @file
# This module provides an example for building FF-A secure partition in UEFI.
#
# Copyright (c), Microsoft Corporation.
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
[Defines]
INF_VERSION = 0x0001001A
BASE_NAME = MsSecurePartition
FILE_GUID = df1df62b-cf53-4195-b1d9-fe44206bf338
MODULE_TYPE = MM_CORE_STANDALONE
VERSION_STRING = 1.0
PI_SPECIFICATION_VERSION = 0x00010032
ENTRY_POINT = MsSecurePartitionMain
# VALID_ARCHITECTURES = AARCH64
[Sources]
MsSecurePartition.c
[Packages]
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
StandaloneMmPkg/StandaloneMmPkg.dec
SecurityPkg/SecurityPkg.dec
FfaFeaturePkg/FfaFeaturePkg.dec
[LibraryClasses]
BaseLib
BaseMemoryLib
CacheMaintenanceLib
PeCoffLib
StandaloneMmCoreEntryPoint
ArmFfaLib
ArmFfaLibEx
FvLib
MemoryAllocationLib
IoLib
[Guids]
gTpm2ServiceFfaGuid
#
# This configuration fails for CLANGPDB, which does not support PIE in the GCC
# sense. Such however is required for ARM family StandaloneMmCore
# self-relocation, and thus the CLANGPDB toolchain is unsupported for ARM and
# AARCH64 for this module.
#
[BuildOptions]
GCC:*_*_ARM_CC_FLAGS = -fpie
GCC:*_*_ARM_DLINK_FLAGS = -Wl,-z,text,-Bsymbolic,-pie
GCC:*_*_AARCH64_CC_FLAGS = -fpie
GCC:*_*_AARCH64_DLINK_FLAGS = -Wl,-z,text,-Bsymbolic,-piemicrosoft/mu_feature_ffa
Publicmirrored fromhttps://github.com/microsoft/mu_feature_ffaAvailable
FfaFeaturePkg/SecurePartitions/MsSecurePartition/MsSecurePartition.inf
56lines · modepreview