target/arm: Tidy helpers for translation
Move most includes from *translate*.c to translate.h, ensuring that we get the ordering correct. Ensure cpu.h is first. Use disas/disas.h instead of exec/log.h. Drop otherwise unused includes. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
309e014dd1
commit
5d05e5a183
@ -18,20 +18,13 @@
|
||||
*/
|
||||
#include "qemu/osdep.h"
|
||||
|
||||
#include "cpu.h"
|
||||
#include "exec/exec-all.h"
|
||||
#include "tcg/tcg-op.h"
|
||||
#include "tcg/tcg-op-gvec.h"
|
||||
#include "qemu/log.h"
|
||||
#include "arm_ldst.h"
|
||||
#include "translate.h"
|
||||
#include "internals.h"
|
||||
#include "qemu/host-utils.h"
|
||||
#include "semihosting/semihost.h"
|
||||
#include "exec/log.h"
|
||||
#include "cpregs.h"
|
||||
#include "translate-a64.h"
|
||||
#include "qemu/atomic128.h"
|
||||
#include "qemu/log.h"
|
||||
#include "disas/disas.h"
|
||||
#include "arm_ldst.h"
|
||||
#include "semihosting/semihost.h"
|
||||
#include "cpregs.h"
|
||||
|
||||
static TCGv_i64 cpu_X[32];
|
||||
static TCGv_i64 cpu_pc;
|
||||
|
@ -18,8 +18,6 @@
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "tcg/tcg-op.h"
|
||||
#include "tcg/tcg-op-gvec.h"
|
||||
#include "translate.h"
|
||||
#include "translate-a32.h"
|
||||
|
||||
|
@ -18,9 +18,6 @@
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "tcg/tcg-op.h"
|
||||
#include "tcg/tcg-op-gvec.h"
|
||||
#include "exec/exec-all.h"
|
||||
#include "translate.h"
|
||||
#include "translate-a32.h"
|
||||
|
||||
|
@ -21,9 +21,6 @@
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "tcg/tcg-op.h"
|
||||
#include "tcg/tcg-op-gvec.h"
|
||||
#include "exec/exec-all.h"
|
||||
#include "translate.h"
|
||||
#include "translate-a32.h"
|
||||
|
||||
|
@ -18,14 +18,8 @@
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "cpu.h"
|
||||
#include "tcg/tcg-op.h"
|
||||
#include "tcg/tcg-op-gvec.h"
|
||||
#include "tcg/tcg-gvec-desc.h"
|
||||
#include "translate.h"
|
||||
#include "translate-a64.h"
|
||||
#include "fpu/softfloat.h"
|
||||
|
||||
|
||||
/*
|
||||
* Include the generated decoder.
|
||||
|
@ -18,16 +18,7 @@
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "cpu.h"
|
||||
#include "exec/exec-all.h"
|
||||
#include "tcg/tcg-op.h"
|
||||
#include "tcg/tcg-op-gvec.h"
|
||||
#include "tcg/tcg-gvec-desc.h"
|
||||
#include "qemu/log.h"
|
||||
#include "arm_ldst.h"
|
||||
#include "translate.h"
|
||||
#include "internals.h"
|
||||
#include "exec/log.h"
|
||||
#include "translate-a64.h"
|
||||
#include "fpu/softfloat.h"
|
||||
|
||||
|
@ -21,9 +21,6 @@
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "tcg/tcg-op.h"
|
||||
#include "tcg/tcg-op-gvec.h"
|
||||
#include "exec/exec-all.h"
|
||||
#include "translate.h"
|
||||
#include "translate-a32.h"
|
||||
|
||||
|
@ -20,20 +20,13 @@
|
||||
*/
|
||||
#include "qemu/osdep.h"
|
||||
|
||||
#include "cpu.h"
|
||||
#include "internals.h"
|
||||
#include "disas/disas.h"
|
||||
#include "exec/exec-all.h"
|
||||
#include "tcg/tcg-op.h"
|
||||
#include "tcg/tcg-op-gvec.h"
|
||||
#include "qemu/log.h"
|
||||
#include "qemu/bitops.h"
|
||||
#include "arm_ldst.h"
|
||||
#include "semihosting/semihost.h"
|
||||
#include "exec/log.h"
|
||||
#include "cpregs.h"
|
||||
#include "translate.h"
|
||||
#include "translate-a32.h"
|
||||
#include "qemu/log.h"
|
||||
#include "disas/disas.h"
|
||||
#include "arm_ldst.h"
|
||||
#include "semihosting/semihost.h"
|
||||
#include "cpregs.h"
|
||||
#include "exec/helper-proto.h"
|
||||
|
||||
#define HELPER_H "helper.h"
|
||||
|
@ -1,6 +1,9 @@
|
||||
#ifndef TARGET_ARM_TRANSLATE_H
|
||||
#define TARGET_ARM_TRANSLATE_H
|
||||
|
||||
#include "cpu.h"
|
||||
#include "tcg/tcg-op.h"
|
||||
#include "tcg/tcg-op-gvec.h"
|
||||
#include "exec/translator.h"
|
||||
#include "exec/helper-gen.h"
|
||||
#include "internals.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user