From nobody Sun Feb 8 19:38:16 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+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-