From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id ADDD47803CF for ; Fri, 8 Dec 2023 05:37:49 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=KlKktnvhyd7TmtMjXj0zRhBl9yfMjj6H2KV2c1+COnU=; 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=Stxq5GvZpxqc5aYgBwcnhh5WOLnuaPFx0cqVVR1ResotjBDMpNNxaU3j5ttHcG/u/dXWC+AS ch3PPw8oJS+HyoOBQIPZI4G9+/irUp3VPUaWEuPRh2h/2weQ1yzcaQ/f/q9mYVpAEKshVkBdRqU pOln/i6nbzT8CpO73ZAYjNdc= X-Received: by 127.0.0.2 with SMTP id GEOnYY7687511xINirw28Gvy; 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: KUzhnW1CLML0Wm67LMATJTV2x7686176AA= Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=Stxq5GvZ; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io 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 --- 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 +// +// If this flag is set, the memory region is +// described with additional ISA-specific memory attributes +// as specified in EFI_MEMORY_ISA_MASK. +// +#define EFI_MEMORY_ISA_VALID 0x4000000000000000ULL + +// +// Defines the bits reserved for describing optional ISA-specific cacheability +// 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 EFI_MEMORY_UCE). +// See Calling Conventions for further ISA-specific enumeration of these bits. +// +#define EFI_MEMORY_ISA_MASK 0x0FFFF00000000000ULL + // // Attributes bitmasks, grouped by type // -- 2.30.2.windows.1 -=-=-=-=-=-=-=-=-=-=-=- 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/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-