Switch AARCH32/AARCH64 to __aarch64__
NOTE: AARCH32/AARCH64 macros are now deprecated in favor of __aarch64__.

All common C compilers pre-define the same macros to signal which
architecture the code is being compiled for: __arm__ for AArch32 (or
earlier versions) and __aarch64__ for AArch64. There's no need for TF-A
to define its own custom macros for this. In order to unify code with
the export headers (which use __aarch64__ to avoid another dependency),
let's deprecate the AARCH32 and AARCH64 macros and switch the code base
over to the pre-defined standard macro. (Since it is somewhat
unintuitive that __arm__ only means AArch32, let's standardize on only
using __aarch64__.)

Change-Id: Ic77de4b052297d77f38fc95f95f65a8ee70cf200
Signed-off-by: Julius Werner <jwerner@chromium.org>
1 parent d5dfdeb commit 402b3cf8766fe2cb4ae462f7ee7761d08a1ba56c
@Julius Werner Julius Werner authored on 9 Jul 2019
Showing 65 changed files
View
Makefile
View
bl1/bl1_fwu.c
View
bl1/bl1_main.c
View
bl2/bl2_main.c
View
bl2u/bl2u_main.c
View
common/backtrace/backtrace.c
View
common/bl_common.c
View
drivers/arm/ccn/ccn.c
View
drivers/arm/gic/v3/gicv3_main.c
View
drivers/arm/gic/v3/gicv3_private.h
View
include/common/ep_info.h
View
include/common/runtime_svc.h
View
include/lib/el3_runtime/context_mgmt.h
View
include/lib/el3_runtime/cpu_data.h
View
include/lib/el3_runtime/pubsub_events.h
View
include/lib/utils_def.h
View
include/lib/xlat_tables/xlat_mmu_helpers.h
View
include/lib/xlat_tables/xlat_tables_arch.h
View
include/lib/xlat_tables/xlat_tables_defs.h
View
include/plat/arm/common/arm_def.h
View
include/plat/arm/common/plat_arm.h
View
include/plat/common/common_def.h
View
lib/cpus/errata_report.c
View
lib/locks/bakery/bakery_lock_normal.c
View
lib/optee/optee_utils.c
View
lib/psci/psci_common.c
View
lib/xlat_tables_v2/xlat_tables_context.c
View
lib/xlat_tables_v2/xlat_tables_utils.c
View
make_helpers/build_macros.mk
View
plat/arm/board/fvp/fvp_common.c
View
plat/arm/board/fvp/include/platform_def.h
View
plat/arm/board/fvp_ve/include/platform_def.h
View
plat/arm/board/juno/include/platform_def.h
View
plat/arm/board/juno/juno_common.c
View
plat/arm/board/n1sdp/include/platform_def.h
View
plat/arm/board/rde1edge/include/platform_def.h
View
plat/arm/board/rdn1edge/include/platform_def.h
View
plat/arm/board/sgi575/include/platform_def.h
View
plat/arm/board/sgm775/include/platform_def.h
View
plat/arm/common/arm_bl1_setup.c
View
plat/arm/common/arm_bl2_el3_setup.c
View
plat/arm/common/arm_bl2_setup.c
View
plat/arm/common/arm_bl2u_setup.c
View
plat/arm/common/arm_common.c
View
plat/arm/common/arm_gicv3.c
View
plat/arm/common/arm_nor_psci_mem_protect.c
View
plat/arm/common/arm_pm.c
View
plat/arm/common/execution_state_switch.c
View
plat/common/plat_gicv3.c
View
plat/common/plat_psci_common.c
View
plat/hisilicon/hikey/hikey_bl2_setup.c
View
plat/hisilicon/hikey/include/hikey_layout.h
View
plat/hisilicon/hikey960/hikey960_bl2_setup.c
View
plat/hisilicon/hikey960/include/platform_def.h
View
plat/hisilicon/poplar/bl2_plat_setup.c
View
plat/hisilicon/poplar/include/platform_def.h
View
plat/layerscape/common/ls_bl1_setup.c
View
plat/layerscape/common/ls_bl2_setup.c
View
plat/layerscape/common/ls_common.c
View
plat/qemu/qemu_bl1_setup.c
View
plat/qemu/qemu_bl2_mem_params_desc.c
View
plat/qemu/qemu_bl2_setup.c
View
plat/qemu/qemu_common.c
View
plat/rockchip/common/include/plat_private.h
View
services/std_svc/sdei/sdei_private.h