refactor(ff-a): indirect messaging v1.0
The SPMC only supports FF-A indirect messaging v1.1.
However, there is an implementation of FF-A indirect
messaging compliant with FF-A v1.0, for the hypervisor.
Moved implementation of interface FFA_MSG_SEND out of
common areas of code, and placed in the FF-A related,
hypervisor-specific implementation source file.
Change-Id: I9340ce45bda7ea45e2fedbe5e0a1f5c6f4c4b160
Signed-off-by: J-Alves <joao.alves@arm.com>
diff --git a/src/arch/fake/hypervisor/ffa.c b/src/arch/fake/hypervisor/ffa.c
index 34e224a..9ce473d 100644
--- a/src/arch/fake/hypervisor/ffa.c
+++ b/src/arch/fake/hypervisor/ffa.c
@@ -542,3 +542,16 @@
return ffa_error(FFA_INVALID_PARAMETERS);
}
+
+struct ffa_value plat_ffa_msg_send(ffa_vm_id_t sender_vm_id,
+ ffa_vm_id_t receiver_vm_id, uint32_t size,
+ struct vcpu *current, struct vcpu **next)
+{
+ (void)sender_vm_id;
+ (void)receiver_vm_id;
+ (void)size;
+ (void)current;
+ (void)next;
+
+ return ffa_error(FFA_NOT_SUPPORTED);
+}