summaryrefslogtreecommitdiffstats
path: root/src/kernel
diff options
context:
space:
mode:
authoraalugore <aalugore@us.ibm.com>2015-10-16 15:54:09 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-10-28 21:14:01 -0500
commit4a4ade353f2a665bc39e6032495f6ed9a9745236 (patch)
treef0c175642f8128c36083255812334031de2f8c15 /src/kernel
parent3d02c5bf91e7bd6292c4648e1f58efbdffe8821c (diff)
downloadblackbird-hostboot-4a4ade353f2a665bc39e6032495f6ed9a9745236.tar.gz
blackbird-hostboot-4a4ade353f2a665bc39e6032495f6ed9a9745236.zip
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 <wghoffa@us.ibm.com> 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 <brianh@linux.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/misc.C9
1 files changed, 8 insertions, 1 deletions
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<uint64_t>(endAddr) -
reinterpret_cast<uint64_t>(startAddr)) / PAGESIZE;
OpenPOWER on IntegriCloud