From nobody Mon Feb 9 04:46:25 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+110186+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+110186+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1698385422; cv=none; d=zohomail.com; s=zohoarc; b=SdwMjI884wgTCRn5d5M7JYRt/ko0LTMSAhnpwQhV3aRK45JwxVtYSb3HwtGFUNzYdmOCCDCfhy8qspnNWV6lmVFy92+H1QoL/D8f3hqBAQvgEPpUe/lvmbbrHYqVjGckjJv471oWTG12w+z9O4jrOOBBS3GdEeesBS5wOEIhwwI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1698385422; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Sender:Subject:Subject:To:To:Message-Id; bh=6VF4wxP5rTAFqRrS254prt3rR4nVj5SzYZwCY7z7/PA=; b=YtFuJOt5FPxHw7n07hQnLFm0xmOdkJ0gAkZ/kPUcuNWHqobFttPUqAN7Z2XEzlffoLXqEcNZB1jZ2gbbP+BkAwYYvu/p3kBunLDgGXrvsgeP20QvjKwUl/X7Z3uNJGbOoLKjdXvFjsDLhoESMJF58DT428fkUSIpqClBc3OTYPk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+110186+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1698385422236800.1340555967741; Thu, 26 Oct 2023 22:43:42 -0700 (PDT) Return-Path: DKIM-Signature: a=rsa-sha256; bh=rwGg0agSWQ/jJh0kRl3m9cAJuUvfcxKaV3ewTQhkpC0=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1698385421; v=1; b=TDd0Pu0QtjcPdW51q0anit+6OSumS7QidV4DM1t77SQaVyncnqcZXO9rY2ezkLMz/WQDIvj3 qwIdCp0gHh11Y2oQgezvdzKsxFydfKIenAzivgetgiyWEBlTr6oc4xpbCVjFmCxfVtixJGl6MZU 6VTNf0R3VCW5MgbrD/I9/D5Q= X-Received: by 127.0.0.2 with SMTP id EoS4YY1788612xmxZr9hmnr7; Thu, 26 Oct 2023 22:43:41 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by mx.groups.io with SMTP id smtpd.web11.931.1698385420739806443 for ; Thu, 26 Oct 2023 22:43:41 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10875"; a="391587859" X-IronPort-AV: E=Sophos;i="6.03,255,1694761200"; d="scan'208";a="391587859" X-Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Oct 2023 22:43:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10875"; a="763089496" X-IronPort-AV: E=Sophos;i="6.03,255,1694761200"; d="scan'208";a="763089496" X-Received: from shwdeopenlab702.ccr.corp.intel.com ([10.239.55.43]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Oct 2023 22:43:38 -0700 From: "duntan" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Jiewen Yao , Jordan Justen , Gerd Hoffmann , Ray Ni Subject: [edk2-devel] [PATCH 5/7] OvmfPkg: Add CcProbeLib in PlatformInitLib.inf Date: Fri, 27 Oct 2023 13:42:58 +0800 Message-Id: <20231027054300.1382-6-dun.tan@intel.com> In-Reply-To: <20231027054300.1382-1-dun.tan@intel.com> References: <20231027054300.1382-1-dun.tan@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,dun.tan@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 7jTn7ws6NG0806euk3mVOXaix1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1698385423220100003 Content-Type: text/plain; charset="utf-8" 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 Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Cc: Gerd Hoffmann Cc: Ray Ni Reviewed-by: Ard Biesheuvel --- 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.
+# Copyright (c) 2006 - 2023, Intel Corporation. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -52,6 +52,7 @@ PcdLib PciLib PeiHardwareInfoLib + CcProbeLib =20 [LibraryClasses.X64] TdxLib --=20 2.31.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#110186): https://edk2.groups.io/g/devel/message/110186 Mute This Topic: https://groups.io/mt/102215667/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-