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/src/ffa/hypervisor/init.c b/src/ffa/hypervisor/init.c
index 0b53d6a..b87ca54 100644
--- a/src/ffa/hypervisor/init.c
+++ b/src/ffa/hypervisor/init.c
@@ -17,22 +17,22 @@
static bool ffa_tee_enabled = false;
-bool plat_ffa_is_tee_enabled(void)
+bool ffa_init_is_tee_enabled(void)
{
return ffa_tee_enabled;
}
-void plat_ffa_set_tee_enabled(bool tee_enabled)
+void ffa_init_set_tee_enabled(bool tee_enabled)
{
ffa_tee_enabled = tee_enabled;
}
-void plat_ffa_log_init(void)
+void ffa_init_log(void)
{
dlog_info("Initializing Hafnium (Hypervisor)\n");
}
-void plat_ffa_init(struct mpool *ppool)
+void ffa_init(struct mpool *ppool)
{
struct vm *other_world_vm = vm_find(HF_OTHER_WORLD_ID);
struct ffa_value ret;
@@ -51,7 +51,7 @@
(void)ppool;
- if (!plat_ffa_is_tee_enabled()) {
+ if (!ffa_init_is_tee_enabled()) {
return;
}
@@ -95,7 +95,7 @@
pa_from_va(va_from_ptr(other_world_vm->mailbox.send)),
HF_MAILBOX_SIZE / FFA_PAGE_SIZE);
- plat_ffa_set_tee_enabled(true);
+ ffa_init_set_tee_enabled(true);
/*
* Hypervisor will write to secure world receive buffer, and will read