feat(rmm): update API of RSI_IPA_STATE_SET command
This patch makes the changes listed below:
- API of RSI_IPA_STATE_SET command is updated as
per RMM Specification 1.0-eac2 by adding "flags"
parameter passed in X4;
- Added "change_destroyed" member in "set_ripas"
structure;
- Removed *rtt_level parameter of realm_ipa_get_ripas()
function, which now returns WALK_FAIL if
the entry does not have a valid ripas value.
- Function handle_rsi_ipa_state_get() always
returns to Realm for all cases of ripas values,
including RIPAS_DESTROYED.
Signed-off-by: AlexeiFedorov <Alexei.Fedorov@arm.com>
Change-Id: I60d9be4aba17819ccd4af69dc8c19434f3b13ae2
diff --git a/runtime/rsi/logger.c b/runtime/rsi/logger.c
index 230c713..c4b5c9e 100644
--- a/runtime/rsi/logger.c
+++ b/runtime/rsi/logger.c
@@ -43,7 +43,7 @@
RSI_FUNCTION(ATTEST_TOKEN_INIT, 9U, 0U), /* 0xC4000194 */
RSI_FUNCTION(ATTEST_TOKEN_CONTINUE, 1U, 1U), /* 0xC4000195 */
RSI_FUNCTION(REALM_CONFIG, 1U, 0U), /* 0xC4000196 */
- RSI_FUNCTION(IPA_STATE_SET, 3U, 1U), /* 0xC4000197 */
+ RSI_FUNCTION(IPA_STATE_SET, 4U, 1U), /* 0xC4000197 */
RSI_FUNCTION(IPA_STATE_GET, 1U, 1U), /* 0xC4000198 */
RSI_FUNCTION(HOST_CALL, 1U, 0U) /* 0xC4000199 */
};