feat(rmm): use RIPAS/HIPAS EAC 2 definitions
This patch introduces the following changes
as per RMM Specification 1.0-eac2:
- Replaced HIPAS=DESTROYED with RIPAS=DESTROYED;
– Removed RmiRttEntryState::RMI_DESTROYED;
– Changed encoding of RmiRttEntryState::RMI_TABLE;
– Added RmiRipas::RMI_DESTROYED;
- Changed internal format of s2tte from
RIPAS[6] HIPAS[5:2] to RIPAS[6:5] HIPAS[4:2];
- Minor oprimisations in s2tte primitives returning
HIPAS/RIPAS state.
Signed-off-by: AlexeiFedorov <Alexei.Fedorov@arm.com>
Change-Id: Id37844b7a468dc7afccce11d75d7e15411b8e766
diff --git a/lib/realm/include/ripas.h b/lib/realm/include/ripas.h
index 01a56f7..53350c5 100644
--- a/lib/realm/include/ripas.h
+++ b/lib/realm/include/ripas.h
@@ -9,14 +9,14 @@
#include <smc-rmi.h>
/*
- * The RmiRipas enumeration representing realm IPA state.
+ * The RmmRipas enumeration represents realm IPA state.
*
* Map RmmRipas to RmiRipas to simplify code/decode operations.
*/
enum ripas {
RIPAS_EMPTY = RMI_EMPTY, /* Unused IPA for Realm */
RIPAS_RAM = RMI_RAM, /* IPA used for Code/Data by Realm */
- RIPAS_UNDEFINED = RMI_UNDEFINED /* Implied by HIPAS=DESTROYED */
+ RIPAS_DESTROYED = RMI_DESTROYED /* IPA is inaccessible to the Realm */
};
#endif /* RIPAS_H */