Commit e2f2289897a99d9b38011be5a41a68ee48d22ac6

Authored by bellard
1 parent 844c72ec

arm fixes


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@274 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 2 changed files with 3 additions and 0 deletions
cpu-all.h
... ... @@ -305,5 +305,6 @@ void page_unprotect_range(uint8_t *data, unsigned long data_size);
305 305 #endif /* SINGLE_CPU_DEFINES */
306 306  
307 307 void cpu_abort(CPUState *env, const char *fmt, ...);
  308 +extern CPUState *cpu_single_env;
308 309  
309 310 #endif /* CPU_ALL_H */
... ...
cpu-arm.h
... ... @@ -40,6 +40,8 @@ typedef struct CPUARMState {
40 40 jmp_buf jmp_env;
41 41 int exception_index;
42 42 int interrupt_request;
  43 + struct TranslationBlock *current_tb;
  44 + int user_mode_only;
43 45  
44 46 /* user data */
45 47 void *opaque;
... ...