mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-30 07:39:24 +00:00
context_mgmt: declare extern cm_set_next_context() for AArch32
This change avoids warning when setting -Wmissing-prototypes to compile bl1_context_mgmt.c. Reported-by: Yann Gautier <yann.gautier@st.com> Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
This commit is contained in:
parent
550740833d
commit
2ed7b71e43
2 changed files with 1 additions and 2 deletions
|
@ -52,8 +52,6 @@ static unsigned int sec_exec_image_id = INVALID_IMAGE_ID;
|
||||||
/* Authentication status of each image. */
|
/* Authentication status of each image. */
|
||||||
extern unsigned int auth_img_flags[];
|
extern unsigned int auth_img_flags[];
|
||||||
|
|
||||||
void cm_set_next_context(void *cpu_context);
|
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Top level handler for servicing FWU SMCs.
|
* Top level handler for servicing FWU SMCs.
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
|
@ -86,6 +86,7 @@ static inline void cm_set_next_context(void *context)
|
||||||
|
|
||||||
#else
|
#else
|
||||||
void *cm_get_next_context(void);
|
void *cm_get_next_context(void);
|
||||||
|
void cm_set_next_context(void *context);
|
||||||
#endif /* AARCH32 */
|
#endif /* AARCH32 */
|
||||||
|
|
||||||
#endif /* __CM_H__ */
|
#endif /* __CM_H__ */
|
||||||
|
|
Loading…
Add table
Reference in a new issue