1 #ifndef TARGET_ARM_TRANSLATE_H
2 #define TARGET_ARM_TRANSLATE_H
5 typedef struct DisasContext
{
9 /* Nonzero if this instruction has been conditionally skipped. */
11 /* The label that will be jumped to when the instruction is skipped. */
13 /* Thumb-2 conditional execution bits. */
16 struct TranslationBlock
*tb
;
17 int singlestep_enabled
;
20 #if !defined(CONFIG_USER_ONLY)
29 #define TMP_A64_MAX 16
31 TCGv_i64 tmp_a64
[TMP_A64_MAX
];
34 extern TCGv_ptr cpu_env
;
36 /* target-specific extra values for is_jmp */
37 /* These instructions trap after executing, so the A32/T32 decoder must
38 * defer them until after the conditional execution state has been updated.
39 * WFI also needs special handling when single-stepping.
43 /* For instructions which unconditionally cause an exception we can skip
44 * emitting unreachable code at the end of the TB in the A64 decoder
51 void a64_translate_init(void);
52 void gen_intermediate_code_internal_a64(ARMCPU
*cpu
,
55 void gen_a64_set_pc_im(uint64_t val
);
57 static inline void a64_translate_init(void)
61 static inline void gen_intermediate_code_internal_a64(ARMCPU
*cpu
,
67 static inline void gen_a64_set_pc_im(uint64_t val
)
72 void arm_gen_test_cc(int cc
, int label
);
74 #endif /* TARGET_ARM_TRANSLATE_H */