unicorn/qemu/target-arm
Peter Crosthwaite 9f8b8ba793
arm: Remove ELF_MACHINE from cpu.h
The only generic code relying on this is linux-user. Linux user
already has a lot of #ifdef TARGET_ customisation so instead, define
ELF_ARCH as either EM_ARM or EM_AARCH64 appropriately.

The armv7m bootloader can just pass EM_ARM directly, as that
is architecture specific code. Note that arm_boot already has its own
logic selecting an arm specific elf machine so this makes V7M more
consistent with arm_boot.

This removes another architecture specific definition from the global
namespace.

Backports commit b597c3f7da17fcb37d394a16a6c0ef0a02846177 from qemu
2018-02-17 15:23:54 -05:00
..
arm_ldst.h import 2015-08-21 15:04:50 +08:00
cpu-qom.h target-arm: Refactor CPU affinity handling 2018-02-17 15:23:34 -05:00
cpu.c target-arm: Refactor CPU affinity handling 2018-02-17 15:23:34 -05:00
cpu.h arm: Remove ELF_MACHINE from cpu.h 2018-02-17 15:23:54 -05:00
cpu64.c target-arm: Fix REVIDR reset value 2018-02-13 14:24:08 -05:00
crypto_helper.c crypto: move built-in AES implementation into crypto/ 2018-02-17 15:23:17 -05:00
helper-a64.c target-arm: Log the target EL when taking exceptions 2018-02-17 15:23:36 -05:00
helper-a64.h import 2015-08-21 15:04:50 +08:00
helper.c target-arm: Add VMPIDR_EL2 2018-02-17 15:23:48 -05:00
helper.h target-arm: Split DISAS_YIELD from DISAS_WFE 2018-02-17 15:23:14 -05:00
internals.h target-arm: Wire up HLT 0xf000 as the A64 semihosting instruction 2018-02-17 15:23:34 -05:00
iwmmxt_helper.c import 2015-08-21 15:04:50 +08:00
kvm-consts.h import 2015-08-21 15:04:50 +08:00
Makefile.objs delete sparc32_dma.h & arm-semi.c 2017-01-19 15:10:41 +08:00
neon_helper.c Arm support ported. (#736) 2017-01-23 23:30:57 +08:00
op_addsub.h import 2015-08-21 15:04:50 +08:00
op_helper.c target-arm: Add CP_ACCESS_TRAP_UNCATEGORIZED_EL2, 3 2018-02-17 15:23:31 -05:00
psci.c import 2015-08-21 15:04:50 +08:00
translate-a64.c target-arm: Fix default_exception_el() function for the case when EL3 is not supported 2018-02-17 15:23:36 -05:00
translate.c target-arm: Fix default_exception_el() function for the case when EL3 is not supported 2018-02-17 15:23:36 -05:00
translate.h target-arm: Fix default_exception_el() function for the case when EL3 is not supported 2018-02-17 15:23:36 -05:00
unicorn.h arm64eb: add support for ARM64 big endian. 2017-04-24 23:30:01 +08:00
unicorn_aarch64.c target-arm: rename c1_coproc to cpacr_el1 2018-02-12 20:46:00 -05:00
unicorn_arm.c target-arm: Add registers for PMSAv7 2018-02-17 15:22:43 -05:00