mirror of
https://github.com/Dasharo/edk2-upstream.git
synced 2026-06-13 19:16:19 -07:00
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>
47 lines
1.3 KiB
INI
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
|
|
|