OvmfPkg/MemDebugLogPeiCoreLib: enable for PEIMs

Allow PEIMs use the MemDebugLogPeiCoreLib lib.

The difference between MemDebugLogPeiCoreLib and MemDebugLogPeiLib is
that the latter does additionally provide the MemDebugLogPages()
function, and pulls in QemuFwCfg* libraries as dependency.

Most PEIMs do not need MemDebugLogPages() though, only the ones which
handle the setup of the memory logging buffer do.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Gerd Hoffmann 2026-01-20 17:17:16 +01:00 committed by mergify[bot]
parent 7916a6ccb7
commit 37857f41c6

View file

@ -14,7 +14,7 @@
FILE_GUID = EEAF8A01-167A-4222-A647-80EB16AEEC69
MODULE_TYPE = BASE
VERSION_STRING = 1.0
LIBRARY_CLASS = MemDebugLogLib|PEI_CORE
LIBRARY_CLASS = MemDebugLogLib|PEI_CORE PEIM
[Sources]