refactor(ff-a): replace `plat_ffa_` prefix for public functions
Replace `plat_ffa_` prefix with `ffa_{file_name}_` prefix. Only do so
for public functions to avoid unnecessary churn (private functions are
renamed in the next commit).
Change-Id: I847c218f134a2519a45a3af1d6c4b953db9c1cbb
Signed-off-by: Karl Meakin <karl.meakin@arm.com>
diff --git a/inc/hf/ffa/cpu_cycles.h b/inc/hf/ffa/cpu_cycles.h
index ab54638..56f50e0 100644
--- a/inc/hf/ffa/cpu_cycles.h
+++ b/inc/hf/ffa/cpu_cycles.h
@@ -46,5 +46,6 @@
uint32_t timeout_low,
uint32_t timeout_high);
-struct ffa_value plat_ffa_error_32(struct vcpu *current, struct vcpu **next,
- enum ffa_error error_code);
+struct ffa_value ffa_cpu_cycles_error_32(struct vcpu *current,
+ struct vcpu **next,
+ enum ffa_error error_code);
diff --git a/inc/hf/ffa/direct_messaging.h b/inc/hf/ffa/direct_messaging.h
index 968a2e9..b103112 100644
--- a/inc/hf/ffa/direct_messaging.h
+++ b/inc/hf/ffa/direct_messaging.h
@@ -36,7 +36,10 @@
void ffa_direct_msg_unwind_call_chain_ffa_direct_resp(
struct vcpu_locked current_locked, struct vcpu_locked next_locked);
-bool plat_ffa_handle_framework_msg(struct ffa_value args,
- struct ffa_value *ret);
+bool ffa_direct_msg_handle_framework_msg(struct ffa_value args,
+ struct ffa_value *ret);
-bool plat_ffa_is_spmd_lp_id(ffa_id_t vm_id);
+bool ffa_direct_msg_precedes_in_call_chain(struct vcpu_locked current_locked,
+ struct vcpu_locked target_locked);
+
+bool ffa_direct_msg_is_spmd_lp_id(ffa_id_t vm_id);
diff --git a/inc/hf/ffa/init.h b/inc/hf/ffa/init.h
index 5fef405..a521c51 100644
--- a/inc/hf/ffa/init.h
+++ b/inc/hf/ffa/init.h
@@ -10,8 +10,8 @@
#include "hf/mpool.h"
-void plat_ffa_log_init(void);
-void plat_ffa_init(struct mpool *ppool);
+void ffa_init_log(void);
+void ffa_init(struct mpool *ppool);
-bool plat_ffa_is_tee_enabled(void);
-void plat_ffa_set_tee_enabled(bool tee_enabled);
+bool ffa_init_is_tee_enabled(void);
+void ffa_init_set_tee_enabled(bool tee_enabled);
diff --git a/inc/hf/ffa/interrupts.h b/inc/hf/ffa/interrupts.h
index 398585d..a786114 100644
--- a/inc/hf/ffa/interrupts.h
+++ b/inc/hf/ffa/interrupts.h
@@ -30,7 +30,8 @@
void ffa_interrupts_enable_virtual_interrupts(struct vcpu_locked current_locked,
struct vm_locked vm_locked);
-
+void ffa_interrupts_mask(struct vcpu_locked receiver_vcpu_locked);
+void ffa_interrupts_unmask(struct vcpu *current);
/**
* Reconfigure the interrupt belonging to the current partition at runtime.
*/