edk2/ArmPkg/Drivers/MmCommunicationPei/MmCommunicationPei.inf
Kun Qin b9cac37b03 ArmPkg: MmCommunicationPei: Use SafeIntLib for safe arithmetic operations
This change adds the SafeIntLib to communication input routine to
validate the incoming MM communication message length before using.

Signed-off-by: Kun Qin <kun.qin@microsoft.com>
2026-08-26 09:46:13 -07:00

49 lines
1.1 KiB
INI

## @file -- MmCommunicationPei.inf
# PEI MM Communicate driver
#
# Copyright (c) 2016 - 2021, Arm Limited. All rights reserved.<BR>
# Copyright (c) Microsoft Corporation.
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
[Defines]
INF_VERSION = 0x0001001B
BASE_NAME = MmCommunicationPei
FILE_GUID = 58FFB346-1B75-42C7-AD69-37C652423C1A
MODULE_TYPE = PEIM
VERSION_STRING = 1.0
ENTRY_POINT = MmCommunicationPeiInitialize
[Sources]
MmCommunicationPei.c
[Packages]
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
ArmPkg/ArmPkg.dec
[LibraryClasses]
DebugLib
ArmSmcLib
ArmFfaLib
PeimEntryPoint
PeiServicesLib
HobLib
SafeIntLib
[Pcd]
gArmTokenSpaceGuid.PcdMmBufferBase
gArmTokenSpaceGuid.PcdMmBufferSize
[Protocols]
gEfiMmCommunication2ProtocolGuid
[Guids]
gEfiMmCommunicateHeaderV3Guid
[Ppis]
gEfiPeiMmCommunicationPpiGuid ## PRODUCES
gEfiPeiMmCommunication3PpiGuid ## PRODUCES
[Depex]
TRUE