]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/GenericMemoryTest: Handle more reliable memory
authorRuiyu Ni <ruiyu.ni@intel.com>
Sat, 10 Feb 2018 14:22:15 +0000 (22:22 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Tue, 27 Feb 2018 05:56:00 +0000 (13:56 +0800)
commit2e5fb984ed6876b173b1bd558fdaa41f08b7ed6f
tree08b4ff6d96ab2b5c1565e62a9a8c1222e18452ee
parentf068aa038d09053c5dddea93c5f9576c51993546
MdeModulePkg/GenericMemoryTest: Handle more reliable memory

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=650
Today's implementation converts the untested more reliable memory
from reserved GCD type to system memory GCD type.
Though it doesn't impact the return result of gBS->GetMemoryMap().
But it impacts the return result of gDS->GetMemorySpaceDescriptor().
The patch fixes the bug to convert the untested more reliable memory
from reserved GCD type to more reliable memory GCD type.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/LightMemoryTest.c