arm-trusted-firmware/plat/qemu
Antonio Nino Diaz 03987d01e9 xlat: Fix compatibility between v1 and v2
There are several platforms using arm_setup_page_tables(), which is
supposed to be Arm platform only. This creates several dependency
problems between platforms.

This patch adds the definition XLAT_TABLES_LIB_V2 to the xlat tables lib
v2 makefile. This way it is possible to detect from C code which version
is being used and include the correct header.

The file arm_xlat_tables.h has been renamed to xlat_tables_compat.h and
moved to a common folder. This way, when in doubt, this header can be
used to guarantee compatibility, as it includes the correct header based
on XLAT_TABLES_LIB_V2.

This patch also removes the usage of ARM_XLAT_TABLES_V1 from QEMU (so
that is now locked in xlat lib v2) and ZynqMP (where it was added as a
workaround).

Change-Id: Ie1e22a23b44c549603d1402a237a70d0120d3e04
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
2018-10-26 14:55:30 +01:00
..
aarch32 qemu: support ARMv7/Cortex-A15 2018-02-05 10:42:47 +01:00
aarch64 qemu: don't use C functions for the crash console callbacks 2018-03-31 16:26:18 +08:00
include qemu: increase PLAT_QEMU_DT_MAX_SIZE to 1 MiB 2018-10-18 17:47:45 +02:00
sp_min qemu: Migrate to new interfaces 2018-09-28 15:31:53 +01:00
dt.c Fix order of remaining platform #includes 2017-07-14 10:50:41 +01:00
platform.mk xlat: Fix compatibility between v1 and v2 2018-10-26 14:55:30 +01:00
qemu_bl1_setup.c qemu: Migrate to new interfaces 2018-09-28 15:31:53 +01:00
qemu_bl2_mem_params_desc.c qemu: support ARMv7/Cortex-A15 2018-02-05 10:42:47 +01:00
qemu_bl2_setup.c qemu: Migrate to new interfaces 2018-09-28 15:31:53 +01:00
qemu_bl31_setup.c Replace S-EL3 references by EL3 2018-10-10 12:11:32 +01:00
qemu_common.c xlat: Fix compatibility between v1 and v2 2018-10-26 14:55:30 +01:00
qemu_console.c qemu: don't use C functions for the crash console callbacks 2018-03-31 16:26:18 +08:00
qemu_image_load.c qemu: Add LOAD_IMAGE_V2 support 2017-08-16 09:59:23 +08:00
qemu_io_storage.c qemu: Add support for Trusted Board Boot 2017-10-25 10:48:58 +08:00
qemu_pm.c Fix order of remaining platform #includes 2017-07-14 10:50:41 +01:00
qemu_private.h qemu: Migrate to new interfaces 2018-09-28 15:31:53 +01:00
qemu_rotpk.S qemu: Add support for Trusted Board Boot 2017-10-25 10:48:58 +08:00
qemu_stack_protector.c qemu: Add support for stack canary protection 2018-03-20 14:35:47 +08:00
qemu_trusted_boot.c qemu: Add support for Trusted Board Boot 2017-10-25 10:48:58 +08:00
topology.c libc: Fix all includes in codebase 2018-08-22 10:26:05 +01:00