From nobody Fri May 17 19:34:14 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+112208+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+112208+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1702013868; cv=none; d=zohomail.com; s=zohoarc; b=FnnpAqYWjh61yqXMFzNOh8faUJYLpGTgidcUIo7vvcosTB72eOP8hgLAhNCxS3/WJitYciAYY37wsm3pcldzbh7Z5eHyml4JUK2QTQlGR0oqdzPQy9njXcOMqbJKuEn0Rp4WbloRg865iXcIjiXd+52nLQSE4ZD1zvxQ7M5ebW4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1702013868; 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=yKJ7gjqF+fGMv4GMK2UVquENJLEY6pLdkpy9FGx259w=; b=lv0c5roGeElmOZcr7/5SSAGtqjyPBijSPpeAeLDlWi7AHzjJHvRELIdBY737ACmaktZnPL8EPawgj6SDW6bpkYtL/dT83X/fKUXvz7nc/6UpOb2KHcseuHn92WWtoqAi2tVwQieHEHixQOf3nBsi0Wh62mACcjHShl6T0tFgv+E= 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+112208+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 1702013868597527.18016897637; Thu, 7 Dec 2023 21:37:48 -0800 (PST) Return-Path: DKIM-Signature: a=rsa-sha256; bh=9EiI4vDl66R56L4U1kbzuUQrjBcVG/IsWrdcVzro/v8=; 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=1702013868; v=1; b=ZmnVUdfBqQvAUwESXvhpE5f0l+++xJr042KJGGcSQxauNAmzfhx9TMg9CJOS2ae4xtKoSrHK +PMLIaGTqmxA31kO7olu+18DZNgBYaMre++N3sJsepMqUESpVkF6J2SGWuCvlUxwem0hvjGF35B 3QTXZMKzzbX5La/tKwn7yWeo= X-Received: by 127.0.0.2 with SMTP id ABZ1YY1788612xF0hJMEuwej; Thu, 07 Dec 2023 21:37:48 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web10.14042.1702013867471952243 for ; Thu, 07 Dec 2023 21:37:47 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10917"; a="384762520" X-IronPort-AV: E=Sophos;i="6.04,259,1695711600"; d="scan'208";a="384762520" X-Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Dec 2023 21:37:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10917"; a="945303852" X-IronPort-AV: E=Sophos;i="6.04,259,1695711600"; d="scan'208";a="945303852" X-Received: from bacfd007.gar.corp.intel.com ([10.66.244.233]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Dec 2023 21:37:35 -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 v3] MdePkg: Add a new memory type definition Date: Fri, 8 Dec 2023 11:07:11 +0530 Message-Id: <20231208053711.2544-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: SVtinR7j5HaWGADYMrIq0lejx1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1702013869907100001 Content-Type: text/plain; charset="utf-8" New memory type as defined in UEFI standard v2.10 Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Cc: T V Krishnamoorthy Signed-off-by: ManickamX Srinivasan Reviewed-by: Liming Gao Reviewed-by: Michael D Kinney Reviewed-by: Zhiguang Liu < zhiguang.liu@intel.com > --- MdePkg/Include/Uefi/UefiSpec.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/MdePkg/Include/Uefi/UefiSpec.h b/MdePkg/Include/Uefi/UefiSpec.h index 7dfe35b499..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 + // // Attributes bitmasks, grouped by type // --=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 (#112208): https://edk2.groups.io/g/devel/message/112208 Mute This Topic: https://groups.io/mt/103050230/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-