Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 5eae4ff0024318030495838fe50ed34f4c15711a
      
https://github.com/tianocore/edk2/commit/5eae4ff0024318030495838fe50ed34f4c15711a
  Author: Samer El-Haj-Mahmoud <samer.el-haj-mahm...@hpe.com>
  Date:   2016-03-31 (Thu, 31 Mar 2016)

  Changed paths:
    M MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskImpl.c
    M MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskProtocol.c

  Log Message:
  -----------
  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 <el...@hpe.com>
Signed-off-by: Tapan Shah <tapands...@hpe.com>
Signed-off-by: Hao Wu <hao.a...@intel.com>
Reviewed-by: Hao Wu <hao.a...@intel.com>
Reviewed-by: Tapan Shah <tapands...@hpe.com>


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to