From nobody Fri May 17 09:01:55 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+112182+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+112182+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1701947146; cv=none; d=zohomail.com; s=zohoarc; b=CiMR+lr7G4d0/wCGHohzOj8hrkz96VPw6C954TWHKKWzI/OmVpIF7nfdW80GusQM1SRpnVvtYENm6nGfvxBbDva4V22xTUQ4NoOG6YL4pX0IVDLPI2CVSWafq9i7B8Yrt9CBscP2ctv+nKEalhQcSmcdCvtmcGaNa6kqeeGURAI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1701947146; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:Sender:Subject:Subject:To:To:Message-Id; bh=oUPWTqic+mXwEsCeWLro5GGWXz6TczYctxmeND8nVSg=; b=d2i9WLf4Gj9ZxKXKb9tMAJ4BRQW/9vH8u+U+b6PKS2pQHPjOFwSLNHS7LJ3kT2eTxCHvp88tkngmaNjzpRfBJ1NRWt1WizB6u6KmsABYxEwi1N4jzh55fN47n2sFn4bbuPdueZaMu1DGhUDKCuhK8W924pzUAu9cpjof5vKKPYM= 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+112182+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 1701947146303121.81961606561299; Thu, 7 Dec 2023 03:05:46 -0800 (PST) Return-Path: DKIM-Signature: a=rsa-sha256; bh=oxBkngEN/vx24qUPCQUoIFRRBGhrjeU0+N4a+syTrTk=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1701947145; v=1; b=OcaiU65RC5IRUZ/PYQbdtNB/bgwfaBZPCOxfiawLEqvjP8tJ5U6UbfaKHgNvBKybnZBj2lND yilQJERgYcSAfazufspKs2DuOW6zvx60uFBj7LYn3pQ1b5cMGbcPYdYhxun6THHA3xnRrTQuYQQ xNnRWd2grXsyJibBRgVyp3to= X-Received: by 127.0.0.2 with SMTP id U4l5YY1788612xuh4kaob3Ob; Thu, 07 Dec 2023 03:05:45 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web10.81503.1701947145288614956 for ; Thu, 07 Dec 2023 03:05:45 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10916"; a="373701152" X-IronPort-AV: E=Sophos;i="6.04,256,1695711600"; d="scan'208";a="373701152" X-Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Dec 2023 03:05:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.04,256,1695711600"; d="scan'208";a="17416370" X-Received: from bacfd007.gar.corp.intel.com ([10.66.244.233]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Dec 2023 03:05:42 -0800 From: "ManickamX Srinivasan" To: devel@edk2.groups.io Cc: ManickamX Srinivasan , Michael D Kinney , Liming Gao , Zhiguang Liu , T V Krishnamoorthy Subject: [edk2-devel] [PATCH v2] MdePkg: Add a new memory type definition Date: Thu, 7 Dec 2023 16:35:26 +0530 Message-Id: <20231207110526.44327-1-manickamx.srinivasan@intel.com> MIME-Version: 1.0 Precedence: Bulk 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,manickamx.srinivasan@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: YmWHJ8eyvNf1crMNIWQf7Xs2x1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1701947147284100002 Content-Type: text/plain; charset="utf-8" New memory type as defined in UEFI standard v2.9. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Cc: T V Krishnamoorthy Signed-off-by: ManickamX Srinivasan --- MdePkg/Include/Uefi/UefiSpec.h | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/MdePkg/Include/Uefi/UefiSpec.h b/MdePkg/Include/Uefi/UefiSpec.h index 08db17e674..d583ee17d0 100644 --- a/MdePkg/Include/Uefi/UefiSpec.h +++ b/MdePkg/Include/Uefi/UefiSpec.h @@ -110,6 +110,21 @@ typedef enum { // #define EFI_MEMORY_RUNTIME 0x8000000000000000ULL =20 +// +// If this flag is set, the memory region is +// described with additional ISA-specific memory attributes=20 +// as specified in EFI_MEMORY_ISA_MASK. +// +#define EFI_MEMORY_ISA_VALID 0x4000000000000000ULL + +// +// Defines the bits reserved for describing optional ISA-specific cacheabi= lity=20 +// attributes that are not covered by the standard UEFI Memory Attributes = cacheability +// bits (EFI_MEMORY_UC, EFI_MEMORY_WC, EFI_MEMORY_WT, EFI_MEMORY_WB and EF= I_MEMORY_UCE). +// See Calling Conventions for further ISA-specific enumeration of these b= its. +// +#define EFI_MEMORY_ISA_MASK 0x0FFFF00000000000ULL + --=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 (#112182): https://edk2.groups.io/g/devel/message/112182 Mute This Topic: https://groups.io/mt/103032071/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-