From nobody Sat May 4 11:10:38 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+77638+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+77638+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1625816020; cv=none; d=zohomail.com; s=zohoarc; b=RTS8yJwcIFYPLE4G/NXyN1CTbE1+ZV+oUzKLKJYpRcyhQtQnBSGjPQYLhsgjNfjzIQfOmJmVLg/vMYmj8N8R+9uljJ89YgEgXvmSVwJTvCLeUsuWvsMFNbsPfEpo3lnQiQhy+kKGMg+9V+i3+rgPhR3sHYM/aVmhrpZNqzj/t+o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1625816020; 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=azlaW10fxuRJiOiBEIGdF819pAcAs5OiXeFhTrbUPBg=; b=UXr8ZuZMmdo4CtIQw1QFOD5sVb00pK9LtMHWTWkbm2I73iw/vQ90gR4U6L7MzR0Kxd80OcvWGJqwNdsMXcxRFM1Q64DAQl1XrT9bs5d+G9Mv/S1iC2PKwvxUdSms6dFNq+h9uPNKe+0yClUZGGsL5OZUBAldKGG/6RDCeEElbug= 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+77638+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 1625816020626358.5630073174101; Fri, 9 Jul 2021 00:33:40 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id WpcwYY1788612xPa5HLLuKSw; Fri, 09 Jul 2021 00:33:40 -0700 X-Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web08.7975.1625816019675961978 for ; Fri, 09 Jul 2021 00:33:39 -0700 X-IronPort-AV: E=McAfee;i="6200,9189,10039"; a="207839608" X-IronPort-AV: E=Sophos;i="5.84,226,1620716400"; d="scan'208";a="207839608" X-Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jul 2021 00:33:38 -0700 X-IronPort-AV: E=Sophos;i="5.84,226,1620716400"; d="scan'208";a="487957867" X-Received: from basfe001.gar.corp.intel.com ([10.66.244.207]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jul 2021 00:33:35 -0700 From: "Ashraf Ali S" To: devel@edk2.groups.io Cc: Ashraf Ali S , Ray Ni , Chasel Chiu , Nate DeSimone , Star Zeng , Digant H Solanki , Sangeetha V Subject: [edk2-devel] [PATCH] IntelFsp2Pkg: BaseCacheLib EfiProgramMtrr MtrrNumber Should be UINT32 Date: Fri, 9 Jul 2021 13:03:16 +0530 Message-Id: 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,ashraf.ali.s@intel.com X-Gm-Message-State: bZF80IL9dt5ScyBgKt1IAh2mx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1625816020; bh=vpCFpJgJahXn4Ty+M0JFGDw99Gvuk3v81rDK8AiqBe4=; h=Cc:Date:From:Reply-To:Subject:To; b=Q4LQUg0ZyLoNA4ZSw7hRk0T8Evu+lGmJaIjOOq8BnpYyuUhNMMQAs2yWbdx0oK7N4JY ZsLy5gzeyLearwRelaKAv3MYulDkpql81C0I7sHgYW/Wsue0vRJlRi1fPcrJ8AENUseHR nt4XJ16ShWHqMJznh+IS7KeRzoBCDY7DXvw= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1625816021879100001 Content-Type: text/plain; charset="utf-8" REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D3485 CacheLib EfiProgramMtrr Function takes MTRR number as a input parameter, in the function the parameter is defined as UINTN were as the caller calling MTTR number in UINT32. Signed-off-by: Ashraf Ali S Cc: Ray Ni Cc: Chasel Chiu Cc: Nate DeSimone Cc: Star Zeng Cc: Digant H Solanki Cc: Sangeetha V Reviewed-by: Chasel Chiu --- IntelFsp2Pkg/Library/BaseCacheLib/BaseCacheLib.inf | 4 ++-- IntelFsp2Pkg/Library/BaseCacheLib/CacheLib.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/IntelFsp2Pkg/Library/BaseCacheLib/BaseCacheLib.inf b/IntelFsp2= Pkg/Library/BaseCacheLib/BaseCacheLib.inf index d9034bcbaf..9a513fb6df 100644 --- a/IntelFsp2Pkg/Library/BaseCacheLib/BaseCacheLib.inf +++ b/IntelFsp2Pkg/Library/BaseCacheLib/BaseCacheLib.inf @@ -1,7 +1,7 @@ ## @file # Instance of BaseCache. # -# Copyright (c) 2014 - 2017, Intel Corporation. All rights reserved.
+# Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -15,7 +15,7 @@ VERSION_STRING =3D 1.0 LIBRARY_CLASS =3D CacheLib =20 -[Sources.IA32] +[Sources] CacheLib.c CacheLibInternal.h =20 diff --git a/IntelFsp2Pkg/Library/BaseCacheLib/CacheLib.c b/IntelFsp2Pkg/Li= brary/BaseCacheLib/CacheLib.c index 17e895c345..2365f7514e 100644 --- a/IntelFsp2Pkg/Library/BaseCacheLib/CacheLib.c +++ b/IntelFsp2Pkg/Library/BaseCacheLib/CacheLib.c @@ -1,6 +1,6 @@ /** @file =20 - Copyright (c) 2014 - 2019, Intel Corporation. All rights reserved.
+ Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -164,7 +164,7 @@ EfiRecoverCacheMtrr ( **/ VOID EfiProgramMtrr ( - IN UINTN MtrrNumber, + IN UINT32 MtrrNumber, IN EFI_PHYSICAL_ADDRESS MemoryAddress, IN UINT64 MemoryLength, IN EFI_MEMORY_CACHE_TYPE MemoryCacheType, --=20 2.30.2.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 (#77638): https://edk2.groups.io/g/devel/message/77638 Mute This Topic: https://groups.io/mt/84086843/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-