FF-A: secondary EC cold boot
When the SPMC boots, all Secure Partitions are initialized
on their primary Execution Context. A Secure Partition calls
FFA_SECONDARY_EP_REGISTER at virtual FF-A instance from
its first EC passing the entry point address for secondary
ECs. A secondary EC is first resumed either upon invocation
of PSCI_CPU_ON from the NWd to which a SP is registered
(currently the first SP) or by ffa_run invocation.
Change-Id: Ic6050af16d4081ca31729744995fbb999b170e11
Signed-off-by: Max Shvetsov <maksims.svecovs@arm.com>
Signed-off-by: Olivier Deprez <olivier.deprez@arm.com>
diff --git a/inc/hf/api.h b/inc/hf/api.h
index a28c1d0..e72d3cd 100644
--- a/inc/hf/api.h
+++ b/inc/hf/api.h
@@ -84,3 +84,5 @@
struct ffa_value args,
struct vcpu *current,
struct vcpu **next);
+struct ffa_value api_ffa_secondary_ep_register(ipaddr_t entry_point,
+ struct vcpu *current);