]> git.proxmox.com Git - mirror_edk2.git/blame - StandaloneMmPkg/Core/StandaloneMmCore.inf
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / StandaloneMmPkg / Core / StandaloneMmCore.inf
CommitLineData
6b46d772
SV
1## @file\r
2# This module provide an SMM CIS compliant implementation of SMM Core.\r
3#\r
4# Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>\r
5# Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR>\r
6#\r
86094561 7# SPDX-License-Identifier: BSD-2-Clause-Patent\r
6b46d772
SV
8#\r
9##\r
10\r
11[Defines]\r
12 INF_VERSION = 0x0001001A\r
13 BASE_NAME = StandaloneMmCore\r
14 FILE_GUID = 6E14B6FD-3600-4DD6-A17A-206B3B6DCE16\r
15 MODULE_TYPE = MM_CORE_STANDALONE\r
16 VERSION_STRING = 1.0\r
17 PI_SPECIFICATION_VERSION = 0x00010032\r
18 ENTRY_POINT = StandaloneMmMain\r
19\r
a776bbab 20# VALID_ARCHITECTURES = IA32 X64 AARCH64 ARM\r
6b46d772
SV
21\r
22[Sources]\r
23 StandaloneMmCore.c\r
24 StandaloneMmCore.h\r
25 StandaloneMmCorePrivateData.h\r
26 Page.c\r
27 Pool.c\r
28 Handle.c\r
29 Locate.c\r
30 Notify.c\r
31 Dependency.c\r
32 Dispatcher.c\r
33 Mmi.c\r
34 InstallConfigurationTable.c\r
35 FwVol.c\r
36\r
37[Packages]\r
38 MdePkg/MdePkg.dec\r
39 MdeModulePkg/MdeModulePkg.dec\r
40 StandaloneMmPkg/StandaloneMmPkg.dec\r
41\r
42[LibraryClasses]\r
43 BaseLib\r
44 BaseMemoryLib\r
45 CacheMaintenanceLib\r
46 DebugLib\r
d65e0e48 47 ExtractGuidedSectionLib\r
6b46d772
SV
48 FvLib\r
49 HobLib\r
50 MemoryAllocationLib\r
51 MemLib\r
52 PeCoffLib\r
53 ReportStatusCodeLib\r
54 StandaloneMmCoreEntryPoint\r
55\r
56[Protocols]\r
57 gEfiDxeMmReadyToLockProtocolGuid ## UNDEFINED # SmiHandlerRegister\r
58 gEfiMmReadyToLockProtocolGuid ## PRODUCES\r
59 gEfiMmEndOfDxeProtocolGuid ## PRODUCES\r
60 gEfiLoadedImageProtocolGuid ## PRODUCES\r
61 gEfiMmConfigurationProtocolGuid ## CONSUMES\r
62\r
63[Guids]\r
64 gAprioriGuid ## SOMETIMES_CONSUMES ## File\r
65 gEfiEventDxeDispatchGuid ## PRODUCES ## GUID # SmiHandlerRegister\r
66 gEfiEndOfDxeEventGroupGuid ## PRODUCES ## GUID # SmiHandlerRegister\r
67 ## SOMETIMES_CONSUMES ## GUID # Locate protocol\r
68 ## SOMETIMES_PRODUCES ## GUID # SmiHandlerRegister\r
69 gEdkiiMemoryProfileGuid\r
70 gZeroGuid ## SOMETIMES_CONSUMES ## GUID\r
71 gEfiHobListGuid\r
102da025 72 gEfiHobMemoryAllocModuleGuid\r
6b46d772
SV
73 gMmCoreDataHobGuid\r
74 gMmFvDispatchGuid\r
75 gEfiEventLegacyBootGuid\r
76 gEfiEventExitBootServicesGuid\r
77 gEfiEventReadyToBootGuid\r
cdc68622 78\r
21086983
MH
79#\r
80# This configuration fails for CLANGPDB, which does not support PIE in the GCC\r
81# sense. Such however is required for ARM family StandaloneMmCore\r
82# self-relocation, and thus the CLANGPDB toolchain is unsupported for ARM and\r
83# AARCH64 for this module.\r
84#\r
cdc68622 85[BuildOptions]\r
21086983
MH
86 GCC:*_*_ARM_CC_FLAGS = -fpie\r
87 GCC:*_*_ARM_DLINK_FLAGS = -Wl,-z,text,-Bsymbolic,-pie\r
88 GCC:*_*_AARCH64_CC_FLAGS = -fpie\r
89 GCC:*_*_AARCH64_DLINK_FLAGS = -Wl,-z,text,-Bsymbolic,-pie\r