feat(runtime/rmi): implement RMI_PDEV_ABORT
Abort device communication associated with a PDEV. The pending device
communication command is resumed and the recv callback handler aborts
the command. This call the CMA SPDM layer to do the CMA SPDM command
specific cleanup.
Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com>
Change-Id: Ic151ae8af1b13164a59171583e5ed021ef55808d
diff --git a/runtime/core/handler.c b/runtime/core/handler.c
index 24947e1..140a746 100644
--- a/runtime/core/handler.c
+++ b/runtime/core/handler.c
@@ -161,7 +161,7 @@
HANDLER(RTT_SET_RIPAS, 4, 1, smc_rtt_set_ripas, false, true),
HANDLER(DEV_MEM_MAP, 4, 0, smc_dev_mem_map, false, true),
HANDLER(DEV_MEM_UNMAP, 3, 2, smc_dev_mem_unmap, false, true),
- HANDLER(PDEV_ABORT, 0, 0, NULL, true, true),
+ HANDLER(PDEV_ABORT, 1, 0, smc_pdev_abort, true, true),
HANDLER(PDEV_COMMUNICATE, 2, 0, smc_pdev_communicate, true, true),
HANDLER(PDEV_CREATE, 2, 0, smc_pdev_create, true, true),
HANDLER(PDEV_DESTROY, 1, 0, smc_pdev_destroy, true, true),