Use new SPCI beta function identifiers.
Note that this commit doesn't move to the new style of return values yet,
nor does it follow all the semantics of the new version.
Bug: 132395846
Change-Id: I02f41f2b84cfd9babd37aa5e2aae875da85f949e
diff --git a/src/arch/aarch64/hypervisor/handler.c b/src/arch/aarch64/hypervisor/handler.c
index d896c80..a695938 100644
--- a/src/arch/aarch64/hypervisor/handler.c
+++ b/src/arch/aarch64/hypervisor/handler.c
@@ -303,8 +303,11 @@
case SPCI_MSG_SEND_32:
*ret = api_spci_msg_send(arg1, current(), next);
return true;
- case SPCI_MSG_RECV_32:
- *ret = api_spci_msg_recv(arg1, current(), next);
+ case SPCI_MSG_WAIT_32:
+ *ret = api_spci_msg_recv(true, current(), next);
+ return true;
+ case SPCI_MSG_POLL_32:
+ *ret = api_spci_msg_recv(false, current(), next);
return true;
}