qemu/target-arm
Alexander Graf 14ade10f84 target-arm: Add AArch64 translation stub
We should translate AArch64 mode separately from AArch32 mode. In AArch64 mode,
registers look vastly different, instruction encoding is completely different,
basically the system turns into a different machine.

So let's do a simple if() in translate.c to decide whether we can handle the
current code in the legacy AArch32 code or in the new AArch64 code.

So far, the translation always complains about unallocated instructions. There
is no emulator functionality in this patch!

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: John Rigby <john.rigby@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1378235544-22290-11-git-send-email-peter.maydell@linaro.org
Message-id: 1368505980-17151-5-git-send-email-john.rigby@linaro.org
[PMM:
 * provide no-op versions of a64 functions ifndef TARGET_AARCH64;
   this lets us avoid #ifdefs in translate.c
 * insert the missing call to disas_a64_insn()
 * stash the insn in the DisasContext rather than reloading it in
   real_unallocated_encoding()
]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2013-09-10 19:11:28 +01:00
..
arm-semi.c exec: Change cpu_memory_rw_debug() argument to CPUState 2013-07-23 02:41:33 +02:00
cpu64.c target-arm: Add AArch64 translation stub 2013-09-10 19:11:28 +01:00
cpu-qom.h target-arm: Add AArch64 translation stub 2013-09-10 19:11:28 +01:00
cpu.c target-arm: Prepare translation for AArch64 code 2013-09-10 19:11:28 +01:00
cpu.h target-arm: Prepare translation for AArch64 code 2013-09-10 19:11:28 +01:00
gdbstub.c cpu: Introduce CPUClass::gdb_{read,write}_register() 2013-07-27 00:04:17 +02:00
helper.c target-arm: Implement qmp query-cpu-definitions 2013-09-10 19:09:33 +01:00
helper.h target-arm: Implement sbc_cc inline 2013-02-23 17:25:29 +00:00
iwmmxt_helper.c exec: move include files to include/exec/ 2012-12-19 08:31:31 +01:00
kvm_arm.h target-arm: Initialize cpreg list from KVM when using KVM 2013-06-25 18:16:10 +01:00
kvm-stub.c target-arm: Initialize cpreg list from KVM when using KVM 2013-06-25 18:16:10 +01:00
kvm.c memory: add ref/unref calls 2013-07-04 17:42:45 +02:00
machine.c target-arm: Prepare translation for AArch64 code 2013-09-10 19:11:28 +01:00
Makefile.objs target-arm: Add AArch64 translation stub 2013-09-10 19:11:28 +01:00
neon_helper.c exec: move include files to include/exec/ 2012-12-19 08:31:31 +01:00
op_addsub.h Correct spelling of licensed 2011-07-23 11:26:12 -05:00
op_helper.c cpu: Move halted and interrupt_request fields to CPUState 2013-03-12 10:35:55 +01:00
translate-a64.c target-arm: Add AArch64 translation stub 2013-09-10 19:11:28 +01:00
translate.c target-arm: Add AArch64 translation stub 2013-09-10 19:11:28 +01:00
translate.h target-arm: Add AArch64 translation stub 2013-09-10 19:11:28 +01:00