]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg: Correct memory type in PrePiDxeCis.h
authorDionna Glaze via groups.io <dionnaglaze=google.com@groups.io>
Fri, 27 Jan 2023 19:21:16 +0000 (19:21 +0000)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 30 Jan 2023 13:52:27 +0000 (13:52 +0000)
commit4b384c21ad02fbf5eda25a1516cc72fa66b150f6
treeb8ba6687f4a107853f25aceffef110e8ecbbdd49
parentbb1376254803bfdaa012c62f1cf6d6b26161cfe7
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>
MdeModulePkg/Include/Pi/PrePiDxeCis.h
MdePkg/Include/Pi/PiDxeCis.h