From nobody Mon Feb 9 01:00:58 2026 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+93128+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+93128+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1662366928; cv=none; d=zohomail.com; s=zohoarc; b=YAsHXEVajxT7GKK+8k8eBLXxtNvuQjSU4eUEJR/jmgyPUY3rKR5F8XgjZ8MjFUIknIYjpi4v60LxLQWIRkmCOC/JKuzoCkry06nz96mzoeuFVTl5yORV9RTHRalhY9HRcn1bD7gati+4CMxQzhbwg1/4c/dZpRoSEiehzLNdacY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1662366928; 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=3e2pGWONqNJqBM35j2jj0H4JhCz0sFlEUe5BiRZnKiQ=; b=YB3A9t4cAsHMPLQ91EQiFuRVzkD8LCO2LWuj3snMAUvQUN807d56uOu/Cck+NZA1Zbz8WLrU1gF1Wnpybxykc6xYr8ZadZv98xsAKNvmMmox4h6r559O4ZPXoazEi4qPnorV74DKMzvJ32piy3nlQP3G2SOV1mS8w5Hzpogx4X8= 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+93128+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 1662366928805140.0976361029883; Mon, 5 Sep 2022 01:35:28 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id XyfJYY1788612x9RnnJaJYN7; Mon, 05 Sep 2022 01:35:27 -0700 X-Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web09.22417.1662366920227192887 for ; Mon, 05 Sep 2022 01:35:26 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10460"; a="279355819" X-IronPort-AV: E=Sophos;i="5.93,290,1654585200"; d="scan'208";a="279355819" X-Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Sep 2022 01:35:26 -0700 X-IronPort-AV: E=Sophos;i="5.93,290,1654585200"; d="scan'208";a="675194277" X-Received: from mxu9-mobl1.ccr.corp.intel.com ([10.255.30.119]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Sep 2022 01:35:24 -0700 From: "Min Xu" To: devel@edk2.groups.io Cc: Min M Xu , Erdem Aktas , Gerd Hoffmann , James Bottomley , Jiewen Yao , Tom Lendacky Subject: [edk2-devel] [PATCH V3 03/12] OvmfPkg: Use EFI_RESOURCE_MEMORY_UNACCEPTED which defined in MdeModulePkg Date: Mon, 5 Sep 2022 16:34:57 +0800 Message-Id: <5d5cdd14a1c5e1632f9721db6223c5f12c8e63e2.1662365866.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: iTcxaXryWceFtuom18bc5WlKx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1662366927; bh=6W7ckuJEs5th7JA40191559EQ1jBf8mQIRSDt1k2Iig=; h=Cc:Date:From:Reply-To:Subject:To; b=tBxfAmqDYfbJQ//fjrLoxkbMgMnEf9Gr3xT1mAJ1SuGRlgaEkV0LWgdM74KDqjl5DxO 9i6ZdfEpFCHcwZjGPghBEzxQ9dPAoJmQ9RdwFmWfz1Acdn9COvZGGs0gDV5kPiXaYjFs3 xSfvXW+Ze/SoV/aYdwQWLjBnShxZRJFznow= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1662366930519100015 Content-Type: text/plain; charset="utf-8" From: Min M Xu RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3937 EFI_RESOURCE_MEMORY_UNACCEPTED is defined in MdeModulePkg. The files which use the definition are updated as well. Cc: Erdem Aktas Cc: Gerd Hoffmann Cc: James Bottomley Cc: Jiewen Yao Cc: Tom Lendacky Signed-off-by: Min Xu Acked-by: Gerd Hoffmann --- OvmfPkg/Library/PeilessStartupLib/Hob.c | 3 +-- OvmfPkg/Library/PlatformInitLib/IntelTdx.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/OvmfPkg/Library/PeilessStartupLib/Hob.c b/OvmfPkg/Library/Peil= essStartupLib/Hob.c index 5fc84a809025..a9b92b5fbaba 100644 --- a/OvmfPkg/Library/PeilessStartupLib/Hob.c +++ b/OvmfPkg/Library/PeilessStartupLib/Hob.c @@ -20,10 +20,9 @@ #include #include #include +#include #include "PeilessStartupInternal.h" =20 -#define EFI_RESOURCE_MEMORY_UNACCEPTED 7 - /** * Construct the HobList in SEC phase. * diff --git a/OvmfPkg/Library/PlatformInitLib/IntelTdx.c b/OvmfPkg/Library/P= latformInitLib/IntelTdx.c index c6d7c8bb6e0e..396b14d919d2 100644 --- a/OvmfPkg/Library/PlatformInitLib/IntelTdx.c +++ b/OvmfPkg/Library/PlatformInitLib/IntelTdx.c @@ -20,11 +20,11 @@ #include #include #include +#include #include #include =20 #define ALIGNED_2MB_MASK 0x1fffff -#define EFI_RESOURCE_MEMORY_UNACCEPTED 7 =20 /** This function will be called to accept pages. Only BSP accepts pages. --=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 (#93128): https://edk2.groups.io/g/devel/message/93128 Mute This Topic: https://groups.io/mt/93474513/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-