summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/hwp/occ/occ_procedures/p8_pm_init.C
diff options
context:
space:
mode:
authorThi Tran <thi@us.ibm.com>2014-02-19 14:05:55 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-02-21 10:52:12 -0600
commit86817c8c9cece2024c595c9781aac69a3ddf9e57 (patch)
tree119e813e2e6f91ceb58f3b7910187f9827a115c4 /src/usr/hwpf/hwp/occ/occ_procedures/p8_pm_init.C
parentf4d566d7f5e11db454b4ff4487425dd991095ed9 (diff)
downloadtalos-hostboot-86817c8c9cece2024c595c9781aac69a3ddf9e57.tar.gz
talos-hostboot-86817c8c9cece2024c595c9781aac69a3ddf9e57.zip
INITPROC: Hostboot SW247747 PCBS FSM & Global Xstop/Recoverable Tracing
Change-Id: I3dc94c6c6064c112c08857f816bb234e3dc34535 CQ:SW247747 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/9002 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/hwp/occ/occ_procedures/p8_pm_init.C')
-rw-r--r--src/usr/hwpf/hwp/occ/occ_procedures/p8_pm_init.C26
1 files changed, 16 insertions, 10 deletions
diff --git a/src/usr/hwpf/hwp/occ/occ_procedures/p8_pm_init.C b/src/usr/hwpf/hwp/occ/occ_procedures/p8_pm_init.C
index 9034b3751..12c273e40 100644
--- a/src/usr/hwpf/hwp/occ/occ_procedures/p8_pm_init.C
+++ b/src/usr/hwpf/hwp/occ/occ_procedures/p8_pm_init.C
@@ -20,8 +20,8 @@
/* Origin: 30 */
/* */
/* IBM_PROLOG_END_TAG */
-// $Id: p8_pm_init.C,v 1.23 2013/12/03 19:42:40 stillgs Exp $
-// $Source: /archive/shadow/ekb/.cvsroot/eclipz/chips/p8/working/procedures/ipl/fapi/p8_pm_init.C,v $
+// $Id: p8_pm_init.C,v 1.24 2014/02/17 02:57:00 stillgs Exp $
+// $Source: /afs/awd/projects/eclipz/KnowledgeBase/.cvsroot/eclipz/chips/p8/working/procedures/ipl/fapi/p8_pm_init.C,v $
//------------------------------------------------------------------------------
// *! (C) Copyright International Business Machines Corp. 2011
// *! All Rights Reserved -- Property of IBM
@@ -42,19 +42,16 @@
// *! Procedure Prereq:
// *! o System clocks are running
// *!
+// *| buildfapiprcd -C p8_pm_utils.C p8_pm_init.C
//------------------------------------------------------------------------------
///
/// \version -------------------------------------------------------------------
/// \version 1.0 stillgs 2012/03/06 Initial Version
/// \version -------------------------------------------------------------------
///
-///
-/// \todo Review
-///
+/// \verbatim
///
/// High-level procedure flow:
-///
-/// \verbatim
/// - call p8_pm_prep_for_reset to prepare and perform getting the PM function
/// able to be be (re)initialized
///
@@ -93,6 +90,7 @@
// ----------------------------------------------------------------------
#include "p8_pm.H"
+#include "p8_pm_utils.H"
#include "p8_pm_init.H"
#include "p8_pm_prep_for_reset.H"
@@ -112,14 +110,12 @@ using namespace fapi;
// Function prototypes
// ----------------------------------------------------------------------
-// ----------------------------------------------------------------------
-// Function definitions
-// ----------------------------------------------------------------------
fapi::ReturnCode
pm_list(const Target& i_target, const Target& i_target2, uint32_t i_mode);
fapi::ReturnCode
clear_occ_special_wakeups (const fapi::Target &i_target);
+
// ----------------------------------------------------------------------
// p8_pm_init
@@ -585,7 +581,16 @@ pm_list(const Target& i_target, const Target& i_target2, uint32_t i_mode)
break;
}
}
+
} // PM_INIT special stuff
+
+ // Check for xstops and recoverables
+ rc = p8_pm_glob_fir_trace (i_target, "end of p8_pm_init_list");
+ if (!rc.ok())
+ {
+ break;
+ }
+
} while(0);
FAPI_INF("p8_pm_list end in mode %s", PM_MODE_NAME(i_mode));
@@ -660,3 +665,4 @@ clear_occ_special_wakeups (const fapi::Target &i_target)
} //end extern C
+
OpenPOWER on IntegriCloud