]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c
MdeModulePkg/PeiCore: Fix the debug info of PEI temp heap length
authorCinnamon Shia <cinnamon.shia@hpe.com>
Thu, 28 Jan 2016 08:08:57 +0000 (08:08 +0000)
committerlzeng14 <lzeng14@Edk2>
Thu, 28 Jan 2016 08:08:57 +0000 (08:08 +0000)
commitd7bd924f3dc01687cf7a35bf1ec41e9d0e45b49e
tree3291237e031674ad191da1ca1b16c29533599221
parentf0ab5a81b46b9bf0a8a4234782e70cb941d91f47
MdeModulePkg/PeiCore: Fix the debug info of PEI temp heap length

(HandoffInformationTable->EfiFreeMemoryBottom - Private->HobList.Raw)
is the PEI temp heap used instead of the length of PEI temp heap.

The length of PEI temp heap should be:
(HandoffInformationTable->EfiFreeMemoryTop - Private->HobList.Raw)

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Cinnamon Shia <cinnamon.shia@hpe.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19762 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c