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 04B2ED81096 for ; Thu, 7 Dec 2023 09:52:51 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=W7CDqIhfuONr3OQaGNKMBJu7pptCSwU42/tRY+o+dNM=; 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=1701942770; v=1; b=MfmVYGH9s1bPaT2bUntjq+oHVb4p30cBqBNVuZhTEKyGaw6BUgN5Q+diI1LWzC5P+POnkjyR dYPlIyjxR2RAsJRjXg96YYIv9P2+i4uKY6vfa0m7nxUGQMYOWZddajLowk6Oas6kyMUBeWjLHa7 B22JE7aWfFiFfS3XXmpjSjQQ= X-Received: by 127.0.0.2 with SMTP id SrjrYY7687511x9dyaV6Ubky; Thu, 07 Dec 2023 01:52:50 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by mx.groups.io with SMTP id smtpd.web10.80538.1701942769176746210 for ; Thu, 07 Dec 2023 01:52:50 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10916"; a="15754581" X-IronPort-AV: E=Sophos;i="6.04,256,1695711600"; d="scan'208";a="15754581" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Dec 2023 01:52:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10916"; a="747917819" X-IronPort-AV: E=Sophos;i="6.04,256,1695711600"; d="scan'208";a="747917819" X-Received: from bacfd007.gar.corp.intel.com ([10.66.244.233]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Dec 2023 01:52:46 -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] MdePkg: Add a new memory type definition Date: Thu, 7 Dec 2023 15:21:52 +0530 Message-Id: <20231207095152.44082-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: EpgD15f3B4MB1fZcgjxLCi16x7686176AA= 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=MfmVYGH9; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none) 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 +// +// 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 // @@ -898,7 +913,7 @@ EFI_STATUS (EFIAPI *EFI_IMAGE_LOAD)( IN BOOLEAN BootPolicy, IN EFI_HANDLE ParentImageHandle, - IN EFI_DEVICE_PATH_PROTOCOL *DevicePath OPTIONAL, + IN EFI_DEVICE_PATH_PROTOCOL *DevicePath, IN VOID *SourceBuffer OPTIONAL, IN UINTN SourceSize, OUT EFI_HANDLE *ImageHandle -- 2.30.2.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#112178): https://edk2.groups.io/g/devel/message/112178 Mute This Topic: https://groups.io/mt/103031407/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-