feat: include FFA_MEM_FRAG_* ABIs in ffa_features
According to section 18.2.2.3 of FF-A v1.1 EAC0 specification, an
endpoint can discover support to fragmented memory region descriptors
using the FFA_FEATURES interface, providing the func IDs
FFA_MEM_FRAG_RX and FFA_MEM_FRAG_TX.
Change-Id: I7932b3b8d25f1622579b599fceed7a38d5f17265
Signed-off-by: J-Alves <joao.alves@arm.com>
diff --git a/src/api.c b/src/api.c
index c73e7d3..303b5ab 100644
--- a/src/api.c
+++ b/src/api.c
@@ -2058,7 +2058,7 @@
* if using a feature ID.
*/
if ((feature_function_id & FFA_FEATURES_FUNC_ID_MASK) == 0U &&
- (feature_function_id & ~FFA_FEATURES_FEATURE_ID_MASK) != 0) {
+ (feature_function_id & ~FFA_FEATURES_FEATURE_ID_MASK) != 0U) {
return ffa_error(FFA_NOT_SUPPORTED);
}
@@ -2083,6 +2083,8 @@
case FFA_MEM_RETRIEVE_RESP_32:
case FFA_MEM_RELINQUISH_32:
case FFA_MEM_RECLAIM_32:
+ case FFA_MEM_FRAG_RX_32:
+ case FFA_MEM_FRAG_TX_32:
case FFA_MSG_SEND_DIRECT_RESP_64:
case FFA_MSG_SEND_DIRECT_RESP_32:
case FFA_MSG_SEND_DIRECT_REQ_64: