summaryrefslogtreecommitdiffstats
path: root/src/include/usr/initservice
diff options
context:
space:
mode:
authorMatt Ploetz <maploetz@us.ibm.com>2016-04-12 11:31:23 -0500
committerMatthew A. Ploetz <maploetz@us.ibm.com>2016-05-11 12:12:30 -0400
commita2eeea7a4f8441d241251e1411735302144ca3bf (patch)
tree089bf223ec674cc03610917022360db99b181c68 /src/include/usr/initservice
parent1d150b6e4e679d4c1248e9e49c1d2ccec2483b63 (diff)
downloadblackbird-hostboot-a2eeea7a4f8441d241251e1411735302144ca3bf.tar.gz
blackbird-hostboot-a2eeea7a4f8441d241251e1411735302144ca3bf.zip
Increment reboot count when gard records are written
Change-Id: Iaf9a4d4be19877e564ca1871564467441b472253 CQ:SW347568 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23186 Reviewed-by: A. P. Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24340
Diffstat (limited to 'src/include/usr/initservice')
-rw-r--r--src/include/usr/initservice/istepdispatcherif.H14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/include/usr/initservice/istepdispatcherif.H b/src/include/usr/initservice/istepdispatcherif.H
index bbec9480b..69cebf0a8 100644
--- a/src/include/usr/initservice/istepdispatcherif.H
+++ b/src/include/usr/initservice/istepdispatcherif.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2012,2015 */
+/* Contributors Listed Below - COPYRIGHT 2012,2016 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -79,6 +79,18 @@ bool isShutdownRequested ( void );
*/
void setAcceptIstepMessages ( bool i_accept );
+/**
+ * @brief This function will set a member class variable to state new gard
+ * records have been committed on this boot attempt.
+ *
+ * Gard records being created are an indication of forward progress. Therefore
+ * if a gard record has been created we can issue a reboot that does not count
+ * towards the reboot count limit.
+ *
+ * @return None.
+ */
+void setNewGardRecord ( void );
+
}
#endif
OpenPOWER on IntegriCloud