Standalone MM requires 4 KB section alignment for all images, so that strict permissions can be applied. Unfortunately, this results in a lot of wasted space, which is usually costly in the secure world environment that standalone MM is expected to operate in. So let's permit the standalone MM drivers (but not the core) to be delivered in a compressed firmware volume. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: "Yao, Jiewen" <jiewen.yao@intel.com> Reviewed-by: Achin Gupta <achin.gupta@arm.com>
82 lines
2.6 KiB
INI
82 lines
2.6 KiB
INI
## @file
|
|
# This module provide an SMM CIS compliant implementation of SMM Core.
|
|
#
|
|
# Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>
|
|
# Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR>
|
|
#
|
|
# This program and the accompanying materials
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
#
|
|
##
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x0001001A
|
|
BASE_NAME = StandaloneMmCore
|
|
FILE_GUID = 6E14B6FD-3600-4DD6-A17A-206B3B6DCE16
|
|
MODULE_TYPE = MM_CORE_STANDALONE
|
|
VERSION_STRING = 1.0
|
|
PI_SPECIFICATION_VERSION = 0x00010032
|
|
ENTRY_POINT = StandaloneMmMain
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64 AARCH64
|
|
|
|
[Sources]
|
|
StandaloneMmCore.c
|
|
StandaloneMmCore.h
|
|
StandaloneMmCorePrivateData.h
|
|
Page.c
|
|
Pool.c
|
|
Handle.c
|
|
Locate.c
|
|
Notify.c
|
|
Dependency.c
|
|
Dispatcher.c
|
|
Mmi.c
|
|
InstallConfigurationTable.c
|
|
FwVol.c
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
StandaloneMmPkg/StandaloneMmPkg.dec
|
|
|
|
[LibraryClasses]
|
|
BaseLib
|
|
BaseMemoryLib
|
|
CacheMaintenanceLib
|
|
DebugLib
|
|
ExtractGuidedSectionLib
|
|
FvLib
|
|
HobLib
|
|
MemoryAllocationLib
|
|
MemLib
|
|
PeCoffLib
|
|
ReportStatusCodeLib
|
|
StandaloneMmCoreEntryPoint
|
|
|
|
[Protocols]
|
|
gEfiDxeMmReadyToLockProtocolGuid ## UNDEFINED # SmiHandlerRegister
|
|
gEfiMmReadyToLockProtocolGuid ## PRODUCES
|
|
gEfiMmEndOfDxeProtocolGuid ## PRODUCES
|
|
gEfiLoadedImageProtocolGuid ## PRODUCES
|
|
gEfiMmConfigurationProtocolGuid ## CONSUMES
|
|
|
|
[Guids]
|
|
gAprioriGuid ## SOMETIMES_CONSUMES ## File
|
|
gEfiEventDxeDispatchGuid ## PRODUCES ## GUID # SmiHandlerRegister
|
|
gEfiEndOfDxeEventGroupGuid ## PRODUCES ## GUID # SmiHandlerRegister
|
|
## SOMETIMES_CONSUMES ## GUID # Locate protocol
|
|
## SOMETIMES_PRODUCES ## GUID # SmiHandlerRegister
|
|
gEdkiiMemoryProfileGuid
|
|
gZeroGuid ## SOMETIMES_CONSUMES ## GUID
|
|
gEfiHobListGuid
|
|
gMmCoreDataHobGuid
|
|
gMmFvDispatchGuid
|
|
gEfiEventLegacyBootGuid
|
|
gEfiEventExitBootServicesGuid
|
|
gEfiEventReadyToBootGuid
|