Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
9d068f66
Unverified
Commit
9d068f66
authored
6 years ago
by
Antonio Niño Díaz
Committed by
GitHub
6 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #1673 from antonio-nino-diaz-arm/an/headers
Standardise header guards across codebase
parents
f5ae1b0e
c3cf06f1
master
v2.5
v2.5-rc1
v2.5-rc0
v2.4
v2.4-rc2
v2.4-rc1
v2.4-rc0
v2.3
v2.3-rc2
v2.3-rc1
v2.3-rc0
v2.2
v2.2-rc2
v2.2-rc1
v2.2-rc0
v2.1
v2.1-rc1
v2.1-rc0
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
508
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
include/bl2u/bl2u.h
+3
-3
include/bl2u/bl2u.h
include/bl31/bl31.h
+3
-3
include/bl31/bl31.h
include/bl31/ea_handle.h
+3
-3
include/bl31/ea_handle.h
include/bl31/interrupt_mgmt.h
+3
-3
include/bl31/interrupt_mgmt.h
include/bl32/payloads/tlk.h
+3
-3
include/bl32/payloads/tlk.h
include/bl32/sp_min/platform_sp_min.h
+5
-3
include/bl32/sp_min/platform_sp_min.h
include/bl32/tsp/platform_tsp.h
+3
-6
include/bl32/tsp/platform_tsp.h
include/bl32/tsp/tsp.h
+3
-3
include/bl32/tsp/tsp.h
include/common/aarch32/asm_macros.S
+3
-3
include/common/aarch32/asm_macros.S
include/common/aarch32/assert_macros.S
+3
-3
include/common/aarch32/assert_macros.S
include/common/aarch32/console_macros.S
+3
-3
include/common/aarch32/console_macros.S
include/common/aarch32/el3_common_macros.S
+3
-3
include/common/aarch32/el3_common_macros.S
include/common/aarch64/asm_macros.S
+3
-3
include/common/aarch64/asm_macros.S
include/common/aarch64/assert_macros.S
+3
-3
include/common/aarch64/assert_macros.S
include/common/aarch64/console_macros.S
+4
-3
include/common/aarch64/console_macros.S
include/common/aarch64/el3_common_macros.S
+3
-3
include/common/aarch64/el3_common_macros.S
include/common/asm_macros_common.S
+3
-3
include/common/asm_macros_common.S
include/common/bl_common.h
+3
-3
include/common/bl_common.h
include/common/desc_image_load.h
+3
-3
include/common/desc_image_load.h
include/common/ep_info.h
+3
-4
include/common/ep_info.h
with
63 additions
and
64 deletions
+63
-64
include/bl2u/bl2u.h
View file @
9d068f66
...
...
@@ -4,9 +4,9 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef BL2_H
__
#define BL2_H
__
#ifndef BL2
U
_H
#define BL2
U
_H
void
bl2u_main
(
void
);
#endif
/* BL2_H
__
*/
#endif
/* BL2
U
_H */
This diff is collapsed.
Click to expand it.
include/bl31/bl31.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
__
BL31_H
__
#define
__
BL31_H
__
#ifndef BL31_H
#define BL31_H
#include <stdint.h>
...
...
@@ -21,4 +21,4 @@ void bl31_warm_entrypoint(void);
void
bl31_main
(
void
);
void
bl31_lib_init
(
void
);
#endif
/*
__
BL31_H
__
*/
#endif
/* BL31_H */
This diff is collapsed.
Click to expand it.
include/bl31/ea_handle.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
__
EA_HANDLE_H
__
#define
__
EA_HANDLE_H
__
#ifndef EA_HANDLE_H
#define EA_HANDLE_H
/* Constants indicating the reason for an External Abort */
...
...
@@ -21,4 +21,4 @@
/* RAS event signalled as peripheral interrupt */
#define ERROR_INTERRUPT 3
#endif
/*
__
EA_HANDLE_H
__
*/
#endif
/* EA_HANDLE_H */
This diff is collapsed.
Click to expand it.
include/bl31/interrupt_mgmt.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
__
INTERRUPT_MGMT_H
__
#define
__
INTERRUPT_MGMT_H
__
#ifndef INTERRUPT_MGMT_H
#define INTERRUPT_MGMT_H
#include <arch.h>
#include <utils_def.h>
...
...
@@ -144,4 +144,4 @@ int disable_intr_rm_local(uint32_t type, uint32_t security_state);
int
enable_intr_rm_local
(
uint32_t
type
,
uint32_t
security_state
);
#endif
/*__ASSEMBLY__*/
#endif
/*
__
INTERRUPT_MGMT_H
__
*/
#endif
/* INTERRUPT_MGMT_H */
This diff is collapsed.
Click to expand it.
include/bl32/payloads/tlk.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
__
TLK_H
__
#define
__
TLK_H
__
#ifndef TLK_H
#define TLK_H
#include <utils_def.h>
...
...
@@ -63,4 +63,4 @@
#define TOS_UID 0xbf00ff01
/* Implementation UID */
#define TOS_CALL_VERSION 0xbf00ff03
/* Trusted OS Call Version */
#endif
/*
__
TLK_H
__
*/
#endif
/* TLK_H */
This diff is collapsed.
Click to expand it.
include/bl32/sp_min/platform_sp_min.h
View file @
9d068f66
...
...
@@ -4,8 +4,10 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __PLATFORM_SP_MIN_H__
#define __PLATFORM_SP_MIN_H__
#ifndef PLATFORM_SP_MIN_H
#define PLATFORM_SP_MIN_H
#include <stdint.h>
/*******************************************************************************
* Mandatory SP_MIN functions
...
...
@@ -20,4 +22,4 @@ entry_point_info_t *sp_min_plat_get_bl33_ep_info(void);
/* Platforms that enable SP_MIN_WITH_SECURE_FIQ shall implement this api */
void
sp_min_plat_fiq_handler
(
uint32_t
id
);
#endif
/*
__
PLATFORM_SP_MIN_H
__
*/
#endif
/* PLATFORM_SP_MIN_H */
This diff is collapsed.
Click to expand it.
include/bl32/tsp/platform_tsp.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
__
PLATFORM_TSP_H
__
#ifndef PLATFORM_TSP_H
#define PLATFORM_TSP_H
/*******************************************************************************
* Mandatory TSP functions (only if platform contains a TSP)
...
...
@@ -14,7 +14,4 @@ void tsp_early_platform_setup(void);
void
tsp_plat_arch_setup
(
void
);
void
tsp_platform_setup
(
void
);
#define __PLATFORM_H__
#endif
#endif
/* PLATFORM_TSP_H */
This diff is collapsed.
Click to expand it.
include/bl32/tsp/tsp.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
__
TSP_H
__
#define
__
TSP_H
__
#ifndef TSP_H
#define TSP_H
/*
* SMC function IDs that TSP uses to signal various forms of completions
...
...
@@ -107,4 +107,4 @@ typedef struct tsp_vectors {
#endif
/* __ASSEMBLY__ */
#endif
/*
__
TSP_H
__
*/
#endif
/* TSP_H */
This diff is collapsed.
Click to expand it.
include/common/aarch32/asm_macros.S
View file @
9d068f66
...
...
@@ -3,8 +3,8 @@
*
*
SPDX
-
License
-
Identifier
:
BSD
-
3
-
Clause
*/
#ifndef
__
ASM_MACROS_S
__
#define
__
ASM_MACROS_S
__
#ifndef ASM_MACROS_S
#define ASM_MACROS_S
#include <arch.h>
#include <asm_macros_common.S>
...
...
@@ -189,4 +189,4 @@
.
endif
.
endm
#endif /*
__
ASM_MACROS_S
__
*/
#endif /* ASM_MACROS_S */
This diff is collapsed.
Click to expand it.
include/common/aarch32/assert_macros.S
View file @
9d068f66
...
...
@@ -3,8 +3,8 @@
*
*
SPDX
-
License
-
Identifier
:
BSD
-
3
-
Clause
*/
#ifndef
__
ASSERT_MACROS_S
__
#define
__
ASSERT_MACROS_S
__
#ifndef ASSERT_MACROS_S
#define ASSERT_MACROS_S
/
*
*
Assembler
macro
to
enable
asm_assert
.
We
assume
that
the
stack
is
...
...
@@ -23,4 +23,4 @@
b
asm_assert
;\
300
:
#endif /*
__
ASSERT_MACROS_S
__
*/
#endif /* ASSERT_MACROS_S */
This diff is collapsed.
Click to expand it.
include/common/aarch32/console_macros.S
View file @
9d068f66
...
...
@@ -3,8 +3,8 @@
*
*
SPDX
-
License
-
Identifier
:
BSD
-
3
-
Clause
*/
#ifndef
__
CONSOLE_MACROS_S
__
#define
__
CONSOLE_MACROS_S
__
#ifndef CONSOLE_MACROS_S
#define CONSOLE_MACROS_S
#include <console.h>
...
...
@@ -81,4 +81,4 @@
b
console_register
.
endm
#endif /* USE_FINISH_CONSOLE_REG_2 */
#endif /*
__
CONSOLE_MACROS_S
__
*/
#endif /* CONSOLE_MACROS_S */
This diff is collapsed.
Click to expand it.
include/common/aarch32/el3_common_macros.S
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
*
SPDX
-
License
-
Identifier
:
BSD
-
3
-
Clause
*/
#ifndef
__
EL3_COMMON_MACROS_S
__
#define
__
EL3_COMMON_MACROS_S
__
#ifndef EL3_COMMON_MACROS_S
#define EL3_COMMON_MACROS_S
#include <arch.h>
#include <asm_macros.S>
...
...
@@ -313,4 +313,4 @@
#endif
.
endm
#endif /*
__
EL3_COMMON_MACROS_S
__
*/
#endif /* EL3_COMMON_MACROS_S */
This diff is collapsed.
Click to expand it.
include/common/aarch64/asm_macros.S
View file @
9d068f66
...
...
@@ -3,8 +3,8 @@
*
*
SPDX
-
License
-
Identifier
:
BSD
-
3
-
Clause
*/
#ifndef
__
ASM_MACROS_S
__
#define
__
ASM_MACROS_S
__
#ifndef ASM_MACROS_S
#define ASM_MACROS_S
#include <arch.h>
#include <asm_macros_common.S>
...
...
@@ -192,4 +192,4 @@
.
endm
#endif
#endif /*
__
ASM_MACROS_S
__
*/
#endif /* ASM_MACROS_S */
This diff is collapsed.
Click to expand it.
include/common/aarch64/assert_macros.S
View file @
9d068f66
...
...
@@ -3,8 +3,8 @@
*
*
SPDX
-
License
-
Identifier
:
BSD
-
3
-
Clause
*/
#ifndef
__
ASSERT_MACROS_S
__
#define
__
ASSERT_MACROS_S
__
#ifndef ASSERT_MACROS_S
#define ASSERT_MACROS_S
/
*
*
Assembler
macro
to
enable
asm_assert
.
Use
this
macro
wherever
...
...
@@ -26,4 +26,4 @@
b
asm_assert
;\
300
:
#endif /*
__
ASSERT_MACROS_S
__
*/
#endif /* ASSERT_MACROS_S */
This diff is collapsed.
Click to expand it.
include/common/aarch64/console_macros.S
View file @
9d068f66
...
...
@@ -3,8 +3,8 @@
*
*
SPDX
-
License
-
Identifier
:
BSD
-
3
-
Clause
*/
#ifndef
__
CONSOLE_MACROS_S
__
#define
__
CONSOLE_MACROS_S
__
#ifndef CONSOLE_MACROS_S
#define CONSOLE_MACROS_S
#include <console.h>
...
...
@@ -84,4 +84,5 @@
b
console_register
.
endm
#endif /* USE_FINISH_CONSOLE_REG_2 */
#endif /* __CONSOLE_MACROS_S__ */
#endif /* CONSOLE_MACROS_S */
This diff is collapsed.
Click to expand it.
include/common/aarch64/el3_common_macros.S
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
*
SPDX
-
License
-
Identifier
:
BSD
-
3
-
Clause
*/
#ifndef
__
EL3_COMMON_MACROS_S
__
#define
__
EL3_COMMON_MACROS_S
__
#ifndef EL3_COMMON_MACROS_S
#define EL3_COMMON_MACROS_S
#include <arch.h>
#include <asm_macros.S>
...
...
@@ -341,4 +341,4 @@
#endif
.
endm
#endif /*
__
EL3_COMMON_MACROS_S
__
*/
#endif /* EL3_COMMON_MACROS_S */
This diff is collapsed.
Click to expand it.
include/common/asm_macros_common.S
View file @
9d068f66
...
...
@@ -3,8 +3,8 @@
*
*
SPDX
-
License
-
Identifier
:
BSD
-
3
-
Clause
*/
#ifndef
__
ASM_MACROS_COMMON_S
__
#define
__
ASM_MACROS_COMMON_S
__
#ifndef ASM_MACROS_COMMON_S
#define ASM_MACROS_COMMON_S
/
*
*
This
macro
is
used
to
create
a
function
label
and
place
the
...
...
@@ -104,4 +104,4 @@
.
endm
#endif /*
__
ASM_MACROS_COMMON_S
__
*/
#endif /* ASM_MACROS_COMMON_S */
This diff is collapsed.
Click to expand it.
include/common/bl_common.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
__
BL_COMMON_H
__
#define
__
BL_COMMON_H
__
#ifndef BL_COMMON_H
#define BL_COMMON_H
#include <ep_info.h>
#include <param_header.h>
...
...
@@ -201,4 +201,4 @@ void setup_page_tables(const struct mmap_region *bl_regions,
#endif
/*__ASSEMBLY__*/
#endif
/*
__
BL_COMMON_H
__
*/
#endif
/* BL_COMMON_H */
This diff is collapsed.
Click to expand it.
include/common/desc_image_load.h
View file @
9d068f66
...
...
@@ -3,8 +3,8 @@
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
__
DESC_IMAGE_LOAD_H
__
#define
__
DESC_IMAGE_LOAD_H
__
#ifndef DESC_IMAGE_LOAD_H
#define DESC_IMAGE_LOAD_H
#include <bl_common.h>
...
...
@@ -37,4 +37,4 @@ bl_load_info_t *get_bl_load_info_from_mem_params_desc(void);
bl_params_t
*
get_next_bl_params_from_mem_params_desc
(
void
);
void
populate_next_bl_params_config
(
bl_params_t
*
bl2_to_next_bl_params
);
#endif
/*
__
DESC_IMAGE_LOAD_H
__
*/
#endif
/* DESC_IMAGE_LOAD_H */
This diff is collapsed.
Click to expand it.
include/common/ep_info.h
View file @
9d068f66
...
...
@@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef
__
EP_INFO_H
__
#define
__
EP_INFO_H
__
#ifndef EP_INFO_H
#define EP_INFO_H
#include <param_header.h>
#include <utils_def.h>
...
...
@@ -132,5 +132,4 @@ CASSERT(sizeof(uintptr_t) ==
#endif
/*__ASSEMBLY__*/
#endif
/* __EP_INFO_H__ */
#endif
/* EP_INFO_H */
This diff is collapsed.
Click to expand it.
Prev
1
2
3
4
5
6
7
8
…
26
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help