Skip to content

Commit

Permalink
Fix HBRT reserved memory saving. Need to account for TOC at head.
Browse files Browse the repository at this point in the history
Change-Id: I3d6babdada72a37430f0d8369b843e3edcd515a6
RTC: 171863
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/41722
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
mderkse1 authored and dcrowell77 committed Jun 13, 2017
1 parent ba562c7 commit b925dac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/usr/runtime/populate_hbruntime.C
Expand Up @@ -622,6 +622,8 @@ errlHndl_t fill_RsvMem_hbData(uint64_t & io_start_address,
ALIGN_PAGE(l_hbTOC.entry[l_hbTOC.total_entries].size);
l_hbTOC.total_entries++;

l_totalSectionSize += sizeof(l_hbTOC); // Add 4KB Table of Contents

// Fill in PADDING size
// Now calculate how much padding is needed for 64KB alignment
// of the whole data section
Expand Down

0 comments on commit b925dac

Please sign in to comment.