summaryrefslogtreecommitdiff
path: root/ArmVirtPkg/ArmVirtPkg.dec
diff options
context:
space:
mode:
authorSamer El-Haj-Mahmoud <samer.el-haj-mahmoud@hpe.com>2016-03-30 07:12:51 +0800
committerHao Wu <hao.a.wu@intel.com>2016-03-31 13:08:44 +0800
commit5eae4ff0024318030495838fe50ed34f4c15711a (patch)
treef442dc8bfba09de13aae33ffce307d58e14089e7 /ArmVirtPkg/ArmVirtPkg.dec
parent307a55fa0169ac990efe046b477db9ccac61b2e2 (diff)
downloadedk2-5eae4ff0024318030495838fe50ed34f4c15711a.zip
edk2-5eae4ff0024318030495838fe50ed34f4c15711a.tar.gz
edk2-5eae4ff0024318030495838fe50ed34f4c15711a.tar.bz2
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 'ArmVirtPkg/ArmVirtPkg.dec')
0 files changed, 0 insertions, 0 deletions