From nobody Mon Feb 9 12:24:46 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+97486+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+97486+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1671159686; cv=none; d=zohomail.com; s=zohoarc; b=R5NfH8qnkkNuY3Uvzq5Hzbi8f5J62caGdzKPkm5I56/NnaMMVpijrsgj+FLPpexwVe/J2NIg8RlhSaMeMmBz0xbVhRtqjjS5+39CJwGFFrcQxau2BtcYKUpv8837LJ0mphYXlnmhOdalB70Qgmh0/n8/HL0T3KLxn51GV0Qv9FI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1671159686; 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=e5WFu7A1PI/AupkUOvIQJP+Goe4mRbD9kT3R97ORSb8=; b=Hzh2JoXZdGS6qsDzN6on45GBmDmSuklDXidT1wBiwP0R+DI29H5P/vWK4uWic6V7c+JVEyUIZdcuxruQi6wM6QiwvpfO2pwwQU8skqswffZJji1HeFT5ISi3CHv2k0lObEKI2OIBSCbBHe+hRyUO6oCsQJOl/u9AqRfUBJ4GiDM= 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+97486+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 1671159686663306.8338161824064; Thu, 15 Dec 2022 19:01:26 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 91NEYY1788612xbVy9wUaEnC; Thu, 15 Dec 2022 19:01:26 -0800 X-Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web11.4642.1671159679427236019 for ; Thu, 15 Dec 2022 19:01:25 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10562"; a="298537804" X-IronPort-AV: E=Sophos;i="5.96,248,1665471600"; d="scan'208";a="298537804" X-Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Dec 2022 19:01:25 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10562"; a="599793640" X-IronPort-AV: E=Sophos;i="5.96,248,1665471600"; d="scan'208";a="599793640" X-Received: from shwdeopenlab702.ccr.corp.intel.com ([10.239.182.152]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Dec 2022 19:01:23 -0800 From: "duntan" To: devel@edk2.groups.io Cc: Eric Dong , Ray Ni , Rahul Kumar Subject: [edk2-devel] [PATCH 2/3] UefiCpuPkg: Remove unused API in SmmCpuFeaturesLib.h Date: Fri, 16 Dec 2022 11:00:58 +0800 Message-Id: <20221216030059.1373-3-dun.tan@intel.com> In-Reply-To: <20221216030059.1373-1-dun.tan@intel.com> References: <20221216030059.1373-1-dun.tan@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,dun.tan@intel.com X-Gm-Message-State: KVVlwnbrYMNMn6NAWsoz9Zxvx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1671159686; bh=qDvjyKM9DXdA+avZ2SyAZfLtTSMQmcA4VPL0jcS6qIs=; h=Cc:Date:From:Reply-To:Subject:To; b=LSf9FRLmV/jkjO6/te1TX4EwZSCw9I9XWg8iY2L9GGrOhCz3vzZ0CzPK0aOs4Ma67Et 46WeuM2NNDiYz/QauGW9pjpVAqASCB7SKrAOZdGoQaCPjiehvwHsY2IB2oHoMkkhGY0Tz 2Y4zjuKh/9fCTrH0VezZJnbYLx5ZNS4x5wg= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1671159688003100005 Content-Type: text/plain; charset="utf-8" Remove SmmCpuFeaturesAllocatePageTableMemory in this headfile. This API is not used by PiSmmCpuDxeSmm driver any more. Also no other files use this API. Signed-off-by: Dun Tan Cc: Eric Dong Cc: Ray Ni Cc: Rahul Kumar Reviewed-by: Ray Ni --- UefiCpuPkg/Include/Library/SmmCpuFeaturesLib.h | 25 ----------------------= --- 1 file changed, 25 deletions(-) diff --git a/UefiCpuPkg/Include/Library/SmmCpuFeaturesLib.h b/UefiCpuPkg/In= clude/Library/SmmCpuFeaturesLib.h index 54cae865a2..52160c7145 100644 --- a/UefiCpuPkg/Include/Library/SmmCpuFeaturesLib.h +++ b/UefiCpuPkg/Include/Library/SmmCpuFeaturesLib.h @@ -386,29 +386,4 @@ SmmCpuFeaturesCompleteSmmReadyToLock ( VOID ); =20 -/** - This API provides a method for a CPU to allocate a specific region for s= toring page tables. - - This API can be called more once to allocate memory for page tables. - - Allocates the number of 4KB pages of type EfiRuntimeServicesData and ret= urns a pointer to the - allocated buffer. The buffer returned is aligned on a 4KB boundary. If= Pages is 0, then NULL - is returned. If there is not enough memory remaining to satisfy the req= uest, then NULL is - returned. - - This function can also return NULL if there is no preference on where th= e page tables are allocated in SMRAM. - - @param Pages The number of 4 KB pages to allocate. - - @return A pointer to the allocated buffer for page tables. - @retval NULL Fail to allocate a specific region for storing page ta= bles, - Or there is no preference on where the page tables are= allocated in SMRAM. - -**/ -VOID * -EFIAPI -SmmCpuFeaturesAllocatePageTableMemory ( - IN UINTN Pages - ); - #endif --=20 2.31.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#97486): https://edk2.groups.io/g/devel/message/97486 Mute This Topic: https://groups.io/mt/95703348/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-