refactor(indirect message): mailbox state as per FF-A v1.1
The maibox_state structure was refactored to represent
the mailbox state, and achieve ownership rules as defined by
the FF-A v1.1 specification.
The code was changed to reflect the new state transitions.
Kept compatibility with FF-A v1.0 indirect messaging to avoid
breaking legacy tests.
Change-Id: I1f2353f97d5d46436a3f81b5abf4a032f43745e8
Signed-off-by: J-Alves <joao.alves@arm.com>
diff --git a/src/arch/aarch64/hypervisor/handler.c b/src/arch/aarch64/hypervisor/handler.c
index f38c571..ea149a8 100644
--- a/src/arch/aarch64/hypervisor/handler.c
+++ b/src/arch/aarch64/hypervisor/handler.c
@@ -562,7 +562,7 @@
current->vm->ffa_version);
return true;
case FFA_RX_RELEASE_32:
- *args = api_ffa_rx_release(ffa_receiver(*args), current, next);
+ *args = api_ffa_rx_release(ffa_receiver(*args), current);
return true;
case FFA_RXTX_MAP_64:
*args = api_ffa_rxtx_map(ipa_init(args->arg1),