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 extern TCGv_ptr cpu_env
;
31 /* target-specific extra values for is_jmp */
32 /* These instructions trap after executing, so the A32/T32 decoder must
33 * defer them until after the conditional execution state has been updated.
34 * WFI also needs special handling when single-stepping.
38 /* For instructions which unconditionally cause an exception we can skip
39 * emitting unreachable code at the end of the TB in the A64 decoder
44 void a64_translate_init(void);
45 void gen_intermediate_code_internal_a64(ARMCPU
*cpu
,
48 void gen_a64_set_pc_im(uint64_t val
);
50 static inline void a64_translate_init(void)
54 static inline void gen_intermediate_code_internal_a64(ARMCPU
*cpu
,
60 static inline void gen_a64_set_pc_im(uint64_t val
)
65 #endif /* TARGET_ARM_TRANSLATE_H */