From nobody Fri Nov 15 10:17:47 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+90220+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+90220+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1654484433; cv=none; d=zohomail.com; s=zohoarc; b=ar3NxpfWk4crQL1PK9NfxXPmLsJ/zXU5MKBOc/LHQV7Dv29b3dP9A3PmF4HQ9CaRiGv6VuJeBZBosYjpvPajm6dnv220f74sQAtmiDGh4ER6V1Ef18nD4wIkkhY8y7V4W3VkcCgwru3eOMoJ97TCbTVXDYfkhuPgJLI0eLfB0EM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1654484433; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=+6+gX1dwpl9oQatcik/HGhSTtTtDutCe+qea0vRGDrc=; b=FS/6SNktWpZOwPih0SrB2qJ2bQ3DAsyVw2mjGQgqa5F/6FaUr+Ax6h0BXWyEHMJ269Nf0lXS7Fkzx7PKA1L0vyAYfUSdMQCnRrTaAPtBpQ6MVk/UkxGmSDwOuHVs/31CY3f0EH6ZvaTvOoxpSvS2KmdNodqxsOoP+kEkECN8MDs= 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+90220+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 1654484433124373.63306056199565; Sun, 5 Jun 2022 20:00:33 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id tUxbYY1788612xzeCo20t6zr; Sun, 05 Jun 2022 20:00:32 -0700 X-Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web08.27749.1654484424914450989 for ; Sun, 05 Jun 2022 20:00:32 -0700 X-IronPort-AV: E=McAfee;i="6400,9594,10369"; a="276458080" X-IronPort-AV: E=Sophos;i="5.91,280,1647327600"; d="scan'208";a="276458080" X-Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jun 2022 20:00:31 -0700 X-IronPort-AV: E=Sophos;i="5.91,280,1647327600"; d="scan'208";a="647285763" X-Received: from mxu9-mobl1.ccr.corp.intel.com ([10.255.29.66]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jun 2022 20:00:26 -0700 From: "Min Xu" To: devel@edk2.groups.io Cc: Min M Xu , Michael D Kinney , Liming Gao , Zhiguang Liu , Erdem Aktas , Gerd Hoffmann , James Bottomley , Jiewen Yao , Tom Lendacky Subject: [edk2-devel] [PATCH 04/14] MdePkg: Add UEFI Unaccepted memory definition Date: Mon, 6 Jun 2022 10:59:52 +0800 Message-Id: <88c1fe7b630b5fe65ef07ddc588f896f1346861f.1654420875.git.min.m.xu@intel.com> In-Reply-To: References: MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,min.m.xu@intel.com X-Gm-Message-State: KdGaO7QX5vkGmm27XtwaGAmWx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1654484432; bh=+iMzdsxGailXkP3t/wYtGn40nOBp1jocn5Boke4m8EI=; h=Cc:Date:From:Reply-To:Subject:To; b=Rhxu4O2UBdxobVD8+tR31mnFRPHbN3jSMrnX5d51dfJpvTs/QuhD0BfNMKNtXoHeo2t yFEN1RjO3nMFQx7m/T+CNOTuUb+GU7pIUvoUMR2KWeUXXhakkPFEGilVExwzAc78rirAa fz4UhpFGwJ2xEIWpPSNVvJdGdNEyvON4DQM= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1654484434875100011 Content-Type: text/plain; charset="utf-8" From: Min M Xu RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3937 Plase refer to: UEFI Spec v2.9 Table 7-5 Memory Type Usage before ExitBootServices() Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Cc: Erdem Aktas Cc: Gerd Hoffmann Cc: James Bottomley Cc: Jiewen Yao Cc: Tom Lendacky Signed-off-by: Min Xu Reviewed-by: Jiewen Yao --- MdePkg/Include/Pi/PiDxeCis.h | 5 +++++ MdePkg/Include/Uefi/UefiMultiPhase.h | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/MdePkg/Include/Pi/PiDxeCis.h b/MdePkg/Include/Pi/PiDxeCis.h index d0f2ed0e58df..67c99801b00d 100644 --- a/MdePkg/Include/Pi/PiDxeCis.h +++ b/MdePkg/Include/Pi/PiDxeCis.h @@ -56,6 +56,11 @@ typedef enum { /// system. If all memory has the same reliability, then this bit is not= used. /// EfiGcdMemoryTypeMoreReliable, + /// + /// A memory region that describes system memory that has not been accep= ted + /// by a corresponding call to the underlying isolation architecture. + /// + EfiGcdMemoryTypeUnaccepted, EfiGcdMemoryTypeMaximum } EFI_GCD_MEMORY_TYPE; =20 diff --git a/MdePkg/Include/Uefi/UefiMultiPhase.h b/MdePkg/Include/Uefi/Uef= iMultiPhase.h index 22bae43e36e8..29aabab5948e 100644 --- a/MdePkg/Include/Uefi/UefiMultiPhase.h +++ b/MdePkg/Include/Uefi/UefiMultiPhase.h @@ -103,6 +103,11 @@ typedef enum { /// however it happens to also support byte-addressable non-volatility. /// EfiPersistentMemory, + /// + /// A memory region that describes system memory that has not been accep= ted + /// by a corresponding call to the underlying isolation architecture. + /// + EfiUnacceptedMemory, EfiMaxMemoryType } EFI_MEMORY_TYPE; =20 --=20 2.29.2.windows.2 -=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 (#90220): https://edk2.groups.io/g/devel/message/90220 Mute This Topic: https://groups.io/mt/91570197/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-