aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-06-25 16:09:48 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-06-25 16:09:48 +0000
commite2f2289897a99d9b38011be5a41a68ee48d22ac6 (patch)
treed19615890b7293e7c5bf2a9829e34814ce5f477e
parent844c72ecccc8ca67d9eee10300ad819c63f0fb28 (diff)
arm fixes
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@274 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--cpu-all.h1
-rw-r--r--cpu-arm.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/cpu-all.h b/cpu-all.h
index 3eacfa89aa..13af7c2086 100644
--- a/cpu-all.h
+++ b/cpu-all.h
@@ -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 */
diff --git a/cpu-arm.h b/cpu-arm.h
index c3850eb407..e3720886aa 100644
--- a/cpu-arm.h
+++ b/cpu-arm.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;