Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Sun Rui <rui.sun@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13560
6f19259b-4bc3-4df7-8a09-
765794883524
// MemoryType values in the range 0x80000000..0xFFFFFFFF are reserved for use by UEFI \r
// OS loaders that are provided by operating system vendors\r
//\r
- if (MemoryType >= (INT32)0x80000000 && MemoryType <= (INT32)0xffffffff) {\r
+ if ((INT32)MemoryType < 0) {\r
\r
for (Link = mPoolHeadList.ForwardLink; Link != &mPoolHeadList; Link = Link->ForwardLink) {\r
Pool = CR(Link, POOL, Link, POOL_SIGNATURE);\r