microsoft/mu_feature_ffa
Publicmirrored fromhttps://github.com/microsoft/mu_feature_ffaAvailable
FfaFeaturePkg/Library/SecurePartitionEntryPoint/SecurePartitionEntryPoint.inf
52lines · modecode
| 1 | ## @file |
| 2 | # Secure Partition System Table library implementation. |
| 3 | # |
| 4 | # Copyright (c) 2017 - 2021, Arm Ltd. All rights reserved.<BR> |
| 5 | # |
| 6 | # SPDX-License-Identifier: BSD-2-Clause-Patent |
| 7 | # |
| 8 | # |
| 9 | ## |
| 10 | |
| 11 | [Defines] |
| 12 | INF_VERSION = 0x0001001A |
| 13 | BASE_NAME = SecurePartitionEntryPoint |
| 14 | FILE_GUID = D2753EFE-C208-4BE6-9816-B4B4A45C6E48 |
| 15 | MODULE_TYPE = MM_CORE_STANDALONE |
| 16 | VERSION_STRING = 1.0 |
| 17 | PI_SPECIFICATION_VERSION = 0x00010032 |
| 18 | LIBRARY_CLASS = StandaloneMmCoreEntryPoint|MM_CORE_STANDALONE |
| 19 | |
| 20 | # |
| 21 | # VALID_ARCHITECTURES = AARCH64 |
| 22 | # |
| 23 | |
| 24 | [Sources] |
| 25 | StandaloneMmCoreEntryPoint.c |
| 26 | SetPermissions.c |
| 27 | AArch64/ModuleEntryPoint.S |
| 28 | |
| 29 | [Packages] |
| 30 | EmbeddedPkg/EmbeddedPkg.dec |
| 31 | MdePkg/MdePkg.dec |
| 32 | MdeModulePkg/MdeModulePkg.dec |
| 33 | StandaloneMmPkg/StandaloneMmPkg.dec |
| 34 | ArmPkg/ArmPkg.dec |
| 35 | FfaFeaturePkg/FfaFeaturePkg.dec |
| 36 | |
| 37 | [LibraryClasses] |
| 38 | BaseLib |
| 39 | DebugLib |
| 40 | FdtLib |
| 41 | ArmSvcLib |
| 42 | SecurePartitionServicesTableLib |
| 43 | |
| 44 | # |
| 45 | # This configuration fails for CLANGPDB, which does not support PIE in the GCC |
| 46 | # sense. Such however is required for ARM family StandaloneMmCore |
| 47 | # self-relocation, and thus the CLANGPDB toolchain is unsupported for ARM and |
| 48 | # AARCH64 for this module. |
| 49 | # |
| 50 | [BuildOptions] |
| 51 | GCC:*_*_ARM_CC_FLAGS = -fpie |
| 52 | GCC:*_*_AARCH64_CC_FLAGS = -fpie |
| 53 | |