mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
The MemDebugLogWrite() function is identical in MemDebugLogPei.c and MemDebugLogPeiCore.c So drop it from MemDebugLogPei.c and simply add MemDebugLogPeiCore.c to MemDebugLogPeiLib.inf instead. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
45 lines
1 KiB
INI
45 lines
1 KiB
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 = D473DE36-0D8A-4F6B-9FA0-126185F36D9D
|
|
MODULE_TYPE = BASE
|
|
VERSION_STRING = 1.0
|
|
LIBRARY_CLASS = MemDebugLogLib|PEIM
|
|
|
|
|
|
[Sources]
|
|
MemDebugLogPei.c
|
|
MemDebugLogPeiCore.c
|
|
MemDebugLogCommon.c
|
|
|
|
[Packages]
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
MdePkg/MdePkg.dec
|
|
OvmfPkg/OvmfPkg.dec
|
|
|
|
[LibraryClasses]
|
|
SynchronizationLib
|
|
PcdLib
|
|
QemuFwCfgSimpleParserLib
|
|
|
|
[Guids]
|
|
gMemDebugLogHobGuid
|
|
|
|
[Ppis]
|
|
|
|
[FixedPcd]
|
|
gUefiOvmfPkgTokenSpaceGuid.PcdMemDebugLogPages
|
|
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfEarlyMemDebugLogBase
|
|
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfEarlyMemDebugLogSize
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString ## CONSUMES
|
|
|