From 4a4ade353f2a665bc39e6032495f6ed9a9745236 Mon Sep 17 00:00:00 2001 From: aalugore Date: Fri, 16 Oct 2015 15:54:09 -0500 Subject: Changes to fix ipl-time checkstop FIR collection -Fulfill OCC requirement to be aligned on 1MB boundary -Use temporary memory buffer to hold OCC lid -Small change to how Hostboot loads FIR data to SRAM Change-Id: I561ec89c8e04fe9e820e9e2448a2d5cb26423a3a Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/21293 Reviewed-by: WILLIAM G. HOFFA Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Brian H. Horton Reviewed-by: Daniel M. Crowell Reviewed-by: A. Patrick Williams III --- src/kernel/misc.C | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/kernel') diff --git a/src/kernel/misc.C b/src/kernel/misc.C index ed05c431c..69e235ba0 100644 --- a/src/kernel/misc.C +++ b/src/kernel/misc.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,2015 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -498,6 +500,11 @@ namespace KernelMisc if (startAddr != NULL) { populate_cache_lines(startAddr, endAddr); + // Increment the start address by a page size to make a gap + // in memory that Hostboot will later populate with + // the OCC Bootloader image. + // see src/usr/hwpf/hwp/occ/occ.C::loadnStartAllOccs() + startAddr += PAGESIZE; size_t pages = (reinterpret_cast(endAddr) - reinterpret_cast(startAddr)) / PAGESIZE; -- cgit v1.2.3