From nobody Tue Feb 10 23:01:15 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+97667+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+97667+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1671596557; cv=none; d=zohomail.com; s=zohoarc; b=VbHmAcDDzNTncLdIueOAmjzkJ0uX25c0haeARipVBJUWD/0aGkVtL/53GKG0KbHNltXY9Z33JUzJhst5OIdIYbNsrCBxKnb82Tssr/MTJZe+oREcpfHmG1s5kgctHo+droZ651bUxZKPnAxF+4oy/UZFk7G03fy8OCD/JHdr+UE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1671596557; 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=bl2qaBpPdlf6s5dkX9lL8vcQAzg2kLDApNlk93K1H1I=; b=IxBix27LJho8N3qEey1sp+kKei4xW6M078IfTVTtvQM9pgoTRvYBuLooSw9yMVM4BLzT3gYOet04a94iGmPEFgtioSz02Q8e30tMgpTaiBy1spuil8JosoYNPGdk3ZgVvye4K+zmIX4pXsQWiyJeUfn1b6yv2W0+2toTDvJlGCU= 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+97667+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 1671596557378481.5687734082517; Tue, 20 Dec 2022 20:22:37 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id fuqJYY1788612xu9iDCaLprJ; Tue, 20 Dec 2022 20:22:37 -0800 X-Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web10.11754.1671596550918694566 for ; Tue, 20 Dec 2022 20:22:36 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10567"; a="299458217" X-IronPort-AV: E=Sophos;i="5.96,261,1665471600"; d="scan'208";a="299458217" X-Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Dec 2022 20:22:36 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10567"; a="681893579" X-IronPort-AV: E=Sophos;i="5.96,261,1665471600"; d="scan'208";a="681893579" X-Received: from shwdeopenlab702.ccr.corp.intel.com ([10.239.182.152]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Dec 2022 20:22:35 -0800 From: "duntan" To: devel@edk2.groups.io Cc: Eric Dong , Ray Ni , Rahul Kumar Subject: [edk2-devel] [Patch V2 2/3] UefiCpuPkg: Remove unused API in SmmCpuFeaturesLib.h Date: Wed, 21 Dec 2022 12:21:55 +0800 Message-Id: <20221221042156.280-3-dun.tan@intel.com> In-Reply-To: <20221221042156.280-1-dun.tan@intel.com> References: <20221221042156.280-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: K5ncxBt62zni2vuAaW4G2g12x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1671596557; bh=InGs2kwOhI9MnzoquZGYwhAQzXXRi0BOnYSy5pH9VUw=; h=Cc:Date:From:Reply-To:Subject:To; b=heGGMzJv4eAeGP00zcRL75sOqHBb9/bmqnmtIeI9TX5f9lWlzIlYcda8Je0+L+h4ZbJ VKc5w2G5KNps2/Wt8VF6Xbwu2PizRoNSCQ6IMjqGtWfbTGlaiWv5osij0B+j959aOy/e1 xt0IpBB1oMXF4Ykw41fydfuZ2XEUz5qcN4Q= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1671596558955100006 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 Reviewed-by: Ray Ni Cc: Rahul Kumar --- 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 (#97667): https://edk2.groups.io/g/devel/message/97667 Mute This Topic: https://groups.io/mt/95801067/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-