2 # This module provide an SMM CIS compliant implementation of SMM Core.
4 # Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>
5 # Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR>
7 # SPDX-License-Identifier: BSD-2-Clause-Patent
12 INF_VERSION = 0x0001001A
13 BASE_NAME = StandaloneMmCore
14 FILE_GUID = 6E14B6FD-3600-4DD6-A17A-206B3B6DCE16
15 MODULE_TYPE = MM_CORE_STANDALONE
17 PI_SPECIFICATION_VERSION = 0x00010032
18 ENTRY_POINT = StandaloneMmMain
20 # VALID_ARCHITECTURES = IA32 X64 AARCH64 ARM
25 StandaloneMmCorePrivateData.h
34 InstallConfigurationTable.c
39 MdeModulePkg/MdeModulePkg.dec
40 StandaloneMmPkg/StandaloneMmPkg.dec
47 ExtractGuidedSectionLib
54 StandaloneMmCoreEntryPoint
57 gEfiDxeMmReadyToLockProtocolGuid ## UNDEFINED # SmiHandlerRegister
58 gEfiMmReadyToLockProtocolGuid ## PRODUCES
59 gEfiMmEndOfDxeProtocolGuid ## PRODUCES
60 gEfiLoadedImageProtocolGuid ## PRODUCES
61 gEfiMmConfigurationProtocolGuid ## CONSUMES
64 gAprioriGuid ## SOMETIMES_CONSUMES ## File
65 gEfiEventDxeDispatchGuid ## PRODUCES ## GUID # SmiHandlerRegister
66 gEfiEndOfDxeEventGroupGuid ## PRODUCES ## GUID # SmiHandlerRegister
67 ## SOMETIMES_CONSUMES ## GUID # Locate protocol
68 ## SOMETIMES_PRODUCES ## GUID # SmiHandlerRegister
69 gEdkiiMemoryProfileGuid
70 gZeroGuid ## SOMETIMES_CONSUMES ## GUID
72 gEfiHobMemoryAllocModuleGuid
75 gEfiEventLegacyBootGuid
76 gEfiEventExitBootServicesGuid
77 gEfiEventReadyToBootGuid
80 # This configuration fails for CLANGPDB, which does not support PIE in the GCC
81 # sense. Such however is required for ARM family StandaloneMmCore
82 # self-relocation, and thus the CLANGPDB toolchain is unsupported for ARM and
83 # AARCH64 for this module.
86 GCC:*_*_ARM_CC_FLAGS = -fpie
87 GCC:*_*_ARM_DLINK_FLAGS = -Wl,-z,text,-Bsymbolic,-pie
88 GCC:*_*_AARCH64_CC_FLAGS = -fpie
89 GCC:*_*_AARCH64_DLINK_FLAGS = -Wl,-z,text,-Bsymbolic,-pie