refactor: forward ABI to secure world
Forward FFA_PARTITION_INFO_GET_REGS from normal world to secure world to
get information for all partitions. With this patch, normal world
partitions can get information for SPs as well.
Signed-off-by: Raghu Krishnamurthy <raghu.ncstate@gmail.com>
Change-Id: Id4f51d72f4c97d40ca15101ad9df616f75999cce
diff --git a/src/arch/fake/hypervisor/ffa.c b/src/arch/fake/hypervisor/ffa.c
index 9ce473d..b6a6a1a 100644
--- a/src/arch/fake/hypervisor/ffa.c
+++ b/src/arch/fake/hypervisor/ffa.c
@@ -393,6 +393,22 @@
return false;
}
+bool plat_ffa_partition_info_get_regs_forward( // NOLINTNEXTLINE
+ const struct ffa_uuid *uuid,
+ const uint16_t start_index, // NOLINTNEXTLINE
+ const uint16_t tag,
+ struct ffa_partition_info *partitions, // NOLINTNEXTLINE
+ uint16_t partitions_len, ffa_vm_count_t *ret_count)
+{
+ (void)uuid;
+ (void)start_index;
+ (void)tag;
+ (void)partitions;
+ (void)partitions_len;
+ (void)ret_count;
+ return true;
+}
+
void plat_ffa_partition_info_get_forward( // NOLINTNEXTLINE
const struct ffa_uuid *uuid, // NOLINTNEXTLINE
const uint32_t flags, // NOLINTNEXTLINE