]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/Mem: Initialize the variable MapMemory
authorShenglei Zhang <shenglei.zhang@intel.com>
Tue, 15 Oct 2019 02:13:35 +0000 (10:13 +0800)
committerLiming Gao <liming.gao@intel.com>
Mon, 4 Nov 2019 00:56:12 +0000 (08:56 +0800)
commit17efd446c00b414ddeb53ec00b85d780f2f09250
tree5bc63d6eb6caf421d1578483a3ba22870cca563c
parenta857ea4199ead1858e55b081fea38fcf0e721c8c
MdeModulePkg/Mem: Initialize the variable MapMemory

MapMemory is not initialized by FindGuardedMemoryMap
or CoreInternalAllocatePages which calls MapMemory.
So we give a 0 to it.

Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
Reviewed-by: Dandan Bi <dandan.bi@intel.com>
MdeModulePkg/Core/Dxe/Mem/HeapGuard.c