aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--external/opal-prd/hostboot-interface.h15
-rw-r--r--external/opal-prd/thunk.S1
2 files changed, 15 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);
};
diff --git a/external/opal-prd/thunk.S b/external/opal-prd/thunk.S
index ee3d7c3..e09cef9 100644
--- a/external/opal-prd/thunk.S
+++ b/external/opal-prd/thunk.S
@@ -100,6 +100,7 @@ call_##name: ;\
CALL_THUNK(reset_pm_complex, 19)
CALL_THUNK(get_ipoll_events, 20)
CALL_THUNK(firmware_notify, 21)
+ CALL_THUNK(prepare_hbrt_update, 22)
.globl call_hbrt_init
call_hbrt_init: