MdeModulePkg: Correct memory type in PrePiDxeCis.h
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> Reviewed-by: Min Xu <min.m.xu@intel.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
committed by
mergify[bot]
parent
bb13762548
commit
4b384c21ad
@@ -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
|
||||
|
Reference in New Issue
Block a user