edk2/MdeModulePkg/Core/Dxe/Mem
Star Zeng f0459afe91 MdeModulePkg DxeCore: Check Start consistently in CoreConvertPagesEx
Current check:
ASSERT (NumberOfPages);
ASSERT ((Start & EFI_PAGE_MASK) == 0);
ASSERT (End > Start) ;

if (NumberOfPages == 0 ||
    ((Start & EFI_PAGE_MASK) != 0) ||
    (Start > (Start + NumberOfBytes))) {

This patch is to update "(Start > (Start + NumberOfBytes))" to "(Start >= End)"
to be consistent with "ASSERT (End > Start)"

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Feng Tian <feng.tian@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>
2016-03-22 11:00:39 +08:00
..
Imem.h MdeModulePkg DxeCore: Minor comments update to AllocatePool() 2016-02-15 18:12:03 +08:00
MemData.c Update the copyright notice format 2010-04-24 09:49:11 +00:00
MemoryProfileRecord.c MdeModulePkg/DxeCore: Fixed build error. 2015-05-29 04:04:01 +00:00
Page.c MdeModulePkg DxeCore: Check Start consistently in CoreConvertPagesEx 2016-03-22 11:00:39 +08:00
Pool.c MdeModulePkg DxeCore: Minor comments update to AllocatePool() 2016-02-15 18:12:03 +08:00