From nobody Tue May 14 13:01:36 2024 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+87917+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+87917+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1648079385; cv=none; d=zohomail.com; s=zohoarc; b=E7KaTzbQrU3Ff7upT5dtc6z+eIhkYJIiUtUv6cKj0RW4S8PUxlsV5j3sSck+E96YbtTlm1w4D8wurftl/j2jmoQRZK54BG9V9DxPGQqRewBFLpuXVFc3Y/FkpcAAkJv+VCyCLjMZS1uZrmSNe3A0kaopA5z/X3xGtbfnKl7A+sE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1648079385; 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=uJia87giXNpX/E5skTJRvQNBC937sUXlJc3HsGdo2co=; b=gDHWu+Gv1tsroHc34X/XbBxlSX3SRZo9Zu79wxBCIvAAlqYuAC2xzAACBla6Q15ITOdOCtIeBcIQtlGV0nFoBar4pKobWFmwlRL+VjeC7LI3f7l9macCV74GCQaYYl8gGMpwvmdK6DqAdtDV+l2tHQBlYF7fMPTAWdAGe5RKd+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+87917+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 1648079385987536.208866188417; Wed, 23 Mar 2022 16:49:45 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id z5ciYY1788612xarl3N4OyFF; Wed, 23 Mar 2022 16:49:45 -0700 X-Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web08.7983.1648036097703028981 for ; Wed, 23 Mar 2022 04:48:21 -0700 X-IronPort-AV: E=McAfee;i="6200,9189,10294"; a="256911829" X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="256911829" X-Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2022 04:48:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="544160448" X-Received: from shwdeopenlab704.ccr.corp.intel.com ([10.239.182.50]) by orsmga007.jf.intel.com with ESMTP; 23 Mar 2022 04:48:18 -0700 From: Yu Pu To: devel@edk2.groups.io Cc: Yu Pu , Chasel Chiu , Nate DeSimone , Star Zeng Subject: [edk2-devel] [PATCH v1 01/17] IntelFsp2Pkg: Add CpuLib to module INFs that depend on UefiCpuLib. Date: Wed, 23 Mar 2022 19:47:46 +0800 Message-Id: <20220323114802.1008-2-yu.pu@intel.com> In-Reply-To: <20220323114802.1008-1-yu.pu@intel.com> References: <20220323114802.1008-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: j2Ea11Zw1MMAYnynmVtcgEuyx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1648079385; bh=Ar32TtoioqLMkdIfQLg1JwSXFwyP4m+75HKsDG0Ye9Y=; h=Cc:Date:From:Reply-To:Subject:To; b=qcE3+tkL41f3N3FR1qjBdVUbVBeaFx0/Yh85aLzQiyyC4jh1wtziNQEPubsFQ/ZgEuo Bo+f5T48ePPp/zFqwHUrln2oZiEma/VrwR1OeNPYSLl9y2IReP0rOMu0A67bpqMzD2K9Q RNQdfpbrCmqXRRez6XAjbvXAprE+zgAFTC4= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1648079387909100003 Content-Type: text/plain; charset="utf-8" Step 1 to merge UefiCpuLib to CpuLib Cc: Chasel Chiu Cc: Nate DeSimone Cc: Star Zeng Signed-off-by: Yu Pu --- IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf | 1 + IntelFsp2Pkg/FspSecCore/SecMain.h | 1 + IntelFsp2Pkg/IntelFsp2Pkg.dsc | 1 + 3 files changed, 3 insertions(+) diff --git a/IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf b/IntelFsp2Pkg/FspSecC= ore/FspSecCoreM.inf index 7b05cae64130..830471adcf2f 100644 --- a/IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf +++ b/IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf @@ -51,6 +51,7 @@ FspSwitchStackLib FspCommonLib FspSecPlatformLib + CpuLib UefiCpuLib =20 [Pcd] diff --git a/IntelFsp2Pkg/FspSecCore/SecMain.h b/IntelFsp2Pkg/FspSecCore/Se= cMain.h index 7794255af13d..edb7447d9eff 100644 --- a/IntelFsp2Pkg/FspSecCore/SecMain.h +++ b/IntelFsp2Pkg/FspSecCore/SecMain.h @@ -20,6 +20,7 @@ #include #include #include +#include #include #include =20 diff --git a/IntelFsp2Pkg/IntelFsp2Pkg.dsc b/IntelFsp2Pkg/IntelFsp2Pkg.dsc index c1414f7e75b8..b7d20adef5a2 100644 --- a/IntelFsp2Pkg/IntelFsp2Pkg.dsc +++ b/IntelFsp2Pkg/IntelFsp2Pkg.dsc @@ -27,6 +27,7 @@ PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompres= sLib.inf + CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf =20 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseRepor= tStatusCodeLibNull.inf --=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 (#87917): https://edk2.groups.io/g/devel/message/87917 Mute This Topic: https://groups.io/mt/89988790/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- From nobody Tue May 14 13:01:36 2024 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+87918+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+87918+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1648079386; cv=none; d=zohomail.com; s=zohoarc; b=hyOz+/1KST6tYMySO4T2ieUUWk7iCpjRMfPV96MpLUA4pwUz7UiynEOr7WjeQgj+S6PsVvf/NABMAWIX6bAXt22JxJQmAXNx/zoX72XeALvX3jkiwvPytuvZk4fGiyNF11mvG2YP715skK9XbETR7PxCHQNwhPoWODNC6dHyr84= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1648079386; 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=+mXQrTdMj1zFax5dUcaHoc/QpadfH03hIc/yY7Grnrc=; b=V48POqgHRI+hnwebTES4qwgHdltrqPBNFGzB1hrRhU3FeNSo570mhbOoNugaPWEZxRraaiFy0t3h/qfXjBaZ2blxAgIUvPIVo0+Gn7CGndJUDmDaQee8xSy21PVDSrTL25ef5kkxcOOpfzQWpjyYCqi7h3oIzbHPis1g9fSvq/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+87918+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 1648079386896663.6330815233644; Wed, 23 Mar 2022 16:49:46 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id iw8WYY1788612xGYYPA9c6kk; Wed, 23 Mar 2022 16:49:46 -0700 X-Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web08.7983.1648036097703028981 for ; Wed, 23 Mar 2022 04:48:25 -0700 X-IronPort-AV: E=McAfee;i="6200,9189,10294"; a="256911841" X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="256911841" X-Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2022 04:48:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="544160460" X-Received: from shwdeopenlab704.ccr.corp.intel.com ([10.239.182.50]) by orsmga007.jf.intel.com with ESMTP; 23 Mar 2022 04:48:23 -0700 From: Yu Pu To: devel@edk2.groups.io Cc: Yu Pu , Chasel Chiu , Nate DeSimone , Star Zeng Subject: [edk2-devel] [PATCH v1 02/17] IntelFsp2WrapperPkg: Add CpuLib to module INFs that depend on UefiCpuLib. Date: Wed, 23 Mar 2022 19:47:47 +0800 Message-Id: <20220323114802.1008-3-yu.pu@intel.com> In-Reply-To: <20220323114802.1008-1-yu.pu@intel.com> References: <20220323114802.1008-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: YuM5Y619CRIwGYpXhPhSTAjhx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1648079386; bh=t4RBjWnO+i1pBf/BHQItkgPpfSvhRpdQaWXiJ1/SboI=; h=Cc:Date:From:Reply-To:Subject:To; b=tHaSrwQBbA2Z6oN2qwdkUQJ006hCLBDqXgAgehhaoMCIvZ6TZaiNMZ5rogz3QZWPKUa XK1OS43n3N2iAtYKXte/O67di5iD1kjzTxdq0uaBkKQf9wVTQgZ+a1hlwPYhvtqaQgKIf xR6AHVE+2exdrmRgckXz2ES6eGzb0G7YKxA= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1648079387911100004 Content-Type: text/plain; charset="utf-8" Step 1 to merge UefiCpuLib to CpuLib. Cc: Chasel Chiu Cc: Nate DeSimone Cc: Star Zeng Signed-off-by: Yu Pu --- IntelFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.inf | 1 + IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.inf | 1 + IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc | 1 + 3 files changed, 3 insertions(+) diff --git a/IntelFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.inf b/Inte= lFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.inf index 5d0e0214015f..e2262d693c55 100644 --- a/IntelFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.inf +++ b/IntelFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.inf @@ -37,6 +37,7 @@ HobLib FspWrapperPlatformLib FspWrapperHobProcessLib + CpuLib UefiCpuLib PeCoffGetEntryPointLib PeCoffExtraActionLib diff --git a/IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.inf b/Inte= lFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.inf index da0049a65435..0598f85ab3ac 100644 --- a/IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.inf +++ b/IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.inf @@ -38,6 +38,7 @@ MemoryAllocationLib FspWrapperPlatformLib FspWrapperHobProcessLib + CpuLib UefiCpuLib PeCoffGetEntryPointLib PeCoffExtraActionLib diff --git a/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc b/IntelFsp2Wrapper= Pkg/IntelFsp2WrapperPkg.dsc index 21e089000eaf..587ed14f6df1 100644 --- a/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc +++ b/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc @@ -31,6 +31,7 @@ PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeC= offExtraActionLibNull.inf PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMain= tenanceLib.inf + CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf =20 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibN= ull.inf SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull= .inf --=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 (#87918): https://edk2.groups.io/g/devel/message/87918 Mute This Topic: https://groups.io/mt/89988791/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- From nobody Tue May 14 13:01:36 2024 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+87919+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+87919+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1648079387; cv=none; d=zohomail.com; s=zohoarc; b=V4BxbUV2C0hquB5DZzyyp6pAEXziYu/DaeMsmi/XMG+Nh0SmiWNQ1GUev35opqsI0AvG2NfvqimcyPith45yWlBEzZBahzR8WW3s3J7fNVhks1CejYcGtBCB8QUqqKDaGFbeFTrCst7vHBy28zJEKKsiYYPWqLHZcnlmF7XFPEE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1648079387; 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=DWS+ly9We1uz3zEdEsNp89HXhBmi1hPcbrzqJQ3liS8=; b=cuR/qoeFeLvvCfjQ6h5csEi9CKuakyEDGd1Q0Ts18Yr42IiCSxzwiIZZ5EDkn4kZb+3ST1uIde8UNZ32xGKWLFQizcLe41NjES8BYVe0gVSuCEgrEw+dvlwVgRaFtbX1QDBBb3jyCzwbh6CJeoZAjZP5W2irDXWml2bWr3exc8Q= 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+87919+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 1648079387278972.4470814206934; Wed, 23 Mar 2022 16:49:47 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id PysWYY1788612xOeUHK7sHnD; Wed, 23 Mar 2022 16:49:47 -0700 X-Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web08.7983.1648036097703028981 for ; Wed, 23 Mar 2022 04:48:30 -0700 X-IronPort-AV: E=McAfee;i="6200,9189,10294"; a="256911849" X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="256911849" X-Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2022 04:48:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="544160474" X-Received: from shwdeopenlab704.ccr.corp.intel.com ([10.239.182.50]) by orsmga007.jf.intel.com with ESMTP; 23 Mar 2022 04:48:27 -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 03/17] OvmfPkg: Add CpuLib to module INFs that depend on UefiCpuLib. Date: Wed, 23 Mar 2022 19:47:48 +0800 Message-Id: <20220323114802.1008-4-yu.pu@intel.com> In-Reply-To: <20220323114802.1008-1-yu.pu@intel.com> References: <20220323114802.1008-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: IN3GZbGn43YwUQh5B2Q7phpax1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1648079387; bh=f9cW+tZAyJlYahXI986KlPrTIgbSmv/1r70UMmGAFI0=; h=Cc:Date:From:Reply-To:Subject:To; b=chQFvVbh/huR3jQ5r0MFuue/LTswuioNMi1H+I0sU5Eenm4fBKYV53SqnbjsTu7qhpz 4yjdYIryolnKZHvbtgciwjhQV/QDvBsAYaB5MbEFyXyXgTti1seg3pnS9nKxwuVYfK43A 5v7O2bt5pSAglrQzl8i3gsXASPUC0rTeZAg= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1648079387901100001 Content-Type: text/plain; charset="utf-8" Step 1 to merge UefiCpuLib to CpuLib. 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 (#87919): https://edk2.groups.io/g/devel/message/87919 Mute This Topic: https://groups.io/mt/89988792/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- From nobody Tue May 14 13:01:36 2024 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+87920+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+87920+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1648079387; cv=none; d=zohomail.com; s=zohoarc; b=SDImiDAIdfJ9kfcEqLqjLgitxVqBizFm+vj2ZvYPPFg8VwupIFlQ+lZuGFPZcR4mcr7AyI6Fbe1P5Qr8NxkSkiWd2YjEqrGOP0YYSlNwAhRIVsqDlmc81QXg8+XGaND8JWuI9DVaidvRmwGaLhCJkh2no9gwhd/AJz5X8X7Yt0g= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1648079387; 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=cpN3rKRXJqrXHFHxNo304pJDIcoHFhtM5JOgzSZNCKE=; b=mc+EouZSNUi4VKWelEaZ6iN9urQ7zQ6/EEz+GTXuB1jFgCDh5Mmqo3BQQWVACgz0C8oWXoY3tk8z/M9IbdXuSph6We3tms5aiq2INDX/iry9SLkCPjW9jPKbwujNHbTgkCvJNtNFOo2Mej2LQXrl3lvx/Wanl2IBJX4eZXrLIGs= 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+87920+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 1648079387895679.253322982801; Wed, 23 Mar 2022 16:49:47 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id cuCUYY1788612xjJiP67ner0; Wed, 23 Mar 2022 16:49:47 -0700 X-Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web08.7983.1648036097703028981 for ; Wed, 23 Mar 2022 04:48:34 -0700 X-IronPort-AV: E=McAfee;i="6200,9189,10294"; a="256911862" X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="256911862" X-Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2022 04:48:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="544160500" X-Received: from shwdeopenlab704.ccr.corp.intel.com ([10.239.182.50]) by orsmga007.jf.intel.com with ESMTP; 23 Mar 2022 04:48:31 -0700 From: Yu Pu To: devel@edk2.groups.io Cc: Yu Pu , Ray Ni Subject: [edk2-devel] [PATCH v1 04/17] PcAtChipsetPkg: Add CpuLib to module INFs that depend on UefiCpuLib. Date: Wed, 23 Mar 2022 19:47:49 +0800 Message-Id: <20220323114802.1008-5-yu.pu@intel.com> In-Reply-To: <20220323114802.1008-1-yu.pu@intel.com> References: <20220323114802.1008-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: AIsdIgQk35ZdXhu3F6fAxlH8x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1648079387; bh=UScEbLqcrKXGZ2PQqj8s4bpAEPpB5+K90LWCOO82Xtc=; h=Cc:Date:From:Reply-To:Subject:To; b=W2dmD/GdS6CGTLFmCrCy9szKxEXeDvdD8XMybNv1K0nE61PyXGoxN5rPNMpedlGhRoL DufoLtRUJJWAwe4KETmbox0ZjXcUtcKJF8BLBVvdDz4KRdJfwlNMqaXrdITRHu3fZC5RT e+/isEUBRTFzL0wrTMxaAPhX2qA+TljjNfo= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1648080291910100003 Content-Type: text/plain; charset="utf-8" Step 1 to merge UefiCpuLib to CpuLib. Cc: Ray Ni Signed-off-by: Yu Pu --- PcAtChipsetPkg/PcAtChipsetPkg.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/PcAtChipsetPkg/PcAtChipsetPkg.dsc b/PcAtChipsetPkg/PcAtChipset= Pkg.dsc index 451e60ddc857..6db2bbc0b89d 100644 --- a/PcAtChipsetPkg/PcAtChipsetPkg.dsc +++ b/PcAtChipsetPkg/PcAtChipsetPkg.dsc @@ -33,6 +33,7 @@ UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/U= efiRuntimeServicesTableLib.inf UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntry= Point.inf + CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf UefiLib|MdePkg/Library/UefiLib/UefiLib.inf MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAll= ocationLib.inf UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBoo= tServicesTableLib.inf --=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 (#87920): https://edk2.groups.io/g/devel/message/87920 Mute This Topic: https://groups.io/mt/89988793/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- From nobody Tue May 14 13:01:36 2024 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+87921+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+87921+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1648079388; cv=none; d=zohomail.com; s=zohoarc; b=Mf2eKZ3tm023VgPa5sKdW7cDyFMkZWcUg1efHv+w7MXGrWvGhyfLz8wyupN53oxfm2gBAbEbw5KQWsK8DxwpGVNeacyoidkJH91n+cwEtJZfXMhMrwCdHiSsEX1RALnvuXfDXdMPnSkuZREFmzB/qrLMjzq1UBh8oMJbItWqW14= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1648079388; 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=34f5zpNxDIFTBwNqSGE5KOLXpUZb1tsqnr28Frj9j20=; b=Tby0eqO5H8ddtGWr9w1EL60oFJt9fHRPmE0q/chfSevWfWbmxKtuHS12JtvSEidMJ+RHjavzHMDiYhS5cYBwxYqmwhykFkXbj6ahZ4JgBUBQg8biW6TczAcgaw7tO7TKXK3LKozxNkkjkqcu7AtaNF8Q/5TUcyPG0AG9Xjhm2Ss= 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+87921+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 1648079388981324.09459492356916; Wed, 23 Mar 2022 16:49:48 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 5ofdYY1788612xPiBVhjz1a9; Wed, 23 Mar 2022 16:49:48 -0700 X-Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web08.7983.1648036097703028981 for ; Wed, 23 Mar 2022 04:48:34 -0700 X-IronPort-AV: E=McAfee;i="6200,9189,10294"; a="256911864" X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="256911864" X-Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2022 04:48:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="544160509" X-Received: from shwdeopenlab704.ccr.corp.intel.com ([10.239.182.50]) by orsmga007.jf.intel.com with ESMTP; 23 Mar 2022 04:48:33 -0700 From: Yu Pu To: devel@edk2.groups.io Cc: Yu Pu , Hao A Wu Subject: [edk2-devel] [PATCH v1 05/17] SourceLevelDebugPkg: Add CpuLib to module INFs that depend on UefiCpuLib. Date: Wed, 23 Mar 2022 19:47:50 +0800 Message-Id: <20220323114802.1008-6-yu.pu@intel.com> In-Reply-To: <20220323114802.1008-1-yu.pu@intel.com> References: <20220323114802.1008-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: aRoEc8d6K4jqZz3E58JQhrLpx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1648079388; bh=n0UkFLhbeyzZRxtsnuBsndfEEB0TFi/cLI9nBlLZoLA=; h=Cc:Date:From:Reply-To:Subject:To; b=KWBN9FhwC7V8ST5uhrVJqohHPEX7+NgaJOrPUr5dOYMyXh5aOIW2F59sRjYC9txhTTc lcEvfop9OkApyoiVK9xTMJSla1GwmN7CFOSSB89lvFad4K8DSyiQktkFzwD8gH5vPVON2 j8Pxr95dpVEidwkijwUf1jyQhiuDKcNJKsc= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1648079389711100015 Content-Type: text/plain; charset="utf-8" Step 1 to merge UefiCpuLib to CpuLib. Cc: Hao A Wu Signed-off-by: Yu Pu --- SourceLevelDebugPkg/SourceLevelDebugPkg.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/SourceLevelDebugPkg/SourceLevelDebugPkg.dsc b/SourceLevelDebug= Pkg/SourceLevelDebugPkg.dsc index eba64a7b7877..2f565d923bd4 100644 --- a/SourceLevelDebugPkg/SourceLevelDebugPkg.dsc +++ b/SourceLevelDebugPkg/SourceLevelDebugPkg.dsc @@ -35,6 +35,7 @@ IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchroniza= tionLib.inf LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf + CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeC= offGetEntryPointLib.inf SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPort= Lib16550.inf --=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 (#87921): https://edk2.groups.io/g/devel/message/87921 Mute This Topic: https://groups.io/mt/89988794/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- From nobody Tue May 14 13:01:36 2024 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+87922+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+87922+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1648079389; cv=none; d=zohomail.com; s=zohoarc; b=fuCcl8EvL0pB/Kd2onzare+wz8PH2QjpDLzyznMJIrZjQNT7Gu4jHCeTUtHOlHsO/aoCXrgRqEbA2mzYU8cXQk00YnzuoXXcLl7jKdtzbao0b0VLG05f/jMFoXdp2iwIuJjDIzNO7gekBhJSxm1qeZfxgkiOUnTmXh2FQxr6aCM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1648079389; 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=IzNRG6NvMjFbqUkzlevZBGj9qByTU+WzAOzBowZBAS0=; b=JNqsGOBYIv3mdJ25OlZRyip0Ydf/xh73HV52HHwP3I16q8V8gVPwjwXSbxqCdXJxNnUTeopSZLQjnJ8afqdXFiP90a7fbomezJFhQBus+pw6/PiQiENQEmCc77W+XtBW1yzCWnJp5g412gCPLUXpmDCR7acC/sHGUVnHHLC+dO4= 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+87922+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 1648079389780459.68010721999167; Wed, 23 Mar 2022 16:49:49 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id WrOOYY1788612xayEBKzWbGz; Wed, 23 Mar 2022 16:49:49 -0700 X-Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web08.7983.1648036097703028981 for ; Wed, 23 Mar 2022 04:48:36 -0700 X-IronPort-AV: E=McAfee;i="6200,9189,10294"; a="256911865" X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="256911865" X-Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2022 04:48:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="544160519" X-Received: from shwdeopenlab704.ccr.corp.intel.com ([10.239.182.50]) by orsmga007.jf.intel.com with ESMTP; 23 Mar 2022 04:48:34 -0700 From: Yu Pu To: devel@edk2.groups.io Cc: Yu Pu , Eric Dong , Ray Ni , Rahul Kumar Subject: [edk2-devel] [PATCH v1 06/17] UefiCpuPkg: Add CpuLib to module INFs that depend on UefiCpuLib. Date: Wed, 23 Mar 2022 19:47:51 +0800 Message-Id: <20220323114802.1008-7-yu.pu@intel.com> In-Reply-To: <20220323114802.1008-1-yu.pu@intel.com> References: <20220323114802.1008-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: slkIstOPAHlRo1L2UlNlEuL2x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1648079389; bh=szxUsEG1u1SU0JpslQjRTg/pTYjAC2cPXg42yo0P7tw=; h=Cc:Date:From:Reply-To:Subject:To; b=kqsilOwSCfFEVg5B9EVb8oJMz/vfcWESAW6BFTGmXUKP9utI6+IK6PTn/heVglT/0L9 5E2YkihGP9NK9AlJCCwKX5/mfnvKH+4JfeQIErN5ION4rD6yKnv/k8b9+K8SCBxJUK1CA erPQjhOnuKOsvlu0XwkdT11IKrG8WgnF0Po= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1648079391743100033 Content-Type: text/plain; charset="utf-8" Step 1 to merge UefiCpuLib to CpuLib. Cc: Eric Dong Cc: Ray Ni Cc: Rahul Kumar Signed-off-by: Yu Pu --- UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c | 1 + UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c | 1 + UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf | 1 + UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf | 1 + UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h | 1 + UefiCpuPkg/SecCore/SecCore.inf | 1 + UefiCpuPkg/SecCore/SecCoreNative.inf | 1 + UefiCpuPkg/SecCore/SecMain.h | 1 + 8 files changed, 8 insertions(+) diff --git a/UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c b/UefiCpuPkg/Li= brary/BaseXApicLib/BaseXApicLib.c index f9e06b2fca45..a944c3d01cf7 100644 --- a/UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c +++ b/UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c @@ -21,6 +21,7 @@ #include #include #include +#include #include =20 // diff --git a/UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c b/U= efiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c index aaa42ff8450b..8b3630d7a302 100644 --- a/UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c +++ b/UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c @@ -22,6 +22,7 @@ #include #include #include +#include #include =20 // diff --git a/UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf b/UefiCpuPkg/= Library/BaseXApicLib/BaseXApicLib.inf index 561baa44b0e6..a85b69e0a11c 100644 --- a/UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf +++ b/UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf @@ -38,6 +38,7 @@ TimerLib IoLib PcdLib + CpuLib UefiCpuLib =20 [Pcd] diff --git a/UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf b= /UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf index 1e2a4f8b790f..31ebdd39c616 100644 --- a/UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf +++ b/UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf @@ -38,6 +38,7 @@ TimerLib IoLib PcdLib + CpuLib UefiCpuLib =20 [Pcd] diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h b/UefiCpuPkg/PiSmmC= puDxeSmm/PiSmmCpuDxeSmm.h index aed872836c99..dfeceec2aadc 100644 --- a/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h +++ b/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h @@ -43,6 +43,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #include #include #include +#include #include #include #include diff --git a/UefiCpuPkg/SecCore/SecCore.inf b/UefiCpuPkg/SecCore/SecCore.inf index ded83beb5272..f021997f271c 100644 --- a/UefiCpuPkg/SecCore/SecCore.inf +++ b/UefiCpuPkg/SecCore/SecCore.inf @@ -47,6 +47,7 @@ PlatformSecLib PcdLib DebugAgentLib + CpuLib UefiCpuLib PeCoffGetEntryPointLib PeCoffExtraActionLib diff --git a/UefiCpuPkg/SecCore/SecCoreNative.inf b/UefiCpuPkg/SecCore/SecC= oreNative.inf index b528c5987947..e0a1b44a7e23 100644 --- a/UefiCpuPkg/SecCore/SecCoreNative.inf +++ b/UefiCpuPkg/SecCore/SecCoreNative.inf @@ -44,6 +44,7 @@ PlatformSecLib PcdLib DebugAgentLib + CpuLib UefiCpuLib PeCoffGetEntryPointLib PeCoffExtraActionLib diff --git a/UefiCpuPkg/SecCore/SecMain.h b/UefiCpuPkg/SecCore/SecMain.h index 029bee3e7e40..189fcf932625 100644 --- a/UefiCpuPkg/SecCore/SecMain.h +++ b/UefiCpuPkg/SecCore/SecMain.h @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include --=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 (#87922): https://edk2.groups.io/g/devel/message/87922 Mute This Topic: https://groups.io/mt/89988795/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- From nobody Tue May 14 13:01:36 2024 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+87923+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+87923+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1648079388; cv=none; d=zohomail.com; s=zohoarc; b=escHkgaft4DjFrhEKlNn9rfbEbEtZeFE2jnTQgRP/OWCCvV0SXZtvwoF6cH2O1P4bheaT3EYoUQtS88EVjOffrjz0bGbo28cyvjj3TdF68qDZlUvPLJo1PfstXAQ9vfw8Mmskuy25PEbPE0L6WL1bvJV+SZx0JoYrz2z6azjWo4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1648079388; 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=SJHz8nawYTUIZSkoFZ03niI9qvpq56PsIcxlxgunqVY=; b=K6RUfaIeN2mEU+dm/Z8ybL6+8KNpiiyP9VZYULFug8eEJUfwZG8n+hyfoYORd/JAmLqjOwYWDfvgQ1d8wgoHz/s9sDVrQo7FcdYR0lV+NUUloloH9Kick5LA2dlsgUXz9Rhz5F9EmAmlpUiU1RhN7P4EzUwlI4Llw9y2yT/6IdQ= 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+87923+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 1648079388985685.7085104830212; Wed, 23 Mar 2022 16:49:48 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id wiwMYY1788612xGpevDckrQp; Wed, 23 Mar 2022 16:49:48 -0700 X-Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web08.7983.1648036097703028981 for ; Wed, 23 Mar 2022 04:48:38 -0700 X-IronPort-AV: E=McAfee;i="6200,9189,10294"; a="256911872" X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="256911872" X-Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2022 04:48:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="544160526" X-Received: from shwdeopenlab704.ccr.corp.intel.com ([10.239.182.50]) by orsmga007.jf.intel.com with ESMTP; 23 Mar 2022 04:48:36 -0700 From: Yu Pu To: devel@edk2.groups.io Cc: Yu Pu , Guo Dong , Ray Ni , Maurice Ma , Benjamin You , Sean Rhodes Subject: [edk2-devel] [PATCH v1 07/17] UefiPayloadPkg: Add CpuLib to module INFs that depend on UefiCpuLib. Date: Wed, 23 Mar 2022 19:47:52 +0800 Message-Id: <20220323114802.1008-8-yu.pu@intel.com> In-Reply-To: <20220323114802.1008-1-yu.pu@intel.com> References: <20220323114802.1008-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: wRqMyowlraLyAPrYB2HiPj9Vx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1648079388; bh=P7fckBg9IEhTj6d3R6/sFZmJ3Vr8+OcfrLCI86NF3kw=; h=Cc:Date:From:Reply-To:Subject:To; b=SnXv7wmom1iHFLInLfzYJxYHSH1CfseJmVZOhNsAKPyc+JCE9RtuHrvuVonc5ot09V8 XUTSM9p8RZbQXGPPqoQ7typBZugGuphiYaYp3fitVfigFKHRIg7oSZ7YTdd/d7RZVRt2o 7iNr0B159bhkPF9FE9mgurRuvYNIh6J5aGE= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1648079389727100020 Content-Type: text/plain; charset="utf-8" Step 1 to merge UefiCpuLib to CpuLib. Cc: Guo Dong Cc: Ray Ni Cc: Maurice Ma Cc: Benjamin You Cc: Sean Rhodes Signed-off-by: Yu Pu --- UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.h | 1 + UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf | 1 + UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf | 1 + 3 files changed, 3 insertions(+) diff --git a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.h b/UefiPaylo= adPkg/UefiPayloadEntry/UefiPayloadEntry.h index 56e0a4c639a0..d1c7425b28f2 100644 --- a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.h +++ b/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.h @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include diff --git a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf b/UefiPay= loadPkg/UefiPayloadEntry/UefiPayloadEntry.inf index c4e4339ede4b..95446dd99729 100644 --- a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf +++ b/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf @@ -54,6 +54,7 @@ HobLib PeCoffLib PlatformSupportLib + CpuLib UefiCpuLib =20 [Guids] diff --git a/UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf b/Ue= fiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf index 80af5afe0a3f..3b4836042a06 100644 --- a/UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf +++ b/UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf @@ -52,6 +52,7 @@ IoLib HobLib PeCoffLib + CpuLib UefiCpuLib =20 [Guids] --=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 (#87923): https://edk2.groups.io/g/devel/message/87923 Mute This Topic: https://groups.io/mt/89988797/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- From nobody Tue May 14 13:01:36 2024 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+87924+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+87924+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1648079390; cv=none; d=zohomail.com; s=zohoarc; b=FYop/S+38bGgqEvkYeczOmSCvdNGZWFY506yBtpkPRlbb2HV86SqnCZzcr34KcqHpVzAMSjMN4vZUX1W3GHuLVo4cGs0NGdVzZ0Q2OeYpLiPz29GUIyrO9my2yu14BZJ5zdAtvhrblAxDw1DuNgzkN6l9v1dbEn0z39o+6qBgwo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1648079390; 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=uai03ZETONb3oZ5XoHsQUJoWRLWXS1b+1yIYMaKmMHI=; b=AHZ26D/PLqk5rP92pN7AhfUJc+aBMnkhOars44oG6Pk1IKD131ilLs6OZhnCmzQ7tCKgiImn/Qbo5K/9Szn2gZGGoydDsVsQOnZ2tU/okcvYNsikmzJ5dkoyc3sETTlHEU2px9mA+hQXouzecuyqqR3qROPyRoRkDZa6miMKIv8= 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+87924+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 1648079390435117.94272753936002; Wed, 23 Mar 2022 16:49:50 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id u9RNYY1788612xIjfpnfUxyh; Wed, 23 Mar 2022 16:49:50 -0700 X-Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web08.7983.1648036097703028981 for ; Wed, 23 Mar 2022 04:48:40 -0700 X-IronPort-AV: E=McAfee;i="6200,9189,10294"; a="256911877" X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="256911877" X-Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2022 04:48:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="544160530" X-Received: from shwdeopenlab704.ccr.corp.intel.com ([10.239.182.50]) by orsmga007.jf.intel.com with ESMTP; 23 Mar 2022 04:48:38 -0700 From: Yu Pu To: devel@edk2.groups.io Cc: Yu Pu , Michael D Kinney , Liming Gao , Zhiguang Liu Subject: [edk2-devel] [PATCH v1 08/17] MdePkg: Move API and implementation from UefiCpuLib to CpuLib Date: Wed, 23 Mar 2022 19:47:53 +0800 Message-Id: <20220323114802.1008-9-yu.pu@intel.com> In-Reply-To: <20220323114802.1008-1-yu.pu@intel.com> References: <20220323114802.1008-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: tC44E16Y6wADVoyDsm79DBOWx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1648079390; bh=3UCuUDCsf8JaR96jW2sTF2boYvjgcPNkHmCcktckyd8=; h=Cc:Date:From:Reply-To:Subject:To; b=QQ+126EXWVT9ieMBiP4wEIehbiW9/BpoCAzFk9sNTEWR2NCxpELwPxWwGlvFmAey/94 gNMAPXzJWIiXPteTjRWC3fRFpLyq54XcpQjxZbB3Nu8TjszQF8FMAquYS2ZrabaQTeCTu qhkvqjPDrtG/dcywqJ6e7DOwqt9qYQHJAWI= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1648079391754100036 Content-Type: text/plain; charset="utf-8" Step 2 to merge UefiCpuLib to CpuLib. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Signed-off-by: Yu Pu --- UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.c =3D> MdePkg/Library/Bas= eCpuLib/X86BaseCpuLib.c | 8 +-- MdePkg/Include/Library/CpuLib.h = | 53 ++++++++++++++++++++ MdePkg/Library/BaseCpuLib/BaseCpuLib.inf = | 7 +++ {UefiCpuPkg/Library/BaseUefiCpuLib =3D> MdePkg/Library/BaseCpuLib}/Ia32/In= itializeFpu.nasm | 0 {UefiCpuPkg/Library/BaseUefiCpuLib =3D> MdePkg/Library/BaseCpuLib}/X64/Ini= tializeFpu.nasm | 0 5 files changed, 61 insertions(+), 7 deletions(-) diff --git a/UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.c b/MdePkg/Li= brary/BaseCpuLib/X86BaseCpuLib.c similarity index 93% rename from UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.c rename to MdePkg/Library/BaseCpuLib/X86BaseCpuLib.c index 5d925bc273f8..e69f00417022 100644 --- a/UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.c +++ b/MdePkg/Library/BaseCpuLib/X86BaseCpuLib.c @@ -1,26 +1,21 @@ /** @file This library defines some routines that are generic for IA32 family CPU. - The library routines are UEFI specification compliant. - Copyright (c) 2020, AMD Inc. All rights reserved.
Copyright (c) 2021, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent - **/ =20 #include #include =20 #include -#include +#include =20 /** Determine if the standard CPU signature is "AuthenticAMD". - @retval TRUE The CPU signature matches. @retval FALSE The CPU signature does not match. - **/ BOOLEAN EFIAPI @@ -40,7 +35,6 @@ StandardSignatureIsAuthenticAMD ( =20 /** Return the 32bit CPU family and model value. - @return CPUID[01h].EAX with Processor Type and Stepping ID cleared. **/ UINT32 diff --git a/MdePkg/Include/Library/CpuLib.h b/MdePkg/Include/Library/CpuLi= b.h index 25f6d9478c52..c548c65a4445 100644 --- a/MdePkg/Include/Library/CpuLib.h +++ b/MdePkg/Include/Library/CpuLib.h @@ -41,4 +41,57 @@ CpuFlushTlb ( VOID ); =20 +#if defined (MDE_CPU_IA32) || defined (MDE_CPU_X64) + +/** + Initializes floating point units for requirement of UEFI specification. + + This function initializes floating-point control word to 0x027F (all exc= eptions + masked,double-precision, round-to-nearest) and multimedia-extensions con= trol word + (if supported) to 0x1F80 (all exceptions masked, round-to-nearest, flush= to zero + for masked underflow). + +**/ +VOID +EFIAPI +InitializeFloatingPointUnits ( + VOID + ); + +/** + Determine if the standard CPU signature is "AuthenticAMD". + + @retval TRUE The CPU signature matches. + @retval FALSE The CPU signature does not match. + +**/ +BOOLEAN +EFIAPI +StandardSignatureIsAuthenticAMD ( + VOID + ); + +/** + Return the 32bit CPU family and model value. + + @return CPUID[01h].EAX with Processor Type and Stepping ID cleared. +**/ +UINT32 +EFIAPI +GetCpuFamilyModel ( + VOID + ); + +/** + Return the CPU stepping ID. + @return CPU stepping ID value in CPUID[01h].EAX. +**/ +UINT8 +EFIAPI +GetCpuSteppingId ( + VOID + ); + +#endif + #endif diff --git a/MdePkg/Library/BaseCpuLib/BaseCpuLib.inf b/MdePkg/Library/Base= CpuLib/BaseCpuLib.inf index 950f5229b2a4..8d6eed3745b3 100644 --- a/MdePkg/Library/BaseCpuLib/BaseCpuLib.inf +++ b/MdePkg/Library/BaseCpuLib/BaseCpuLib.inf @@ -28,6 +28,9 @@ # VALID_ARCHITECTURES =3D IA32 X64 EBC ARM AARCH64 RISCV64 # =20 +[Sources.IA32, Sources.X64] + X86BaseCpuLib.c + [Sources.IA32] Ia32/CpuSleep.c | MSFT Ia32/CpuFlushTlb.c | MSFT @@ -38,10 +41,14 @@ Ia32/CpuSleepGcc.c | GCC Ia32/CpuFlushTlbGcc.c | GCC =20 + Ia32/InitializeFpu.nasm + [Sources.X64] X64/CpuFlushTlb.nasm X64/CpuSleep.nasm =20 + X64/InitializeFpu.nasm + =20 [Sources.EBC] Ebc/CpuSleepFlushTlb.c diff --git a/UefiCpuPkg/Library/BaseUefiCpuLib/Ia32/InitializeFpu.nasm b/Md= ePkg/Library/BaseCpuLib/Ia32/InitializeFpu.nasm similarity index 100% rename from UefiCpuPkg/Library/BaseUefiCpuLib/Ia32/InitializeFpu.nasm rename to MdePkg/Library/BaseCpuLib/Ia32/InitializeFpu.nasm diff --git a/UefiCpuPkg/Library/BaseUefiCpuLib/X64/InitializeFpu.nasm b/Mde= Pkg/Library/BaseCpuLib/X64/InitializeFpu.nasm similarity index 100% rename from UefiCpuPkg/Library/BaseUefiCpuLib/X64/InitializeFpu.nasm rename to MdePkg/Library/BaseCpuLib/X64/InitializeFpu.nasm --=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 (#87924): https://edk2.groups.io/g/devel/message/87924 Mute This Topic: https://groups.io/mt/89988798/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- From nobody Tue May 14 13:01:36 2024 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+87925+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+87925+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1648079391; cv=none; d=zohomail.com; s=zohoarc; b=J3Iek1m7cImsYbuCmX0DM80QLeD+ch4YvNvpzi0GJmNlBh/+Vyfkuf7zWPhl9W46urc1lJmoIL8xnWrrc0I/PKtVCJW0sF2FpNCMHY0iVaExBIOOmylOhUVTMpQMyByI3ItMBMNi7RlAM8RQNMKU9VRktneICogLRQOcvchcgos= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1648079391; 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=D59mgtptMhF09sbuKbTjEyqToQr7aE1zrllWT5g8koo=; b=c52gQu/XIxwyt9A9fxd2iad7BpYIfgTnqJhfnngeKJvmz7IJ2pAPOQGsIbMXgvh1Mp8nVuNo5J8bXwseBkaS2mqsZtGNfmK8FAtLRhEqmIwuB4nEjyFg5pJjPoIZk1wUZeSOJ2nsK4iOuPxZI2UjIVTq4kMryviDTDOJ9VRwRsI= 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+87925+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 1648079391086263.8089039498044; Wed, 23 Mar 2022 16:49:51 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 0MGxYY1788612xFU4IzUws0Q; Wed, 23 Mar 2022 16:49:50 -0700 X-Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web08.7983.1648036097703028981 for ; Wed, 23 Mar 2022 04:48:42 -0700 X-IronPort-AV: E=McAfee;i="6200,9189,10294"; a="256911880" X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="256911880" X-Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2022 04:48:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="544160545" X-Received: from shwdeopenlab704.ccr.corp.intel.com ([10.239.182.50]) by orsmga007.jf.intel.com with ESMTP; 23 Mar 2022 04:48:40 -0700 From: Yu Pu To: devel@edk2.groups.io Cc: Yu Pu , Eric Dong , Ray Ni , Rahul Kumar Subject: [edk2-devel] [PATCH v1 09/17] UefiCpuPkg: Move API and implementation from Date: Wed, 23 Mar 2022 19:47:54 +0800 Message-Id: <20220323114802.1008-10-yu.pu@intel.com> In-Reply-To: <20220323114802.1008-1-yu.pu@intel.com> References: <20220323114802.1008-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: q7CkDnuiSD6uvSa5eliJLdn6x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1648079390; bh=jela0n4hp2kAmHlyzlsrmPTe56642hPwM5nUOEXp/Yw=; h=Cc:Date:From:Reply-To:Subject:To; b=X2YgGydIXc/fO6kWjJwseULOV/wL2v0InQNGl7mZBV83QFb0l6R2qsySqPo/SgYPPHx Po2h+MUWqpyiEG5wPSKF1usB9mvzsvTeKOvejO+Iffkos7NmDp8KG8F5gBTiW+5ivEwTe 5i1EJCHZ6HFw5Q+OqwEGtaok4dpOcD3RO/0= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1648079391727100031 Content-Type: text/plain; charset="utf-8" Step 2 to merge UefiCpuLib to CpuLib. Cc: Eric Dong Cc: Ray Ni Cc: Rahul Kumar Signed-off-by: Yu Pu --- UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLibNull.c | 17 ++++++ UefiCpuPkg/Include/Library/UefiCpuLib.h | 60 --------------= ------ UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf | 8 +-- 3 files changed, 18 insertions(+), 67 deletions(-) diff --git a/UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLibNull.c b/UefiC= puPkg/Library/BaseUefiCpuLib/BaseUefiCpuLibNull.c new file mode 100644 index 000000000000..a5e7a20c35f5 --- /dev/null +++ b/UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLibNull.c @@ -0,0 +1,17 @@ +/** @file +This library contains a dummy function to pass build. + +Copyright (c) 2022, Intel Corporation. All rights reserved. + +SPDX-License-Identifier: BSD-2-Clause-Patent +**/ +#include + +STATIC +VOID +Dummy ( + VOID + ) +{ + ; +} \ No newline at end of file diff --git a/UefiCpuPkg/Include/Library/UefiCpuLib.h b/UefiCpuPkg/Include/L= ibrary/UefiCpuLib.h index 0ff4a35774c1..378ef88c6676 100644 --- a/UefiCpuPkg/Include/Library/UefiCpuLib.h +++ b/UefiCpuPkg/Include/Library/UefiCpuLib.h @@ -1,65 +1,5 @@ -/** @file - Public header file for UEFI CPU library class. - - This library class defines some routines that are generic for IA32 famil= y CPU - to be UEFI specification compliant. - - Copyright (c) 2009 - 2021, Intel Corporation. All rights reserved.
- Copyright (c) 2020, AMD Inc. All rights reserved.
- SPDX-License-Identifier: BSD-2-Clause-Patent - -**/ - #ifndef __UEFI_CPU_LIB_H__ #define __UEFI_CPU_LIB_H__ =20 -/** - Initializes floating point units for requirement of UEFI specification. - - This function initializes floating-point control word to 0x027F (all exc= eptions - masked,double-precision, round-to-nearest) and multimedia-extensions con= trol word - (if supported) to 0x1F80 (all exceptions masked, round-to-nearest, flush= to zero - for masked underflow). - -**/ -VOID -EFIAPI -InitializeFloatingPointUnits ( - VOID - ); - -/** - Determine if the standard CPU signature is "AuthenticAMD". - - @retval TRUE The CPU signature matches. - @retval FALSE The CPU signature does not match. - -**/ -BOOLEAN -EFIAPI -StandardSignatureIsAuthenticAMD ( - VOID - ); - -/** - Return the 32bit CPU family and model value. - - @return CPUID[01h].EAX with Processor Type and Stepping ID cleared. -**/ -UINT32 -EFIAPI -GetCpuFamilyModel ( - VOID - ); - -/** - Return the CPU stepping ID. - @return CPU stepping ID value in CPUID[01h].EAX. -**/ -UINT8 -EFIAPI -GetCpuSteppingId ( - VOID - ); =20 #endif diff --git a/UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf b/UefiCpu= Pkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf index 34d3a7bb4303..9f8b62d87aae 100644 --- a/UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf +++ b/UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf @@ -24,14 +24,8 @@ # VALID_ARCHITECTURES =3D IA32 X64 # =20 -[Sources.IA32] - Ia32/InitializeFpu.nasm - -[Sources.X64] - X64/InitializeFpu.nasm - [Sources] - BaseUefiCpuLib.c + BaseUefiCpuLibNull.c =20 [Packages] MdePkg/MdePkg.dec --=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 (#87925): https://edk2.groups.io/g/devel/message/87925 Mute This Topic: https://groups.io/mt/89988799/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- From nobody Tue May 14 13:01:36 2024 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+87926+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+87926+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1648079390; cv=none; d=zohomail.com; s=zohoarc; b=YqfJU9WIhyQ6dKktGTCF7t0CFG+84wSfj0FPt1ibFlz+sPetiJF1jodbxdrt8YqATE8BTn+mbfapplmiTKgBCejZfsPLuJIPl28t5a7KM2rs66UmC1y3PRrAUgMBob/hcbkP+k/6CPRxAlYZ0frSIYVlkkpyS/Oa/bwro70qq/o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1648079390; 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=MvCL6ClYDYyPRjTe37fw7WIEfIM5zWnwOrCvDeoXelg=; b=a4PcYZKQn55di8XNoFBzdcl46uVGmWTxvFc/F7PE0rdDOzAXD9fETic8KY8pQs+qus2dbsZuBWxqGsP/wO95jLobztxSG8zxgODPqXneKKPBxdLgW0T2Ba4wt8jSMVPoD1obR+CaTOOzNawuYuqdY9Kw14kZEhHGU4SouNGJFTg= 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+87926+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 1648079390898854.9468508706092; Wed, 23 Mar 2022 16:49:50 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 16rUYY1788612xJ7WcFUrU12; Wed, 23 Mar 2022 16:49:50 -0700 X-Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web08.7983.1648036097703028981 for ; Wed, 23 Mar 2022 04:48:44 -0700 X-IronPort-AV: E=McAfee;i="6200,9189,10294"; a="256911884" X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="256911884" X-Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2022 04:48:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="544160557" X-Received: from shwdeopenlab704.ccr.corp.intel.com ([10.239.182.50]) by orsmga007.jf.intel.com with ESMTP; 23 Mar 2022 04:48:41 -0700 From: Yu Pu To: devel@edk2.groups.io Cc: Yu Pu , Chasel Chiu , Nate DeSimone , Star Zeng Subject: [edk2-devel] [PATCH v1 10/17] IntelFsp2Pkg: Remove UefiCpuLib from module INFs. Date: Wed, 23 Mar 2022 19:47:55 +0800 Message-Id: <20220323114802.1008-11-yu.pu@intel.com> In-Reply-To: <20220323114802.1008-1-yu.pu@intel.com> References: <20220323114802.1008-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: VEG8BceXLjn88PL2emeAUbkCx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1648079390; bh=r24+NpJIEYxQQw6pnRHfGJZNOQfgrkFkeUXJ8RNbNv8=; h=Cc:Date:From:Reply-To:Subject:To; b=eG6z1dxXRcRYfyJ9Q1Dio8xR6ymvhaaaI1S9KIrHaxkncGkFfhB+s1qayU7HwYDeiSb VTzuT4gLlU2bh1jC8BYHsZ+y6qIFsGh6InOIhaCG2RrYdCubstTygUCJgKIpvzNNTyY7n qypUH+50vkXUIiC5sxKpTd5cGTSVSvjGzCA= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1648079391725100030 Content-Type: text/plain; charset="utf-8" Step 3 to merge UefiCpuLib to CpuLib. Cc: Chasel Chiu Cc: Nate DeSimone Cc: Star Zeng Signed-off-by: Yu Pu --- IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf | 1 - IntelFsp2Pkg/FspSecCore/SecMain.h | 1 - IntelFsp2Pkg/IntelFsp2Pkg.dsc | 1 - IntelFsp2Pkg/Tools/Tests/QemuFspPkg.dsc | 1 - 4 files changed, 4 deletions(-) diff --git a/IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf b/IntelFsp2Pkg/FspSecC= ore/FspSecCoreM.inf index 830471adcf2f..c07b49c4045f 100644 --- a/IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf +++ b/IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf @@ -52,7 +52,6 @@ FspCommonLib FspSecPlatformLib CpuLib - UefiCpuLib =20 [Pcd] gIntelFsp2PkgTokenSpaceGuid.PcdTemporaryRamBase ## CONSUMES diff --git a/IntelFsp2Pkg/FspSecCore/SecMain.h b/IntelFsp2Pkg/FspSecCore/Se= cMain.h index edb7447d9eff..7288086cc493 100644 --- a/IntelFsp2Pkg/FspSecCore/SecMain.h +++ b/IntelFsp2Pkg/FspSecCore/SecMain.h @@ -21,7 +21,6 @@ #include #include #include -#include #include =20 typedef VOID (*PEI_CORE_ENTRY) ( \ diff --git a/IntelFsp2Pkg/IntelFsp2Pkg.dsc b/IntelFsp2Pkg/IntelFsp2Pkg.dsc index b7d20adef5a2..29e14b319847 100644 --- a/IntelFsp2Pkg/IntelFsp2Pkg.dsc +++ b/IntelFsp2Pkg/IntelFsp2Pkg.dsc @@ -28,7 +28,6 @@ IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompres= sLib.inf CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf - UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf =20 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseRepor= tStatusCodeLibNull.inf PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibN= ull.inf diff --git a/IntelFsp2Pkg/Tools/Tests/QemuFspPkg.dsc b/IntelFsp2Pkg/Tools/T= ests/QemuFspPkg.dsc index 961576c9a73a..31558121185d 100644 --- a/IntelFsp2Pkg/Tools/Tests/QemuFspPkg.dsc +++ b/IntelFsp2Pkg/Tools/Tests/QemuFspPkg.dsc @@ -107,7 +107,6 @@ PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatfor= mHookLibNull.inf PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibN= ull.inf OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHo= okStatusCodeLibNull.inf - UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf !if $(TARGET) =3D=3D DEBUG DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPort= Lib16550.inf --=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 (#87926): https://edk2.groups.io/g/devel/message/87926 Mute This Topic: https://groups.io/mt/89988800/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- From nobody Tue May 14 13:01:36 2024 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+87927+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+87927+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1648079391; cv=none; d=zohomail.com; s=zohoarc; b=nBNaR8+V2YJLsyE27aOrIbETOGk2MzI+3nVU7sga2p9t8dYjH4gGnM1cxtFKijPt/hRsAWQYOw/vXOlgIV85iiRx/oxE0HibEi08/0ZbOomKQr44FeS80EPxM5ELR+bwqzSuHHTvW3flWqApa2TFLOqOvHYP6iEHgFd2VktnEWo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1648079391; h=Content-Type: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=2bcnIsXg3HG4jNPE1raQ0pnkO4LBgppG75pTn1xbWk0=; b=lMHBcYdiHkAVU1xNqwBSDDfTfkRafoF0ntDWyn0wCtMqed4uGUMC49z9w9CmVDwCQT8yXl1x6H41ME63ja6txhvtA+BO1Cw0aMGUlUd9xX3Bk8Jsy2RNPnxeoH58pGXN3xPVb8pGGnG20cZyaeMCvlAne1M1dwQNn1chWApujFk= 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+87927+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 1648079391728936.1524467405354; Wed, 23 Mar 2022 16:49:51 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 3JKSYY1788612xxv9Q74iggb; Wed, 23 Mar 2022 16:49:51 -0700 X-Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web08.7983.1648036097703028981 for ; Wed, 23 Mar 2022 04:48:45 -0700 X-IronPort-AV: E=McAfee;i="6200,9189,10294"; a="256911889" X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="256911889" X-Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2022 04:48:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="544160566" X-Received: from shwdeopenlab704.ccr.corp.intel.com ([10.239.182.50]) by orsmga007.jf.intel.com with ESMTP; 23 Mar 2022 04:48:43 -0700 From: Yu Pu To: devel@edk2.groups.io Cc: Yu Pu , Chasel Chiu , Nate DeSimone , Star Zeng Subject: =?UTF-8?B?W2VkazItZGV2ZWxdIFtQQVRDSCB2MSAxMS8xN10gSW50ZWxGc3AyV3JhcHBlclBrZ++8miBSZW1vdmUgVWVmaUNwdUxpYiBmcm9tIG1vZHVsZSBJTkZzLg==?= Date: Wed, 23 Mar 2022 19:47:56 +0800 Message-Id: <20220323114802.1008-12-yu.pu@intel.com> In-Reply-To: <20220323114802.1008-1-yu.pu@intel.com> References: <20220323114802.1008-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: XlnpZ0KSr8EFIBbU1cKSZ8jBx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1648079391; bh=QVXMHa9wMUz8aMEueEWn/T0rBw+Gzsci3ihmhcEXrMw=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=kwJipA16AOyne+jOISgjl7svpvR5h7YIGL3oPyKJh/VVrcn+3tnBx6+hMZzH3dFdvV5 IZP9IivxnXPz2vqwYf3Oq1BKBW4YqZvqDf57NXWXWKhqn28tGvMpQTsg749zXpOZyqKU/ ai2G+yTUsxmS7aK6v16DaSj468TrjisgqVs= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1648079393742100046 Content-Type: text/plain; charset="utf-8" Step 3 to merge UefiCpuLib to CpuLib. Cc: Chasel Chiu Cc: Nate DeSimone Cc: Star Zeng Signed-off-by: Yu Pu --- IntelFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.inf | 1 - IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.inf | 1 - IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc | 1 - 3 files changed, 3 deletions(-) diff --git a/IntelFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.inf b/Inte= lFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.inf index e2262d693c55..77af97207990 100644 --- a/IntelFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.inf +++ b/IntelFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.inf @@ -38,7 +38,6 @@ FspWrapperPlatformLib FspWrapperHobProcessLib CpuLib - UefiCpuLib PeCoffGetEntryPointLib PeCoffExtraActionLib PerformanceLib diff --git a/IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.inf b/Inte= lFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.inf index 0598f85ab3ac..cad9fad96829 100644 --- a/IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.inf +++ b/IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.inf @@ -39,7 +39,6 @@ FspWrapperPlatformLib FspWrapperHobProcessLib CpuLib - UefiCpuLib PeCoffGetEntryPointLib PeCoffExtraActionLib PerformanceLib diff --git a/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc b/IntelFsp2Wrapper= Pkg/IntelFsp2WrapperPkg.dsc index 587ed14f6df1..6e2c4de8923e 100644 --- a/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc +++ b/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dsc @@ -42,7 +42,6 @@ DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.i= nf =20 # UefiCpuPkg - UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf =20 # FSP Wrapper Lib --=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 (#87927): https://edk2.groups.io/g/devel/message/87927 Mute This Topic: https://groups.io/mt/89988801/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- From nobody Tue May 14 13:01:36 2024 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+87928+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+87928+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1648079391; cv=none; d=zohomail.com; s=zohoarc; b=LAxsIGzo5/CuOlTXpZ36wcfGs8v+RAg0C/lzz/xZR5MK0mBkPhfxpVXmqR4pnk8DQkpNW1LqkXMCZBfIKcvHIRiKAqBYkdcXlP4x6cWJBTU6I83TuUobZZgaPXzNwzZ525lc3k/TwM9NGpb4hVEUINnb363W6XuesoXx039U8qY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1648079391; 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=UG9zIfTaoVY2AvnJJ7Rc4v9F9YTp3IkINr49siicaRY=; b=i9PNFBoJz176/5YGBW2D9q6Ldq9xKzLzsgPa2UGLrkgZ9Ob9PTEK1bOxsDee9hy86+HBkUmSaYQV0hV+YNpzQt32s/YkAoI6EVZJ6EjobxibVxWLzxRBD53Ff2+2aoKes9cBMSZZPaDKsqrhXg2SiJ4WRX8BwUJbGjVd/2+j1dI= 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+87928+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 1648079391786469.59761020232634; Wed, 23 Mar 2022 16:49:51 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id vkDdYY1788612xji401pRWXJ; Wed, 23 Mar 2022 16:49:51 -0700 X-Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web08.7983.1648036097703028981 for ; Wed, 23 Mar 2022 04:48:47 -0700 X-IronPort-AV: E=McAfee;i="6200,9189,10294"; a="256911891" X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="256911891" X-Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2022 04:48:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="544160577" X-Received: from shwdeopenlab704.ccr.corp.intel.com ([10.239.182.50]) by orsmga007.jf.intel.com with ESMTP; 23 Mar 2022 04:48:45 -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 12/17] OvmfPkg: Remove UefiCpuLib from module INFs. Date: Wed, 23 Mar 2022 19:47:57 +0800 Message-Id: <20220323114802.1008-13-yu.pu@intel.com> In-Reply-To: <20220323114802.1008-1-yu.pu@intel.com> References: <20220323114802.1008-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: oacoF42TArJkLrPhl84hJrFBx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1648079391; bh=3CMp7OhebRElkox4YZIygO+V1I3gGPmj4sKMzPXGlWc=; h=Cc:Date:From:Reply-To:Subject:To; b=uSlHWAcA9MAZsTNaEvyd2gTqIpkuK00SwGH5FHscgkPp4Dvn7OsRTDk5t6c3KreNne1 hM8KebO9NNi78zW/Kl03sn+ZtZTcSRJsEWNwSLUTuTUrw8Ij9FdydjPt+fojt5iBsNzie GsHPH+RzE6t3X9bgaaUzeTVe7zWRgvcViDg= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1648079393756100053 Content-Type: text/plain; charset="utf-8" Step 3 to merge UefiCpuLib to CpuLib. Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Cc: Gerd Hoffmann Signed-off-by: Yu Pu --- OvmfPkg/Sec/SecMain.c | 1 - OvmfPkg/AmdSev/AmdSevX64.dsc | 1 - OvmfPkg/Bhyve/BhyveX64.dsc | 1 - OvmfPkg/CloudHv/CloudHvX64.dsc | 1 - OvmfPkg/Microvm/MicrovmX64.dsc | 1 - OvmfPkg/OvmfPkgIa32.dsc | 1 - OvmfPkg/OvmfPkgIa32X64.dsc | 1 - OvmfPkg/OvmfPkgX64.dsc | 1 - OvmfPkg/OvmfXen.dsc | 1 - OvmfPkg/Sec/SecMain.inf | 1 - 10 files changed, 10 deletions(-) diff --git a/OvmfPkg/Sec/SecMain.c b/OvmfPkg/Sec/SecMain.c index 2c9e439800c7..012ba0ede88a 100644 --- a/OvmfPkg/Sec/SecMain.c +++ b/OvmfPkg/Sec/SecMain.c @@ -18,7 +18,6 @@ #include #include #include -#include #include #include #include diff --git a/OvmfPkg/AmdSev/AmdSevX64.dsc b/OvmfPkg/AmdSev/AmdSevX64.dsc index fd56176796d5..6a8dd3c1204a 100644 --- a/OvmfPkg/AmdSev/AmdSevX64.dsc +++ b/OvmfPkg/AmdSev/AmdSevX64.dsc @@ -161,7 +161,6 @@ UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiA= pplicationEntryPoint.inf DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDev= icePathLibDevicePathProtocol.inf FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf - UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeS= ecurityManagementLib.inf UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVar= iablesLib.inf diff --git a/OvmfPkg/Bhyve/BhyveX64.dsc b/OvmfPkg/Bhyve/BhyveX64.dsc index 5fa08bebd73c..567a44290258 100644 --- a/OvmfPkg/Bhyve/BhyveX64.dsc +++ b/OvmfPkg/Bhyve/BhyveX64.dsc @@ -159,7 +159,6 @@ DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDev= icePathLibDevicePathProtocol.inf NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf - UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeS= ecurityManagementLib.inf UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVar= iablesLib.inf diff --git a/OvmfPkg/CloudHv/CloudHvX64.dsc b/OvmfPkg/CloudHv/CloudHvX64.dsc index b4d855d80f56..a543bea6f8cb 100644 --- a/OvmfPkg/CloudHv/CloudHvX64.dsc +++ b/OvmfPkg/CloudHv/CloudHvX64.dsc @@ -171,7 +171,6 @@ DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDev= icePathLibDevicePathProtocol.inf NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf - UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeS= ecurityManagementLib.inf SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVar= iablesLib.inf QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf diff --git a/OvmfPkg/Microvm/MicrovmX64.dsc b/OvmfPkg/Microvm/MicrovmX64.dsc index 1ea43443ae97..65a8c5698284 100644 --- a/OvmfPkg/Microvm/MicrovmX64.dsc +++ b/OvmfPkg/Microvm/MicrovmX64.dsc @@ -169,7 +169,6 @@ DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDev= icePathLibDevicePathProtocol.inf NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf - UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeS= ecurityManagementLib.inf UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVar= iablesLib.inf diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc index 85abed24c1a7..8210eb447d5e 100644 --- a/OvmfPkg/OvmfPkgIa32.dsc +++ b/OvmfPkg/OvmfPkgIa32.dsc @@ -167,7 +167,6 @@ DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDev= icePathLibDevicePathProtocol.inf NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf - UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeS= ecurityManagementLib.inf UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVar= iablesLib.inf diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc index a9c1daecc1a8..806ae6696631 100644 --- a/OvmfPkg/OvmfPkgIa32X64.dsc +++ b/OvmfPkg/OvmfPkgIa32X64.dsc @@ -171,7 +171,6 @@ DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDev= icePathLibDevicePathProtocol.inf NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf - UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeS= ecurityManagementLib.inf UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVar= iablesLib.inf diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc index 718399299f57..fafa8eea567d 100644 --- a/OvmfPkg/OvmfPkgX64.dsc +++ b/OvmfPkg/OvmfPkgX64.dsc @@ -171,7 +171,6 @@ DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDev= icePathLibDevicePathProtocol.inf NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf - UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeS= ecurityManagementLib.inf UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVar= iablesLib.inf diff --git a/OvmfPkg/OvmfXen.dsc b/OvmfPkg/OvmfXen.dsc index efa97f09f32b..f62e8ab552e3 100644 --- a/OvmfPkg/OvmfXen.dsc +++ b/OvmfPkg/OvmfXen.dsc @@ -160,7 +160,6 @@ DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDev= icePathLibDevicePathProtocol.inf NvVarsFileLib|OvmfPkg/Library/NvVarsFileLib/NvVarsFileLib.inf FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf - UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeS= ecurityManagementLib.inf UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf SerializeVariablesLib|OvmfPkg/Library/SerializeVariablesLib/SerializeVar= iablesLib.inf diff --git a/OvmfPkg/Sec/SecMain.inf b/OvmfPkg/Sec/SecMain.inf index 6ad366a89333..c0cad1c2aed3 100644 --- a/OvmfPkg/Sec/SecMain.inf +++ b/OvmfPkg/Sec/SecMain.inf @@ -45,7 +45,6 @@ PeiServicesLib PcdLib CpuLib - UefiCpuLib DebugAgentLib IoLib PeCoffLib --=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 (#87928): https://edk2.groups.io/g/devel/message/87928 Mute This Topic: https://groups.io/mt/89988802/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- From nobody Tue May 14 13:01:36 2024 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+87929+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+87929+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1648079393; cv=none; d=zohomail.com; s=zohoarc; b=EuAGd3uo8+I1ywu/tIK0/8K8jtIBuC4iNxmRdkdbhLVzFMapEO9KqglDD63UmG3SKYgVWyeZkDkSrgcvCdpmrpfmCrcumRu4HSZ+5oKAtLYOejDnFBx8FDg5vBThbkF+I2+H/MeEaE2A347jwTzPDJ5NdAgP+HGHT5gLjRmys1w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1648079393; 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=nbb2HBYwiNpl7dXfBATTZJFrltqBLokge1GC93ZhFtM=; b=nXhOVLGiLXpz/yteaBj+HCkdy2fwnWcYjJNYQZPf/3mKaD75JfJv7Ok/rkuNw3zqZTkmJDRSWRpeXmtrKzpTdKjUE6v6KmG57uN9Ol3/Nk8ZK5ODoX4QAr11wY1m+blAW//qmY0+UgIzZdjHdMXFVeBmPuujMb/Cs/PqfJJZtwE= 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+87929+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 1648079393582823.9122503814874; Wed, 23 Mar 2022 16:49:53 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id DBALYY1788612xx5fMc7tK4O; Wed, 23 Mar 2022 16:49:53 -0700 X-Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web08.7983.1648036097703028981 for ; Wed, 23 Mar 2022 04:48:48 -0700 X-IronPort-AV: E=McAfee;i="6200,9189,10294"; a="256911892" X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="256911892" X-Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2022 04:48:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="544160588" X-Received: from shwdeopenlab704.ccr.corp.intel.com ([10.239.182.50]) by orsmga007.jf.intel.com with ESMTP; 23 Mar 2022 04:48:47 -0700 From: Yu Pu To: devel@edk2.groups.io Cc: Yu Pu , Ray Ni Subject: [edk2-devel] [PATCH v1 13/17] PcAtChipsetPkg: Remove UefiCpuLib from module INFs. Date: Wed, 23 Mar 2022 19:47:58 +0800 Message-Id: <20220323114802.1008-14-yu.pu@intel.com> In-Reply-To: <20220323114802.1008-1-yu.pu@intel.com> References: <20220323114802.1008-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: XgYEmyT38jrVtCJehRsrfcQbx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1648079393; bh=b9wt57IpCrRFuYnxfQSiU+sKNNdz6m1OYVHWoO/wFwA=; h=Cc:Date:From:Reply-To:Subject:To; b=ZD/ai4PBFOLr57Evl3OnZaAu84Jed/haeH8yOLaxNbRTndwcbm3GGOEosKWlfCK7QC+ dlJ+o/51HEMuHN5hyDKXFKqo9TaaUyK31csDLesyERNnhVtmxl2AQpsrLk3uOLB649vWR lw7R+qbh6HC5j7qIc5Lkw8ZWP8n+z5NPN6w= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1648079395812100064 Content-Type: text/plain; charset="utf-8" Step 3 to merge UefiCpuLib to CpuLib. Cc: Ray Ni Signed-off-by: Yu Pu --- PcAtChipsetPkg/PcAtChipsetPkg.dsc | 1 - 1 file changed, 1 deletion(-) diff --git a/PcAtChipsetPkg/PcAtChipsetPkg.dsc b/PcAtChipsetPkg/PcAtChipset= Pkg.dsc index 6db2bbc0b89d..b5441d0f2f23 100644 --- a/PcAtChipsetPkg/PcAtChipsetPkg.dsc +++ b/PcAtChipsetPkg/PcAtChipsetPkg.dsc @@ -43,7 +43,6 @@ ResetSystemLib|PcAtChipsetPkg/Library/ResetSystemLib/ResetSystemLib.inf IoApicLib|PcAtChipsetPkg/Library/BaseIoApicLib/BaseIoApicLib.inf LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf - UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseRepor= tStatusCodeLibNull.inf HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf =20 --=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 (#87929): https://edk2.groups.io/g/devel/message/87929 Mute This Topic: https://groups.io/mt/89988804/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- From nobody Tue May 14 13:01:36 2024 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+87930+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+87930+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1648079392; cv=none; d=zohomail.com; s=zohoarc; b=KLzj7R8KDZLyA1skza3Yvj7nS+6TwLYeXZ+zMS0UUf7K/BQCznJ9pQWBzNZ+koWVVQFzcUtzgxJOdspqFOiYBrEFSmJ1+xjiPqOXPxBdOgNoAKIredkjWwRaX+UbjnabP0qc6DHDx76n+2fAFIIdYQZiej1h9ItXvGAVKlC4a+U= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1648079392; 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=7JNk0926CvDdm9kl17aqB0jnqammAUxf7E+s/MkEx9g=; b=O3PuA9ZMhLal84GQNGXY44KiiQDhH8enZnGGKoyz9NFSCQb1uwPeXex5Qk3s+L9ndoGBuNEu6c0UiRJeCH3kPiC0R2yfOb+4S/VBg88f3NZsX0QSchkNvx4aMYoerHqoKtpRA9iNUM3Xg08GVmsMxOqkmYYxedSFAfVWPp8YLbo= 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+87930+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 1648079392590631.5179097807531; Wed, 23 Mar 2022 16:49:52 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id yUPVYY1788612x1ulaELz7Dk; Wed, 23 Mar 2022 16:49:52 -0700 X-Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web08.7983.1648036097703028981 for ; Wed, 23 Mar 2022 04:48:50 -0700 X-IronPort-AV: E=McAfee;i="6200,9189,10294"; a="256911895" X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="256911895" X-Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2022 04:48:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="544160608" X-Received: from shwdeopenlab704.ccr.corp.intel.com ([10.239.182.50]) by orsmga007.jf.intel.com with ESMTP; 23 Mar 2022 04:48:48 -0700 From: Yu Pu To: devel@edk2.groups.io Cc: Yu Pu , Hao A Wu Subject: [edk2-devel] [PATCH v1 14/17] SourceLevelDebugPkg: Remove UefiCpuLib from module INFs. Date: Wed, 23 Mar 2022 19:47:59 +0800 Message-Id: <20220323114802.1008-15-yu.pu@intel.com> In-Reply-To: <20220323114802.1008-1-yu.pu@intel.com> References: <20220323114802.1008-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: ojUipAKV4neScOZWZPXlwQhNx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1648079392; bh=mzfvqC7/BoF6b8VYNxQVMdOgIUAFhmRQFxZnXiny1PQ=; h=Cc:Date:From:Reply-To:Subject:To; b=jWR8oFs5rbelcxn5HCiNQFfktIz+mc68BXvShwCOqBnva5H0AVF7xpNOszXrrb3Pv0n P22GtCVGEiAYeS/nfU+e6BX1aKXHcZ1I4vA5XdiZfgsoNe2yW1qW3CHxXiV8wAbqDPO1j ziM7M46098vnZKKF45BhQyVelAQxg2nePNM= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1648079393754100052 Content-Type: text/plain; charset="utf-8" Step 3 to merge UefiCpuLib to CpuLib. Cc: Hao A Wu Signed-off-by: Yu Pu --- SourceLevelDebugPkg/SourceLevelDebugPkg.dsc | 1 - 1 file changed, 1 deletion(-) diff --git a/SourceLevelDebugPkg/SourceLevelDebugPkg.dsc b/SourceLevelDebug= Pkg/SourceLevelDebugPkg.dsc index 2f565d923bd4..71c5e93b99f5 100644 --- a/SourceLevelDebugPkg/SourceLevelDebugPkg.dsc +++ b/SourceLevelDebugPkg/SourceLevelDebugPkg.dsc @@ -36,7 +36,6 @@ SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchroniza= tionLib.inf LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf - UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeC= offGetEntryPointLib.inf SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPort= Lib16550.inf PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDeb= ug/PeCoffExtraActionLibDebug.inf --=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 (#87930): https://edk2.groups.io/g/devel/message/87930 Mute This Topic: https://groups.io/mt/89988806/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- From nobody Tue May 14 13:01:36 2024 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+87931+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+87931+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1648079393; cv=none; d=zohomail.com; s=zohoarc; b=NipD4/PpC3myjs/G6QnbyFQqCpjncrR6HbikYE+bWBWSm7icqUMrPZzqcVlb2mpb5JkRSX1I9W99K2AUwWcGKuzPtjIVDm8lMXlEHFSq9WCSJw8DRpjhW7XFJ2xYEDuNQ24fF9SHlkuQOeFj+nnaPN1w+SaAOlZHAejhH+pOcPQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1648079393; 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=isrNd6YdkoQOrvbeW715YeK9rr82UcHRAl3I/5g7FdQ=; b=Sk0sN6N6NVKcrM838oYQS3S9DrDfhoY8An6uSo4lkmwkUSY7cJF+poIoV3eaouRNJsxX7/qzCm+rJp0yQ2PRMHJK0zSPrkZ0hI1W+V7KPlwLz25q5QfPUt5CdGugbSkSMxhJjtnoM2Tz7k8zmVMxRkrAKvQ81jV370Ai0XZfzgs= 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+87931+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 1648079393989369.5502986051458; Wed, 23 Mar 2022 16:49:53 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id JLHfYY1788612xSCIn4ZVAkM; Wed, 23 Mar 2022 16:49:53 -0700 X-Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web08.7983.1648036097703028981 for ; Wed, 23 Mar 2022 04:48:52 -0700 X-IronPort-AV: E=McAfee;i="6200,9189,10294"; a="256911900" X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="256911900" X-Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2022 04:48:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="544160624" X-Received: from shwdeopenlab704.ccr.corp.intel.com ([10.239.182.50]) by orsmga007.jf.intel.com with ESMTP; 23 Mar 2022 04:48:50 -0700 From: Yu Pu To: devel@edk2.groups.io Cc: Yu Pu , Eric Dong , Ray Ni , Rahul Kumar Subject: [edk2-devel] [PATCH v1 15/17] UefiCpuPkg: Remove UefiCpuLib from module INFs. Date: Wed, 23 Mar 2022 19:48:00 +0800 Message-Id: <20220323114802.1008-16-yu.pu@intel.com> In-Reply-To: <20220323114802.1008-1-yu.pu@intel.com> References: <20220323114802.1008-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: VljxvxIXQ0T2nekrInq21mKlx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1648079393; bh=3hZ6erSag0wNYYL6Lk/n/pWpYseo9WoWi8s6Ep7RxEM=; h=Cc:Date:From:Reply-To:Subject:To; b=bco7Sa8S8s02mf3/zclSc0B2S39/IDbyA3BlvVTF7VtRGXWGggjfsAWv+xf/bXut2yI SvwSs8AjPRhw2PI3jhPCGEB3p9pJQ/RcoEzGLGl29F1p0rheiFsCWSj4xOdjMaUuSQxcu fmCrXLIXJFt4GUnMupdE1Uafg2W7NXY1r6E= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1648079395821100065 Content-Type: text/plain; charset="utf-8" Step 3 to merge UefiCpuLib to CpuLib. Cc: Eric Dong [ydong10] Cc: Ray Ni [niruiyu] Cc: Rahul Kumar Signed-off-by: Yu Pu --- UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c | 1 - UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c | 1 - UefiCpuPkg/CpuDxe/CpuDxe.h | 1 - UefiCpuPkg/CpuDxe/CpuDxe.inf | 1 - UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf | 1 - UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf | 1 - UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf | 1 - UefiCpuPkg/Library/MpInitLib/MpLib.h | 1 - UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf | 1 - UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h | 1 - UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf | 1 - UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfileInternal.h | 1 - UefiCpuPkg/SecCore/SecCore.inf | 1 - UefiCpuPkg/SecCore/SecCoreNative.inf | 1 - UefiCpuPkg/SecCore/SecMain.h | 1 - UefiCpuPkg/UefiCpuPkg.dsc | 2 -- 16 files changed, 17 deletions(-) diff --git a/UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c b/UefiCpuPkg/Li= brary/BaseXApicLib/BaseXApicLib.c index a944c3d01cf7..008b8a070bf9 100644 --- a/UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c +++ b/UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c @@ -22,7 +22,6 @@ #include #include #include -#include =20 // // Library internal functions diff --git a/UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c b/U= efiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c index 8b3630d7a302..f00c9bf4c05f 100644 --- a/UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c +++ b/UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c @@ -23,7 +23,6 @@ #include #include #include -#include =20 // // Library internal functions diff --git a/UefiCpuPkg/CpuDxe/CpuDxe.h b/UefiCpuPkg/CpuDxe/CpuDxe.h index 2208671cb932..49a390b4c404 100644 --- a/UefiCpuPkg/CpuDxe/CpuDxe.h +++ b/UefiCpuPkg/CpuDxe/CpuDxe.h @@ -28,7 +28,6 @@ #include #include #include -#include #include #include #include diff --git a/UefiCpuPkg/CpuDxe/CpuDxe.inf b/UefiCpuPkg/CpuDxe/CpuDxe.inf index d87fe503d152..c14ee3f2784a 100644 --- a/UefiCpuPkg/CpuDxe/CpuDxe.inf +++ b/UefiCpuPkg/CpuDxe/CpuDxe.inf @@ -33,7 +33,6 @@ UefiBootServicesTableLib UefiDriverEntryPoint LocalApicLib - UefiCpuLib UefiLib CpuExceptionHandlerLib HobLib diff --git a/UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf b/UefiCpuPkg/= Library/BaseXApicLib/BaseXApicLib.inf index a85b69e0a11c..8c4eb655481d 100644 --- a/UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf +++ b/UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf @@ -39,7 +39,6 @@ IoLib PcdLib CpuLib - UefiCpuLib =20 [Pcd] gUefiCpuPkgTokenSpaceGuid.PcdCpuInitIpiDelayInMicroSeconds ## SOMETIMES= _CONSUMES diff --git a/UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf b= /UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf index 31ebdd39c616..713f1859c2e7 100644 --- a/UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf +++ b/UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf @@ -39,7 +39,6 @@ IoLib PcdLib CpuLib - UefiCpuLib =20 [Pcd] gUefiCpuPkgTokenSpaceGuid.PcdCpuInitIpiDelayInMicroSeconds ## SOMETIMES= _CONSUMES diff --git a/UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf b/UefiCpuPkg/Lib= rary/MpInitLib/DxeMpInitLib.inf index e1cd0b350008..7450d9c729c9 100644 --- a/UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf +++ b/UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf @@ -49,7 +49,6 @@ HobLib MtrrLib CpuLib - UefiCpuLib UefiBootServicesTableLib DebugAgentLib SynchronizationLib diff --git a/UefiCpuPkg/Library/MpInitLib/MpLib.h b/UefiCpuPkg/Library/MpIn= itLib/MpLib.h index f8c52426dd5f..693211ae3508 100644 --- a/UefiCpuPkg/Library/MpInitLib/MpLib.h +++ b/UefiCpuPkg/Library/MpInitLib/MpLib.h @@ -27,7 +27,6 @@ #include #include #include -#include #include #include #include diff --git a/UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf b/UefiCpuPkg/Lib= rary/MpInitLib/PeiMpInitLib.inf index 5facf4db9499..98864c648438 100644 --- a/UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf +++ b/UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf @@ -49,7 +49,6 @@ HobLib MtrrLib CpuLib - UefiCpuLib SynchronizationLib PeiServicesLib PcdLib diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h b/UefiCpuPkg/PiSmmC= puDxeSmm/PiSmmCpuDxeSmm.h index dfeceec2aadc..d3a6e1702fdd 100644 --- a/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h +++ b/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h @@ -44,7 +44,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #include #include #include -#include #include #include #include diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf b/UefiCpuPkg/PiSm= mCpuDxeSmm/PiSmmCpuDxeSmm.inf index deef00f9c6e9..fdd89da2239c 100644 --- a/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf +++ b/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf @@ -89,7 +89,6 @@ HobLib PciLib LocalApicLib - UefiCpuLib SmmCpuPlatformHookLib CpuExceptionHandlerLib UefiLib diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfileInternal.h b/UefiCpuPkg/Pi= SmmCpuDxeSmm/SmmProfileInternal.h index 0e60509e20a8..964dd5281780 100644 --- a/UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfileInternal.h +++ b/UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfileInternal.h @@ -14,7 +14,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #include #include #include -#include #include =20 #include "SmmProfileArch.h" diff --git a/UefiCpuPkg/SecCore/SecCore.inf b/UefiCpuPkg/SecCore/SecCore.inf index f021997f271c..3758aded3b49 100644 --- a/UefiCpuPkg/SecCore/SecCore.inf +++ b/UefiCpuPkg/SecCore/SecCore.inf @@ -48,7 +48,6 @@ PcdLib DebugAgentLib CpuLib - UefiCpuLib PeCoffGetEntryPointLib PeCoffExtraActionLib CpuExceptionHandlerLib diff --git a/UefiCpuPkg/SecCore/SecCoreNative.inf b/UefiCpuPkg/SecCore/SecC= oreNative.inf index e0a1b44a7e23..1ee6ff7d8817 100644 --- a/UefiCpuPkg/SecCore/SecCoreNative.inf +++ b/UefiCpuPkg/SecCore/SecCoreNative.inf @@ -45,7 +45,6 @@ PcdLib DebugAgentLib CpuLib - UefiCpuLib PeCoffGetEntryPointLib PeCoffExtraActionLib CpuExceptionHandlerLib diff --git a/UefiCpuPkg/SecCore/SecMain.h b/UefiCpuPkg/SecCore/SecMain.h index 189fcf932625..b25f5d0f5e1b 100644 --- a/UefiCpuPkg/SecCore/SecMain.h +++ b/UefiCpuPkg/SecCore/SecMain.h @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include diff --git a/UefiCpuPkg/UefiCpuPkg.dsc b/UefiCpuPkg/UefiCpuPkg.dsc index a0bbde9985d3..985a271f18cf 100644 --- a/UefiCpuPkg/UefiCpuPkg.dsc +++ b/UefiCpuPkg/UefiCpuPkg.dsc @@ -31,7 +31,6 @@ SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull= .inf DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseD= ebugPrintErrorLevelLib.inf DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf - UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf @@ -136,7 +135,6 @@ UefiCpuPkg/CpuIo2Smm/CpuIo2StandaloneMm.inf UefiCpuPkg/CpuMpPei/CpuMpPei.inf UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf - UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf --=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 (#87931): https://edk2.groups.io/g/devel/message/87931 Mute This Topic: https://groups.io/mt/89988807/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- From nobody Tue May 14 13:01:36 2024 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+87932+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+87932+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1648079393; cv=none; d=zohomail.com; s=zohoarc; b=lGhZcQvt15iBvbj3h+7gfzh06QKpSFvcrY/eyuMJcKZVeJp3Mj7QAzWrSptrKv72TRctIO3qnAaTfhK043H6e12dnnctSpQ4J6LO7QCuyT4OPjdY/XODlUjE3++7jpywkyHi2dy+/c34rSQUyVhVfccd/abR6nU31ZkQDXRqTPA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1648079393; 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=qaL9NQRoU3yHjZKGwzID6dPTGFLtwEaiBx/MAw44u5g=; b=FBPzQkcwd7vsozfNF9yh9MRKKur4FET8WZWfwt/th0EvUv5GJNJtoirr8q3mqWU5QpVOvPDyK9KkC6DnqbOxyTJRG0j5jlIClHI7Y4wnYupQL4H/CE4SbAOJDRj4VmZBWS+S2PJGZThpOW24kMZRxe5I8fFd4f9NuVgSST3xZRo= 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+87932+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 1648079393012139.86679357685966; Wed, 23 Mar 2022 16:49:53 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id XgmkYY1788612xitXyi230ZS; Wed, 23 Mar 2022 16:49:52 -0700 X-Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web08.7983.1648036097703028981 for ; Wed, 23 Mar 2022 04:48:54 -0700 X-IronPort-AV: E=McAfee;i="6200,9189,10294"; a="256911904" X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="256911904" X-Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2022 04:48:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="544160633" X-Received: from shwdeopenlab704.ccr.corp.intel.com ([10.239.182.50]) by orsmga007.jf.intel.com with ESMTP; 23 Mar 2022 04:48:51 -0700 From: Yu Pu To: devel@edk2.groups.io Cc: Yu Pu , Guo Dong , Ray Ni , Maurice Ma , Benjamin You , Sean Rhodes Subject: [edk2-devel] [PATCH v1 16/17] UefiPayloadPkg: Remove UefiCpuLib from module INFs. Date: Wed, 23 Mar 2022 19:48:01 +0800 Message-Id: <20220323114802.1008-17-yu.pu@intel.com> In-Reply-To: <20220323114802.1008-1-yu.pu@intel.com> References: <20220323114802.1008-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: KqJTnFvTgcDfqNRXKXadmAkBx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1648079392; bh=ZkDEF+xNZn2haB12pEtPF21Dff0DWEjgXwFyRpPov7M=; h=Cc:Date:From:Reply-To:Subject:To; b=EuGFN/fMuq2syHyqSiL4CQlJ1Siz7b4lyoUacKSwLb7HyngYFsiiVdj/IkHzqkmNeTd ZVPgodwvQihtKU30HTnRS3vjCHCISpbabe7zdBeRPCKFmkz3woM3+scqHDNnmGo0YHoEi kCENwpOVct35tNUDddN9LsnJG8doX/PUbNA= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1648079393752100050 Content-Type: text/plain; charset="utf-8" Step 3 to merge UefiCpuLib to CpuLib. Cc: Guo Dong [gdong1] Cc: Ray Ni [niruiyu] Cc: Maurice Ma [mauricema] Cc: Benjamin You [BenjaminYou] Cc: Sean Rhodes Signed-off-by: Yu Pu --- UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.h | 1 - UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf | 1 - UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf | 1 - UefiPayloadPkg/UefiPayloadPkg.dsc | 1 - 4 files changed, 4 deletions(-) diff --git a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.h b/UefiPaylo= adPkg/UefiPayloadEntry/UefiPayloadEntry.h index d1c7425b28f2..ad8a9fd22b66 100644 --- a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.h +++ b/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.h @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include diff --git a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf b/UefiPay= loadPkg/UefiPayloadEntry/UefiPayloadEntry.inf index 95446dd99729..d47e8e76cf4c 100644 --- a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf +++ b/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf @@ -55,7 +55,6 @@ PeCoffLib PlatformSupportLib CpuLib - UefiCpuLib =20 [Guids] gEfiMemoryTypeInformationGuid diff --git a/UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf b/Ue= fiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf index 3b4836042a06..c4f4f28eaa86 100644 --- a/UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf +++ b/UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf @@ -53,7 +53,6 @@ HobLib PeCoffLib CpuLib - UefiCpuLib =20 [Guids] gEfiMemoryTypeInformationGuid diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc b/UefiPayloadPkg/UefiPayload= Pkg.dsc index 14a8d157a292..d0527e6e5bce 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.dsc +++ b/UefiPayloadPkg/UefiPayloadPkg.dsc @@ -200,7 +200,6 @@ UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompres= sLib.inf DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableL= ib.inf - UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf =20 # --=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 (#87932): https://edk2.groups.io/g/devel/message/87932 Mute This Topic: https://groups.io/mt/89988808/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- From nobody Tue May 14 13:01:36 2024 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+87933+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+87933+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1648079394; cv=none; d=zohomail.com; s=zohoarc; b=m8SiR+y5z+SyjFixj7Es7aut0dVZdQx4DmnywZe9j4bUnkaStX5sxmw+1t1celYBh9C2fGY1Gs6B20gFR1hzqxCLHKbWc2zWilT+etwvu0tcGeod4AhpCjQFp+64TyX9n5jDfJDuM+AIlUtMGNk0E+Ixqefim/clgAAvw8OsUJI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1648079394; 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=xtli6vmLXTcCeg5e4mQ6ARbCNA7xbBgcDQc4Ui/ekdw=; b=mLpEM2KwD1W0A6Uy4FGR4mTFvfNwCD/O5WbTeOhmlB4x1UgLrZlsK2gmEJKo1kAjp6tb2bKnsfxIFD3Se8dCGOEuvoIevYy4oCOthLSCnpTpZJsNZMlJmISkGXQGrR9/Q+bFdkAX0rvSET4OdAlnrALBHJZUW4TMCw6USh41si4= 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+87933+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 1648079394349792.819018430399; Wed, 23 Mar 2022 16:49:54 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id vx3GYY1788612xi6q34fsBQM; Wed, 23 Mar 2022 16:49:54 -0700 X-Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web08.7983.1648036097703028981 for ; Wed, 23 Mar 2022 04:48:56 -0700 X-IronPort-AV: E=McAfee;i="6200,9189,10294"; a="256911907" X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="256911907" X-Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2022 04:48:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="544160642" X-Received: from shwdeopenlab704.ccr.corp.intel.com ([10.239.182.50]) by orsmga007.jf.intel.com with ESMTP; 23 Mar 2022 04:48:54 -0700 From: Yu Pu To: devel@edk2.groups.io Cc: Yu Pu , Debkumar De , Harry Han , Catharine West Subject: [edk2-devel] [PATCH v1 17/17] UefiCpuLib: Remove UefiCpuLib. Date: Wed, 23 Mar 2022 19:48:02 +0800 Message-Id: <20220323114802.1008-18-yu.pu@intel.com> In-Reply-To: <20220323114802.1008-1-yu.pu@intel.com> References: <20220323114802.1008-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: KD0nYT2gwUMVsUSnVuzdltX3x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1648079394; bh=BRlFYjtaZUjVXcz6I2EzH3IqCj1do/x7FwFhGnHBP+g=; h=Cc:Date:From:Reply-To:Subject:To; b=uiXxOkwuqbeD1+nERItZczAfHOLA+6jv1NSmmm+NsDD9yMueBtLGDrgx3Q9PXq6RKS4 9D8Kf5HznSZQz9NCQdk1+pRE7a5VJBqhBDJar9woMRriEEa1LYRgrvzL/b1cDvzh5XcLd FR3z1bw+aSsRUmdyq1ZT0kO2ZxnTAPIv0OE= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1648079395835100067 Content-Type: text/plain; charset="utf-8" Step 4 to merge UefiCpuLib to CpuLib. Cc: Debkumar De Cc: Harry Han Cc: Catharine West Signed-off-by: Yu Pu --- UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLibNull.c | 17 ---------- UefiCpuPkg/Include/Library/UefiCpuLib.h | 5 --- UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf | 35 --------------= ------ UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.uni | 16 --------- UefiCpuPkg/UefiCpuPkg.dec | 5 --- 5 files changed, 78 deletions(-) diff --git a/UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLibNull.c b/UefiC= puPkg/Library/BaseUefiCpuLib/BaseUefiCpuLibNull.c deleted file mode 100644 index a5e7a20c35f5..000000000000 --- a/UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLibNull.c +++ /dev/null @@ -1,17 +0,0 @@ -/** @file -This library contains a dummy function to pass build. - -Copyright (c) 2022, Intel Corporation. All rights reserved. - -SPDX-License-Identifier: BSD-2-Clause-Patent -**/ -#include - -STATIC -VOID -Dummy ( - VOID - ) -{ - ; -} \ No newline at end of file diff --git a/UefiCpuPkg/Include/Library/UefiCpuLib.h b/UefiCpuPkg/Include/L= ibrary/UefiCpuLib.h deleted file mode 100644 index 378ef88c6676..000000000000 --- a/UefiCpuPkg/Include/Library/UefiCpuLib.h +++ /dev/null @@ -1,5 +0,0 @@ -#ifndef __UEFI_CPU_LIB_H__ -#define __UEFI_CPU_LIB_H__ - - -#endif diff --git a/UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf b/UefiCpu= Pkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf deleted file mode 100644 index 9f8b62d87aae..000000000000 --- a/UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf +++ /dev/null @@ -1,35 +0,0 @@ -## @file -# This library defines some routines that are generic for IA32 family CPU. -# -# The library routines are UEFI specification compliant. -# -# Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
-# Copyright (c) 2020, AMD Inc. All rights reserved.
-# SPDX-License-Identifier: BSD-2-Clause-Patent -# -## - -[Defines] - INF_VERSION =3D 0x00010005 - BASE_NAME =3D BaseUefiCpuLib - MODULE_UNI_FILE =3D BaseUefiCpuLib.uni - FILE_GUID =3D 34C24FD7-7A90-45c2-89FD-946473D9CE98 - MODULE_TYPE =3D BASE - VERSION_STRING =3D 1.0 - LIBRARY_CLASS =3D UefiCpuLib - -# -# The following information is for reference only and not required by the = build tools. -# -# VALID_ARCHITECTURES =3D IA32 X64 -# - -[Sources] - BaseUefiCpuLibNull.c - -[Packages] - MdePkg/MdePkg.dec - UefiCpuPkg/UefiCpuPkg.dec - -[LibraryClasses] - BaseLib diff --git a/UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.uni b/UefiCpu= Pkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.uni deleted file mode 100644 index 83c96cea67ce..000000000000 --- a/UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.uni +++ /dev/null @@ -1,16 +0,0 @@ -// /** @file -// This library defines some routines that are generic for IA32 family CPU. -// -// The library routines are UEFI specification compliant. -// -// Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
-// -// SPDX-License-Identifier: BSD-2-Clause-Patent -// -// **/ - - -#string STR_MODULE_ABSTRACT #language en-US "Defines generic r= outines for IA32 family CPUs." - -#string STR_MODULE_DESCRIPTION #language en-US "The library routi= nes comply with the UEFI Specification." - diff --git a/UefiCpuPkg/UefiCpuPkg.dec b/UefiCpuPkg/UefiCpuPkg.dec index 525cde463435..e40d78348f75 100644 --- a/UefiCpuPkg/UefiCpuPkg.dec +++ b/UefiCpuPkg/UefiCpuPkg.dec @@ -18,11 +18,6 @@ Include =20 [LibraryClasses] - ## @libraryclass Defines some routines that are generic for IA32 famil= y CPU - ## to be UEFI specification compliant. - ## - UefiCpuLib|Include/Library/UefiCpuLib.h - ## @libraryclass Defines some routines that are used to register/manag= e/program ## CPU features. ## --=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 (#87933): https://edk2.groups.io/g/devel/message/87933 Mute This Topic: https://groups.io/mt/89988809/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-