summaryrefslogtreecommitdiffstats
path: root/src/include/runtime/interface.h
diff options
context:
space:
mode:
authorDoug Gilbert <dgilbert@us.ibm.com>2014-02-21 12:17:52 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-03-20 14:41:20 -0500
commitc753ba81874b631e12d42ea70dafb7ffa9a2b253 (patch)
tree890b3b24e57a467508ef0cc2dd2a3eac576346f4 /src/include/runtime/interface.h
parent08559a94f2191465efec85fe9a6da825b7eadf8f (diff)
downloadtalos-hostboot-c753ba81874b631e12d42ea70dafb7ffa9a2b253.tar.gz
talos-hostboot-c753ba81874b631e12d42ea70dafb7ffa9a2b253.zip
Port FAPI code to HBRT
RTC: 96621 Change-Id: I9fa0188796df0dfb73a54c8c2e8581ac65e9f75d Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/9152 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/runtime/interface.h')
-rw-r--r--src/include/runtime/interface.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/runtime/interface.h b/src/include/runtime/interface.h
index dd744a27d..4ff5e0687 100644
--- a/src/include/runtime/interface.h
+++ b/src/include/runtime/interface.h
@@ -116,6 +116,24 @@ typedef struct hostInterfaces
**/
uint64_t (*get_reserved_mem)(const char*);
+ /**
+ * @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
+ * 2=clear all previous forces
+ * @return rc non-zero on error
+ */
+ int (*wakeup)(uint32_t i_core, uint32_t i_mode );
+
+ /**
+ * @brief Delay/sleep for at least the time given
+ * @param[in] seconds
+ * @param[in] nano seconds
+ */
+ void (*nanosleep)(uint64_t i_seconds, uint64_t i_nano_seconds);
+
+
// Reserve some space for future growth.
void (*reserved[32])(void);
OpenPOWER on IntegriCloud