feat(ff-a): add impdef field to ffa_memory_access

Add impdef field to the endpoint memory access descriptor as
introduced by FF-A v1.2.

Signed-off-by: Daniel Boulby <daniel.boulby@arm.com>
Change-Id: Ieb2808a5b4a8773cb4729c5aa10a6a0223ed8039
diff --git a/include/runtime_services/ffa_helpers.h b/include/runtime_services/ffa_helpers.h
index 3f760fa..ffd7b67 100644
--- a/include/runtime_services/ffa_helpers.h
+++ b/include/runtime_services/ffa_helpers.h
@@ -527,6 +527,10 @@
 /** The maximum number of recipients a memory region may be sent to. */
 #define MAX_MEM_SHARE_RECIPIENTS 1U
 
+struct ffa_memory_access_impdef {
+	uint64_t val[2];
+};
+
 /**
  * This corresponds to table "Endpoint memory access descriptor" of the FFA 1.0
  * specification.
@@ -538,6 +542,8 @@
 	 * an `ffa_composite_memory_region` struct.
 	 */
 	uint32_t composite_memory_region_offset;
+	/* Space for implementation defined information */
+	struct ffa_memory_access_impdef impdef;
 	uint64_t reserved_0;
 };
 
@@ -751,10 +757,11 @@
 					     const uint16_t start_index,
 					     const uint16_t tag);
 
-struct ffa_memory_access ffa_memory_access_init_permissions(
+struct ffa_memory_access ffa_memory_access_init(
 	ffa_id_t receiver_id, enum ffa_data_access data_access,
 	enum ffa_instruction_access instruction_access,
-	ffa_memory_receiver_flags_t flags);
+	ffa_memory_receiver_flags_t flags,
+	struct ffa_memory_access_impdef *impdef);
 
 #endif /* __ASSEMBLY__ */