Commit c0267cc9 authored by Olivier Deprez's avatar Olivier Deprez Committed by Max Shvetsov
Browse files

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: default avatarOlivier Deprez <olivier.deprez@arm.com>
parent 1566bc3e
...@@ -51,6 +51,14 @@ spmd_spm_core_context_t *spmd_get_context(void) ...@@ -51,6 +51,14 @@ spmd_spm_core_context_t *spmd_get_context(void)
return &spm_core_context[linear_id]; 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. * Static function declaration.
******************************************************************************/ ******************************************************************************/
......
...@@ -65,6 +65,9 @@ __dead2 void spmd_spm_core_sync_exit(uint64_t rc); ...@@ -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); 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); 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 */ /* SPMC context on current CPU get helper */
spmd_spm_core_context_t *spmd_get_context(void); spmd_spm_core_context_t *spmd_get_context(void);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment