On Fri, 27 Oct 2023 at 07:43, Dun Tan <dun....@intel.com> wrote: > > PlatformInitLib uses the CcProbe API in MemDetect.c > but doensn't add CcProbeLib in .inf LibraryClasses > section. Add CcProbeLib to fix the build error. > > Signed-off-by: Dun Tan <dun....@intel.com> > Cc: Ard Biesheuvel <ardb+tianoc...@kernel.org> > Cc: Jiewen Yao <jiewen....@intel.com> > Cc: Jordan Justen <jordan.l.jus...@intel.com> > Cc: Gerd Hoffmann <kra...@redhat.com> > Cc: Ray Ni <ray...@intel.com>
Reviewed-by: Ard Biesheuvel <a...@kernel.org> > --- > OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf > b/OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf > index 5a79d95b68..8ff9e699b1 100644 > --- a/OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf > +++ b/OvmfPkg/Library/PlatformInitLib/PlatformInitLib.inf > @@ -2,7 +2,7 @@ > # Platform Initialization Lib > # > # This module provides platform specific function to detect boot mode. > -# Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR> > +# Copyright (c) 2006 - 2023, Intel Corporation. All rights reserved.<BR> > # > # SPDX-License-Identifier: BSD-2-Clause-Patent > # > @@ -52,6 +52,7 @@ > PcdLib > PciLib > PeiHardwareInfoLib > + CcProbeLib > > [LibraryClasses.X64] > TdxLib > -- > 2.31.1.windows.1 > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#110321): https://edk2.groups.io/g/devel/message/110321 Mute This Topic: https://groups.io/mt/102215667/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-