diff options
author | Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@hpe.com> | 2016-03-30 07:12:51 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-03-31 13:08:44 +0800 |
commit | 5eae4ff0024318030495838fe50ed34f4c15711a (patch) | |
tree | f442dc8bfba09de13aae33ffce307d58e14089e7 /BaseTools/Source/Python/UPT/Object | |
parent | 307a55fa0169ac990efe046b477db9ccac61b2e2 (diff) | |
download | edk2-platforms-5eae4ff0024318030495838fe50ed34f4c15711a.tar.xz |
MdeModulePkg RamDiskDxe: Fix incorrect RAM disk memory address calculation
EndingAddress is calculated incorrectly. Original code calculates it as
(StartingAddress + Size). Correct value should be (StartingAddress +
Size - 1.
Note:
Besides the changes made by Samer, Hao also fixed a similar issue in
RamDiskImpl.c
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Samer El-Haj-Mahmoud <elhaj@hpe.com>
Signed-off-by: Tapan Shah <tapandshah@hpe.com>
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Tapan Shah <tapandshah@hpe.com>
Diffstat (limited to 'BaseTools/Source/Python/UPT/Object')
0 files changed, 0 insertions, 0 deletions