diff options
| author | Andrew Geissler <andrewg@us.ibm.com> | 2014-02-27 15:42:27 -0600 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-03-13 15:53:08 -0500 |
| commit | 7c6a8ba7eda448b90c9e2753d18a3abbbba4accd (patch) | |
| tree | 321c99ffead916520168d98a7948cea596c52ce1 /src/kernel/kernel.C | |
| parent | 6279c2d6b6938e63243558ce60184fa3725113bb (diff) | |
| download | blackbird-hostboot-7c6a8ba7eda448b90c9e2753d18a3abbbba4accd.tar.gz blackbird-hostboot-7c6a8ba7eda448b90c9e2753d18a3abbbba4accd.zip | |
Use new scratch reg for hb_done and set early in IPL
This is to support using the scratch register for the power off
message. I moved to a new scratch register since we were sharing
with a SBE scratch reg that was needed early in HB IPL.
NOTE! This will have a co-req with an FSP track so we'll need to
coordinate.
CMVC-Coreq: 917527
Change-Id: I5f81f15126d6ad8d2c9459c5afe730554256c037
RTC: 95818
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/9220
Tested-by: Jenkins Server
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/kernel/kernel.C')
| -rw-r--r-- | src/kernel/kernel.C | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kernel/kernel.C b/src/kernel/kernel.C index 1f5770280..291e95553 100644 --- a/src/kernel/kernel.C +++ b/src/kernel/kernel.C @@ -34,6 +34,7 @@ #include <kernel/timemgr.H> #include <sys/vfs.h> #include <kernel/deferred.H> +#include <kernel/misc.H> #include <stdlib.h> @@ -66,6 +67,9 @@ int main() kernel.memBootstrap(); kernel.cpuBootstrap(); + // Let FSP/BMC know that Hostboot is now running + KernelMisc::setHbScratchStatus(KernelMisc::HB_RUNNING); + kernel.inittaskBootstrap(); // Ready to let the other CPUs go. |

