From nobody Fri May 17 10:44: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+112178+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+112178+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1701942771; cv=none; d=zohomail.com; s=zohoarc; b=Biel6acpmNmLkCjwxdWTUVase6YrnAD8t1lKlaILpFdO1NXeMWUeewA8XSNgHOgb1fvlgtN02sCLyrURPAecf3enNJ4uxheR++OdalbNGXoXo3RHnh+Ds92oRnIYTPkeeUTZ+HEDMucUwqpnMmpWb5f09tzFGCs+kFVQOXRfcEE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1701942771; 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=eAD457OoHgizelcseR/mjik+A49PdXvqOkxvMgOIwv8=; b=VanfUI1apNDzkj9lIAEwzm7wJms+nsoM9lnoTOexKOAyXZ/gE+KH6VXipOzgK6d+10UAYbAB5jDyT4ue5HFnEBirt3fjl9bqIVrfqmYkJs7UYgFswgJny7uCKgpKfvxoewdS1Mvx4+OhOTkLxdOHVrIzgacGDHWf2F0fvrbfpOY= 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+112178+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 1701942771057219.6225950312679; Thu, 7 Dec 2023 01:52:51 -0800 (PST) Return-Path: DKIM-Signature: a=rsa-sha256; bh=nOouyYoHkmXrbBuou0+0AJ6LE3xHdtsUNf9UOkbYiWU=; 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=Xti1HZJ6T1JU/UpmGkR48QoM83pcJ+JVUenIH2+lIFgXFbxWiR1bAEmmttIAWZbEzk+1zykt eTuxCLCrEEuxkh+5DHzQhSFx8hSXEZ9M03glUnA2RO7vvKUWgI2ykVxPRWnhQcZIY+ui/7sPF8x uShTd8a5mNZu15qKrbgcQwEY= X-Received: by 127.0.0.2 with SMTP id xzBxYY1788612xzblQhR7M1O; 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: Ypmbh2ST7QOcmuIOhYX5vN46x1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1701942772993100001 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 + // // 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 --=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 (#112178): https://edk2.groups.io/g/devel/message/112178 Mute This Topic: https://groups.io/mt/103031407/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-