diff options
-rw-r--r-- | cpu-all.h | 1 | ||||
-rw-r--r-- | cpu-arm.h | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -305,5 +305,6 @@ void page_unprotect_range(uint8_t *data, unsigned long data_size); #endif /* SINGLE_CPU_DEFINES */ void cpu_abort(CPUState *env, const char *fmt, ...); +extern CPUState *cpu_single_env; #endif /* CPU_ALL_H */ @@ -40,6 +40,8 @@ typedef struct CPUARMState { jmp_buf jmp_env; int exception_index; int interrupt_request; + struct TranslationBlock *current_tb; + int user_mode_only; /* user data */ void *opaque; |