edk2/OvmfPkg/Library/MemDebugLogLib/MemDebugLogSecLib.inf
Aaron Young ba05ea83b7 OvmfPkg: Add OVMF Memory Debug Logging MemDebugLogLib library
Add the Memory Debug Logging feature MemDebugLogLib library
which provides the key MemDebugLogWrite() function.

Several versions (i.e. SEC, PEIM, DXE, runtime) of
the function are included to provide the proper
method to write the debug messages to the memory
debug log buffer.

The library also provides the core functions to maintain
the circular memory debug log buffer.

Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Signed-off-by: Aaron Young <aaron.young@oracle.com>
2025-06-13 22:19:39 +00:00

39 lines
987 B
INI

## @file
# Instance of MemDebugLog Library for SEC phase
#
# Copyright (C) 2025, Oracle and/or its affiliates.
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
#
##
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = MemDebugLogLib
FILE_GUID = 9B3A8F82-CBCE-4E3A-A3E0-DBD7172E9506
MODULE_TYPE = BASE
VERSION_STRING = 1.0
LIBRARY_CLASS = MemDebugLogLib|SEC
CONSTRUCTOR = MemDebugLogLibConstructor
[Sources]
MemDebugLogSec.c
MemDebugLogCommon.c
[Packages]
MdeModulePkg/MdeModulePkg.dec
MdePkg/MdePkg.dec
OvmfPkg/OvmfPkg.dec
[LibraryClasses]
SynchronizationLib
[Guids]
gMemDebugLogHobGuid
[FixedPcd]
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfEarlyMemDebugLogBase
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfEarlyMemDebugLogSize
gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString ## CONSUMES