arm fixes
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 25 Jun 2003 16:09:48 +0000 (16:09 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 25 Jun 2003 16:09:48 +0000 (16:09 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@274 c046a42c-6fe2-441c-8c8c-71466251a162

cpu-all.h
cpu-arm.h

index 3eacfa89aa3a5efd78cb57bb1df51183a2bc36ef..13af7c2086c02eeb20f65f0d587a02b2661890d0 100644 (file)
--- 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 */
index c3850eb4075afc16f344b4fb5a268a927da76179..e3720886aa9da539598a2bc6e7a02492258ce96c 100644 (file)
--- 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;