REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3185 This change added support of SMI handler profile library router under StandaloneMm. This change replaces gSmst with gMmst. It also abstracts standalone and traditional MM driver entrypoints into separate files to allow maximal common implementations. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Hao A Wu <hao.a.wu@intel.com> Cc: Eric Dong <eric.dong@intel.com> Cc: Ray Ni <ray.ni@intel.com> Signed-off-by: Kun Qin <kun.q@outlook.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
45 lines
1.2 KiB
INI
45 lines
1.2 KiB
INI
## @file
|
|
# Standalone MM driver instance of SmiHandlerProfile Library.
|
|
#
|
|
# This library instance provides real functionality for SmmChildDispatcher module.
|
|
#
|
|
# Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
|
|
# Copyright (c) Microsoft Corporation.
|
|
#
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
#
|
|
##
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x00010005
|
|
BASE_NAME = StandaloneMmSmiHandlerProfileLib
|
|
FILE_GUID = 1F2ED27B-A01D-4867-B993-9B710E5926C5
|
|
MODULE_TYPE = MM_STANDALONE
|
|
VERSION_STRING = 1.0
|
|
PI_SPECIFICATION_VERSION = 0x10000032
|
|
LIBRARY_CLASS = SmiHandlerProfileLib|MM_STANDALONE
|
|
CONSTRUCTOR = StandaloneMmSmiHandlerProfileLibConstructor
|
|
|
|
#
|
|
# The following information is for reference only and not required by the build tools.
|
|
#
|
|
# VALID_ARCHITECTURES = IA32 X64
|
|
#
|
|
|
|
[Sources]
|
|
MmSmiHandlerProfileLib.c
|
|
MmSmiHandlerProfileLib.h
|
|
StandaloneMmSmiHandlerProfileLib.c
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
[LibraryClasses]
|
|
MmServicesTableLib
|
|
|
|
[Guids]
|
|
gSmiHandlerProfileGuid ## CONSUMES ## GUID # Locate protocol
|
|
|