From nobody Sun May 19 06:05:09 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+97914+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+97914+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1672812946; cv=none; d=zohomail.com; s=zohoarc; b=lBRu2z/JTZWnBtD1ZfDTlCYGAklwEvTsD6q0qErUt4ZTYDT0R9W/ylsWHMMQh3X15+PvTiwRxkpAUI6/647PqClEAN2TAXEXUnn/oqQAyVTUbN+sIIfcojwq7Gib7I4KCvwDr/bvNRv6evFAP3Er8VTXxInYKnEDDjPQxdV/biE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1672812946; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=8vu30iNxdAxBND1Q1gqPD3XVJ1e62V3Xvt16F6yBbCo=; b=GhJowQC5enRdcg+jLfX0D3UCpo4dajjDeJu8rvqKJpHwiQ8zOCGPTZwVVs9WuLibkTSQTSU4fMDLE8Iq04qs40xhWfX5L2aGW9fqdNVX2xMEUOc4W3C9QeDT9Ey61vRFNnn+z/197IWdQrnc1yxQoL0m8rMfK/YLtibmRNECswY= 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+97914+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 1672812946434400.78731878854285; Tue, 3 Jan 2023 22:15:46 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id Q4Y7YY1788612xAXXeK6197C; Tue, 03 Jan 2023 22:15:46 -0800 X-Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web10.6071.1672812945136521109 for ; Tue, 03 Jan 2023 22:15:45 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10579"; a="320560563" X-IronPort-AV: E=Sophos;i="5.96,299,1665471600"; d="scan'208";a="320560563" X-Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jan 2023 22:15:44 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10579"; a="983802097" X-IronPort-AV: E=Sophos;i="5.96,299,1665471600"; d="scan'208";a="983802097" X-Received: from shwdeopenlab702.ccr.corp.intel.com ([10.239.182.152]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jan 2023 22:15:37 -0800 From: "duntan" To: devel@edk2.groups.io Cc: Michael D Kinney , Kelly Steele , Nate DeSimone Subject: [edk2-devel] [PATCH] Silicon/QuarkSocPkg: Remove obsolete function in SmmCpuFeaturesLib Date: Wed, 4 Jan 2023 14:15:25 +0800 Message-Id: <20230104061525.2024-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: DmCDzahqfERkGDkEdUDtpq90x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1672812946; bh=wT8GbRNcxzZtsiXOlgSy50BwhxjF7t3EnWI7PtCAbGo=; h=Cc:Date:From:Reply-To:Subject:To; b=e2fXik/2LG4ZbW4MsAFV17YP66IQZnQltVtrCFnsHyfJiVLjACkNTLU1JSl+EHa7Noq JuZwzmsH7UhSgjRr2YwIvaEkaWEEEv4h1EgK8Cf8iLyWXjlEInnP2XbOk1rkQbESV2X5x 8JQnM2flZEINIwrltE4IQmenkDvj6gBV9jY= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1672812946855100001 Content-Type: text/plain; charset="utf-8" The declaration of SmmCpuFeaturesAllocatePageTableMemory() has been removed from the "SmmCpuFeaturesLib.h" library class header in edk2 commit 0426115b67 (UefiCpuPkg: Remove unused API in SmmCpuFeaturesLib.h). Remove this API's (null-)implementation in this file as well. Signed-off-by: Dun Tan Cc: Michael D Kinney Cc: Kelly Steele Cc: Nate DeSimone Bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4247 --- Silicon/Intel/QuarkSocPkg/QuarkNorthCluster/Library/SmmCpuFeaturesLib/SmmC= puFeaturesLib.c | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/Silicon/Intel/QuarkSocPkg/QuarkNorthCluster/Library/SmmCpuFeat= uresLib/SmmCpuFeaturesLib.c b/Silicon/Intel/QuarkSocPkg/QuarkNorthCluster/L= ibrary/SmmCpuFeaturesLib/SmmCpuFeaturesLib.c index f9a7af0449..8e31c33daf 100644 --- a/Silicon/Intel/QuarkSocPkg/QuarkNorthCluster/Library/SmmCpuFeaturesLib= /SmmCpuFeaturesLib.c +++ b/Silicon/Intel/QuarkSocPkg/QuarkNorthCluster/Library/SmmCpuFeaturesLib= /SmmCpuFeaturesLib.c @@ -416,31 +416,3 @@ SmmCpuFeaturesCompleteSmmReadyToLock ( ) { } - -/** - 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 - ) -{ - return NULL; -} --=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 (#97914): https://edk2.groups.io/g/devel/message/97914 Mute This Topic: https://groups.io/mt/96045819/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-