mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
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>
40 lines
949 B
INI
40 lines
949 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 PEIM
|
|
|
|
|
|
[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
|