feat(ff-a): discover el3 spmd logical partitions
This patch enables the SPMC to forward the FFA_PARTITION_INFO_GET_REGS
abi call to the SPMD to discover EL3 SPMD logical partitions. The call
is forwarded only when it originates from a secure partition and not
from the normal world.
Signed-off-by: Raghu Krishnamurthy <raghu.ncstate@gmail.com>
Change-Id: I0efeefdd454ce6fddffbcb4b0316dcd573531a05
diff --git a/inc/hf/api.h b/inc/hf/api.h
index b0dd520..ae44182 100644
--- a/inc/hf/api.h
+++ b/inc/hf/api.h
@@ -71,6 +71,10 @@
struct ffa_value api_ffa_partition_info_get(struct vcpu *current,
const struct ffa_uuid *uuid,
const uint32_t flags);
+bool api_ffa_fill_partition_info_from_regs(
+ struct ffa_value ret, uint16_t start_index,
+ struct ffa_partition_info *partitions, uint16_t partitions_len,
+ ffa_vm_count_t *ret_count);
struct ffa_value api_ffa_partition_info_get_regs(struct vcpu *current,
const struct ffa_uuid *uuid,
const uint16_t start_index,