edk2/OvmfPkg/Library/MemDebugLogLib/MemDebugLogPeiCoreLib.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

40 lines
944 B
INI

## @file
# Instance of MemDebugLog Library for PEI 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 = EEAF8A01-167A-4222-A647-80EB16AEEC69
MODULE_TYPE = BASE
VERSION_STRING = 1.0
LIBRARY_CLASS = MemDebugLogLib|PEI_CORE
[Sources]
MemDebugLogPeiCore.c
MemDebugLogCommon.c
[Packages]
MdeModulePkg/MdeModulePkg.dec
MdePkg/MdePkg.dec
OvmfPkg/OvmfPkg.dec
[LibraryClasses]
SynchronizationLib
[Guids]
gMemDebugLogHobGuid
[Ppis]
[FixedPcd]
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfEarlyMemDebugLogBase
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfEarlyMemDebugLogSize
gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString ## CONSUMES