]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTest.c
MdeModulePkg/NullMemoryTest: Handle more reliable memory
authorRuiyu Ni <ruiyu.ni@intel.com>
Sat, 10 Feb 2018 14:23:18 +0000 (22:23 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Tue, 27 Feb 2018 05:56:03 +0000 (13:56 +0800)
commit1c06bd485e45ccbcec1b532d26fba3208b32b0c5
tree33e989e77921752ee6ddf4cb688efd82a41d023d
parent2e5fb984ed6876b173b1bd558fdaa41f08b7ed6f
MdeModulePkg/NullMemoryTest: 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/NullMemoryTestDxe/NullMemoryTest.c