Fix MISRA rule 8.3 Part 3
Rule 8.3: All declarations of an object or function shall use the same names and type qualifiers Fixed for: make DEBUG=1 PLAT=fvp SPD=tspd all Change-Id: I4e31c93d502d433806dfc521479d5d428468b37c Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
This commit is contained in:
parent
f37704bcfb
commit
a27163bc70
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2014, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2014-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -62,7 +62,7 @@ CASSERT(TSP_ARGS_SIZE == sizeof(tsp_args_t), assert_sp_args_size_mismatch);
|
||||||
|
|
||||||
void tsp_get_magic(uint64_t args[4]);
|
void tsp_get_magic(uint64_t args[4]);
|
||||||
|
|
||||||
tsp_args_t *tsp_cpu_resume_main(uint64_t arg0,
|
tsp_args_t *tsp_cpu_resume_main(uint64_t max_off_pwrlvl,
|
||||||
uint64_t arg1,
|
uint64_t arg1,
|
||||||
uint64_t arg2,
|
uint64_t arg2,
|
||||||
uint64_t arg3,
|
uint64_t arg3,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2013-2017, ARM Limited and Contributors. All rights reserved.
|
* Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -206,7 +206,7 @@ extern const spd_pm_ops_t tspd_pm;
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Forward declarations
|
* Forward declarations
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
struct tsp_vectors;
|
typedef struct tsp_vectors tsp_vectors_t;
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Function & Data prototypes
|
* Function & Data prototypes
|
||||||
|
@ -215,14 +215,14 @@ uint64_t tspd_enter_sp(uint64_t *c_rt_ctx);
|
||||||
void __dead2 tspd_exit_sp(uint64_t c_rt_ctx, uint64_t ret);
|
void __dead2 tspd_exit_sp(uint64_t c_rt_ctx, uint64_t ret);
|
||||||
uint64_t tspd_synchronous_sp_entry(tsp_context_t *tsp_ctx);
|
uint64_t tspd_synchronous_sp_entry(tsp_context_t *tsp_ctx);
|
||||||
void __dead2 tspd_synchronous_sp_exit(tsp_context_t *tsp_ctx, uint64_t ret);
|
void __dead2 tspd_synchronous_sp_exit(tsp_context_t *tsp_ctx, uint64_t ret);
|
||||||
void tspd_init_tsp_ep_state(struct entry_point_info *tsp_ep,
|
void tspd_init_tsp_ep_state(struct entry_point_info *tsp_entry_point,
|
||||||
uint32_t rw,
|
uint32_t rw,
|
||||||
uint64_t pc,
|
uint64_t pc,
|
||||||
tsp_context_t *tsp_ctx);
|
tsp_context_t *tsp_ctx);
|
||||||
int tspd_abort_preempted_smc(tsp_context_t *tsp_ctx);
|
int tspd_abort_preempted_smc(tsp_context_t *tsp_ctx);
|
||||||
|
|
||||||
extern tsp_context_t tspd_sp_context[TSPD_CORE_COUNT];
|
extern tsp_context_t tspd_sp_context[TSPD_CORE_COUNT];
|
||||||
extern struct tsp_vectors *tsp_vectors;
|
extern tsp_vectors_t *tsp_vectors;
|
||||||
#endif /*__ASSEMBLY__*/
|
#endif /*__ASSEMBLY__*/
|
||||||
|
|
||||||
#endif /* __TSPD_PRIVATE_H__ */
|
#endif /* __TSPD_PRIVATE_H__ */
|
||||||
|
|
Loading…
Reference in New Issue