diff options
author | Heyi Guo <heyi.guo@linaro.org> | 2015-09-09 13:37:22 +0000 |
---|---|---|
committer | abiesheuvel <abiesheuvel@Edk2> | 2015-09-09 13:37:22 +0000 |
commit | 946067bfb074962667bd61fafffd0e777242e12b (patch) | |
tree | 26d134ee8bcc086ab3c2adcf5f62fbe5bf73252d /BaseTools/Source/Python/AutoGen/UniClassObject.py | |
parent | 7d189f99d81cd136a33074c66cdabb8ce66118ce (diff) | |
download | edk2-platforms-946067bfb074962667bd61fafffd0e777242e12b.tar.xz |
ArmPkg/Mmu: Fix page level calculation bug
The bug can be triggered when alignment of Base is larger than Length
by 2 level of page granularity, e.g.
Base is 0x4000_0000, Length is 0x1000
The original code will change 2MB page level and we will get a
negative remaining length.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Heyi Guo <heyi.guo@linaro.org>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18422 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/UniClassObject.py')
0 files changed, 0 insertions, 0 deletions