From nobody Sun Feb 8 12:38: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+88734+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+88734+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1649716361; cv=none; d=zohomail.com; s=zohoarc; b=AQHaLKz9JjcDlxpP5W1MZI0uOEFsqcD7dsCEDFlPb7BsIOfwVNwQaOloX8pE3l6oqu2dhchlwYeJwOlhRoVk7hKhF4aNbw+SitpvYhtuwaBqKPBAawv6l5LAEMF07fh2hUQVBGwzbKSbgyemDt/M3tXVHKl/FK7XMCpN1ylTewY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1649716361; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=oFoKsvx8D1MP6TcEV+CADZcGNNhGl7eAgqzM+pAAfMc=; b=YCEvc3axgLXk1DjB8D8Wch5ApBwF6kWhWNJXaMt9ITcM/c/dwNV/pooRuDNkQBkqitPzbwx1oLk3FP8VC96nrx9oDye6N+hcGeUqOdam4mwNxtO7b6co9MSLg29Bmg0+CMTEpkqlVNDApcdjiAqGAYWZEnRK04x/OVTz5HaIp+0= 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+88734+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 1649716361900256.2597080493672; Mon, 11 Apr 2022 15:32:41 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id UbjtYY1788612xSsdKlwgn4D; Mon, 11 Apr 2022 15:32:41 -0700 X-Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web11.27681.1649670388892280906 for ; Mon, 11 Apr 2022 02:46:29 -0700 X-IronPort-AV: E=McAfee;i="6400,9594,10313"; a="324989895" X-IronPort-AV: E=Sophos;i="5.90,251,1643702400"; d="scan'208";a="324989895" X-Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Apr 2022 02:46:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,251,1643702400"; d="scan'208";a="507044956" X-Received: from shwdeopenlab704.ccr.corp.intel.com ([10.239.182.50]) by orsmga003.jf.intel.com with ESMTP; 11 Apr 2022 02:46:05 -0700 From: Yu Pu To: devel@edk2.groups.io Cc: Yu Pu , Ard Biesheuvel , Jiewen Yao , Jordan Justen , Gerd Hoffmann Subject: [edk2-devel] [PATCH v1 04/15] OvmfPkg: Add CpuLib to module INFs that depend on UefiCpuLib. Date: Mon, 11 Apr 2022 17:45:44 +0800 Message-Id: <20220411094555.1375-5-yu.pu@intel.com> In-Reply-To: <20220411094555.1375-1-yu.pu@intel.com> References: <20220411094555.1375-1-yu.pu@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,yu.pu@intel.com X-Gm-Message-State: Pkm9G52PwLAlsp3ExKAK5cn7x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1649716361; bh=HoplkaKGwoz/2YKAJjPhSA4nmzFlZlOJRHPEzNJVufs=; h=Cc:Date:From:Reply-To:Subject:To; b=ta8w1cVqw2ddCsvf59/FghyVVCEd+ppCuBOPtHKJaC83TDLTm5YtS+dZyCr1WdzLnjt Kw2eDN+h7RxQwhD+2Ui0jK7bnGyFCIRLdhnGfeBzttXne8kChYoBs5hIGE1zlzHIY/TN0 NW1i3ShrzcyEhCakZUWyvLf6aVOjmVPk2oI= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1649717264811100005 Content-Type: text/plain; charset="utf-8" There are two libraries: MdePkg/CpuLib and UefiCpuPkg/UefiCpuLib and UefiCpuPkg/UefiCpuLib will be merged to MdePkg/CpuLib. To avoid build failure, add CpuLib dependency to all modules that depend on UefiCpuLib. Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Cc: Gerd Hoffmann Signed-off-by: Yu Pu --- OvmfPkg/Sec/SecMain.c | 1 + OvmfPkg/Sec/SecMain.inf | 1 + 2 files changed, 2 insertions(+) diff --git a/OvmfPkg/Sec/SecMain.c b/OvmfPkg/Sec/SecMain.c index 2c5561661ef3..2c9e439800c7 100644 --- a/OvmfPkg/Sec/SecMain.c +++ b/OvmfPkg/Sec/SecMain.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include diff --git a/OvmfPkg/Sec/SecMain.inf b/OvmfPkg/Sec/SecMain.inf index 95cf0025e100..6ad366a89333 100644 --- a/OvmfPkg/Sec/SecMain.inf +++ b/OvmfPkg/Sec/SecMain.inf @@ -44,6 +44,7 @@ BaseMemoryLib PeiServicesLib PcdLib + CpuLib UefiCpuLib DebugAgentLib IoLib --=20 2.30.0.windows.2 -=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 (#88734): https://edk2.groups.io/g/devel/message/88734 Mute This Topic: https://groups.io/mt/90407114/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-