feat: allow to yield cycles obtained through direct request

FF-A v1.2 spec allows an endpoint context to yield CPU cycles
obtained through FFA_MSG_SEND_DIRECT_REQ.

Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
Change-Id: I44d0c9a4435507a7dd90545c412122d8ac0b2b1c
diff --git a/inc/hf/api.h b/inc/hf/api.h
index c356734..f3b8eea 100644
--- a/inc/hf/api.h
+++ b/inc/hf/api.h
@@ -20,6 +20,8 @@
 void api_regs_state_saved(struct vcpu *vcpu);
 int64_t api_mailbox_writable_get(const struct vcpu *current);
 int64_t api_mailbox_waiter_get(ffa_vm_id_t vm_id, const struct vcpu *current);
+struct vcpu *api_switch_to_vm(struct vcpu *current, struct ffa_value to_ret,
+			      enum vcpu_state vcpu_state, ffa_vm_id_t to_id);
 struct vcpu *api_switch_to_primary(struct vcpu *current,
 				   struct ffa_value primary_ret,
 				   enum vcpu_state secondary_state);