summaryrefslogtreecommitdiffstats
path: root/src/include/runtime/interface.h
diff options
context:
space:
mode:
authorDoug Gilbert <dgilbert@us.ibm.com>2013-09-16 16:13:27 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-10-17 11:26:40 -0500
commit498291a1a22d35ffb27ba7d6665d9cec22d8d98e (patch)
treecd4d2efcff399b2a91858f56e6a6654d91513c21 /src/include/runtime/interface.h
parent25a68ad9643b83001dbe80120f854221e65e9585 (diff)
downloadtalos-hostboot-498291a1a22d35ffb27ba7d6665d9cec22d8d98e.tar.gz
talos-hostboot-498291a1a22d35ffb27ba7d6665d9cec22d8d98e.zip
Hostboot runtime scom support
RTC: 79407 RTC: 79406 Change-Id: I8cbf1f21e8e9e205eb0130ce96187619647cf486 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6350 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.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/runtime/interface.h b/src/include/runtime/interface.h
index 082f2440c..7dd49d202 100644
--- a/src/include/runtime/interface.h
+++ b/src/include/runtime/interface.h
@@ -67,6 +67,22 @@ typedef struct hostInterfaces
*/
int (*sendErrorLog)(uint32_t,uint32_t,void *);
+ /** Scan communication read
+ * @param[in] chip_id (based on devtree defn)
+ * @param[in] address
+ * @param[in] pointer to 8-byte data buffer
+ * @return 0 on success else return code
+ */
+ int (*scom_read)(uint32_t, uint32_t, void*);
+
+ /** Scan communication write
+ * @param[in] chip_id (based on devtree defn)
+ * @param[in] address
+ * @param[in] pointer to 8-byte data buffer
+ * @return 0 on success else return code
+ */
+ int (*scom_write)(uint32_t, uint32_t, void* );
+
} hostInterfaces_t;
typedef struct runtimeInterfaces
OpenPOWER on IntegriCloud