Implement SPCI_RXTX_MAP to replace hf_vm_configure.
Bug: 132421502
Change-Id: I699f412f5090dead6a4c0dbfdc12f40b5aa8fe20
diff --git a/src/arch/aarch64/hypervisor/handler.c b/src/arch/aarch64/hypervisor/handler.c
index cf98bdb..737ed83 100644
--- a/src/arch/aarch64/hypervisor/handler.c
+++ b/src/arch/aarch64/hypervisor/handler.c
@@ -327,6 +327,11 @@
case SPCI_RX_RELEASE_32:
*args = api_spci_rx_release(current(), next);
return true;
+ case SPCI_RXTX_MAP_32:
+ *args = api_spci_rxtx_map(ipa_init(args->arg1),
+ ipa_init(args->arg2), args->arg3,
+ current(), next);
+ return true;
case SPCI_YIELD_32:
api_yield(current(), next);
@@ -448,11 +453,6 @@
vcpu->regs.r[0] = api_vcpu_get_count(args.arg1, vcpu);
break;
- case HF_VM_CONFIGURE:
- vcpu->regs.r[0] = api_vm_configure(
- ipa_init(args.arg1), ipa_init(args.arg2), vcpu, &next);
- break;
-
case HF_MAILBOX_WRITABLE_GET:
vcpu->regs.r[0] = api_mailbox_writable_get(vcpu);
break;