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,5 +305,6 @@ void page_unprotect_range(uint8_t *data, unsigned long data_size);
305 #endif /* SINGLE_CPU_DEFINES */ 305 #endif /* SINGLE_CPU_DEFINES */
306 306
307 void cpu_abort(CPUState *env, const char *fmt, ...); 307 void cpu_abort(CPUState *env, const char *fmt, ...);
  308 +extern CPUState *cpu_single_env;
308 309
309 #endif /* CPU_ALL_H */ 310 #endif /* CPU_ALL_H */
cpu-arm.h
@@ -40,6 +40,8 @@ typedef struct CPUARMState { @@ -40,6 +40,8 @@ typedef struct CPUARMState {
40 jmp_buf jmp_env; 40 jmp_buf jmp_env;
41 int exception_index; 41 int exception_index;
42 int interrupt_request; 42 int interrupt_request;
  43 + struct TranslationBlock *current_tb;
  44 + int user_mode_only;
43 45
44 /* user data */ 46 /* user data */
45 void *opaque; 47 void *opaque;