SPMD: entry point info get helper
This patch provides a helper to get the entry_point_info structure used by the boot CPU as it is used to initialise the SPMC context on secondary CPUs. Change-Id: I99087dc7a86a7258e545d24a2ff06aa25170f00c Signed-off-by: Olivier Deprez <olivier.deprez@arm.com>
This commit is contained in:
parent
1566bc3e53
commit
c0267cc994
|
@ -51,6 +51,14 @@ spmd_spm_core_context_t *spmd_get_context(void)
|
|||
return &spm_core_context[linear_id];
|
||||
}
|
||||
|
||||
/*******************************************************************************
|
||||
* SPM Core entry point information get helper.
|
||||
******************************************************************************/
|
||||
entry_point_info_t *spmd_spmc_ep_info_get(void)
|
||||
{
|
||||
return spmc_ep_info;
|
||||
}
|
||||
|
||||
/*******************************************************************************
|
||||
* Static function declaration.
|
||||
******************************************************************************/
|
||||
|
|
|
@ -65,6 +65,9 @@ __dead2 void spmd_spm_core_sync_exit(uint64_t rc);
|
|||
uint64_t spmd_spm_core_enter(uint64_t *c_rt_ctx);
|
||||
void __dead2 spmd_spm_core_exit(uint64_t c_rt_ctx, uint64_t ret);
|
||||
|
||||
/* SPMC entry point information helper */
|
||||
entry_point_info_t *spmd_spmc_ep_info_get(void);
|
||||
|
||||
/* SPMC context on current CPU get helper */
|
||||
spmd_spm_core_context_t *spmd_get_context(void);
|
||||
|
||||
|
|
Loading…
Reference in New Issue