From nobody Fri Nov 15 11:38:00 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+90217+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+90217+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1654484423; cv=none; d=zohomail.com; s=zohoarc; b=Qo2DaAXObq+nM6kjx75NEgQgEXf4zwJNOqZajMvKkS2a0b9e0MIYsGQFh6px1+vqsf8EnyWT/3GCBiucajHdjgZIzrUdGeqF2H9wMmUn38B8i4LSTcWATstTzXMQbzzkml/sMmmsD9VLXDgPn0eq/8lzPP05RawFLosv/17CycA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1654484423; 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=xfC6T6eiosEvWMqSfoMJ1qWe4XbuT/Tmd+QO6hH++qE=; b=C8GQGSgDwpXm+Kzqws6goedcTWH4kyHTYwadORqGV86csqiqaSDsv+zSMx8+WvqyVrxWfZPRuFDZ19+3FJ+0cka4O+mBavmD9AyKfZRt0E9QIKgNnE2nwOVSVJpkeCWmSxdKjCo9EiX6yOVgfWs8ofZCLaD6SJfVJ3ixWhy+miQ= 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+90217+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 1654484423832681.2878830061768; Sun, 5 Jun 2022 20:00:23 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id BCRfYY1788612xdexhNG9l8o; Sun, 05 Jun 2022 20:00:23 -0700 X-Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web12.27717.1654484422708210907 for ; Sun, 05 Jun 2022 20:00:22 -0700 X-IronPort-AV: E=McAfee;i="6400,9594,10369"; a="276458017" X-IronPort-AV: E=Sophos;i="5.91,280,1647327600"; d="scan'208";a="276458017" 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:21 -0700 X-IronPort-AV: E=Sophos;i="5.91,280,1647327600"; d="scan'208";a="647285708" 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:19 -0700 From: "Min Xu" To: devel@edk2.groups.io Cc: Min M Xu , Jian J Wang , Liming Gao , Ray Ni , Erdem Aktas , Gerd Hoffmann , James Bottomley , Jiewen Yao , Tom Lendacky Subject: [edk2-devel] [PATCH 01/14] MdeModulePkg: Add PrePiHob.h Date: Mon, 6 Jun 2022 10:59:49 +0800 Message-Id: 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: yXrGuWabrs1NdRJKVlWuzzHcx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1654484423; bh=xbe6xnwXSypQZPcPg3fI22IFdne3zRQ89mwO+oIx318=; h=Cc:Date:From:Reply-To:Subject:To; b=Foz4UNGQjc6GN6C2AIDgHzowToas0dDvE1+rV/2U6BXwTHU9kgUKEJrRv6p0+zA5dDN sH3X1yktm0exlu5WQDnxAhMma590nGBf0442iUqLZanVLdGFH9bF+jDnDFJtPASO+cwZZ F2gDgEKJP5lnHYJWCMzI03zy2+TtJuz5lrc= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1654484424829100001 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 for unaccepted memory. But this defitinion has not been officially in the PI spec. Base on the code-first we define EFI_RESOURCE_MEMORY_UNACCEPTED at MdeModulePkg/Include/Pi/PrePiHob.h. Cc: Jian J Wang Cc: Liming Gao Cc: Ray Ni Cc: Erdem Aktas Cc: Gerd Hoffmann Cc: James Bottomley Cc: Jiewen Yao Cc: Tom Lendacky Signed-off-by: Min Xu --- MdeModulePkg/Include/Pi/PrePiHob.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 MdeModulePkg/Include/Pi/PrePiHob.h diff --git a/MdeModulePkg/Include/Pi/PrePiHob.h b/MdeModulePkg/Include/Pi/P= rePiHob.h new file mode 100644 index 000000000000..38a8f1be149d --- /dev/null +++ b/MdeModulePkg/Include/Pi/PrePiHob.h @@ -0,0 +1,20 @@ +/** @file + HOB related definitions which has not been officially published in PI. + +Copyright (c) 2022, Intel Corporation. All rights reserved.
+SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +#ifndef MDE_MODULEPKG_PRE_PI_HOB_H_ +#define MDE_MODULEPKG_PRE_PI_HOB_H_ + +// +// EFI_RESOURCE_MEMORY_UNACCEPTED is defined for unaccepted memory. +// But this defitinion has not been officially in the PI spec. Base +// on the code-first we define EFI_RESOURCE_MEMORY_UNACCEPTED at +// MdeModulePkg/Include/Pi/PrePiHob.h. +// +#define EFI_RESOURCE_MEMORY_UNACCEPTED 0x00000007 + +#endif --=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 (#90217): https://edk2.groups.io/g/devel/message/90217 Mute This Topic: https://groups.io/mt/91570193/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-