Clean usage of void pointers to access symbols
Void pointers have been used to access linker symbols, by declaring an
extern pointer, then taking the address of it. This limits symbols
values to aligned pointer values. To remove this restriction an
IMPORT_SYM macro has been introduced, which declares it as a char
pointer and casts it to the required type.

Change-Id: I89877fc3b13ed311817bb8ba79d4872b89bfd3b0
Signed-off-by: Joel Hutton <Joel.Hutton@Arm.com>
1 parent f13ef37 commit 9f85f9e3796f1c351bbc4c8436dc66d83c140b71
@Joel Hutton Joel Hutton authored on 21 Mar 2018
Showing 18 changed files
View
bl1/bl1_private.h
View
common/runtime_svc.c
View
drivers/auth/img_parser_mod.c
View
include/common/bl_common.h
View
include/common/runtime_svc.h
View
include/lib/utils_def.h
View
include/plat/common/common_def.h
View
include/services/secure_partition.h
View
lib/locks/bakery/bakery_lock_normal.c
View
lib/pmf/pmf_main.c
View
plat/hisilicon/hikey/hikey_bl1_setup.c
View
plat/hisilicon/hikey960/hikey960_bl1_setup.c
View
plat/hisilicon/poplar/bl1_plat_setup.c
View
plat/mediatek/mt6795/bl31_plat_setup.c
View
plat/mediatek/mt8173/bl31_plat_setup.c
View
plat/nvidia/tegra/common/tegra_bl31_setup.c
View
plat/rockchip/common/bl31_plat_setup.c
View
services/std_svc/spm/spm_shim_private.h