target-arm: Export cpu_env
[qemu.git] / target-arm / translate.h
blob8ba14339a93f8ade141527aabc3b142f4e15a944
1 #ifndef TARGET_ARM_TRANSLATE_H
2 #define TARGET_ARM_TRANSLATE_H
4 /* internal defines */
5 typedef struct DisasContext {
6 target_ulong pc;
7 int is_jmp;
8 /* Nonzero if this instruction has been conditionally skipped. */
9 int condjmp;
10 /* The label that will be jumped to when the instruction is skipped. */
11 int condlabel;
12 /* Thumb-2 conditional execution bits. */
13 int condexec_mask;
14 int condexec_cond;
15 struct TranslationBlock *tb;
16 int singlestep_enabled;
17 int thumb;
18 int bswap_code;
19 #if !defined(CONFIG_USER_ONLY)
20 int user;
21 #endif
22 int vfp_enabled;
23 int vec_len;
24 int vec_stride;
25 } DisasContext;
27 extern TCGv_ptr cpu_env;
29 #endif /* TARGET_ARM_TRANSLATE_H */