public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Min Xu" <min.m.xu@intel.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>,
	"dionnaglaze@google.com" <dionnaglaze@google.com>
Cc: "Yao, Jiewen" <jiewen.yao@intel.com>
Subject: Re: [edk2-devel] [PATCH] MdeModulePkg: Correct memory type in PrePiDxeCis.h
Date: Fri, 27 Jan 2023 23:36:18 +0000	[thread overview]
Message-ID: <PH0PR11MB506431A61D3CAFB285729E57C5CC9@PH0PR11MB5064.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20230127192116.3577219-1-dionnaglaze@google.com>

On January 28, 2023 3:21 AM, Dionna Glaze wrote:
> The enumeration in MdePkg/Include/Pi/PiDxeCis.h has a duplicated entry, so
> the 8th position in the list doesn't count as index 7. The value
> EfiGcdMemoryTypeUnaccepted will have when added before
> EfiGcdMemoryTypeMaximum will be 6.
> 
> Cc: Min M Xu <min.m.xu@intel.com>
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> 
> Signed-off-by: Dionna Glaze <dionnaglaze@google.com>
> ---
>  MdeModulePkg/Include/Pi/PrePiDxeCis.h | 2 +-
>  MdePkg/Include/Pi/PiDxeCis.h          | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/MdeModulePkg/Include/Pi/PrePiDxeCis.h
> b/MdeModulePkg/Include/Pi/PrePiDxeCis.h
> index 113ac37924..9be71d2618 100644
> --- a/MdeModulePkg/Include/Pi/PrePiDxeCis.h
> +++ b/MdeModulePkg/Include/Pi/PrePiDxeCis.h
> @@ -20,6 +20,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent  /// After
> this memory region is defined in PI spec, it should be a value in  ///
> EFI_GCD_MEMORY_TYPE in PiDxeCis.h.
>  ///
> -#define  EFI_GCD_MEMORY_TYPE_UNACCEPTED  7
> +#define  EFI_GCD_MEMORY_TYPE_UNACCEPTED  6
> 
>  #endif
> diff --git a/MdePkg/Include/Pi/PiDxeCis.h b/MdePkg/Include/Pi/PiDxeCis.h
> index 27b219aa3f..bb7fb2c38a 100644
> --- a/MdePkg/Include/Pi/PiDxeCis.h
> +++ b/MdePkg/Include/Pi/PiDxeCis.h
> @@ -64,7 +64,7 @@ typedef enum {
>    // /// EfiGcdMemoryTypeUnaccepted is defined in PrePiDxeCis.h because it
> has not been
>    // /// defined in PI spec.
>    // EfiGcdMemoryTypeUnaccepted,
> -  EfiGcdMemoryTypeMaximum = 8
> +  EfiGcdMemoryTypeMaximum = 7
>  } EFI_GCD_MEMORY_TYPE;
> 
>  ///
Thanks Dionna.
Reviewed-by: Min Xu <min.m.xu@intel.com>

BTW, you need to add below guys in the CC list because they're the reviewers/maintainers of the pkgs.

MdePkg:
M: Michael D Kinney <michael.d.kinney@intel.com> [mdkinney]
M: Liming Gao <gaoliming@byosoft.com.cn> [lgao4]
R: Zhiguang Liu <zhiguang.liu@intel.com> [LiuZhiguang001]

MdeModulePkg
M: Jian J Wang <jian.j.wang@intel.com> [jwang36]
M: Liming Gao <gaoliming@byosoft.com.cn> [lgao4]


  reply	other threads:[~2023-01-27 23:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-27 19:21 [PATCH] MdeModulePkg: Correct memory type in PrePiDxeCis.h Dionna Glaze
2023-01-27 23:36 ` Min Xu [this message]
2023-01-28  0:01   ` [edk2-devel] " Dionna Glaze
2023-01-29  5:16     ` 回复: " gaoliming
2023-01-30 14:01       ` Ard Biesheuvel
2023-01-30 16:27         ` Michael D Kinney
2023-01-30 16:54           ` Ard Biesheuvel
2023-01-30 18:31             ` Michael D Kinney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=PH0PR11MB506431A61D3CAFB285729E57C5CC9@PH0PR11MB5064.namprd11.prod.outlook.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox