feat(runtime/core): add RMI_RTT_UNMAP_UNPROTECTED logging
This patch adds logging for RMI_RTT_UNMAP_UNPROTECTED
command's 'top' output value in case of RMI_ERROR_RTT
return status.
Change-Id: Iaf8b4f67208494ba446ed6b18f31e05722c5b998
Signed-off-by: AlexeiFedorov <Alexei.Fedorov@arm.com>
diff --git a/runtime/core/handler.c b/runtime/core/handler.c
index 7d306d0..bdbafbe 100644
--- a/runtime/core/handler.c
+++ b/runtime/core/handler.c
@@ -215,8 +215,9 @@
if ((rc.status == RMI_SUCCESS) ||
((rc.status == RMI_ERROR_RTT) &&
- ((function_id == SMC_RMI_RTT_DESTROY) ||
- (function_id == SMC_RMI_DATA_DESTROY)))) {
+ ((function_id == SMC_RMI_RTT_DESTROY) ||
+ (function_id == SMC_RMI_DATA_DESTROY) ||
+ (function_id == SMC_RMI_RTT_UNMAP_UNPROTECTED)))) {
/* Print output values */
num = ((unsigned int)handler->type >> 8) & 0xFFU;
assert(num <= MAX_NUM_OUTPUT_VALS);