mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-05-09 02:51:21 +00:00
Reduce deep nesting of header files
Reduce the number of header files included from other header files as much as possible without splitting the files. Use forward declarations where possible. This allows removal of some unnecessary "#ifndef __ASSEMBLY__" statements. Also, review the .c and .S files for which header files really need including and reorder the #include statements alphabetically. Fixes ARM-software/tf-issues#31 Change-Id: Iec92fb976334c77453e010b60bcf56f3be72bd3e
This commit is contained in:
parent
fb037bfb7c
commit
97043ac98e
89 changed files with 258 additions and 294 deletions
|
@ -31,18 +31,22 @@
|
|||
#ifndef __BL2_H__
|
||||
#define __BL2_H__
|
||||
|
||||
#include <bl_common.h>
|
||||
|
||||
/******************************************
|
||||
* Data declarations
|
||||
*****************************************/
|
||||
extern unsigned long long bl2_entrypoint;
|
||||
|
||||
/******************************************
|
||||
* Forward declarations
|
||||
*****************************************/
|
||||
struct meminfo;
|
||||
struct bl31_args;
|
||||
|
||||
/******************************************
|
||||
* Function prototypes
|
||||
*****************************************/
|
||||
extern void bl2_platform_setup(void);
|
||||
extern meminfo_t *bl2_plat_sec_mem_layout(void);
|
||||
extern bl31_args_t *bl2_get_bl31_args_ptr(void);
|
||||
extern struct meminfo *bl2_plat_sec_mem_layout(void);
|
||||
extern struct bl31_args *bl2_get_bl31_args_ptr(void);
|
||||
|
||||
#endif /* __BL2_H__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue