summaryrefslogtreecommitdiffstats
path: root/src/sbefw/app/power/sbecmdcntlinst.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/sbefw/app/power/sbecmdcntlinst.H')
-rw-r--r--src/sbefw/app/power/sbecmdcntlinst.H12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/sbefw/app/power/sbecmdcntlinst.H b/src/sbefw/app/power/sbecmdcntlinst.H
index b962d59c..031da3ad 100644
--- a/src/sbefw/app/power/sbecmdcntlinst.H
+++ b/src/sbefw/app/power/sbecmdcntlinst.H
@@ -5,7 +5,8 @@
/* */
/* OpenPOWER sbe Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2016,2018 */
+/* Contributors Listed Below - COPYRIGHT 2016,2019 */
+/* [+] International Business Machines Corp. */
/* */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
@@ -32,13 +33,20 @@
#define __SBEFW_SBECMDCNTLINST_H
#include <stdint.h>
-
+#include "fapi2.H"
// This is used to find out the array index in g_control_reg_map in
// p9_thread_control.C
static const uint8_t SINGLE_THREAD_BIT_MASK = 0x08;
/**
+ * @brief stopAllCoreInstructions Stop all core instructions function
+ *
+ * @return Rc from the FAPI access utility
+ */
+fapi2::ReturnCode stopAllCoreInstructions( );
+
+/**
* @brief sbeCntlInst : Implements SBE Control instructions ChipOp
*
* @param[in] i_pArg Buffer to be passed to the function (not used as of now)
OpenPOWER on IntegriCloud