audk/MdeModulePkg/Core
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
..
Dxe MdeModulePkg DxeCore: Check Start consistently in CoreConvertPagesEx 2016-03-22 11:00:39 +08:00
DxeIplPeim MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
Pei MdeModulePkg: Update PeiCore dispatcher to handle PEIM and PEI_CORE only 2016-02-29 16:28:56 +08:00
PiSmmCore MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
RuntimeDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00