Files
edk2-upstream/MdeModulePkg/Library/ArmFfaConsoleDebugLib/ArmFfaConsoleDebugStandaloneMmLib.inf
Mohamed Gamal Morsyandmergify[bot] ddc7ed1dee MdeModulePkg/Library: introduce ArmFfaConsoleDebugLib
This patch adds ArmFfaConsoleDebugLib. A debug library that utilizes
FF-A Console Log API to print debug messages to the console.

This is useful in context of running the StandaloneMm payload
as a S-EL0 SP on top of SPMC where StandaloneMm isn't allowed to
access console device or no console device (e.x) Hafnium.

NOTE:
  FFA_CONSOLE_LOG* could be used by secure partition only.

Signed-off-by: Mohamed Gamal Morsy <mohamed.morsy@arm.com>
2026-04-24 10:43:53 +00:00

47 lines
1.3 KiB
INI

## @file
# Instance of Debug Library based on FF-A console logging interface.
#
# Copyright (c) 2025, Arm Limited. All rights reserved.<BR>
# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
#
##
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = ArmFfaConsoleDebugStandaloneMmLib
MODULE_UNI_FILE = ArmFfaConsoleDebugStandaloneMmLib.uni
FILE_GUID = c02b2e92-3977-11f1-800e-1f227574e3fe
MODULE_TYPE = BASE
VERSION_STRING = 1.0
LIBRARY_CLASS = DebugLib|MM_CORE_STANDALONE MM_STANDALONE
#
# VALID_ARCHITECTURES = AARCH64
#
[Sources]
ArmFfaConsoleDebugStandaloneMmLib.c
[Packages]
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
[LibraryClasses]
ArmSmcLib
ArmSvcLib
BaseLib
BaseMemoryLib
PcdLib
PrintLib
DebugPrintErrorLevelLib
[Pcd]
gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue ## SOMETIMES_CONSUMES
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask ## CONSUMES
gEfiMdePkgTokenSpaceGuid.PcdFixedDebugPrintErrorLevel ## CONSUMES
gEfiMdeModulePkgTokenSpaceGuid.PcdFfaLibConduitSmc ## CONSUMES