aboutsummaryrefslogtreecommitdiff
path: root/external/opal-prd/hostboot-interface.h
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2017-10-19 21:33:48 -0500
committerStewart Smith <stewart@linux.ibm.com>2018-05-29 14:08:20 +1000
commit55ef0db841a0792f5432753f0efdb9ecb07d6231 (patch)
tree44ebc915d4f006cb778ca89f579c8286bf19760e /external/opal-prd/hostboot-interface.h
parentb4a02f79820b1a7de46b47d9dea39e9014b6a07d (diff)
downloadskiboot-55ef0db841a0792f5432753f0efdb9ecb07d6231.zip
skiboot-55ef0db841a0792f5432753f0efdb9ecb07d6231.tar.gz
skiboot-55ef0db841a0792f5432753f0efdb9ecb07d6231.tar.bz2
Add prepare_hbrt_update to hbrt interfaces
Add placeholder support for prepare_hbrt_update call into hostboot runtime (opal-prd) code. This interface is only called as part of a concurrent code update on a FSP based system. Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'external/opal-prd/hostboot-interface.h')
-rw-r--r--external/opal-prd/hostboot-interface.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/external/opal-prd/hostboot-interface.h b/external/opal-prd/hostboot-interface.h
index 603b767..41ffcbc 100644
--- a/external/opal-prd/hostboot-interface.h
+++ b/external/opal-prd/hostboot-interface.h
@@ -683,6 +683,19 @@ struct runtime_interfaces {
*/
void (*firmware_notify)(uint64_t len, void *data);
+ /**
+ * @brief Prepare for HBRT concurrent code update
+ *
+ * @details This call allows the Host to inform HBRT that a concurrent
+ * code update has been initiated. HBRT then prepares updated targeting
+ * data for use by the updated HBRT code.
+ *
+ * @return 0 on success else return code
+ * @platform FSP
+ */
+ int (*prepare_hbrt_update)( void );
+
+
/* Reserve some space for future growth. */
- void (*reserved[22])(void);
+ void (*reserved[21])(void);
};