summaryrefslogtreecommitdiffstats
path: root/src/include/runtime/interface.h
diff options
context:
space:
mode:
authorCorey Swenson <cswenson@us.ibm.com>2016-08-12 10:27:46 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-10-24 10:27:11 -0400
commitc1119f46316546d97d3b9de5f88f88c5df3cca6b (patch)
treed5541a26f8e0511cf4d2ab59770b1e6997500739 /src/include/runtime/interface.h
parent64c297da4009225d915b2afa812e20bbaab80d3d (diff)
downloadtalos-hostboot-c1119f46316546d97d3b9de5f88f88c5df3cca6b.tar.gz
talos-hostboot-c1119f46316546d97d3b9de5f88f88c5df3cca6b.zip
Special wakeup updates for P9
Change-Id: Id60773a1a84ee856265e451925b7f7c8c15a8af1 RTC:132413 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29665 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/runtime/interface.h')
-rw-r--r--src/include/runtime/interface.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/include/runtime/interface.h b/src/include/runtime/interface.h
index d03ff0fae..a697c62af 100644
--- a/src/include/runtime/interface.h
+++ b/src/include/runtime/interface.h
@@ -99,6 +99,14 @@ enum MemoryError_t
#define HBRT_PM_LOAD 0
#define HBRT_PM_RELOAD 1
+/**
+ * Wakeup mode for the wakeup() interface
+ * HBRT_WKUP_FORCE_AWAKE: force a core awake
+ * HBRT_WKUP_CLEAR_FORCE: clear a previous force
+ */
+#define HBRT_WKUP_FORCE_AWAKE 0
+#define HBRT_WKUP_CLEAR_FORCE 1
+
/** @typedef hostInterfaces_t
* @brief Interfaces provided by the underlying environment (ex. Sapphire).
*
@@ -221,8 +229,8 @@ typedef struct hostInterfaces
/**
* @brief Force a core to be awake, or clear the force
* @param[in] i_core Core to wake (based on devtree defn)
- * @param[in] i_mode 0=force awake
- * 1=clear force
+ * @param[in] i_mode HBRT_WKUP_FORCE_AWAKE
+ * HBRT_WKUP_CLEAR_FORCE
* @return non-zero return code on error
* @platform FSP, OpenPOWER
*/
OpenPOWER on IntegriCloud