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 <[email protected]>
> Cc: Jiewen Yao <[email protected]>
> 
> Signed-off-by: Dionna Glaze <[email protected]>
> ---
>  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 <[email protected]>

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 <[email protected]> [mdkinney]
M: Liming Gao <[email protected]> [lgao4]
R: Zhiguang Liu <[email protected]> [LiuZhiguang001]

MdeModulePkg
M: Jian J Wang <[email protected]> [jwang36]
M: Liming Gao <[email protected]> [lgao4]



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#99202): https://edk2.groups.io/g/devel/message/99202
Mute This Topic: https://groups.io/mt/96573795/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to