summaryrefslogtreecommitdiffstats
path: root/src/include/runtime/interface.h
diff options
context:
space:
mode:
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