diff options
author | Star Zeng <star.zeng@intel.com> | 2016-03-18 09:46:24 +0800 |
---|---|---|
committer | Star Zeng <star.zeng@intel.com> | 2016-03-22 11:00:39 +0800 |
commit | f0459afe9172587bfdcef55ebe4beddb6fc8d286 (patch) | |
tree | d1466e07dc14d4178cc96f95f05418084d649fdc /BaseTools/Source/Python/sitecustomize.py | |
parent | 6fe9d9c15b184ff0790b7ba0338c27fec58f7ebf (diff) | |
download | edk2-platforms-f0459afe9172587bfdcef55ebe4beddb6fc8d286.tar.xz |
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>
Diffstat (limited to 'BaseTools/Source/Python/sitecustomize.py')
0 files changed, 0 insertions, 0 deletions