]> git.proxmox.com Git - mirror_edk2.git/blob - StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / StandaloneMmPkg / Library / StandaloneMmCoreEntryPoint / StandaloneMmCoreEntryPoint.inf
1 ## @file
2 # Module entry point library for DXE core.
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 = StandaloneMmCoreEntryPoint
14 FILE_GUID = C97AC593-109A-4C63-905C-675FDE2689E8
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 = IA32 X64 IPF EBC (EBC is for build only)
22 #
23
24 [Sources.AARCH64, Sources.ARM]
25 Arm/StandaloneMmCoreEntryPoint.c
26 Arm/SetPermissions.c
27 Arm/CreateHobList.c
28
29 [Sources.X64]
30 X64/StandaloneMmCoreEntryPoint.c
31
32 [Packages]
33 MdePkg/MdePkg.dec
34 MdeModulePkg/MdeModulePkg.dec
35 StandaloneMmPkg/StandaloneMmPkg.dec
36
37 [Packages.ARM, Packages.AARCH64]
38 ArmPkg/ArmPkg.dec
39
40 [LibraryClasses]
41 BaseLib
42 DebugLib
43
44 [LibraryClasses.ARM, LibraryClasses.AARCH64]
45 StandaloneMmMmuLib
46 ArmSvcLib
47
48 [Guids]
49 gMpInformationHobGuid
50 gEfiMmPeiMmramMemoryReserveGuid
51 gEfiStandaloneMmNonSecureBufferGuid
52 gEfiArmTfCpuDriverEpDescriptorGuid
53
54 [FeaturePcd.ARM, FeaturePcd.AARCH64]
55 gArmTokenSpaceGuid.PcdFfaEnable
56
57 #
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.
62 #
63 [BuildOptions]
64 GCC:*_*_ARM_CC_FLAGS = -fpie
65 GCC:*_*_AARCH64_CC_FLAGS = -fpie