summaryrefslogtreecommitdiffstats
path: root/src/include/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/kernel')
-rw-r--r--src/include/kernel/misc.H15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/include/kernel/misc.H b/src/include/kernel/misc.H
index a7e40356d..19427c399 100644
--- a/src/include/kernel/misc.H
+++ b/src/include/kernel/misc.H
@@ -50,6 +50,21 @@ namespace KernelMisc
/** @brief master host boot instance number (node) */
extern uint64_t g_masterHBInstance;
+ /** @brief Indicate whether HB is running or not */
+ enum HbRunning
+ {
+ HB_RUNNING = 0,
+ HB_SHUTDOWN = 1,
+ };
+
+ /** @fn setHbScratchStatus
+ * @brief Set scratch register indicating HB running status
+ *
+ * @param i_status Indicates whether to say HB is running or shutdown
+ * @return void
+ */
+ void setHbScratchStatus(enum HbRunning i_status);
+
/** @fn in_kernel_mode
* @brief Determine if the code is currently in kernel mode or not.
*
OpenPOWER on IntegriCloud