]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Core/Pei/Memory/MemoryServices.c
MdeModulePkg PeiCore: PeiInstallPeiMemory improper ASSERT test on second call
authorStar Zeng <star.zeng@intel.com>
Wed, 18 Nov 2015 10:13:31 +0000 (10:13 +0000)
committerlzeng14 <lzeng14@Edk2>
Wed, 18 Nov 2015 10:13:31 +0000 (10:13 +0000)
commit305d3c8e8da4b0bb0f3f8d216d8ac91fe33d5464
tree8e502c392d96a819af42b431b63f6e2b9040cc17
parent48b77f5ea9091d78098ba0d6168d4b638914f280
MdeModulePkg PeiCore: PeiInstallPeiMemory improper ASSERT test on second call

The ASSERT (PrivateData->PeiMemoryInstalled) in if (PrivateData->PeiMemoryInstalled)
condition is useless, it should be ASSERT (FALSE) to follow the code's expectation.

Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18887 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Core/Pei/Memory/MemoryServices.c