summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Workspace
diff options
context:
space:
mode:
authorJian J Wang <jian.j.wang@intel.com>2018-03-15 12:43:20 +0800
committerStar Zeng <star.zeng@intel.com>2018-03-16 15:01:12 +0800
commit883787a2c6f83a59fa56f9529317aa86be71fe91 (patch)
treedab4e332914c1edefa6540224b3ed7c1e86400ec /BaseTools/Source/Python/Workspace
parent7fef06af4ec100f3f8856e3fa08ef067a9fd40d2 (diff)
downloadedk2-883787a2c6f83a59fa56f9529317aa86be71fe91.tar.gz
edk2-883787a2c6f83a59fa56f9529317aa86be71fe91.tar.bz2
edk2-883787a2c6f83a59fa56f9529317aa86be71fe91.zip
MdeModulePkg/PiSmmCore: fix bits operation error on a boundary condition
If given address is on 64K boundary and the requested bit number is 64, all SetBits(), ClearBits() and GetBits() will encounter ASSERT problem in trying to do a 64 bits of shift, which is not allowed by LShift() and RShift(). This patch tries to fix this issue by turning bits operation into whole integer operation in such situation. Cc: Star Zeng <star.zeng@intel.com> Cc: Eric Dong <eric.dong@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Ruiyu Ni <ruiyu.ni@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.wang@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace')
0 files changed, 0 insertions, 0 deletions